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

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.user32.dll_GetFocus]
mov ebx, dword [esp + 0x18]
mov dword [esi + 0x3c], eax
cmp ebx, 0x4eb1
jne 0x40bc90
mov edi, dword [sym.imp.user32.dll_GetKeyState]
push 0x12
call edi
test al, 0x80
jne 0x40bc98
push 0x10
call edi
and al, 0x80
neg al
sbb eax, eax
neg eax
add eax, 0x4eed
mov ebx, eax
mov ecx, esi
call fcn.00412510
mov edi, eax
test edi, edi
je 0x40bceb
mov eax, dword [edi + 0x3c]
test eax, eax
jl 0x40bceb
xor eax, eax
cmp ebx, 0x4eee
sete al
mov ebx, eax
call fcn.00442550
cmp eax, 8
jne 0x40bc71
mov ecx, dword [esi + 0x208]
push 0
push 0
call fcn.0045d120
push 0
mov ecx, esi
call fcn.00414140
mov eax, dword [0x4fbcb0]
test eax, eax
je 0x40bca7
mov ecx, dword [0x4fbcb8]
mov edx, dword [0x4fbcbc]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
jmp 0x40bcb7
cmp ebx, 0x4ef0
jne 0x40bc26
push 0
push 0x3ff00000
push 0
push 0
push 0
jmp 0x40bcc8
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x3ff00000
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi + 0x68]
push 0
push eax
push ecx
push ebx
push edx
mov eax, dword [0x4ee054]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x200]
push eax
push ecx
push edx
call fcn.0044be30
mov eax, dword [esi + 0x3c]
add esp, 0x20
push eax
call dword [sym.imp.user32.dll_SetFocus]
pop edi
pop esi
pop ebx
add esp, 8
ret 4

Function at 0x40c370
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x18
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.user32.dll_SendMessageA]
mov eax, dword [esi + 0x14]
push 0
push 0x4f89
push 0x419
push eax
call edi
mov edx, dword [esi + 0x14]
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x41d
push edx
call edi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
add eax, ecx
lea ecx, [esp + 8]
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
add eax, edx
push ecx
cdq
sub eax, edx
mov edx, dword [esi + 0x14]
sar eax, 1
push edx
mov dword [esp + 0x14], eax
call dword [sym.imp.user32.dll_ClientToScreen]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push eax
push ecx
mov ecx, esi
call fcn.0041c160
pop edi
pop esi
add esp, 0x18
ret
Function at 0x40c450
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x210
push esi
mov esi, ecx
push 0x10
call dword [sym.imp.user32.dll_GetKeyState]
test ah, 0x80
je 0x40c475
mov ecx, esi
call fcn.0040c560
pop esi
add esp, 0x210
ret
push ebx
push ebp
push 0x7f02
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov ebx, dword [sym.imp.user32.dll_SetCursor]
push eax
call ebx
mov ebp, eax
mov eax, dword [0x4fb924]
test eax, eax
je 0x40c4d1
mov eax, dword [esi + 0x10]
push edi
mov edi, dword [sym.imp.user32.dll_SendMessageA]
push 0
push 0
push 0xb
push eax
call edi
push 1
push 0
mov ecx, esi
call fcn.00416d20
lea ecx, [esi + 0x20c]
push ecx
mov ecx, esi
call fcn.00416b80
mov edx, dword [esi + 0x10]
push 0
push 1
push 0xb
push edx
call edi
pop edi
mov eax, dword [0x4fb92c]
test eax, eax
je 0x40c4e1
mov ecx, esi
call fcn.00417b00
lea eax, [esi + 0x30c]
lea ecx, [esi + 0x20c]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
call fcn.00442e30
add esp, 0xc
mov ecx, esi
call fcn.00412510
test eax, eax
je 0x40c53e
mov eax, dword [eax + 0x68]
lea ecx, [esp + 0x114]
push eax
push ecx
call dword [sym.imp.kernel32.dll_lstrcpy]
lea edx, [esp + 0x114]
lea eax, [esp + 0xc]
push edx
push 0
push 0
push eax
mov ecx, esi
call fcn.00411e90
push ebp
call ebx
pop ebp
pop ebx
pop esi
add esp, 0x210
ret
push 0
push 0
lea ecx, [esp + 0x14]
push 0
push ecx
mov ecx, esi
call fcn.00411e90
push ebp
call ebx
pop ebp
pop ebx
pop esi
add esp, 0x210
ret
Function at 0x40c570
Capabilities:
Get common file path

Disassembly:
sub esp, 0x338
push ebx
mov ebx, dword [sym.imp.kernel32.dll_lstrlen]
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x20c]
push esi
call ebx
cmp eax, 3
jle 0x40c6de
lea eax, [esp + 0xc]
push esi
mov esi, dword [sym.imp.kernel32.dll_lstrcpy]
push eax
call esi
lea ecx, [esp + 0xc]
push 0x5c
push ecx
call fcn.004c82b0
add esp, 8
test eax, eax
je 0x40c6de
mov byte [eax], 0
inc eax
lea edx, [esp + 0x240]
push eax
push edx
call esi
lea eax, [esp + 0xc]
push eax
call ebx
cmp byte [esp + eax + 0xb], 0x5c
je 0x40c5e5
lea ecx, [esp + 0xc]
push 0x4ee610
push ecx
call dword [sym.imp.kernel32.dll_lstrcat]
lea edx, [esp + 0xc]
push 0
push edx
call fcn.004c818e
add esp, 8
cmp eax, 0xffffffff
jne 0x40c69a
push 0x105
call fcn.004c7e90
add esp, 4
mov esi, eax
lea eax, [esp + 0xc]
push esi
push eax
call dword [sym.imp.user32.dll_OemToCharA]
mov ecx, dword [edi + 0x200]
push esi
push 0x20b
lea edx, [esp + 0x11c]
push ecx
push edx
call fcn.00444d00
push esi
call fcn.004c7e56
mov eax, dword [0x4ee054]
mov edx, dword [edi + 8]
add esp, 0x14
lea ecx, [esp + 0x114]
push 0
push eax
push ecx
push edx
call dword [sym.imp.user32.dll_MessageBoxA]
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004c818e
add esp, 8
cmp eax, 0xffffffff
jne 0x40c69a
lea ecx, [esp + 0xc]
push 0x5c
push ecx
call fcn.004c82b0
add esp, 8
test eax, eax
je 0x40c695
lea edx, [esp + 0xc]
push 0
push edx
mov byte [eax], 0
call fcn.004c818e
add esp, 8
cmp eax, 0xffffffff
je 0x40c669
jmp 0x40c69a
mov byte [esp + 0xc], 0
lea eax, [esp + 0x240]
lea ecx, [esp + 0xc]
push eax
push 0
push 1
push ecx
mov ecx, edi
call fcn.00411e90
test eax, eax
jne 0x40c6de
lea edx, [esp + 0x114]
push edx
push 0x105
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
push 0
push 0
lea eax, [esp + 0x11c]
push 1
push eax
mov ecx, edi
call fcn.00411e90
pop edi
pop esi
pop ebx
add esp, 0x338
ret

Function at 0x40c6f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x4fb82c]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.user32.dll_GetKeyState]
test eax, eax
mov esi, ecx
je 0x40c715
push 0x11
call edi
test ah, 0x80
jne 0x40c715
mov ebx, 1
jmp 0x40c717
xor ebx, ebx
mov eax, dword [0x4fb834]
test eax, eax
jne 0x40c730
push 0x10
call edi
test ah, 0x80
jne 0x40c730
mov edi, 1
jmp 0x40c732
xor edi, edi
call dword [sym.imp.user32.dll_GetFocus]
mov ebp, eax
mov eax, dword [esi + 0xc]
cmp ebp, eax
jne 0x40c756
push edi
push ebx
mov ecx, esi
call fcn.0040c790
push ebp
call dword [sym.imp.user32.dll_SetFocus]
pop edi
pop esi
pop ebp
pop ebx
ret
cmp ebp, dword [esi + 0x10]
jne 0x40c770
push edi
push ebx
mov ecx, esi
call fcn.0040cb80
push ebp
call dword [sym.imp.user32.dll_SetFocus]
pop edi
pop esi
pop ebp
pop ebx
ret
cmp ebp, dword [esi + 0x24]
jne 0x40c77e
push edi
push ebx
mov ecx, esi
call fcn.0040cff0
push ebp
call dword [sym.imp.user32.dll_SetFocus]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40cf60
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.user32.dll_LoadCursorA]
push 0x7f02
mov esi, ecx
push 0
call edi
mov ebx, dword [sym.imp.user32.dll_SetCursor]
push eax
call ebx
mov ecx, dword [esi + 0x200]
lea eax, [esp + 0x10]
push 0x50
push eax
push 0x12c
push ecx
call dword [sym.imp.user32.dll_LoadStringA]
push 1
push 0
lea edx, [esp + 0x18]
push 0
push edx
push 0
call dword [sym.imp.user32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.shell32.dll_ShellExecuteA]
push 0x7f00
push 0
mov ebp, eax
call edi
push eax
call ebx
cmp ebp, 0x1f
jg 0x40cfdf
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x200]
push 0x20c
push eax
push ecx
call fcn.00443860
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
Function at 0x40e920
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
mov esi, ecx
push 0x104
push eax
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.user32.dll_GetWindowTextA]
push 0
push 0
lea edx, [esp + 0xc]
push 1
push edx
mov ecx, esi
call fcn.00411e90
test eax, eax
je 0x40e965
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.user32.dll_SetFocus]
pop esi
add esp, 0x104
ret
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.user32.dll_SetFocus]
mov edx, dword [esi + 0x20]
push 0xffffffffffffffff
push 0
push 0x142
push edx
call dword [sym.imp.user32.dll_SendMessageA]
pop esi
add esp, 0x104
ret

Function at 0x40f020
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x30
push ebx
mov ebx, dword [sym.imp.user32.dll_SendMessageA]
push ebp
push esi
mov esi, ecx
push edi
push 0
push 0
mov eax, dword [esi + 0xc]
push 0x1004
push eax
call ebx
mov ecx, dword [esi + 0xc]
push 1
push 0xffffffffffffffff
push 0x100c
push ecx
mov ebp, eax
call ebx
push 0x10
mov dword [esp + 0x14], eax
call dword [sym.imp.user32.dll_GetKeyState]
and eax, 0x7000
xor edi, edi
test ebp, ebp
mov dword [esp + 0x14], eax
jle 0x40f0b3
push edi
mov ecx, esi
call fcn.004124c0
mov eax, dword [eax + 8]
xor ecx, ecx
test eax, eax
je 0x40f088
mov edx, dword [esp + 0x14]
test edx, edx
je 0x40f091
cmp eax, 1
jne 0x40f091
mov ecx, 2
mov dword [esp + 0x10], edi
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x18]
push edx
push edi
push 0x102b
push eax
mov dword [esp + 0x38], 3
mov dword [esp + 0x34], ecx
call ebx
inc edi
cmp edi, ebp
jl 0x40f06a
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0xc]
push 0
push edi
push 0x1013
push ecx
call ebx
mov eax, 1
lea edx, [esp + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xc]
push edx
push edi
push 0x102b
push eax
call ebx
mov ecx, dword [esi + 0xc]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
call ebx
mov edx, dword [esi + 0xc]
push eax
push 0
push 0x1043
push edx
call ebx
mov ecx, esi
call fcn.00413090
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x4110c0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x284
lea eax, [esp + 0x54]
push ebx
mov ebx, ecx
push 0x104
push eax
mov ecx, dword [ebx + 0x200]
push ecx
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4110ec
pop ebx
add esp, 0x284
ret
lea edx, [esp + 0x58]
push edx
call fcn.00443d50
add esp, 4
test eax, eax
jne 0x411105
pop ebx
add esp, 0x284
ret
mov byte [eax], 0
lea eax, [esp + 0x58]
push 0x4ee6d0
push eax
call dword [sym.imp.kernel32.dll_lstrcat]
push 0
push 0x80
push 2
push 0
push 0
lea ecx, [esp + 0x6c]
push 0x40000000
push ecx
call dword [sym.imp.kernel32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x411144
xor eax, eax
pop ebx
add esp, 0x284
ret
push esi
push edi
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
lea edx, [esp + 0x60]
lea eax, [esp + 0x164]
push edx
push 0x4ee6ac
push eax
call dword [sym.imp.user32.dll_wsprintfA]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x28]
add esp, 0xc
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
mov eax, 0x80000000
push 0
push 0x4000000
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
push 0
push 0
lea eax, [esp + 0x180]
push 0
push eax
push 0
call dword [sym.imp.kernel32.dll_CreateProcessA]
mov esi, eax
test esi, esi
jne 0x4111c4
mov ecx, dword [0x4ee054]
mov edx, dword [ebx + 8]
push ecx
push edx
call fcn.00443800
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x284
ret
Function at 0x4131a0
Capabilities:
Move file

Disassembly:
sub esp, 0x554
push ebx
push ebp
mov ebp, dword [esp + 0x560]
push esi
push edi
mov esi, ecx
push ebp
call fcn.004124c0
mov edi, eax
mov eax, dword [esp + 0x56c]
lea ecx, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.kernel32.dll_lstrcpy]
mov eax, dword [edi + 0x68]
lea edx, [esp + 0x144]
push 0x105
push edx
push eax
call dword [sym.imp.comdlg32.dll_GetFileTitleA]
lea ecx, [esp + 0x144]
push 0x2e
push ecx
call fcn.004c82b0
mov ebx, eax
mov eax, dword [edi + 0x68]
push 0x2e
push eax
call fcn.004c82b0
add esp, 0x10
test eax, eax
je 0x41322c
test ebx, ebx
je 0x413220
mov ecx, dword [edi + 0x68]
mov edx, eax
sub edx, ecx
lea ecx, [esp + 0x144]
sub ebx, ecx
cmp ebx, edx
je 0x41322c
lea edx, [esp + 0x3c]
push eax
push edx
call dword [sym.imp.kernel32.dll_lstrcat]
mov eax, dword [edi + 0x68]
lea ebx, [esi + 0x20c]
push eax
lea ecx, [esp + 0x460]
push ebx
push ecx
call fcn.00442e30
lea edx, [esp + 0x48]
lea eax, [esp + 0x360]
push edx
push ebx
push eax
call fcn.00442e30
add esp, 0x18
lea ecx, [esp + 0x10]
lea edx, [esp + 0x24c]
lea eax, [esp + 0x354]
push ecx
push edx
push 0x105
push eax
call dword [sym.imp.kernel32.dll_GetFullPathNameA]
mov ecx, dword [esi + 0x208]
mov ebx, dword [ecx + 0x30]
test ebx, ebx
je 0x41329b
mov ecx, ebx
call fcn.004549b0
test eax, eax
je 0x41329b
push 1
mov ecx, ebx
call fcn.00454350
lea edx, [esp + 0x24c]
lea eax, [esp + 0x45c]
push edx
push eax
call dword [sym.imp.kernel32.dll_MoveFileA]
test eax, eax
je 0x4133b8
mov ecx, dword [esi + 0x7f4]
test ecx, ecx
je 0x4132d1
mov eax, dword [edi + 0x68]
lea edx, [esp + 0x3c]
push edx
push eax
call fcn.00422bf0
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.0041da70
mov ecx, edi
mov dword [esp + 0x1c], 0
call fcn.0041dd50
mov ebx, dword [sym.imp.user32.dll_SendMessageA]
lea edx, [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xc]
push edx
push ebp
push 0x102e
push eax
call ebx
push edi
mov ecx, esi
call fcn.00416400
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x41332c
call fcn.0041ca50
test eax, eax
jne 0x41332c
mov ebp, 1
mov dword [esi + 0x40c], ebp
jmp 0x413331
mov ebp, 1
mov ecx, esi
mov dword [esi + 0x410], ebp
call fcn.00411a80
mov eax, dword [0x4fb840]
test eax, eax
je 0x41335e
push 0
mov ecx, esi
call fcn.004166f0
mov ecx, dword [esi + 0xc]
push 0
push 0
push ecx
call dword [sym.imp.user32.dll_InvalidateRect]
cmp dword [edi + 8], ebp
jne 0x41338d
mov eax, dword [0x4fb924]
test eax, eax
je 0x41338d
mov edx, dword [esi + 0x10]
push 0
push 0
push 0xb
push edx
call ebx
push ebp
push 0
mov ecx, esi
call fcn.00416d20
mov eax, dword [esi + 0x10]
push 0
push ebp
push 0xb
push eax
call ebx
mov ecx, esi
call fcn.00413090
dec dword [esi + 0x428]
call fcn.00443d80
cmp eax, ebp
jne 0x4133a9
dec dword [esi + 0x428]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x554
ret 8
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x200]
push 0x45b
push ecx
push edx
call fcn.00443860
mov eax, dword [esi + 8]
add esp, 0xc
push 0
push 0x4e88
push 0x111
push eax
call dword [sym.imp.user32.dll_PostMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x554
ret 8
Function at 0x4180c0
Capabilities:
Move file
Persist via lnk shortcut

Disassembly:
sub esp, 0x270
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.user32.dll_SendMessageA]
mov eax, dword [esi + 0x24]
push 1
push 0xffffffffffffffff
push 0x100c
push eax
call edi
push eax
mov ecx, esi
call fcn.00418060
mov ebx, eax
test ebx, ebx
je 0x418230
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x284]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 4
push edx
push 0
push 0x1005
push eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], 0
call edi
test eax, eax
je 0x418226
mov ebx, dword [ebx]
lea ecx, [esp + 0x17c]
push ecx
push ebx
call dword [sym.imp.shell32.dll_SHGetPathFromIDList]
test eax, eax
je 0x418226
lea edx, [esp + 0x17c]
lea eax, [esp + 0x78]
push edx
push eax
call dword [sym.imp.kernel32.dll_lstrcpy]
lea ecx, [esp + 0x78]
push ecx
call fcn.00443d50
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x418226
mov ebp, dword [esp + 0x288]
push ebp
push ebx
call dword [sym.imp.kernel32.dll_lstrcpy]
push 0x4ee760
push ebx
call dword [sym.imp.kernel32.dll_lstrcat]
lea edx, [esp + 0x78]
lea eax, [esp + 0x17c]
push edx
push eax
call dword [sym.imp.kernel32.dll_MoveFileA]
test eax, eax
je 0x4181f8
mov ecx, esi
call fcn.00417b00
mov ecx, dword [esi + 0x24]
push ecx
call dword [sym.imp.user32.dll_SetFocus]
mov eax, dword [esi + 0x24]
lea edx, [esp + 0x10]
push edx
push 0
mov ebx, 2
push 0x100d
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
call edi
mov edx, dword [esi + 0x24]
lea ecx, [esp + 0x50]
push ecx
push eax
push 0x102b
push edx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x270
ret 8
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x200]
push 0x45b
push eax
push ecx
call fcn.00443860
mov edx, dword [esi + 8]
add esp, 0xc
push 0
push 0x4e88
push 0x111
push edx
call dword [sym.imp.user32.dll_PostMessageA]
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.user32.dll_SetFocus]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x270
ret 8
Function at 0x419d80
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00419cf0
mov eax, dword [esi + 0x498]
test eax, eax
je 0x419e3e
mov eax, dword [esi + 0xd4]
test eax, eax
jne 0x419e3e
mov eax, dword [esi + 0xcc]
mov dword [esi + 0xd0], 0
push eax
call dword [sym.imp.kernel32.dll_ResetEvent]
mov ecx, dword [esi + 0xc8]
push ecx
call dword [sym.imp.kernel32.dll_SetEvent]
mov edx, dword [esi + 0xc]
push 0
push 0
push 0x1004
push edx
mov dword [esi + 0xd4], 1
call dword [sym.imp.user32.dll_SendMessageA]
mov dword [esi + 0x4d4], eax
lea eax, [esp + 4]
push eax
push 4
push esi
push 0x406870
push 0
push 0
mov dword [esi + 0x4d8], 0
call fcn.004c8b54
add esp, 0x18
mov dword [esi + 0xc4], eax
push 1
push eax
call dword [sym.imp.kernel32.dll_SetThreadPriority]
push 0
mov ecx, esi
mov dword [esi + 0xd8], 0
call fcn.00415610
mov ecx, dword [esi + 0xc4]
push ecx
call dword [sym.imp.kernel32.dll_ResumeThread]
pop esi
pop ecx
ret

Function at 0x419eb0
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x4fb960]
push esi
test eax, eax
mov esi, ecx
je 0x419ef6
call fcn.00419e50
mov eax, dword [esi + 0xbc]
test eax, eax
jne 0x419ef6
mov eax, dword [esi + 0xb4]
push eax
call dword [sym.imp.kernel32.dll_ResetEvent]
lea ecx, [esp + 4]
push ecx
push 0
push esi
push 0x419f00
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [esi + 0xbc], eax
pop esi
pop ecx
ret

Function at 0x41a010
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00419fb0
mov eax, dword [esi + 0xc0]
test eax, eax
jne 0x41a057
mov eax, dword [esi + 0xb8]
push eax
call dword [sym.imp.kernel32.dll_ResetEvent]
lea ecx, [esp + 4]
mov dword [esi + 0x42c], 0
push ecx
push 0
push esi
push 0x406750
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [esi + 0xc0], eax
pop esi
pop ecx
ret
Function at 0x41b440
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x4fb838]
sub esp, 0xc
cmp eax, 1
push esi
push edi
mov edi, ecx
jne 0x41b45d
mov dword [edi + 0x41c], eax
pop edi
pop esi
add esp, 0xc
ret
test eax, eax
jne 0x41b46d
mov dword [edi + 0x41c], eax
pop edi
pop esi
add esp, 0xc
ret
movsx eax, byte [edi + 0x20c]
push eax
call fcn.004c8393
mov esi, eax
add esp, 4
sub esi, 0x41
lea edx, [esp + 8]
lea ecx, [esi + 0x41]
push ecx
push 0x4ee708
push edx
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 8]
push eax
call dword [sym.imp.kernel32.dll_GetDriveTypeA]
cmp dword [0x4fb838], 2
jne 0x41b4c1
xor ecx, ecx
cmp eax, 3
sete cl
mov dword [edi + 0x41c], ecx
pop edi
pop esi
add esp, 0xc
ret
cmp eax, 5
je 0x41b4dc
cmp esi, 1
jle 0x41b4dc
mov eax, 1
mov dword [edi + 0x41c], eax
pop edi
pop esi
add esp, 0xc
ret
xor eax, eax
mov dword [edi + 0x41c], eax
pop edi
pop esi
add esp, 0xc
ret
Function at 0x41c5a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x304
push ebx
push ebp
push esi
push edi
push 0x2e
push eax
call fcn.004c82b0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x41c5cf
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x304
ret
push 0x4ee760
push ebx
call fcn.004d52d0
add esp, 8
test eax, eax
jne 0x41c5f1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x304
ret
push 0x4ee7c0
push ebx
call fcn.004d52d0
add esp, 8
test eax, eax
jne 0x41c613
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x304
ret
mov edi, dword [sym.imp.user32.dll_wsprintfA]
push ebx
lea ecx, [esp + 0x18]
mov ebp, 0x100
push 0x4ee7b0
push ecx
mov dword [esp + 0x1c], ebp
call edi
mov esi, dword [sym.imp.advapi32.dll_RegQueryValueA]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x114]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
push 0x80000000
call esi
test eax, eax
jne 0x41c678
lea edx, [esp + 0x114]
push 0x25
push edx
call fcn.004c81f0
add esp, 8
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x304
ret
push ebx
lea eax, [esp + 0x18]
push 0x4ee798
push eax
mov dword [esp + 0x1c], ebp
call edi
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x114]
lea eax, [esp + 0x14]
push ecx
push edx
push eax
push 0x80000000
call esi
test eax, eax
jne 0x41c6b9
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x304
ret
lea ecx, [esp + 0x10]
lea edx, [esp + 0x214]
push ecx
push edx
push ebx
push 0x80000000
mov dword [esp + 0x20], ebp
call esi
test eax, eax
jne 0x41c780
lea eax, [esp + 0x214]
lea ecx, [esp + 0x14]
push eax
push 0x4ee7b0
push ecx
mov dword [esp + 0x1c], ebp
call edi
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x114]
lea ecx, [esp + 0x14]
push edx
push eax
push ecx
push 0x80000000
call esi
test eax, eax
jne 0x41c738
lea edx, [esp + 0x114]
push 0x25
push edx
call fcn.004c81f0
add esp, 8
test eax, eax
je 0x41c738
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x304
ret
lea eax, [esp + 0x214]
lea ecx, [esp + 0x14]
push eax
push 0x4ee798
push ecx
mov dword [esp + 0x1c], ebp
call edi
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x214]
lea ecx, [esp + 0x14]
push edx
push eax
push ecx
push 0x80000000
call esi
test eax, eax
jne 0x41c780
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x304
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x304
ret
Function at 0x41d2b0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x370
push ebp
push esi
mov esi, ecx
push edi
mov dword [esi], 0x4d87a8
call fcn.0041d4d0
mov edi, dword [esp + 0x384]
test edi, edi
je 0x41d445
mov ebp, dword [edi + 0x1c]
lea eax, [edi + 0x2c]
push ebx
mov ebx, dword [edi + 0x20]
push eax
call fcn.00442c90
mov dword [esi + 0x20], ebx
add esp, 4
mov dword [esi + 0x68], eax
mov dword [esi + 0x24], ebp
mov ecx, dword [edi]
lea edx, [esi + 0x40]
add edi, 0x14
push edx
push edi
mov dword [esi + 0x48], ecx
call dword [sym.imp.kernel32.dll_FileTimeToLocalFileTime]
mov eax, dword [esi + 0x48]
mov ebp, 1
shr eax, 4
and eax, ebp
cmp eax, ebp
mov dword [esi + 8], eax
jne 0x41d358
mov eax, dword [esi + 0x68]
mov edi, 0x4ee7d8
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x41d348
test cl, cl
je 0x41d344
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x41d348
add eax, 2
add edi, 2
test cl, cl
jne 0x41d320
xor eax, eax
jmp 0x41d34d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41d358
mov dword [esi + 8], 2
mov eax, dword [esi + 8]
pop ebx
cmp eax, ebp
je 0x41d36e
cmp eax, 3
je 0x41d36e
cmp eax, 2
je 0x41d36e
xor eax, eax
jmp 0x41d370
mov eax, ebp
test eax, eax
mov dword [esi + 0xc], eax
je 0x41d37e
mov dword [esi + 0x3c], 0xffffffff
mov eax, dword [esi + 0x68]
push 0x2e
push eax
call fcn.004c82b0
add esp, 8
test eax, eax
je 0x41d445
push 0x4ee760
push eax
call dword [sym.imp.kernel32.dll_lstrcmpi]
test eax, eax
jne 0x41d445
mov eax, dword [esp + 0x380]
test eax, eax
je 0x41d3ca
mov ecx, dword [esi + 0x68]
lea edx, [esp + 0x114]
push ecx
push eax
push edx
call fcn.00442e30
add esp, 0xc
jmp 0x41d3dc
mov eax, dword [esi + 0x68]
lea ecx, [esp + 0x114]
push eax
push ecx
call dword [sym.imp.kernel32.dll_lstrcpy]
push ebp
lea edx, [esp + 0x10]
push 0x640001
lea eax, [esp + 0x11c]
push edx
push eax
push 0
call fcn.0044bb70
add esp, 0x14
test eax, eax
jl 0x41d445
lea ecx, [esp + 0xc]
mov dword [esi + 0x10], ebp
push ecx
call dword [sym.imp.kernel32.dll_lstrlen]
cmp byte [esp + eax + 0xb], 0x5c
je 0x41d442
push 0x800
lea edx, [esp + 0x220]
push 0x160
push edx
lea eax, [esp + 0x18]
push 0
push eax
call dword [sym.imp.shell32.dll_SHGetFileInfo]
test eax, eax
je 0x41d445
test dword [esp + 0x224], 0x20000000
je 0x41d445
or dword [esi + 0xc], ebp
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x370
ret 8