joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43426c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x4342b8
mov eax, esi
call fcn.00449930
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4342b8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4342b8
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x4343f7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4342f8
cmp eax, 0x108
ja 0x4342f8
mov eax, esi
call fcn.00449930
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4343ee
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x4343f7
jmp 0x4343ee
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4343d7
cmp eax, 0x20a
ja 0x4343d7
test byte [esi + 0x50], 0x80
jne 0x43432a
sub eax, 0x203
je 0x434327
sub eax, 3
je 0x434327
sub eax, 3
jne 0x43432a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43433e
dec eax
je 0x434353
dec eax
je 0x434370
dec eax
je 0x434353
jmp 0x434377
mov ecx, ebx
mov eax, dword [0x46610c]
mov eax, dword [eax]
mov edx, esi
call fcn.004530dc
jmp 0x4343ee
cmp byte [esi + 0x5d], 1
jne 0x434369
mov eax, esi
mov si, 0xffed
call fcn.00403484
jmp 0x4343f7
or word [esi + 0x54], 1
jmp 0x4343ee
and word [esi + 0x54], 0xfffe
jmp 0x4343ee
mov eax, dword [0x467b14]
cmp byte [eax + 0x20], 0
je 0x4343ee
mov eax, dword [0x467b14]
cmp dword [eax + 0x1c], 0
je 0x4343ee
mov eax, dword [ebx]
mov edx, dword [0x467b14]
cmp eax, dword [edx + 0x1c]
jne 0x4343ee
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00449874
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403484
jmp 0x4343f7
cmp eax, 0xb00b
jne 0x4343ee
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00432ba8
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437898
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 0x4378b4
cmp dword [esi + 4], 0
je 0x4378e1
test byte [ebx + 0x55], 1
jne 0x4378d3
mov eax, ebx
call fcn.004364a4
test eax, eax
jne 0x4378d3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4379f1
mov edx, esi
mov eax, ebx
call fcn.004373bc
jmp 0x4379f1
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 0x4379ea
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00439740
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.004341a0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00437898
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.00439740
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4379f1
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 0x43dfe0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x466290]
cmp byte [eax + 0xc], 0
je 0x43e14d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43e146
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x467b68], 0
jne 0x43e034
push 0x43e154
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43e15c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x467b68], eax
cmp dword [0x465b10], 0
jne 0x43e12f
push 0x43e16c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x465b10], eax
cmp dword [0x465b10], 0
je 0x43e12f
push 0x43e178
mov eax, dword [0x465b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x467b6c], eax
push 0x43e188
mov eax, dword [0x465b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x467b70], eax
push 0x43e19c
mov eax, dword [0x465b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x467b74], eax
push 0x43e1b4
mov eax, dword [0x465b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x467b78], eax
push 0x43e1cc
mov eax, dword [0x465b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x467b7c], eax
push 0x43e1e0
mov eax, dword [0x465b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x467b80], eax
push 0x43e1f8
mov eax, dword [0x465b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x467b84], eax
push 0x43e210
mov eax, dword [0x465b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x467b88], eax
push 0x43e22c
mov eax, dword [0x465b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x467b8c], eax
push 0x43e238
mov eax, dword [0x465b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x467b90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e14d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x4497e4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x449834]
test si, 4
je 0x4497f8
or bl, 1
test si, 8
je 0x449802
or bl, 4
test si, 1
je 0x44980c
or bl, 8
test si, 2
je 0x449816
or bl, 0x10
test si, 0x10
je 0x449820
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44982f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x449838
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x449870]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x449851
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x449860
or bl, 4
test esi, 0x20000000
je 0x44986b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44ff18
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44ff2a
add esp, 0xfffffff0
call fcn.004035ac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d9c4
mov eax, dword [0x465f20]
mov dword [eax + 4], ebx
mov dword [eax], 0x4502bc
mov eax, dword [0x465f2c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4502c8
mov eax, ebx
call fcn.004502d4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415370]
call fcn.00403258
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415370]
call fcn.00403258
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415370]
call fcn.00403258
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415370]
call fcn.00403258
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415370]
call fcn.00403258
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, 0x44c6f0
push eax
push 0
push 0
mov eax, dword [0x466080]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41f418]
call fcn.00420b54
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41f418]
call fcn.00420b54
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41f418]
call fcn.00420b54
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004506f4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4505d0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4505d0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4505d0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450067
call fcn.00403604
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4503b4
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 0x45055f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x450540
mov dl, 1
mov eax, dword [0x415918]
call fcn.00403258
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403fd8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45052f
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.0043e340
test al, al
je 0x450522
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, 0x450570
lea eax, [ebp - 0x254]
call fcn.004090cc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x450522
xor eax, eax
push ebp
push 0x45051b
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 0x4505a8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x450504
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404248
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 0x450504
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404248
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450522
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x450425
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419b9c
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 0x450566
lea eax, [ebp - 0x260]
call fcn.00403fd8
ret

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

Disassembly:
push ecx
mov eax, dword [0x467bb4]
cmp byte [eax + 0xa5], 0
jne 0x450f05
cmp dword [0x467bcc], 0
jne 0x450ec6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x450e50
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x467bcc], eax
cmp dword [0x467bc8], 0
jne 0x450ee1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x467bc8], eax
cmp dword [0x467bd0], 0
jne 0x450f05
push esp
push 0
push 0
push 0x450df4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x467bd0], eax
pop edx
ret
Function at 0x450ffc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x451013
add esp, 0xfffffff0
call fcn.004035ac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d9c4
mov eax, dword [0x46606c]
cmp word [eax + 2], 0
jne 0x45103b
mov eax, dword [0x46606c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004526d4
mov eax, dword [0x466128]
cmp word [eax + 2], 0
jne 0x451055
mov eax, dword [0x466128]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004528cc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415370]
call fcn.00403258
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415370]
call fcn.00403258
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 [0x41fec0]
call fcn.004277d4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4511dc
mov eax, dword [0x465f84]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427ba4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x452e6c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x465f84]
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.0040c81c
test eax, eax
je 0x45114a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408ac0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c844
test eax, eax
je 0x45115e
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.00404248
mov eax, dword [0x465e5c]
cmp byte [eax], 0
jne 0x451192
mov eax, ebx
call fcn.00451304
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.00453048
mov eax, ebx
call fcn.00453a0c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4511d2
call fcn.00403604
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451584
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x467bb4]
cmp dword [eax + 0x30], 0
je 0x45162e
cmp dword [ebx + 0x94], 0
jne 0x451628
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451514
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x451628
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 0x4515ee
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x451628
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.00417864
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4515fd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x452190
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 0x4521c5
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.004040c8
jmp 0x4521d2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040402c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x453224
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x453265
mov eax, esi
call fcn.00439a00
test al, al
je 0x453265
mov eax, dword [ebx + 0x84]
call fcn.00439740
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453265
push 0
mov eax, dword [ebx + 0x84]
call fcn.00439740
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0xd776d3
Capabilities:
Encode data using xor

Disassembly:
mov word [esp + 1], sp
mov edx, dword [esp + 1]
push word [esp]
sub esp, 5
ja 0xd779fa
jbe 0xd7775e
push esi
lds edx, [ebp + 0x3c]
iretd
xchg dword [esp + 2], edx
push ebp
mov dh, ch
add esp, 1
jmp 0xd77957
mov dh, 0x6c
pushal
shl edx, cl
jmp 0xd776fb
jmp 0xd77713
lea edx, [ecx*4]
mov byte [esp + 0x1f], ah
pop dx
bsr edx, edi
jmp 0xd777e0
lea esp, [esp + 1]
jmp 0xd7778a
mov word [esp + 1], dx
push dx
btr dx, bx
jmp 0xd77747
mov word [esp + 1], dx
push dx
btr dx, bx
lea esp, [esp + 1]
lea esp, [esp + 0xc]
neg bl
neg dx
jnp 0xd7772e
mov dh, 0x6c
pushal
shl edx, cl
xchg dword [esp + 2], edx
push ebp
jmp 0xd77700
lea edx, [edi*4]
bsr dx, cx
dec edx
btc dx, cx
lea edx, [ecx + ebp]
bsr edx, eax
jmp 0xd778c3
bswap edx
ror dh, 5
jge 0xd777a4
lea edx, [edi*4]
jmp 0xd77807
lea esp, [esp + 1]
lea esp, [esp + 0x20]
dec bl
mov edx, 0xc147246
jmp 0xd777c5
lea edx, [ecx + ebp]
jmp 0xd777b7
bsr dx, cx
dec edx
btc dx, cx
jmp 0xd777f1
pop dx
bsr edx, edi
lea esp, [esp + 1]
jmp 0xd777e4
or dh, 0x2b
bsr edx, esi
mov edx, dword [esp]
mov edx, dword [esp]
cmc
jmp 0xd7788a
mov edx, dword [esp]
mov dx, word [esp]
lea edx, [eax*4]
jmp 0xd77830
inc dx
jmp 0xd77847
mov edx, dword [esp]
not dx
jmp 0xd77929
mov edx, 0x3ef475b6
rol bl, 0
push ecx
jmp 0xd778fa
je 0xd778a2
jne 0xd778a2
cmp byte [ebp + 0x77c7342d], bh
sbb byte [edx + esi - 0x76ed5bab], bl
or al, 0x82
in eax, 0x14
stosd dword es:[edi], eax
mov bl, 0xdb
ror bl, 0
mov dh, bl
lea edx, [eax*4]
lea edx, [esi*4]
jmp 0xd77862
dec bl
and dh, bl
je 0xd7785e
inc dx
mov edx, dword [esp]
mov dx, word [esp]
lea edx, [eax*4]
or dh, 0x2b
jmp 0xd77833
btc dx, si
jmp 0xd7790f
mov byte [esp + 2], cl
xchg dword [esp], edx
dec dh
jae 0xd778e1
btc dx, si
jmp 0xd77939
shr dx, cl
mov byte [esp + 2], cl
sub esp, 1
mov dx, 0x334f
mov dx, word [esp + 3]
jmp 0xd77983
jbe 0xd7786e
mov edx, 0x3ef475b6
jmp 0xd77873
shr dx, cl
mov byte [esp + 2], cl
sub esp, 1
jmp 0xd779ce
jo 0xd77730
lea edx, [ecx*4]
mov byte [esp + 0x1f], ah
jmp 0xd77825
sub al, bl
stc
jge 0xd779b7
bsf edx, ebx
jmp 0xd7799a
xchg word [esp + 1], dx
xchg dword [esp], edx
mov word [esp + 1], bp
lea esp, [esp + 1]
lea esp, [esp + 4]
jmp 0xd7796d
pushfd
mov byte [esp + 2], ch
jmp 0xd779d7
xchg ebx, edx
inc dl
lea esp, [esp + 3]
cmc
mov bx, dx
bsf edx, ebx
pushfd
mov byte [esp + 2], ch
jmp 0xd779d7
mov dx, 0x334f
jmp 0xd7791d
inc dword [ebp - 0x73]
push ecx
out dx, al
inc ebp
lea edx, [ecx - 0x12]
sub esp, 0xf
jo 0xd779a1
jno 0xd782f7
add byte [eax], al
rol dword [edx - 0x30], 1
mov bh, 0x42
test dword [esp + edx*8 + 0x4a], 0xe26bdc2d
jno 0xd779d6
xor byte [ebx - 0x4d], 0x7c
jbe 0xd779e4
jmp 0xd7777b
jl 0xd779fa
invalid
xchg ebx, edx
Function at 0x45d510
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push 0x592d40
xor bl, bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x592c7c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x45d58b
push 0x4c
push 1
call fcn.00471d40
mov esi, eax
add esp, 8
test esi, esi
jne 0x45d553
push 0x592d40
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret
mov ecx, dword [0x592c7c]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x58815c]
inc eax
lea edx, [esi + 0xc]
mov dword [0x58815c], eax
push edx
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 4]
push 0
push eax
call fcn.00460fb0
add esp, 8
mov byte [esi + 0x3c], 1
push 0x592d40
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret

Function at 0x45da10
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.00472658
mov ebx, dword [esp + 0x14]
mov dword [eax], 0
mov eax, dword [esp + 0x18]
push edi
push eax
push ebx
call fcn.0047be0a
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x45db0a
call fcn.00472658
cmp dword [eax], 0
je 0x45da57
call fcn.00472658
mov ebp, dword [eax]
jmp 0x45da5a
or ebp, 0xffffffff
call fcn.0045d5a0
test esi, esi
mov dword [eax], ebp
jne 0x45da6f
call fcn.00472658
cmp dword [eax], 4
je 0x45dabf
mov eax, dword [esp + 0x20]
test al, 0x1a
je 0x45daa2
cmp esi, 0xffffffff
je 0x45dae4
test al, 6
je 0x45daa2
call fcn.0045d5a0
mov ecx, dword [eax]
push ecx
push ebx
call fcn.00460fe0
add esp, 4
push eax
push 0x24
push 9
call fcn.0045ddf0
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp esi, 0xffffffff
je 0x45db02
test al, 6
je 0x45dab0
test ah, 2
je 0x45db02
test esi, esi
jbe 0x45db0e
test ah, 2
je 0x45db0e
add dword [esp + 0x18], esi
sub edi, esi
call fcn.00472658
mov edx, dword [esp + 0x18]
push edi
push edx
push ebx
mov dword [eax], 0
call fcn.0047be0a
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x45db0a
jmp 0x45da44
call fcn.0045d5a0
mov eax, dword [eax]
push eax
push ebx
call fcn.00460fe0
add esp, 4
push eax
push 0x24
push 2
call fcn.0045ddf0
add esp, 0x10
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x20]
test al, 6
je 0x45db1b
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
test ah, 2
je 0x45db24
mov esi, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret