joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461830
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4b8998
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x4618e0
mov eax, dword [0x511fe4]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.004a6810
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.004a685f
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.004a67bc
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4618c7
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x4618c7
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.004a642c
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4649e0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b8e20
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x464b87
mov ecx, dword [0x511fe4]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x464adc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.00463700
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.004a6519
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.004a642c
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x506f84
call fcn.004a649a
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.00463ac0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.004a6519
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.004a642c
lea ecx, [esp + 0xc]
call fcn.004a691b
mov ecx, dword [esp + 0xc]
push 0x5079c4
push ecx
call fcn.004949e4
add esp, 8
test eax, eax
je 0x464b04
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x464a3d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.004a642c
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.004a642c
jmp 0x464b8b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00464780
test eax, eax
push 0
je 0x464b6f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.00462e20
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x464b55
cmp eax, 0x64
jg 0x464b43
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x464ae0
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x464ae0
cmp eax, 0x64
jge 0x464adc
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x464ae0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.00462e20
mov esi, eax
jmp 0x464ae0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x464b95
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x46bca0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
lea eax, [esp]
push esi
push eax
push 1
push 0
push str.Control_PanelDesktop
push reloc.WS2_32.dll_accept
mov esi, 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46bd13
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.WheelScrollLines
push ecx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x46bd08
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call fcn.00496b33
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x8c
ret

Function at 0x47d840
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b9d48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004ad0ad
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov ecx, esi
mov dword [esp + 0x44], 0
call fcn.0047d780
mov ecx, dword [esi + 0x174]
mov eax, dword [esi + 0x178]
add ecx, 0x64
add eax, 0x64
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004acfdb
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x47d907
cmp dword [esp + 0x40], 1
jne 0x47d905
cmp ecx, eax
jge 0x47d907
mov eax, ecx
cmp eax, 0x12c
jge 0x47d913
mov eax, 0x12c
mov ecx, esi
mov dword [esi + 0x194], eax
mov dword [esi + 0x1dc], 1
call fcn.0047d960
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004ad11f
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x481b60
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4ba236
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x511fe4]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb0], ebx
call fcn.004a8876
mov edx, dword [0x511fe4]
mov dword [esp + 0x3c], edx
cmp esi, ebx
mov byte [esp + 0xac], 1
jne 0x481bba
mov dword [esp + 0x1c], ebx
jmp 0x481bc1
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
push edi
mov ecx, esi
call fcn.004aa9bc
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov edi, 1
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edx
call fcn.004a6519
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x481c12
mov dword [esp + 0x14], ebx
jmp 0x481c19
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x481c34
mov eax, dword [eax + 0x3c4]
cmp eax, edi
je 0x481c2e
cmp eax, 2
jne 0x481c34
mov dword [esp + 0x18], edi
jmp 0x481c38
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x481c46
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004a7eac
mov edi, eax
cmp edi, ebx
jne 0x481c56
xor eax, eax
jmp 0x481c59
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x481c81
mov ecx, esi
call fcn.004aa9bc
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov eax, dword [esp + 0x1c]
push eax
call ebx
test eax, eax
pop edi
je 0x481c9d
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x481cbc
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x481cbc
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0
call fcn.004a642c
lea ecx, [esp + 0xc]
mov dword [esp + 0xac], 0xffffffff
call fcn.004a642c
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x482980
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4ba346
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x511fe4]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
lea ecx, [esp + 8]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xac], ebx
call fcn.004a8876
cmp dword [0x553704], ebx
je 0x4829f0
lea ecx, [esp + 8]
mov dword [esp + 0xa8], 0xffffffff
call fcn.004a642c
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
add esp, 0xa4
ret
mov edx, dword [0x511fe4]
push ebp
push edi
mov edi, 1
mov dword [0x553704], edi
mov dword [esp + 0x40], edx
cmp esi, ebx
mov byte [esp + 0xb0], 1
jne 0x482a19
mov dword [esp + 0x20], ebx
jmp 0x482a20
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
mov ecx, esi
call fcn.004aa9bc
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x88]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], 5
mov dword [esp + 0x34], edx
call fcn.004a6519
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x1c], edx
jne 0x482a7e
mov dword [esp + 0x14], ebx
jmp 0x482a85
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x14], ebp
cmp ecx, 0xd
jne 0x482a9f
mov eax, dword [eax + 0x3c4]
cmp eax, edi
je 0x482a99
cmp eax, 2
jne 0x482a9f
mov dword [esp + 0x18], edi
jmp 0x482aa3
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x482ab1
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004a7eac
mov edi, eax
cmp edi, ebx
jne 0x482ac1
xor eax, eax
jmp 0x482ac4
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x482aec
mov ecx, esi
call fcn.004aa9bc
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov esi, dword [esp + 0x1c]
push esi
call ebx
test eax, eax
je 0x482b04
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
mov dword [0x553704], 0
test eax, eax
je 0x482b2d
mov esi, dword [esp + 0x14]
push esi
call ebx
test eax, eax
je 0x482b2d
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 0
call fcn.004a642c
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.004a642c
mov ecx, dword [esp + 0xa8]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x48b410
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x5095ec]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x48b423
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x48b464
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x509694]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x48b496
mov bl, byte [esp + ecx + 0x4c]
jmp 0x48b49a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x48b48b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x48b4b8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x48b4bc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x48b4ad
xor ecx, ecx
mov eax, 0x5095fc
xor ebx, ebx
mov bl, byte [ecx + 0x5096a4]
cmp byte [esp + ebx + 0x14], 0
je 0x48b4e7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x5096bc]
cmp byte [esp + ebx + 0x14], 0
je 0x48b4fe
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x48b4ce
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x48b457
lea edx, [esp + 0x84]
push edx
call fcn.0048b540
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x48efb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
cmp di, 0x76d
jb 0x48f105
cmp di, 0x801
ja 0x48f105
mov ebx, dword [esp + 0x28]
cmp bx, 1
jb 0x48f105
cmp bx, 0xc
ja 0x48f105
mov al, byte [esp + 0x30]
test al, al
je 0x48f004
push edi
call fcn.0048f540
add esp, 4
cmp ax, bx
je 0x48f004
mov byte [esp + 0x30], 0
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x13]
lea ecx, [esp + 0x14]
mov word [esi], di
mov edi, dword [esp + 0x38]
push eax
lea edx, [esp + 0x1c]
mov word [edi], bx
mov ebx, dword [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
mov word [ebp], bx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ebx
push ecx
push edx
call fcn.0048f110
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
push ebx
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.0048ef30
add esp, 0x34
mov ebx, eax
xor eax, eax
inc eax
cmp eax, 0x64
mov dword [esp + 0x34], eax
jg 0x48f105
test ebx, ebx
jne 0x48f099
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x30]
cmp al, cl
je 0x48f0fb
test al, al
je 0x48f08c
push 0xffffffffffffffe1
jmp 0x48f08e
push 0x1f
push ebp
push edi
push esi
call fcn.0048eee0
add esp, 0x10
neg ebx
push ebx
push ebp
push edi
push esi
call fcn.0048eee0
lea edx, [esp + 0x23]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
push eax
mov ax, word [ebp]
lea edx, [esp + 0x34]
push ecx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ecx
push edx
call fcn.0048f110
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x54]
push eax
push ecx
push edx
call fcn.0048ef30
mov ebx, eax
mov eax, dword [esp + 0x78]
add esp, 0x44
jmp 0x48f066
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
Function at 0x490790
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4bb3f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push 0x55cb14
lea ecx, [esp + 4]
call fcn.004a649a
push 0x511c3c
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0
call fcn.004a649a
push 0x511c38
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 1
call fcn.004a649a
push 0x511c34
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.004a649a
push 0x511c30
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.004a649a
push 0x511c2c
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.004a649a
push 0x511c28
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.004a649a
push 0x511c24
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 6
call fcn.004a649a
push 0x511c20
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 7
call fcn.004a649a
push 0x511c1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 8
call fcn.004a649a
push 0x511c18
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 9
call fcn.004a649a
push 0x511c14
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 0xa
call fcn.004a649a
push 0x511c10
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 0xb
call fcn.004a649a
mov eax, dword [esp + 0x44]
mov byte [esp + 0x3c], 0xc
cmp eax, 1
jge 0x4908c0
cmp eax, 0xc
jle 0x4908c0
mov ecx, dword [esp + 0x48]
push 0x55cb14
call fcn.004a6569
jmp 0x4908ce
mov ecx, dword [esp + 0x48]
lea eax, [esp + eax*4]
push eax
call fcn.004a6519
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 0xb
call fcn.004a642c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 0xa
call fcn.004a642c
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 9
call fcn.004a642c
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 8
call fcn.004a642c
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.004a642c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 6
call fcn.004a642c
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.004a642c
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call fcn.004a642c
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call fcn.004a642c
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call fcn.004a642c
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 1
call fcn.004a642c
lea ecx, [esp + 4]
mov byte [esp + 0x3c], 0
call fcn.004a642c
lea ecx, [esp]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004a642c
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret

Function at 0x4a8876
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a88ae
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004a6887
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a685f
jmp 0x4a88ba
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x4aa0eb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4aa12d
call fcn.004b0852
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4aa12d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4aa124
xor eax, eax
jmp 0x4aa135
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004aa13b
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b0d82
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4b0db0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b0dce
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b0ce8
jmp 0x4b0dce
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b0dce
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b0ce8
test edi, edi
mov eax, edi
jne 0x4b0db8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x4b3604
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x4b362c
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x4b363d
push 2
call edi
test ax, ax
jge 0x4b363d
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004a7eac
cmp dword [esi + 0x30], ebx
jne 0x4b3717
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004a7eac
cmp eax, dword [esp + 0x34]
jne 0x4b3717
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x4b36b3
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x4b36f8
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x4b3717
cmp eax, 0x205
je 0x4b3717
cmp eax, 0x201
je 0x4b3717
cmp eax, 0x204
je 0x4b3717
cmp eax, ebx
jne 0x4b36de
cmp dword [esp + 0x1c], 0x1b
je 0x4b3717
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x55f8c0]
jbe 0x4b370d
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x4b3670
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x40d670
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b3fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0045ff6e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40d6f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045dced
mov eax, dword [eax]
push 0x49e1e0
push eax
call fcn.00450b74
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004601f9
test bl, bl
je 0x40d6f2
push 0x49e1e0
lea ecx, [esp + 0xc]
call fcn.00460589
push 0x4a1d54
lea ecx, [esp + 0xc]
call fcn.00460589
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40d72e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004601f9
jmp 0x40d7f9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40d7b2
lea edx, [esp + 0x7c]
push 0x4a1d50
push edx
call fcn.00450b74
add esp, 8
test eax, eax
je 0x40d7b2
lea eax, [esp + 0x7c]
push 0x4a1d4c
push eax
call fcn.00450b74
add esp, 8
test eax, eax
je 0x40d7b2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40d742
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004601f9
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40dff0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40e052
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc