joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d9e4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x456140]
cmp byte [eax + 0xc], 0
je 0x43db51
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43db4a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x457af8], 0
jne 0x43da38
push 0x43db58
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43db60
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457af8], eax
cmp dword [0x455b44], 0
jne 0x43db33
push 0x43db70
call sub.kernel32.dll_LoadLibraryA
mov dword [0x455b44], eax
cmp dword [0x455b44], 0
je 0x43db33
push 0x43db7c
mov eax, dword [0x455b44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457afc], eax
push 0x43db8c
mov eax, dword [0x455b44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b00], eax
push 0x43dba0
mov eax, dword [0x455b44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b04], eax
push 0x43dbb8
mov eax, dword [0x455b44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b08], eax
push 0x43dbd0
mov eax, dword [0x455b44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b0c], eax
push 0x43dbe4
mov eax, dword [0x455b44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b10], eax
push 0x43dbfc
mov eax, dword [0x455b44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b14], eax
push 0x43dc14
mov eax, dword [0x455b44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b18], eax
push 0x43dc30
mov eax, dword [0x455b44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b1c], eax
push 0x43dc3c
mov eax, dword [0x455b44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b20], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43db51
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x441a20
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404204
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x441a6f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404474
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x449240
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x449290]
test si, 4
je 0x449254
or bl, 1
test si, 8
je 0x44925e
or bl, 4
test si, 1
je 0x449268
or bl, 8
test si, 2
je 0x449272
or bl, 0x10
test si, 0x10
je 0x44927c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44928b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x449294
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4492cc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4492ad
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4492bc
or bl, 4
test esi, 0x20000000
je 0x4492c7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44f990
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44f9a2
add esp, 0xfffffff0
call fcn.004037b0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004196cc
mov eax, dword [0x455e2c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44fd34
mov eax, dword [0x455e38]
mov dword [eax + 4], ebx
mov dword [eax], 0x44fd40
mov eax, ebx
call fcn.0044fd4c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4118e4]
call fcn.00403460
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4118e4]
call fcn.00403460
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4118e4]
call fcn.00403460
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4118e4]
call fcn.00403460
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4118e4]
call fcn.00403460
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44c164
push eax
push 0
push 0
mov eax, dword [0x455f74]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b10c]
call fcn.0041c574
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b10c]
call fcn.0041c574
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b10c]
call fcn.0041c574
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045019c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450064
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450064
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450064
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44fadf
call fcn.00403808
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44fe48
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44fff3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44ffd4
mov dl, 1
mov eax, dword [0x411d00]
call fcn.00403460
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404204
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44ffc3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043dd44
test al, al
je 0x44ffb6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x450004
lea eax, [ebp - 0x254]
call fcn.00408cd8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44ffb6
xor eax, eax
push ebp
push 0x44ffaf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45003c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44ff98
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404474
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44ff98
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404474
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ffb6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44feb9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415864
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fffa
lea eax, [ebp - 0x260]
call fcn.00404204
ret

Function at 0x45093c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x457b44]
cmp byte [eax + 0xa5], 0
jne 0x4509ad
cmp dword [0x457b5c], 0
jne 0x45096e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4508f8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x457b5c], eax
cmp dword [0x457b58], 0
jne 0x450989
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x457b58], eax
cmp dword [0x457b60], 0
jne 0x4509ad
push esp
push 0
push 0
push 0x45089c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x457b60], eax
pop edx
ret
Function at 0x451040
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x457b44]
cmp dword [eax + 0x30], 0
je 0x4510ea
cmp dword [ebx + 0x94], 0
jne 0x4510e4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x450fd0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4510e4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4510aa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4510e4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413c60
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4510b9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x451c48
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x451c7d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004042f4
jmp 0x451c8a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404258
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x452d9c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x452ddd
mov eax, esi
call fcn.00439320
test al, al
je 0x452ddd
mov eax, dword [ebx + 0x84]
call fcn.0043901c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x452ddd
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043901c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x416c70
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [esp + 0x24]
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.00416cd0

Function at 0x416cd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x3c
mov eax, dword [0x4290c4]
test eax, eax
jle 0x416dd3
mov edx, dword [0x4290c8]
xor ebx, ebx
mov ecx, dword [edx + 4]
cmp ecx, esi
ja 0x416d01
mov edi, dword [edx + 8]
add ecx, dword [edi + 8]
cmp esi, ecx
jb 0x416d76
add ebx, 1
add edx, 0xc
cmp ebx, eax
jne 0x416cf0
mov dword [esp], esi
call fcn.00417610
test eax, eax
mov edi, eax
je 0x416dfa
lea esi, [ebx + ebx*2]
mov ebx, dword [0x4290c8]
shl esi, 2
add ebx, esi
mov dword [ebx + 8], eax
mov dword [ebx], 0
call fcn.00417700
add eax, dword [edi + 0xc]
mov dword [ebx + 4], eax
lea eax, [ebp - 0x34]
mov dword [esp + 4], eax
mov eax, dword [0x4290c8]
mov dword [esp + 8], 0x1c
mov eax, dword [eax + esi + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x416dda
mov eax, dword [ebp - 0x20]
cmp eax, 0x40
jne 0x416d80
add dword [0x4290c4], 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 4
je 0x416d6f
cmp eax, 0x80
je 0x416d6f
cmp eax, 8
je 0x416d6f
mov eax, dword [ebp - 0x28]
add esi, dword [0x4290c8]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0xc], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x416d6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00416c70
xor ebx, ebx
jmp 0x416d0b
mov eax, dword [0x4290c8]
mov eax, dword [eax + esi + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00416c70
mov dword [esp + 4], esi
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00416c70
lea esi, [esi]

Function at 0x417530
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x417568
xor edx, edx
nop
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
ja 0x41755e
add ecx, dword [eax + 8]
cmp ebx, ecx
jb 0x41756a
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x417550
xor eax, eax
pop ebx
pop esi
ret
Function at 0x417830
Capabilities:
Accept command line arguments

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
sub esp, 8
test eax, eax
mov dword [esp + 0x2c], eax
je 0x4179a0
mov eax, dword [esp + 0x3c]
add eax, 1
lea edx, [eax*4]
cmp eax, 0x1fc00000
mov eax, 0xffffffff
cmovbe eax, edx
mov dword [esp], eax
call sub.libstdc_6.dll_operator_new___unsigned_int_
mov edi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x41793b
xor ebx, ebx
mov eax, dword [esp + 0x2c]
mov ebp, dword [eax + ebx*4]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebp
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
sub esp, 0x20
mov dword [esp], eax
mov dword [esp + 0x28], eax
call sub.libstdc_6.dll_operator_new___unsigned_int_
mov ecx, dword [esp + 0x28]
mov esi, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
sub esp, 0x20
mov dword [edi + ebx*4], esi
add ebx, 1
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jg 0x417890
mov dword [edi + eax*4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
sub esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004017d0
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x41798c
mov edx, dword [edi]
test edx, edx
je 0x41798c
xor ebx, ebx
mov dword [esp], edx
add ebx, 1
call sub.libstdc_6.dll_operator_delete___void_
cmp dword [esp + 0x3c], ebx
jle 0x41798c
mov edx, dword [edi + ebx*4]
test edx, edx
jne 0x417974
mov dword [esp], edi
call sub.libstdc_6.dll_operator_delete___void_
mov eax, esi
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, 0xffffffff
jmp 0x417996
Function at 0x41cfea
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push dword [edi*4 + 0x4b1a00]
xor al, 0xbd
add byte [edx], bl
dec ebx
add al, ch
push eax
add byte [eax], 0
pop ecx
pop ecx
test eax, eax
je 0x41d001
push es
push es
inc edi
cmp edi, 0x61
jl 0x41cfe8
mov esi, dword [ebp - 4]
cmp edi, 0x61
je 0x45d16c
cmp edi, 0x60
ja 0x41d028
jmp dword [edi*4 + 0x41d062]
xor edi, edi
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x18]
call fcn.004098a2
mov eax, dword [ebp - 0x1c]
fsub st(0), st(0)
pop ebx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8

Function at 0x41fe49
Capabilities:
Enumerate pe sections

Disassembly:
add byte [ebx - 0x3feb5e83], cl
dec esp
add byte [ebx + 0x206a1fe0], al
pop ecx
sub ecx, eax
add dword [ebp + 8], eax
ror eax, cl
xor eax, dword [0x4cc014]
ror byte [eax + eax + 0x5d], 0xc3

Function at 0x41fe4e
Capabilities:
Enumerate pe sections

Disassembly:
add byte [ebx + 0x8458b7d], cl
push esi
mov ecx, dword [eax + 0x3c]
dec eax
invalid

Function at 0x469713
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
mov dword [ebp + 8], esi
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fe87
mov ecx, dword [ebx]
add esi, esi
add ecx, edi
mov edi, eax
push esi
push ecx
push edi
call fcn.00420e9c
add dword [ebx], esi
xor eax, eax
or dword [ebp + 8], 0x6610c483
mov dword [esi + edi], eax
test ecx, ecx
jle 0x469755
xor word [edi + eax*2], cx
inc eax
cmp eax, ecx
jl 0x46974c
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x47201e
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
sub dword [0x4d06e0], 1
jne 0x472031
call fcn.004720c2
mov eax, dword [0x4d2ff4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4d2ff4], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x472074
fadd qword [0x4c81c0]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4c8190]
leave
ret
Function at 0x4720c2
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4d2ff0], 0
push esi
push edi
mov esi, 0x4d2630
jne 0x4720e5
push 0
call fcn.0042e564
pop ecx
mov ecx, eax
call 0x8a472082
mov dword [0x4d06e0], 0xf100270
mov edx, 0xe3
mov dword [0x4d2ff4], esi
mov eax, dword [esi + 4]
mov ecx, dword [esi]
xor ecx, eax
and al, 1
and ecx, 0x7f44f6fe
movzx eax, al
xor ecx, dword [esi]
shr ecx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi + 0xf100634]
mov dword [esi], ecx
add esi, 4
sub edx, 1
jne 0x4720fa
mov eax, dword [esi]
mov dword [ebp - 4], 0xf184018c
mov edi, dword [esi + 4]
mov ecx, eax
xor ecx, edi
and ecx, 0x7f44f6fe
xor ecx, eax
mov eax, edi
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edi
xor ecx, dword [esi - 0x38c]
sub dword [ebp - 4], 1
mov dword [esi], ecx
lea esi, [esi + 4]
jne 0x472134
mov eax, dword [0x4d2630]
mov ecx, edi
xor ecx, eax
and al, 1
and ecx, 0x7f44f6fe
movzx eax, al
xor ecx, edi
shr ecx, 1
neg eax
pop edi
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
leave
ret

Function at 0x47297a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
lea ecx, [ebp - 0xdc]
call 0x34727ca
push dword [ebp + 8]
lea ecx, [ebp - 0xdc]
call fcn.0047280e
xor esi, esi
test ebx, ebx
je 0x4729be
push ecx
push ecx
lea ecx, [ebp - 0xdc]
call 0x453e294e
xor byte [esi + edi], al
inc esi
cmp esi, ebx
jb 0x4729a9
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x40c564
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x40c572
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
push esi
push edi
not eax
mov ecx, 0xff
jb 0x40c64d
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [edx]
mov esi, eax
sub dword [ebp + 0x10], 8
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x4d6418]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x4d6418]
xor esi, eax
inc edx
mov eax, esi
movzx ebx, byte [edx]
and eax, ecx
xor eax, ebx
shr esi, 8
mov eax, dword [eax*4 + 0x4d6418]
xor eax, esi
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x4d6418]
xor esi, eax
inc edx
mov eax, esi
movzx ebx, byte [edx]
and eax, ecx
xor eax, ebx
shr esi, 8
mov eax, dword [eax*4 + 0x4d6418]
xor eax, esi
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x4d6418]
xor esi, eax
inc edx
mov eax, esi
movzx ebx, byte [edx]
and eax, ecx
xor eax, ebx
shr esi, 8
mov eax, dword [eax*4 + 0x4d6418]
xor eax, esi
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x4d6418]
xor eax, esi
inc edx
dec edi
jne 0x40c58f
pop ebx
cmp dword [ebp + 0x10], 0
je 0x40c66e
movzx edi, byte [edx]
mov esi, eax
and esi, ecx
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4d6418]
xor eax, esi
inc edx
dec dword [ebp + 0x10]
jne 0x40c653
pop edi
pop esi
not eax
pop ebp
ret
Function at 0x412fee
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x24]
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x6c]
sub eax, ecx
sub eax, edx
mov dword [ebp + 8], eax
jne 0x413018
test ecx, ecx
jne 0x413022
test edx, edx
jne 0x413022
mov eax, edi
jmp 0x41308e
cmp eax, 0xffffffff
jne 0x413022
push 0xfffffffffffffffe
pop eax
jmp 0x41308e
mov edx, dword [esi + 0x24]
lea edx, [edi + edx - 0x106]
cmp ecx, edx
jb 0x41308e
mov eax, dword [esi + 0x30]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.00489c00
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x3c]
sub dword [esi + 0x68], edi
sub dword [esi + 0x64], edi
add esp, 0xc
sub dword [esi + 0x54], edi
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx edx, word [eax]
mov ebx, edx
sub ebx, edi
cmp edx, edi
sbb edx, edx
not edx
and edx, ebx
dec ecx
mov word [eax], dx
jne 0x413053
mov eax, dword [esi + 0x38]
mov edx, edi
lea eax, [eax + edi*2]
dec eax
dec eax
movzx ecx, word [eax]
mov ebx, ecx
sub ebx, edi
cmp ecx, edi
sbb ecx, ecx
not ecx
and ecx, ebx
dec edx
mov word [eax], cx
jne 0x413072
mov eax, dword [ebp + 8]
add eax, edi
mov ecx, dword [esi]
cmp dword [ecx + 4], 0
je 0x4130e9
push eax
mov eax, dword [esi + 0x6c]
add eax, dword [esi + 0x64]
add eax, dword [esi + 0x30]
push eax
push ecx
call fcn.004130ee
add dword [esi + 0x6c], eax
mov ebx, dword [esi + 0x6c]
add esp, 0xc
cmp ebx, 3
jb 0x4130d5
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x30]
lea edx, [eax + ecx]
mov ecx, dword [esi + 0x50]
movzx eax, byte [edx]
mov dword [esi + 0x40], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x4c]
mov dword [esi + 0x40], eax
cmp ebx, 0x106
jae 0x4130e9
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x412ffa
pop edi
pop esi
pop ebx
pop ebp
ret