joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4038fa
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040fa], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404658], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4045ec], eax
mov dword [0x4040f2], eax
mov dword [0x4045d8], 0x30
mov dword [0x4045dc], 2
jmp 0x40393f
mov dword [0x4045e0], 0x403153
mov dword [0x4045e4], 0
mov dword [0x4045e8], 0
mov dword [0x404600], 0x40454e
mov dword [0x4045f8], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4045f0], eax
mov dword [0x404604], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4045f4], eax
push 0x4045d8
fadd dword [ebp + 0x40]
add bh, bh
adc eax, sym.imp.user32.dll_RegisterClassExA
push 0
push dword [0x4040f2]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.asdlkjalsdj_ai8
push 0x40454e
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404650], eax
push 5
push dword [0x404650]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404650]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404608]
jmp 0x403a13
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a05
mov eax, dword [0x404610]
jmp 0x403a2e
call 0x402bd5
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4044c0
Capabilities:
Accept command line arguments

Disassembly:
push 0x48
mov eax, 0x43a670
call fcn.00427ab8
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
call fcn.00407c5d
mov dword [ebp - 0x18], ebx
push esi
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], ebx
jbe 0x4045fc
call fcn.00407dbc
movzx eax, word [eax]
cmp ax, 0x2f
je 0x404549
cmp ax, 0x2d
jne 0x404516
push esi
lea ecx, [ebp + 8]
call fcn.00407dbc
push 0x2f
pop ecx
mov word [eax], cx
jmp 0x404549
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x54]
push 0x440948
push eax
call fcn.0040df58
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.004090bd
push esi
push ebx
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00409286
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
cmp ebx, esi
je 0x4045ed
cmp dword [ebp - 0x10], 0
je 0x4045e4
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x404576
lea eax, [ebp + 0xc]
push dword [ebx + esi*4]
push eax
call fcn.00426c10
pop ecx
pop ecx
test eax, eax
jne 0x40458d
lea eax, [esi + 1]
cmp eax, dword [ebp - 0x10]
jne 0x404595
inc esi
cmp esi, dword [ebp - 0x10]
jne 0x40456a
jmp 0x4045e4
push dword [ebx + esi*4 + 4]
mov ecx, edi
call fcn.00409150
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.00407d72
mov esi, eax
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
call fcn.00407d94
mov ecx, dword [ebp - 0x14]
mov edi, eax
lea eax, [ebp - 0x28]
push eax
call fcn.00407d72
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x30]
push eax
call fcn.0040dfa3
mov edi, dword [ebp - 0x14]
add esp, 0x1c
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor esi, esi
push esi
push 1
lea ecx, [ebp + 8]
call fcn.00409286
mov eax, edi
jmp 0x404602
push ebx
call fcn.00409286
call fcn.00427b90
ret
Function at 0x404608
Capabilities:
Download url
Receive data

Disassembly:
push 0x5c
mov eax, 0x439dd0
call fcn.00427b21
xor ebx, ebx
mov dword [ebp - 0x60], ecx
mov esi, edx
mov dword [ebp - 0x64], ebx
call fcn.004077e3
mov dword [ebp - 4], ebx
mov dword [ebp - 0x64], 1
cmp dword [esi + 0x14], ebx
je 0x4046c1
cmp dword [esi + 0x18], 0x10
mov dword [ebp - 0x5c], ebx
jb 0x404644
mov esi, dword [esi + 4]
jmp 0x404647
add esi, 4
push ebx
push ebx
lea eax, [ebp - 0x5c]
push eax
push esi
push ebx
call sub.urlmon.dll_URLOpenBlockingStreamA
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
je 0x4046c1
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x58]
push edx
push eax
call dword [ecx + 0x30]
cmp eax, ebx
jl 0x4046b8
mov eax, dword [ebp - 0x5c]
mov esi, dword [eax]
push ebx
push ebx
xor edx, edx
push edx
xor ecx, ecx
push ecx
push eax
call dword [esi + 0x14]
cmp eax, ebx
jl 0x4046b8
mov eax, dword [ebp - 0x50]
inc eax
push eax
call fcn.004231b7
pop ecx
mov esi, eax
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x68]
push edx
mov byte [eax + esi], bl
push dword [ebp - 0x50]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x4046b1
mov ecx, dword [ebp - 0x60]
push esi
call fcn.00403692
push esi
call fcn.00424b14
pop ecx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x60]
call fcn.00427ba4
ret
Function at 0x405ba8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
lea edi, [esi + 8]
push str.HKEY_CURRENT_USER
mov ecx, edi
call fcn.00407900
test eax, eax
jne 0x405bce
mov dword [ebp - 8], 0x80000001
jmp 0x405be9
push str.HKEY_LOCAL_MACHINE
mov ecx, edi
call fcn.00407900
test eax, eax
jne 0x405c7d
mov dword [ebp - 8], 0x80000002
cmp dword [esi + 0x3c], 0x10
jb 0x405bf4
mov eax, dword [esi + 0x28]
jmp 0x405bf7
lea eax, [esi + 0x28]
push ebx
lea ecx, [ebp - 0xc]
push ecx
mov edi, 0xf003f
push edi
xor ebx, ebx
push ebx
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
neg eax
sbb al, al
inc al
jne 0x405c45
cmp dword [esi + 0x3c], 0x10
jb 0x405c22
mov eax, dword [esi + 0x28]
jmp 0x405c25
lea eax, [esi + 0x28]
push ebx
lea ecx, [ebp - 0xc]
push ecx
push ebx
push edi
push ebx
push 0x4402e5
push ebx
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
neg eax
sbb al, al
inc al
je 0x405c7c
cmp dword [esi + 0x74], 0x10
mov ecx, dword [esi + 0x70]
jb 0x405c53
mov eax, dword [esi + 0x60]
jmp 0x405c56
lea eax, [esi + 0x60]
cmp dword [esi + 0x58], 0x10
jb 0x405c61
mov esi, dword [esi + 0x44]
jmp 0x405c64
add esi, 0x44
push ecx
push eax
push 1
push ebx
push esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop edi
pop esi
leave
ret

Function at 0x405c81
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
lea edi, [esi + 8]
push str.HKEY_CURRENT_USER
mov ecx, edi
call fcn.00407900
test eax, eax
jne 0x405ca3
mov eax, 0x80000001
jmp 0x405cb8
push str.HKEY_LOCAL_MACHINE
mov ecx, edi
call fcn.00407900
test eax, eax
jne 0x405cf4
mov eax, 0x80000002
cmp dword [esi + 0x3c], 0x10
jb 0x405cc3
mov esi, dword [esi + 0x28]
jmp 0x405cc6
add esi, 0x28
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405cf4
push 0x4402e5
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret

Function at 0x4067f7
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x80000000
push dword [ebp + 8]
mov byte [ebp - 1], bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x406864
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [esi], eax
call fcn.004231b7
pop ecx
push ebx
lea ecx, [ebp - 0xc]
push ecx
mov dword [edi], eax
push dword [esi]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x406851
mov byte [ebp - 1], 1
jmp 0x40685b
push dword [edi]
call fcn.00424b14
pop ecx
mov dword [edi], ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
pop ebx
leave
ret
Function at 0x4068a2
Capabilities:
Identify system language via api

Disassembly:
push 0x20
mov eax, 0x439d4e
call fcn.00427ab8
and dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 2
jbe 0x4068d4
push 2
lea ecx, [ebp + 8]
call fcn.00407dbc
cmp word [eax], 0x2d
jne 0x4068d4
push 0
push 2
lea ecx, [ebp + 8]
call fcn.004091ae
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.00407d72
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 8]
call fcn.00407d94
mov edi, eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 8]
call fcn.00407d72
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x2c]
push eax
call fcn.0040dfa3
add esp, 0x1c
xor esi, esi
push dword [esi*4 + 0x45d0e8]
lea ecx, [ebp + 8]
call fcn.0040ee7f
test eax, eax
je 0x406940
inc esi
cmp esi, 0xd2
jne 0x406919
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
jmp 0x406948
movzx eax, word [esi*2 + 0x440f80]
push 0
push 1
lea ecx, [ebp + 8]
mov si, ax
call fcn.00409286
mov ax, si
call fcn.00427b90
ret
Function at 0x406da1
Capabilities:
Get installed programs

Disassembly:
push 0x64
mov eax, 0x43ba9c
call fcn.00427b21
lea eax, [ebp - 0x44]
xor ebx, ebx
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.00407d72
mov esi, eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp + 8]
call fcn.00407d94
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 8]
call fcn.00407d72
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x70]
push eax
call fcn.0040dfa3
add esp, 0x1c
push str.PWPRO
lea ecx, [ebp + 8]
call fcn.0040ee7f
test eax, eax
je 0x406e56
push str.RCPRO
lea ecx, [ebp + 8]
call fcn.0040ee7f
test eax, eax
je 0x406e56
cmp byte [ebp + 0x24], bl
jne 0x406e33
mov byte [ebp - 0x2d], bl
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.00409286
mov al, byte [ebp - 0x2d]
call fcn.00427ba4
ret
sub esp, 0x1c
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
call fcn.00407cbf
lea eax, [ebp - 0x68]
push eax
call fcn.00406a92
add esp, 0x20
mov byte [ebp - 4], 2
jmp 0x406e77
sub esp, 0x1c
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
call fcn.00407cbf
lea eax, [ebp - 0x68]
push eax
call fcn.00406a92
add esp, 0x20
mov byte [ebp - 4], 1
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 8]
call fcn.004090bd
push ebx
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], bl
call fcn.00409286
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x2c]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push eax
call fcn.0040df58
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x406eb6
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], ebx
call fcn.00404741
xor ecx, ecx
test al, al
setne cl
inc ecx
mov dword [ebp - 0x40], ecx
je 0x406f21
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp - 0x38]
dec esi
neg esi
sbb esi, esi
and esi, 0xffffff00
lea eax, [ebp - 0x34]
push eax
add esi, 0x100
or esi, 0x20019
push esi
push ebx
push dword [ebp - 0x48]
push 0x80000001
call edi
test eax, eax
je 0x406f31
lea eax, [ebp - 0x34]
push eax
push esi
push ebx
push dword [ebp - 0x48]
push 0x80000002
call edi
test eax, eax
je 0x406f31
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x40]
jne 0x406ed4
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00409286
jmp 0x406e1c
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00409286
mov byte [ebp - 0x2d], 1
jmp 0x406e1f
Function at 0x421c2b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x421c39
push 0xd
pop eax
jmp 0x421c6c
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x421c40
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x42211e
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x452588]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
mov dword [ebp - 0x21c], eax
xor esi, esi
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
call fcn.004220eb
mov ebx, eax
cmp ebx, esi
je 0x422186
cmp dword [ebp - 0x214], esi
je 0x42217f
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x422221
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x4221ae
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.0042211e
mov dword [ebp - 0x220], eax
cmp eax, esi
jne 0x422232
lea eax, [ebp - 0x228]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x100
call ebx
test eax, eax
je 0x42218e
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x214], esi
je 0x4221f9
push dword [ebp - 0x214]
call ebx
mov dword [ebp - 0x214], esi
push dword [ebp - 0x21c]
mov dword [ebp - 0x210], esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp dword [ebp - 0x214], esi
je 0x42221f
push dword [ebp - 0x214]
call ebx
mov eax, edi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00424012
leave
ret 4
cmp dword [ebp - 0x214], esi
je 0x422246
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x220]
jmp 0x422221
Function at 0x422bd7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x43acd5
call fcn.00427b57
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov edi, edx
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x422c2f
call fcn.0042176a
mov esi, eax
jmp 0x422d56
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x422c48
call fcn.0042176a
jmp 0x422d48
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x422c3e
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x422c9e
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x422c94
lea eax, [ebp - 0x418]
call fcn.00421c85
mov eax, 0x8007000e
jmp 0x422d71
push 2
pop ecx
mul ecx
mov byte [ebp - 4], 2
cmp edx, esi
ja 0x422cb0
cmp eax, 0xffffffff
jbe 0x422cba
push 0x80070057
call fcn.00422f8c
cmp eax, 0x400
jbe 0x422ce7
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00421747
jmp 0x422cf3
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], esi
jne 0x422d09
mov esi, 0x8007000e
jmp 0x422d4a
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x422c3e
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, dword [ebp - 0x418]
lea edx, [ebp - 0x42c]
call fcn.00422a90
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x422d6f
lea eax, [ebp - 0x418]
call fcn.00421c85
mov eax, esi
call fcn.00427bb3
ret 0xc

Function at 0x424012
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x452588]
jne 0x42401c
repz ret
jmp fcn.0042a874
Function at 0x433182
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042b2fa
and dword [ebp - 4], 0
cmp dword [0x45e4d8], 0
mov ebx, eax
jne 0x433233
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4332e4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4332e4
push eax
call fcn.0042b288
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45e4d8], eax
call esi
push eax
call fcn.0042b288
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45e4dc], eax
call esi
push eax
call fcn.0042b288
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45e4e0], eax
call esi
push eax
call fcn.0042b288
pop ecx
mov dword [0x45e4e8], eax
test eax, eax
je 0x433233
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042b288
pop ecx
mov dword [0x45e4e4], eax
mov eax, dword [0x45e4e4]
cmp eax, ebx
je 0x43328b
cmp dword [0x45e4e8], ebx
je 0x43328b
push eax
call fcn.0042b303
push dword [0x45e4e8]
mov esi, eax
call fcn.0042b303
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43328b
test edi, edi
je 0x43328b
call esi
test eax, eax
je 0x433282
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x433282
test byte [ebp - 0xc], 1
jne 0x43328b
or dword [ebp + 0x10], 0x200000
jmp 0x4332c4
mov eax, dword [0x45e4dc]
cmp eax, ebx
je 0x4332c4
push eax
call fcn.0042b303
pop ecx
test eax, eax
je 0x4332c4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4332c4
mov eax, dword [0x45e4e0]
cmp eax, ebx
je 0x4332c4
push eax
call fcn.0042b303
pop ecx
test eax, eax
je 0x4332c4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45e4d8]
call fcn.0042b303
pop ecx
test eax, eax
je 0x4332e4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4332e6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x437350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x438dc1
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
push edi
mov eax, dword [0x452588]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], vtable.boost::exception.0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0xffffffff
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x70], edi
mov dword [esp + 0x10], str.bad_exception
call fcn.00424de8
mov dword [esp + 0x18], vtable.boost::exception_detail::bad_exception_.1.0
mov dword [esp + 0x2c], vtable.boost::exception_detail::bad_exception_.0
mov esi, 1
push esi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x74], esi
call fcn.00436e20
test byte [0x45e6b0], 1
mov dword [esp + 0x40], str.class_boost::exception_ptr___cdecl_boost::exception_detail::get_static_exception_object_struct_boost::exception_detail::bad_exception___void_
mov dword [esp + 0x44], str.._boost_exception_detail_exception_ptr.hpp
mov dword [esp + 0x48], 0x80
jne 0x43749a
or dword [0x45e6b0], esi
push 0x2c
mov byte [esp + 0x70], 3
call fcn.00424c98
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x6c], 4
cmp eax, edi
je 0x43742f
push esi
lea edx, [esp + 0x3c]
push edx
mov ecx, eax
call fcn.00436c30
jmp 0x437431
xor eax, eax
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 3
call fcn.004370e0
mov ecx, dword [eax]
mov dword [0x45e6a8], ecx
mov eax, dword [eax + 4]
mov dword [0x45e6ac], eax
cmp eax, edi
je 0x43745b
add eax, 4
lock xadd dword [eax], esi
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x43748d
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x43748d
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x43748d
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x43bf40
call fcn.00426bf9
add esp, 4
mov eax, dword [0x45e6a8]
mov esi, dword [esp + 0x74]
mov dword [esi], eax
mov ecx, dword [0x45e6ac]
mov eax, ecx
mov dword [esi + 4], ecx
cmp eax, edi
je 0x4374c0
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
lea ecx, [esp + 0x38]
call fcn.004369d0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x18], vtable.boost::exception_detail::bad_exception_.1.0
mov dword [esp + 0x2c], vtable.std::bad_exception.0
call fcn.00424eb5
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], vtable.boost::exception.0
cmp ecx, edi
je 0x437509
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov eax, esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x64
ret
Function at 0x4031ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4ae008], 0x8088405
inc edx
mov dword [ebx + 0x4ae008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x425c04
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x425c0a
ret