joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48dcb8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48ddf1
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x4496f0]
call fcn.0044a82c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x48ddc7
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0044a914
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00407264
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x48de0c
call fcn.00407414
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0044ab90
test al, al
je 0x48ddb1
lea ecx, [ebp - 4]
mov edx, 0x48de80
mov eax, dword [ebp - 0xc]
call fcn.0044b3d8
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00421c9c
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x48ddaa
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x48de98
mov eax, dword [ebp - 8]
push eax
call fcn.0040b5ac
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4d07c0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ddb1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ddce
mov eax, dword [ebp - 0xc]
call fcn.00404e8c
ret

Function at 0x48defc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x48df43
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x48df26
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x48df37
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x48df43
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x4a3ec4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x4a3ee5
test edi, 0x40000
je 0x4a3eff
test bl, bl
jne 0x4a3f80
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4a3f80
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x4a3f32
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x4a3f47
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x4a3f56
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4a3f67
cmp byte [esp + 2], 0
je 0x4a3f80
cmp byte [esp + 2], 0
je 0x4a3f78
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4a3f80
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4a422c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x4a4252
mov eax, esp
push eax
push 0x4a41f4
call sub.user32.dll_EnumWindows
jmp 0x4a4265
mov eax, esp
push eax
push 0x4a41d4
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x4a4328
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x4a4378]
test bl, 4
je 0x4a433c
or si, 1
test bl, 8
je 0x4a4345
or si, 4
test bl, 1
je 0x4a434e
or si, 8
test bl, 2
je 0x4a4357
or si, 0x10
test bl, 0x10
je 0x4a4360
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4a4370
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4a437c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x4a43b8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4a4397
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4a43a7
or bx, 4
test esi, 0x20000000
je 0x4a43b3
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4aceb0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4acec2
add esp, 0xfffffff0
call fcn.004053a4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00446134
mov eax, dword [0x4d0fa4]
mov dword [eax + 4], ebx
mov dword [eax], 0x4ad2ec
mov eax, dword [0x4d0fb0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4ad2f8
mov eax, ebx
call fcn.004ad304
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x42eaf8]
call fcn.00404e5c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x42eaf8]
call fcn.00404e5c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x42eaf8]
call fcn.00404e5c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x42eaf8]
call fcn.00404e5c
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x42eaf8]
call fcn.00404e5c
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x4a7d28
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x44cfb0]
call fcn.00452244
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x44cfb0]
call fcn.00452244
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x44cfb0]
call fcn.00452244
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x44cfb0]
call fcn.00452244
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x44cfb0]
call fcn.00452244
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004ad85c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4ad6cc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4ad6cc
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4ad6cc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4ad6cc
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4ad6cc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4ad039
call fcn.004053fc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4ad46c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ad617
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4ad5f8
mov dl, 1
mov eax, dword [0x4312d4]
call fcn.0043d984
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00406894
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4ad5e7
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.0047b0a0
test al, al
je 0x4ad5da
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4ad628
lea eax, [ebp - 0x394]
call fcn.0041bdb4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4ad5da
xor eax, eax
push ebp
push 0x4ad5d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4ad698
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4ad5bc
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407264
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
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 + 0x40]
jne 0x4ad5bc
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407264
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad5da
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4ad4dd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.0043d8c0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad61e
lea eax, [ebp - 0x3a0]
call fcn.00406894
ret

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

Disassembly:
push ecx
mov eax, dword [0x4d724c]
cmp byte [eax + 0xad], 0
jne 0x4ae1e6
cmp dword [0x4d7264], 0
jne 0x4ae1a6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4d0e80]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4d7264], eax
cmp dword [0x4d7260], 0
jne 0x4ae1c1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4d7260], eax
cmp dword [0x4d7268], 0
jne 0x4ae1e6
push esp
push 0
push 0
mov eax, dword [0x4d0e7c]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4d7268], eax
pop edx
ret
Function at 0x4ae4fc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4ae513
add esp, 0xfffffff0
call fcn.004053a4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00446134
mov eax, dword [0x4d0ee8]
cmp byte [eax], 0
jne 0x4ae540
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4d1118]
cmp word [eax + 2], 0
jne 0x4ae55a
mov eax, dword [0x4d1118]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b05c4
mov eax, dword [0x4d11ec]
cmp word [eax + 2], 0
jne 0x4ae574
mov eax, dword [0x4d11ec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b07c8
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x44cfb0]
call fcn.00452244
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4b0d40
mov dl, 1
mov eax, dword [0x42eaf8]
call fcn.00404e5c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x42eaf8]
call fcn.00404e5c
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4508a8]
call fcn.0045908c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4ae754
mov eax, dword [0x4d101c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00459520
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4b1028
mov dl, 1
mov eax, dword [0x42eaf8]
call fcn.00404e5c
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4d101c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041bbdc
test eax, eax
je 0x4ae685
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041b990
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041bbc0
test eax, eax
je 0x4ae69d
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407264
push ebx
push 0x4affb0
call fcn.004a430c
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4d0ee8]
cmp byte [eax], 0
jne 0x4ae6ee
mov eax, ebx
call fcn.004ae8c8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004b1254
mov eax, ebx
call fcn.004b1e84
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4ae74b
call fcn.004053fc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4aeb94
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4aec36
cmp dword [ebx + 0x94], 0
jne 0x4aec30
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4aeae0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4aec30
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_GetWindowLongW
test al, 8
je 0x4aebf6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4aec30
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.00439e64
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4aec05
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4aee54
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4d724c]
cmp dword [eax + 0x170], 0
je 0x4aefb9
test bl, bl
jne 0x4aef07
cmp dword [esi + 0x9c], 0
jne 0x4aeefc
mov eax, esi
call fcn.004b1cd4
push eax
push 0x4aed60
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4aeecd
mov eax, dword [0x4d724c]
cmp byte [eax + 0xd3], 0
je 0x4aeecd
mov eax, dword [esi + 0xd8]
call fcn.00408144
mov edi, eax
cmp edi, 0
jl 0x4aeecd
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4aeeb6
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4aeefc
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00439e64
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4aeedc
inc dword [esi + 0x9c]
jmp 0x4aefb9
cmp dword [esi + 0x9c], 0
jle 0x4aefb9
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4aefb9
cmp dword [esi + 0x44], 0
je 0x4aef64
mov eax, dword [0x4d724c]
cmp byte [eax + 0xd3], 0
je 0x4aef64
mov eax, dword [esi + 0xd8]
call fcn.00408144
mov edi, eax
cmp edi, 0
jl 0x4aef64
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4aef4d
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4aef93
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00439e64
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4aef73
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4a21e4]
call fcn.00408304
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4afbfc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4afc67
cmp byte [ebx + 0xd3], 0
jne 0x4afc67
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004069fc
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4afc54
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4afc74
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406c54
jmp 0x4afc74
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406c54
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4b143c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b14aa
mov eax, esi
call fcn.0047502c
test al, al
je 0x4b14aa
mov eax, dword [ebx + 0x84]
call fcn.00474c80
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b14aa
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4b149e
push 0
mov eax, dword [ebx + 0x84]
call fcn.00474c80
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0046bbfc
jmp 0x4b14aa
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b1274
pop esi
pop ebx
ret
Function at 0x401860
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x448034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x258]
push 0x43e258
mov dword [ebp - 0x264], edi
call fcn.004010c0
lea eax, [ebp - 0x260]
push eax
call fcn.004027a0
push 0x43e268
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.00401200
add esp, 0x10
lea ecx, [ebp - 0x254]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x268]
or esi, 0xffffffff
mov dword [ebp - 0x25c], eax
add edx, 0xfffffff0
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4018eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x25c]
cmp ebx, 0xffffffff
je 0x4019d8
nop word [eax + eax]
test byte [ebp - 0x254], 0x10
je 0x4019b9
push ecx
lea eax, [ebp - 0x228]
mov ecx, esp
push eax
call fcn.004010c0
mov esi, dword [ebp - 0x258]
push ecx
mov ebx, esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
mov ecx, eax
lea eax, [esi - 4]
jl 0x401945
cmp ecx, dword [esi - 0x10]
jne 0x401945
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x401977
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x401a73
mov ecx, dword [esi - 0xc]
lea eax, [edi + 0x10]
mov dword [edi + 4], ecx
mov ecx, dword [esi - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push esi
push ecx
push eax
call fcn.00401ed0
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [ebx], eax
call fcn.00402ae0
add esp, 8
test eax, eax
je 0x4019b3
lea eax, [ebp - 0x228]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401991
sub eax, edx
lea ecx, [ebp - 0x258]
sar eax, 1
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.00401d80
mov ebx, dword [ebp - 0x25c]
lea eax, [ebp - 0x254]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x401900
mov edi, dword [ebp - 0x264]
or esi, 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x258]
push eax
push 0x43e220
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.00401200
add esp, 0xc
push eax
push edi
call fcn.00401190
mov edx, dword [ebp - 0x264]
add esp, 0xc
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x401a28
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x260]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x401a45
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x401a60
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403d85
mov esp, ebp
pop ebp
call fcn.00401e30
int3
Function at 0x401e40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401e55
pop ebp
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401e96
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x401e92
nop word [eax + eax]
cmp esi, edx
jae 0x401e96
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x401e80
cmp esi, edx
invalid

Function at 0x402900
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x448034]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
call fcn.00401760
mov ecx, eax
test ecx, ecx
je 0x40297f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40296e
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402950
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00401d80
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00403d85
mov esp, ebp
pop ebp
push 0x80004005
call fcn.004014b0
int3

Function at 0x405a9d
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x44097c
push str.FlsAlloc
push 0
call fcn.0040594b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x405acf
push dword [ebp + 8]
mov ecx, esi
call fcn.0040403a
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x405b11
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x4409a0
push str.FlsGetValue
push 2
call fcn.0040594b
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x405b42
mov ecx, esi
call fcn.0040403a
call esi
jmp 0x405b48
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x405b4b
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x4409b4
push str.FlsSetValue
push 3
call fcn.0040594b
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x405b7f
mov ecx, esi
call fcn.0040403a
call esi
jmp 0x405b85
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret