joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412402
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186e0], 0
push ebx
push esi
mov esi, 0x4186e8
jne 0x41242e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x418700], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186e0], 1
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4124cb
push 0x14
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x4124f5
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186e4]
test eax, eax
je 0x412470
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186e4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x4124fa
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4124f5
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x53fb438b
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x105c6da7
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40110c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x813030]
jne 0x401116
repz ret
jmp fcn.00401d31

Function at 0x409100
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040587e
and dword [ebp - 4], 0
cmp dword [0x815790], 0
mov ebx, eax
jne 0x4091b1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409262
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409262
push eax
call fcn.0040580c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x815790], eax
call esi
push eax
call fcn.0040580c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x815794], eax
call esi
push eax
call fcn.0040580c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x815798], eax
call esi
push eax
call fcn.0040580c
pop ecx
mov dword [0x8157a0], eax
test eax, eax
je 0x4091b1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040580c
pop ecx
mov dword [0x81579c], eax
mov eax, dword [0x81579c]
cmp eax, ebx
je 0x409209
cmp dword [0x8157a0], ebx
je 0x409209
push eax
call fcn.00405887
push dword [0x8157a0]
mov esi, eax
call fcn.00405887
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409209
test edi, edi
je 0x409209
call esi
test eax, eax
je 0x409200
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409200
test byte [ebp - 0xc], 1
jne 0x409209
or dword [ebp + 0x10], 0x200000
jmp 0x409242
mov eax, dword [0x815794]
cmp eax, ebx
je 0x409242
push eax
call fcn.00405887
pop ecx
test eax, eax
je 0x409242
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409242
mov eax, dword [0x815798]
cmp eax, ebx
je 0x409242
push eax
call fcn.00405887
pop ecx
test eax, eax
je 0x409242
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x815790]
call fcn.00405887
pop ecx
test eax, eax
je 0x409262
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409264
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b170
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x813030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x2ece1cc]
push ebx
mov ebx, dword [0x2ecdeec]
push esi
mov esi, dword [0x813f60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40b1b1
push str.tirasumocatum
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2ece1cc]
mov dword [0x2ecdee8], esi
cmp eax, 0x114e
jne 0x40b1d6
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
mov eax, dword [0x2ece1cc]
cmp eax, 0x2f
jne 0x40b204
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
push ebx
call fcn.0040b060
mov ecx, dword [esp + 0x434]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040110c
add esp, 0x428
ret
Function at 0x10015217
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x1002d711
call fcn.10017005
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10015234
xor eax, eax
jmp 0x10015311
xor edi, edi
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x1001530f
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.kernel32.dll_Process32FirstW
jmp 0x100152e5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.1000128b
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], edi
call fcn.1000128b
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.10001cc6
lea ecx, [ebp - 0x240]
call fcn.10001cc6
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.10029ea1
pop ecx
pop ecx
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
test al, al
jne 0x100152ef
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10001eb4
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x10015264
jmp 0x10015308
mov edi, dword [ebp - 0x234]
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.10001eb4
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10016faf
ret

Function at 0x10029ea1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10029eb0
pop dword [ebp - 0x14]
mov eax, 0x1d26cf2c
add eax, 0xf2dbcf84
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x42bce
push 0
mov eax, 0x36a1dfc1
add eax, 0xd961119b
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0xb14492e8
sub ecx, 0xb14440db
mov ebx, eax
mov esi, 0x2ed61d3e
add esi, 0xe12e8ec2
add esi, dword [ebp - 0x14]
mov edi, 0x4cadb445
sub edi, 0xb6af6879
add dword [ebp - 0xc], ecx
mov edx, dword [esi]
add dword [ebp - 8], 0xbd395d50
sub edx, edi
sub dword [ebp - 0x10], ecx
mov dword [ebx], edx
xor dword [ebp - 8], 0x707691bf
add ebx, 4
add esi, 0x834f3ab1
sub esi, 0x834f3aad
loop 0x10029f0f
add eax, 0xb01ac604
add eax, 0x4fe67503
xor ebx, ebx
add ebx, eax
add eax, 0x849506d9
sub eax, 0x849506d4
mov ecx, 0xeaa15330
add ecx, 0x255eacd0
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x10002fe3
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov esi, eax
cmp dword [eax + 0x14], 0x10
jb 0x10002ff3
mov esi, dword [eax]
mov edi, dword [eax + 0x10]
xor edx, edx
mov ecx, 0x811c9dc5
test edi, edi
je 0x10003012
movzx eax, byte [edx + esi]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, edi
jb 0x10003001
pop edi
mov eax, ecx
pop esi
ret 4

Function at 0x10004db0
Capabilities:
Create thread

Disassembly:
cmp dword [esp + 8], 1
jne 0x10004dd2
mov ecx, dword [esp + 4]
call fcn.100057a9
xor ecx, ecx
push ecx
push ecx
push ecx
push 0x10004b33
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
inc eax
ret 0xc

Function at 0x100063b7
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 8
ja case.default.0x100063c0
jmp dword [eax*4 + 0x100063ff]
mov al, 1
jmp 0x100063f9
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
jmp 0x100063f9
push 2
jmp 0x100063cd
push 4
jmp 0x100063cd
push 5
jmp 0x100063cd
push 6
jmp 0x100063cd
push 0x10
jmp 0x100063cd
push 0x12
jmp 0x100063cd
push 0x46
jmp 0x100063cd
xor al, al
ret 4
Function at 0x40e083
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419408]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004094ef
mov dword [ebp - 0x14], eax
cmp dword [0x4ad6bc], esi
jne 0x40e176
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40e103
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40e256
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40e256
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e256
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4ad6bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4ad6c0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4ad6c4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ad6cc], eax
test eax, eax
je 0x40e173
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ad6c8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40e19b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e18e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40e1b0
push 4
pop eax
jmp 0x40e258
cmp dword [ebp - 0x14], esi
je 0x40e1b0
push dword [0x4ad6bc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40e195
mov eax, dword [0x4ad6c8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40e20e
cmp dword [0x4ad6cc], edi
je 0x40e20e
push eax
call ebx
push dword [0x4ad6cc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40e20e
test eax, eax
je 0x40e20e
call ecx
test eax, eax
je 0x40e203
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40e203
test byte [ebp - 8], 1
jne 0x40e20e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40e23e
mov eax, dword [0x4ad6c0]
cmp eax, edi
je 0x40e23b
push eax
call ebx
test eax, eax
je 0x40e23b
call eax
mov esi, eax
test esi, esi
je 0x40e23b
mov eax, dword [0x4ad6c4]
cmp eax, edi
je 0x40e23b
push eax
call ebx
test eax, eax
je 0x40e23b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4ad6bc]
call ebx
test eax, eax
je 0x40e256
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40e258
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004040ec
mov esp, ebp
pop ebp
ret
Function at 0x4015a2
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov eax, dword [0x52408b]
shl eax, 2
mov dword [0x52408f], eax
push edx
push 0
call sub.kernel32.dll_GetModuleHandleA
mov edx, eax
call fcn.005035fc
pop edx
call fcn.00503560
call fcn.0050363c
push 0
call fcn.00504b5c
pop ecx
push 0x524034
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x524093], eax
push 0
jmp fcn.0050b470
Function at 0x429370
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
mov byte [0x541484], 0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
call sub.kernel32.dll_GetTickCount
mov dword [0x541e8c], eax
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], edx
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0xc]
mov dl, byte [eax]
mov byte [ebp - 0xd], dl
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
mov al, byte [ebp - 0xd]
mov byte [ecx], al
cmp byte [ebp - 0xd], 0
je 0x4293cb
movsx edx, byte [ebp - 0xd]
cmp edx, 0x2c
jne 0x4293d3
mov ecx, dword [ebp - 0x24]
mov byte [ecx], 0
jmp 0x4293df
inc dword [ebp - 0x14]
inc dword [ebp - 0x24]
cmp dword [ebp - 0x14], 0x20
jl 0x4293a9
movsx eax, byte [ebp - 0xd]
cmp eax, 0x2c
jne 0x42940f
mov edx, dword [ebp - 0xc]
push edx
call fcn.00408540
pop ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xc]
mov al, byte [ecx]
mov byte [ebp - 0xd], al
inc dword [ebp - 0xc]
cmp byte [ebp - 0xd], 0
je 0x42940f
movsx edx, byte [ebp - 0xd]
cmp edx, 0x2c
jne 0x4293f5
movsx ecx, byte [ebp - 0xd]
cmp ecx, 0x2c
jne 0x42943f
mov eax, dword [ebp - 0xc]
push eax
call fcn.00408540
pop ecx
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebp - 0xd], cl
inc dword [ebp - 0xc]
cmp byte [ebp - 0xd], 0
je 0x42943f
movsx eax, byte [ebp - 0xd]
cmp eax, 0x2c
jne 0x429425
movsx edx, byte [ebp - 0xd]
cmp edx, 0x2c
jne 0x429455
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00408540
pop ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x65c]
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.004444ec
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x65c]
push ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2f8]
mov eax, dword [edx + 0x160]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.004bd270
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov edx, dword [eax]
call dword [edx + 0x88]
jmp 0x4294ad
mov ecx, dword [0x53d35c]
mov eax, dword [ecx]
call fcn.004d040c
call sub.kernel32.dll_GetTickCount
sub eax, dword [0x541e8c]
cmp eax, dword [ebp - 0x20]
jb 0x4294a0
mov byte [0x541484], 1
mov esp, ebp
pop ebp
ret
Function at 0x439504
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 8]
mov ecx, edx
mov dword [ebp - 0x14], ecx
jmp 0x43954a
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [eax]
mov eax, dword [ebp + 8]
xor edx, dword [ebp + 8]
and edx, 0xff
shr eax, 8
mov ecx, dword [edx*4 + 0x52cda4]
xor ecx, eax
mov dword [ebp + 8], ecx
inc dword [ebp - 0x10]
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0xc]
jb 0x439522
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x452888
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov eax, 0x532a38
call fcn.00503ebc
mov dword [ebp - 0x2c], 0x100
mov dword [ebp - 0x30], 0x100
push dword [ebp - 0x30]
call fcn.00503470
pop ecx
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4528fd
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call sub.kernel32.dll_GetCurrentDirectoryA
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x100
jbe 0x4528fd
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.00503490
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x4528fd
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x34], edx
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call sub.kernel32.dll_GetCurrentDirectoryA
mov dword [ebp - 0x30], eax
mov word [ebp - 0x18], 8
mov word [ebp - 0x18], 0x14
cmp dword [ebp - 0x30], 0
je 0x45291a
cmp dword [ebp - 0x34], 0
je 0x45291a
mov edx, dword [ebp - 0x34]
jmp 0x45291f
mov edx, 0x5326ac
lea eax, [ebp - 4]
call fcn.0050f7a0
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 0x20
push dword [ebp - 0x34]
call fcn.00503480
pop ecx
mov word [ebp - 0x18], 0x2c
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.0050f930
mov eax, dword [ebp + 8]
mov word [ebp - 0x18], 0x38
push eax
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0050f900
pop eax
mov word [ebp - 0x18], 0x20
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x45299d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458f8c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
mov dword [ebp - 0x30], eax
mov eax, 0x533d00
call fcn.00503ebc
push 0x10
push 0
mov edx, dword [0x53d0b8]
push 0
push 2
push 0x533c18
mov ecx, dword [edx]
push ecx
call sub.user32.dll_LoadImageA
mov ecx, eax
mov eax, dword [0x53d360]
mov eax, dword [eax]
mov edx, 0x1e
Function at 0x46ad04
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46ae75
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46ae50
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.004965cc
lea eax, [ebp - 0x118]
mov edx, 0x46ae8c
call fcn.004966ac
mov eax, dword [ebp - 0x118]
call fcn.0049689c
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x46adc2
lea eax, [ebp - 0x111]
call fcn.00484b88
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.004964dc
jmp 0x46adc9
mov eax, esi
call fcn.004963ec
cmp bl, 0x61
jae 0x46adea
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.00488c54
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00496440
jmp 0x46ae04
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.00488bc8
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00496440
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x46ae98
call fcn.004852f8
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00496440
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ae57
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x47fc2c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5521dc
cmp dword [edi], 0
jne 0x47fca8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x5521d8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x537984
mov ecx, 2
call fcn.00494a28
mov edx, 0x47fc04
lea eax, [esi + 5]
call fcn.0047fc24
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0047fc24
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x47fc7d
mov dword [0x5521d8], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x47fdc4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], 1
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x47fe48
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x47fe39
xor eax, eax
push ebp
push 0x47fe32
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x47fe70
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fe39
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
cmp dword [ebp - 8], 0
setne byte [0x53797c]
mov esp, ebp
pop ebp
ret

Function at 0x4813bc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00480f04
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0049689c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x48141a
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x53d154]
mov dl, 1
mov eax, dword [0x480d90]
call fcn.00487f64
call fcn.0049604c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x481424
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0049689c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x48147c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x53d150]
mov dl, 1
mov eax, dword [0x480d90]
call fcn.00487f64
call fcn.0049604c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00480f34
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x484698
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0049689c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4846b1
test al, 0x10
jne 0x4846b5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4876c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x4876f9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004964dc
jmp 0x487702
mov eax, ebx
mov edx, esi
call fcn.00496440
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4