joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430880
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 + 0x1f8], 0
je 0x43089c
cmp dword [esi + 4], 0
je 0x4308c9
test byte [ebx + 0x55], 1
jne 0x4308bb
mov eax, ebx
call fcn.0042f48c
test eax, eax
jne 0x4308bb
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4309d9
mov edx, esi
mov eax, ebx
call fcn.004303a4
jmp 0x4309d9
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
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 0x4309d2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004326f0
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.0042d1a8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00430880
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 + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
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.004326f0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4309d9
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 0x436de8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x44e118]
cmp byte [eax + 0xc], 0
je 0x436f55
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x436f4e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x44fb64], 0
jne 0x436e3c
push 0x436f5c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x436f64
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb64], eax
cmp dword [0x44db00], 0
jne 0x436f37
push 0x436f74
call sub.kernel32.dll_LoadLibraryA
mov dword [0x44db00], eax
cmp dword [0x44db00], 0
je 0x436f37
push 0x436f80
mov eax, dword [0x44db00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb68], eax
push 0x436f90
mov eax, dword [0x44db00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb6c], eax
push 0x436fa4
mov eax, dword [0x44db00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb70], eax
push 0x436fbc
mov eax, dword [0x44db00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb74], eax
push 0x436fd4
mov eax, dword [0x44db00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb78], eax
push 0x436fe8
mov eax, dword [0x44db00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb7c], eax
push 0x437000
mov eax, dword [0x44db00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb80], eax
push 0x437018
mov eax, dword [0x44db00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb84], eax
push 0x437034
mov eax, dword [0x44db00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb88], eax
push 0x437040
mov eax, dword [0x44db00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436f55
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43ade0
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.00403e30
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43ae2f
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.004040a0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x442544
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442594]
test si, 4
je 0x442558
or bl, 1
test si, 8
je 0x442562
or bl, 4
test si, 1
je 0x44256c
or bl, 8
test si, 2
je 0x442576
or bl, 0x10
test si, 0x10
je 0x442580
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44258f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x442598
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4425d0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4425b1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4425c0
or bl, 4
test esi, 0x20000000
je 0x4425cb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x448c78
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x448c8a
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419010
mov eax, dword [0x44ddf4]
mov dword [eax + 4], ebx
mov dword [eax], 0x44901c
mov eax, dword [0x44de00]
mov dword [eax + 4], ebx
mov dword [eax], 0x449028
mov eax, ebx
call fcn.00449034
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411308]
call fcn.004030a8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411308]
call fcn.004030a8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411308]
call fcn.004030a8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411308]
call fcn.004030a8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411308]
call fcn.004030a8
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, 0x445450
push eax
push 0
push 0
mov eax, dword [0x44df40]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41aa34]
call fcn.0041be78
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41aa34]
call fcn.0041be78
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41aa34]
call fcn.0041be78
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00449454
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449330
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449330
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449330
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x448dc7
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x449114
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 0x4492bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4492a0
mov dl, 1
mov eax, dword [0x411724]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e30
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44928f
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.00437148
test al, al
je 0x449282
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, 0x4492d0
lea eax, [ebp - 0x254]
call fcn.00408790
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x449282
xor eax, eax
push ebp
push 0x44927b
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 0x449308
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x449264
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040a0
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 0x449264
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449282
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x449185
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415200
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 0x4492c6
lea eax, [ebp - 0x260]
call fcn.00403e30
ret

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

Disassembly:
push ecx
mov eax, dword [0x44fbb0]
cmp byte [eax + 0xa5], 0
jne 0x449c65
cmp dword [0x44fbc8], 0
jne 0x449c26
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x449bb0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x44fbc8], eax
cmp dword [0x44fbc4], 0
jne 0x449c41
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x44fbc4], eax
cmp dword [0x44fbcc], 0
jne 0x449c65
push esp
push 0
push 0
push 0x449b54
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x44fbcc], eax
pop edx
ret
Function at 0x449d5c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x449d73
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419010
mov eax, dword [0x44df2c]
cmp word [eax + 2], 0
jne 0x449d9b
mov eax, dword [0x44df2c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044b434
mov eax, dword [0x44dfd4]
cmp word [eax + 2], 0
jne 0x449db5
mov eax, dword [0x44dfd4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044b62c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411308]
call fcn.004030a8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411308]
call fcn.004030a8
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b1e4]
call fcn.00420e2c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x449f3c
mov eax, dword [0x44de54]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004211fc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44bbcc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44de54]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040be9c
test eax, eax
je 0x449eaa
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408184
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bec4
test eax, eax
je 0x449ebe
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004040a0
mov eax, dword [0x44dd58]
cmp byte [eax], 0
jne 0x449ef2
mov eax, ebx
call fcn.0044a064
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044bda8
mov eax, ebx
call fcn.0044c76c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x449f32
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a2e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x44fbb0]
cmp dword [eax + 0x30], 0
je 0x44a38e
cmp dword [ebx + 0x94], 0
jne 0x44a388
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44a274
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44a388
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 0x44a34e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44a388
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.00413670
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44a35d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44aef0
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 0x44af25
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.00403f20
jmp 0x44af32
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403e84
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44bf84
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44bfc5
mov eax, esi
call fcn.00432950
test al, al
je 0x44bfc5
mov eax, dword [ebx + 0x84]
call fcn.004326f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44bfc5
push 0
mov eax, dword [ebx + 0x84]
call fcn.004326f0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x40a0f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
push esp
pop ebp
push 0xffffffffffffffff
push 0x43251b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x43a4a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], 0x436744
call fcn.004204f2
push 4
mov dword [ebp - 4], 0
call fcn.00420e45
push eax
pop edi
add esp, 4
test edi, edi
je 0x40a16c
call fcn.0041fb82
mov dword [edi], eax
call fcn.0041f941
push 0
lea ecx, [ebp - 0x10]
push eax
pop ebx
call fcn.0041f876
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40a162
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0041f89e
jmp 0x40a16e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
push esi
pop eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40e260
Capabilities:
Packed with generic packer

Disassembly:
mov edx, dword [esi]
push edi
push eax
pop edi
test edi, edi
je 0x40e280
push ebx
lea ebx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e270
sub eax, ebx
sar eax, 1
pop ebx
mov ecx, dword [edx - 0xc]
lea eax, [eax + ecx + 1]
or eax, eax
jns 0x40e295
push 0x80070057
call fcn.00405610
pushal
popal
push 1
pop ecx
sub ecx, dword [edx - 4]
mov edx, dword [edx - 8]
sub edx, eax
or ecx, edx
jge 0x40e2ad
mov ecx, esi
call fcn.00405320
mov eax, dword [esi]
push edi
push eax
call dword [0x4331e0]
push eax
pop edi
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x40e2d0
push ecx
push eax
call fcn.00420b00
add esp, 8
test eax, eax
js 0x40e28b
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x40e28b
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
sub edx, edx
mov word [ecx + eax*2], dx
mov eax, edi
pop edi
ret

Function at 0x40e350
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432867
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x43a4a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
sub eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebx], 0x4369ac
mov dword [ebx + 0x60], 0x43692c
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], 0x436784
mov edx, dword [ebx]
mov esi, dword [edx + 4]
add esi, ebx
mov dword [ebp - 0x10], 1
call fcn.00408c10
lea edi, [ebx + 4]
push esi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], 0
call fcn.0040fd70
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x40e3db
mov eax, dword [esi + 0xc]
or eax, 4
or eax, 4
push 0
mov ecx, esi
call fcn.00408ad0
mov dword [ebp - 4], 2
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push edi
mov dword [ebx + ecx], str._typeof
call fcn.0040f9f0
lea edx, [edi + 8]
mov dword [edi + 0x10], edx
lea ecx, [edi + 0x18]
mov dword [edi + 0x20], ecx
lea edx, [edi + 0x1c]
mov dword [edi + 0x24], edx
mov dword [edi], 0x43696c
mov byte [edi + 0x50], 0
mov byte [edi + 0x49], 0
lea ecx, [edi + 0x28]
mov dword [edi + 0x30], ecx
xor ecx, ecx
lea eax, [edi + 0xc]
mov dword [edi + 0x14], eax
lea edx, [edi + 0x2c]
mov dword [edi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [edi + 0x24]
mov dword [eax], ecx
mov edx, dword [edi + 0x34]
mov dword [edx], ecx
mov eax, dword [edi + 0x10]
mov dword [eax], ecx
mov edx, dword [edi + 0x20]
mov dword [edx], ecx
mov eax, dword [edi + 0x30]
mov edx, dword [0x468954]
mov dword [eax], ecx
mov dword [edi + 0x54], ecx
mov dword [edi + 0x4c], edx
mov dword [edi + 0x44], ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret 4
Function at 0x40f9f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43251b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x43a4a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], str._default_constructor_closure
call fcn.004204f2
push 4
mov dword [ebp - 4], 0
call fcn.00420e45
mov edi, eax
add esp, 4
test edi, edi
je 0x40fa6c
call fcn.0041fb82
mov dword [edi], eax
call fcn.0041f941
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0041f876
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40fa62
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0041f89e
jmp 0x40fa6e
sub edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x425cfc
Capabilities:
Packed with generic packer

Disassembly:
pushal
popal
push ebp
mov ebp, esp
cmp dword [0x46c2d0], 0
je 0x425d23
push 0x46c2d0
call fcn.0042f650
pop ecx
test eax, eax
je 0x425d23
push dword [ebp + 8]
call dword [0x46c2d0]
pop ecx
call fcn.0042f594
push 0x43325c
push 0x433240
call fcn.00425cd8
pop ecx
pop ecx
test eax, eax
jne 0x425d91
push esi
push edi
push fcn.00425c7c
call fcn.00422b3d
mov eax, 0x433204
mov esi, 0x43323c
pop ecx
push eax
pop edi
cmp eax, esi
jae 0x425d69
mov eax, dword [edi]
or eax, eax
je 0x425d62
call eax
add edi, 4
cmp edi, esi
jb 0x425d5a
cmp dword [0x46c2d4], 0
pop edi
pop esi
je 0x425d8f
push 0x46c2d4
call fcn.0042f650
pop ecx
or eax, eax
je 0x425d8f
push 0
push 2
push 0
call dword [0x46c2d4]
sub eax, eax
pop ebp
ret

Function at 0x429073
Capabilities:
Read file on windows

Disassembly:
push edi
pop edi
push ebp
push esp
pop ebp
push esi
mov esi, dword [ebp + 8]
or esi, esi
jne 0x429095
call fcn.00424a0e
mov dword [eax], 0x16
call fcn.00427436
jmp 0x42918f
mov eax, dword [esi + 0xc]
test al, 0x83
je 0x42918f
test al, 0x40
jne 0x42918f
test al, 2
je 0x4290b7
or eax, 0x20
mov dword [esi + 0xc], eax
jmp 0x42918f
or eax, 1
mov dword [esi + 0xc], eax
test eax, 0x10c
jne 0x4290cd
push esi
call fcn.004291bb
pop ecx
jmp 0x4290d2
mov eax, dword [esi + 8]
mov dword [esi], eax
push dword [esi + 0x18]
push dword [esi + 8]
push esi
call fcn.00429195
pop ecx
push eax
call fcn.0043122c
add esp, 0xc
mov dword [esi + 4], eax
test eax, eax
je 0x42917e
cmp eax, 0xffffffff
je 0x42917e
test byte [esi + 0xc], 0x82
jne 0x429153
push esi
call fcn.00429195
pop ecx
cmp eax, 0xffffffff
je 0x42913e
push esi
call fcn.00429195
pop ecx
cmp eax, 0xfffffffe
je 0x42913e
push edi
push esi
call fcn.00429195
sar eax, 5
push esi
lea edi, [eax*4 + 0x46c1c0]
call fcn.00429195
and eax, 0x1f
pop ecx
shl eax, 6
add eax, dword [edi]
pop ecx
pop edi
jmp 0x429143
mov eax, 0x43a668
mov al, byte [eax + 4]
and al, 0x82
cmp al, 0x82
jne 0x429153
or dword [esi + 0xc], 0x2000
cmp dword [esi + 0x18], 0x200
jne 0x429171
mov eax, dword [esi + 0xc]
test al, 8
je 0x429171
test eax, 0x400
jne 0x429171
mov dword [esi + 0x18], 0x1000
mov ecx, dword [esi]
dec dword [esi + 4]
movzx eax, byte [ecx]
inc ecx
mov dword [esi], ecx
jmp 0x429192
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
or dword [esi + 0xc], eax
and dword [esi + 4], 0
or eax, 0xffffffff
pop esi
pop ebp
ret