joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f38c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x43f3a8
cmp dword [esi + 4], 0
je 0x43f3d5
test byte [ebx + 0x45], 1
jne 0x43f3c7
mov eax, ebx
call fcn.0043e2c4
test eax, eax
jne 0x43f3c7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43f4e5
mov edx, esi
mov eax, ebx
call fcn.0043f004
jmp 0x43f4e5
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43f4de
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044135c
push eax
call sub.USER32.DLL_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043c228
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043f38c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044135c
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f4e5
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447e7c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x447f54
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48fb6c], 0
jne 0x447f38
lea eax, [ebp - 4]
mov edx, 0x447f6c
call fcn.004616c0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00461a6c
mov esi, eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x447f38
mov eax, ebx
call fcn.00460290
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x447f31
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
je 0x447f1b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x447f7c
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x447f1b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x48fb6c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447f38
mov eax, dword [ebp - 0xc]
call fcn.004602a8
ret
mov ebx, dword [0x48fb6c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447f5b
lea eax, [ebp - 4]
call fcn.00461628
ret

Function at 0x44dc6c
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x48fb90], 0
jne 0x44dc8f
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x44dbf0
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x48fb90], eax
ret

Function at 0x45bea0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x45bed9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00461710
jmp 0x45bee2
mov eax, ebx
mov edx, esi
call fcn.0046167c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45beec
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x45bf0d
mov al, byte [esp]
jmp 0x45bf0f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4604d4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x460503
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00461710
jmp 0x460521
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.0046045c
mov edi, eax
test ebx, ebx
je 0x460521
cmp dword [esi], 0
je 0x460521
dec ebx
jmp 0x46050a
add esp, 0x108
pop edi
pop esi
pop ebx
ret
Function at 0x460844
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4894b0]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4608dc
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4608bc
xor eax, eax
push ebp
push 0x4608b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4608f8
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4608bc
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x4894b0]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4894b0], ax
mov esp, ebp
pop ebp
ret

Function at 0x4615dc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00460290
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x48fe21], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4615a4
push eax
push esi
push ebx
call sub.KERNEL32.DLL_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x462b58
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x462d14
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x462bb9
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x462d30
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x462c2b
xor eax, eax
push ebp
push 0x462c24
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.004629b0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x462c0d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x462d50
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462c2b
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x462d0c
cmp byte [ebp - 0xd], 0
jne 0x462c6d
cmp byte [ebp - 0x12], 0
je 0x462d0c
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x462c86
dec ebx
cmp byte [ebx], 0x2e
je 0x462c95
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x462c85
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x462d0c
inc ebx
cmp byte [ebp - 0x12], 0
je 0x462cc2
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x462d0c
cmp byte [ebp - 0xd], 0
je 0x462d0c
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x462d0c
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463100
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x4631e8
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x490204], 1
jae 0x4631da
xor eax, eax
mov dword [0x48fe10], eax
xor eax, eax
mov dword [0x48fe18], eax
xor eax, eax
mov dword [0x48fe1c], eax
mov byte [0x48fe22], 2
mov byte [0x48fe23], 2
mov byte [0x48fe24], 3
mov word [0x4901cc], 0
mov word [0x4901dc], 1
mov word [0x4901ec], 0xa
mov dword [0x4901f4], 0x80020004
mov dword [0x4901c0], 0x4622ec
mov dword [0x4901c4], 0x4622e4
mov dword [0x4901c8], 0x4622ec
call fcn.00460814
test al, al
je 0x463199
call fcn.00460844
call fcn.00460908
mov eax, 0x48fe28
mov edx, 0x4631f4
call fcn.0045dfe6
mov eax, 0x48fff4
mov edx, 0x4631f4
call fcn.0045dfe6
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x48fe08], eax
call fcn.0045ef4c
mov dword [0x48fe04], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x48fdfc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4631ef
ret

Function at 0x464de8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x464e04
call fcn.0046616c
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x464e20
test bl, 1
je 0x464e20
call fcn.00469ba0
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x465004
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.00465d08
test byte [ebp + 0xd], 0xc0
jne 0x465028
mov eax, dword [0x48a280]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x465035
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x465062
je 0x465074
sub ecx, 0x100
je 0x465082
sub ecx, 0x100
je 0x465089
sub ecx, 0x100
je 0x46507b
jmp 0x465090
sub ecx, 0x600
je 0x465089
sub ecx, 0x100
je 0x465074
jmp 0x465090
mov edi, 1
jmp 0x465095
mov edi, 2
jmp 0x465095
mov edi, 4
jmp 0x465095
mov edi, 5
jmp 0x465095
mov edi, 3
test byte [ebp + 0xd], 1
je 0x4650bc
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x489cf8]
test al, 0x80
je 0x4650b5
mov ebx, 0x80
jmp 0x4650ce
mov ebx, 1
jmp 0x4650ce
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4650ce
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x4650e0
je 0x4650e9
dec eax
je 0x4650f2
jmp 0x4650fb
mov dword [ebp - 4], 0x80000000
jmp 0x46510a
mov dword [ebp - 4], 0x40000000
jmp 0x46510a
mov dword [ebp - 4], 0xc0000000
jmp 0x46510a
push 1
call fcn.00466100
pop ecx
mov ebx, eax
jmp 0x4651fa
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x465126
sub eax, 0x10
je 0x46512d
sub eax, 0x10
je 0x465136
sub eax, 0x10
je 0x46513f
jmp 0x46513f
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x465146
mov dword [ebp - 8], 1
jmp 0x465146
mov dword [ebp - 8], 2
jmp 0x465146
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x4651b3
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x4651a8
test byte [ebp + 0xd], 1
je 0x4651a3
mov ebx, 0x50
jmp 0x4651a8
mov ebx, 2
push ebx
call fcn.00466100
pop ecx
mov ebx, eax
jmp 0x4651fa
mov edi, esi
push edi
call fcn.00464f68
pop ecx
test eax, eax
je 0x4651c7
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x4651d3
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00465e28
add esp, 8
mov ebx, eax
inc eax
jne 0x4651fa
push 4
call fcn.00466100
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.00465d3c
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x469b38
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x469b9a
call fcn.00469ae8
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00463ce0
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00463ce0
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x469c18
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x48b120], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x469cf2
cmp dword [0x48b11c], 0
jne 0x469cf2
cmp dword [0x48b300], 0
je 0x469cac
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.004699e8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x469c92
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.004699e8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x469c92
lea ebx, [ebp - 0x84]
jmp 0x469c93
inc ebx
call fcn.00469bd4
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x469d2d
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x48b124
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00463ce0
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x48b127
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x469d2d
cmp dword [0x48b11c], 0
je 0x469d0c
cmp dword [0x48b11c], 0xffffffff
je 0x469d2d
push esi
call dword [0x48b11c]
pop ecx
mov eax, dword [0x48b120]
test eax, eax
je 0x469d2d
cmp dword [0x48b120], 0xffffffff
je 0x469d2d
cmp byte [eax], 0
je 0x469d2d
push esi
push eax
call fcn.00469b38
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46a4c4
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x490b0c], 0
jne 0x46a545
cmp dword [0x490b2c], 0
jne 0x46a4f4
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x490b2c], eax
test eax, eax
jne 0x46a4f4
push str.GetEnvironmentStrings_failed
call fcn.00469d44
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x490b2c]
jmp 0x46a508
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00463ce0
pop ecx
mov edi, eax
test eax, eax
jne 0x46a500
lea edi, [ebp + 1]
push edi
call fcn.00463720
pop ecx
mov ebx, eax
mov dword [0x490b10], ebx
test ebx, ebx
jne 0x46a532
xor eax, eax
jmp 0x46a608
push edi
mov edx, dword [0x490b2c]
push edx
push ebx
call fcn.00463b90
add esp, 0xc
jmp 0x46a565
xor esi, esi
mov ebx, dword [0x490b0c]
jmp 0x46a55f
push eax
call fcn.00463ce0
pop ecx
test eax, eax
jne 0x46a55b
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x46a54f
lea ebx, [esi + 4]
push 4
mov dword [0x490b14], ebx
inc ebx
push ebx
call fcn.004631f8
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x46a588
xor eax, eax
jmp 0x46a608
cmp dword [0x490b0c], 0
jne 0x46a5b9
xor esi, esi
mov ebx, dword [0x490b10]
mov eax, dword [esp]
mov ebp, eax
jmp 0x46a5aa
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00463ce0
pop ecx
mov edi, eax
test eax, eax
jne 0x46a5a0
jmp 0x46a5ea
xor esi, esi
mov ebx, dword [0x490b0c]
mov eax, dword [esp]
mov edi, eax
jmp 0x46a5e4
push eax
call fcn.00463ce0
pop ecx
test eax, eax
je 0x46a5d9
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x46a5dd
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x46a5c8
mov eax, dword [0x490b0c]
test eax, eax
je 0x46a5fa
push eax
call fcn.00463730
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x490b0c], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x470aac
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x470ada
mov eax, ebx
call fcn.00471550
cmp dword [ebx + 0x3c], 0
je 0x470ad3
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x470b4b
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x470b3d
cmp dword [ebx + 8], 0
je 0x470afc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x470b0e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x470b3d
cmp dword [ebx + 8], 0
je 0x470aef
cmp eax, 3
je 0x470b21
dec eax
jne 0x470aef
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x470aef
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x470aef
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x470b69
cmp dword [ebx + 0x10], 0xcc
je 0x470b69
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00470b74
pop ebx
ret
Function at 0x42e006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x607d54cd
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x1c724be5
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x5df23e3d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x7cf83e42
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401220
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push str.PYTHONSCRIPT
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp byte [0x406460], 0
mov esi, eax
jne 0x401248
push edi
call fcn.00401180
add esp, 4
test esi, esi
jne 0x401265
push str.Could_not_locate_script_resource:
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call section..text
add esp, 8
pop edi
xor eax, eax
pop esi
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40128a
push str.Could_not_load_script_resource:
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call section..text
add esp, 8
pop edi
xor eax, eax
pop esi
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [0x406564], eax
mov dword [0x40668c], eax
test eax, eax
jne 0x4012b8
push str.Could_not_lock_script_resource:
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call section..text
add esp, 8
pop edi
xor eax, eax
pop esi
ret
mov ecx, dword [eax + 0xc]
mov dword [0x406684], ecx
lea ecx, [eax + 0x10]
mov dword [0x406564], ecx
cmp dword [eax], 0x78563412
je 0x4012e6
push str.Bug:_Invalid_script_resource
push 0
call section..text
add esp, 8
pop edi
xor eax, eax
pop esi
ret
mov eax, ecx
lea esi, [eax + 1]
jmp 0x4012f0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4012f0
sub eax, esi
lea edx, [ecx + eax + 1]
mov dword [0x406564], edx
cmp byte [ecx], 0
je 0x40132e
push ecx
push 0x406460
push 0x4050f4
push 0x304
push 0x405e20
call dword [sym.imp.MSVCR90.dll__snprintf]
add esp, 0x14
pop edi
mov eax, 1
pop esi
ret
push 0x304
push 0x405e20
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
pop edi
mov eax, 1
pop esi
ret

Function at 0x401350
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ecx
push esi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401377
xor eax, eax
pop esi
pop ecx
ret
push ebx
push edi
lea ecx, [esp + 0xc]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0
push 2
push 0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call esi
cmp edi, 0xffffffff
jne 0x4013af
pop edi
pop ebx
xor eax, eax
pop esi
pop ecx
ret
push ebp
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push edi
mov ebp, eax
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4013ce
mov dword [eax], ebx
mov eax, ebp
pop ebp
pop edi
pop ebx
pop esi
pop ecx
ret