joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bc432
Capabilities:
Check http status code
Encode data using xor

Disassembly:
stosb byte es:[edi], al
nop
stosb byte es:[edi], al
cwde
stosb byte es:[edi], al
mov al, byte [0xb0aaa8aa]
stosb byte es:[edi], al
mov eax, 0xc8aac0aa
stosb byte es:[edi], al
shr byte [edx - 0x551f5528], 1
call 0xf8f6b4ee
stosb byte es:[edi], al
add byte [ebx - 0x54ef54f8], ch
sbb byte [ebx - 0x54d754e0], ch
xor byte [ebx - 0x54bf54c8], ch
dec eax
stosd dword es:[edi], eax
push eax
stosd dword es:[edi], eax
pop eax
stosd dword es:[edi], eax
pushal
stosd dword es:[edi], eax
push 0x78ab70ab
stosd dword es:[edi], eax
sub byte [ebx - 0x546f5478], 0x98
stosd dword es:[edi], eax
mov al, byte [0xb8abb0ab]
stosd dword es:[edi], eax
shr byte [ebx - 0x542f5438], 0xd8
stosd dword es:[edi], eax
loopne 0x4bc428
call 0xf8f7b52d
stosd dword es:[edi], eax
add byte [eax + ecx + 0x18ac10ac], ch
lodsb al, byte [esi]
and byte [eax + ebp + 0x38ac30ac], ch
lodsb al, byte [esi]
inc eax
lodsb al, byte [esi]
dec eax
lodsb al, byte [esi]
push eax
lodsb al, byte [esi]
pop eax
lodsb al, byte [esi]
pushal
lodsb al, byte [esi]
push 0x78ac70ac
lodsb al, byte [esi]
sub byte [eax + ecx*4 - 0x67536f54], 0xac
mov al, byte [0xb0aca8ac]
lodsb al, byte [esi]
mov eax, 0xc8acc0ac
lodsb al, byte [esi]
shr byte [eax + ebx*8 - 0x17531f54], 1
lodsb al, byte [esi]
invalid

Function at 0x4bc6e2
Capabilities:
Check http status code
Encode data using xor

Disassembly:
movsd dword es:[edi], dword [esi]
and byte [ebp - 0x5a6f5a78], 0x98
movsd dword es:[edi], dword [esi]
mov al, byte [0xb0a5a8a5]
movsd dword es:[edi], dword [esi]
mov eax, 0xc8a5c0a5
movsd dword es:[edi], dword [esi]
shl byte [ebp - 0x5a1f5a28], 1
call 0xf8f1b7a7
movsd dword es:[edi], dword [esi]
add byte [esi - 0x59e759f0], ah
and byte [esi - 0x59cf59d8], ah
cmp byte [esi - 0x59b759c0], ah
push eax
cmpsb byte [esi], byte es:[edi]
pop eax
cmpsb byte [esi], byte es:[edi]
pushal
cmpsb byte [esi], byte es:[edi]
push 0x78a670a6
cmpsb byte [esi], byte es:[edi]
and byte [esi - 0x596f5978], 0x98
cmpsb byte [esi], byte es:[edi]
mov al, byte [0xb0a6a8a6]
cmpsb byte [esi], byte es:[edi]
mov eax, 0xc8a6c0a6
cmpsb byte [esi], byte es:[edi]
shl byte [esi - 0x591f5928], 1
call 0xf8f2b7e6
cmpsb byte [esi], byte es:[edi]
add byte [edi - 0x58ef58f8], ah
sbb byte [edi - 0x58d758e0], ah
xor byte [edi - 0x58bf58c8], ah
dec eax
cmpsd dword [esi], dword es:[edi]
push eax
cmpsd dword [esi], dword es:[edi]
pop eax
cmpsd dword [esi], dword es:[edi]
pushal
cmpsd dword [esi], dword es:[edi]
push 0x78a770a7
cmpsd dword [esi], dword es:[edi]
and byte [edi - 0x586f5878], 0x98
cmpsd dword [esi], dword es:[edi]
mov al, byte [0xb0a7a8a7]
cmpsd dword [esi], dword es:[edi]
mov eax, 0xc8a7c0a7
cmpsd dword [esi], dword es:[edi]
shl byte [edi - 0x581f5828], 1
invalid
Function at 0x6c7faad0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], 0x6c8028c0
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], 0x6c8028ee
mov dword [ebp - 0x40], str.WMIsAvailableOffline
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4

Function at 0x6c7fab30
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_WMValidateData___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], 0x6c8028ee
mov dword [ebp - 0x40], str.WMValidateData
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4

Function at 0x6c7fab90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_WMCreateIndexer___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], 0x6c8028ee
mov dword [ebp - 0x40], str.WMCreateIndexer
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4

Function at 0x6c7fabf0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_WMCreateWriterFileSink___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], 0x6c8028ee
mov dword [ebp - 0x40], str.WMCreateWriterFileSink
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4

Function at 0x6c7fac50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_WMCreateWriterNetworkSink___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], 0x6c8028ee
mov dword [ebp - 0x40], str.WMCreateWriterNetworkSink
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4

Function at 0x6c7facb0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_WMCreateWriterPushSink___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], 0x6c8028ee
mov dword [ebp - 0x40], str.WMCreateWriterPushSink
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4
Function at 0x6c7fad10
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_WMIsContentProtected___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], 0x6c8028ee
mov dword [ebp - 0x40], str.WMIsContentProtected
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4
Function at 0x6c7fca00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea esi, [ebp + 0xc]
sub esp, 0x10
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], 0x6c802b94
call sym._fwrite
mov eax, dword [ebp + 8]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll_vfprintf]
call sym._abort
lea esi, [esi]
Function at 0x402a54
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404000
test esi, esi
jne 0x402a8a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004040f0
jmp 0x402aa8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402908
mov edi, eax
test esi, esi
je 0x402aa8
cmp dword [ebx], 0
je 0x402aa8
dec esi
jmp 0x402a91
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403118
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x457020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4031b0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403190
xor eax, eax
push ebp
push 0x403189
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 0x4031cc
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 0x403190
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x457020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x457020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403e64
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45904c], 0
je 0x403ec5
cmp word [0x459220], 0xd7b2
jne 0x403e8d
cmp dword [0x459228], 0
jbe 0x403e8d
mov eax, 0x45921c
call dword [0x459238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45706c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403eec
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x457030], 0
jne 0x403ee1
push 0
push 0x457064
push 0x45706c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4054e4
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405714
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405567
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405714
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405567
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405730
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4055f0
xor eax, eax
push ebp
push 0x4055e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0040532c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4055ce
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405750
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4055ce
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4055f0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40570a
cmp byte [ebp - 0xd], 0
jne 0x405637
cmp byte [ebp - 0x12], 0
je 0x40570a
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405650
dec ebx
cmp byte [ebx], 0x2e
je 0x40565f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40564f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40570a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x40569c
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40570a
cmp byte [ebp - 0xd], 0
je 0x40570a
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40570a
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405ddc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405e42
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404270
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402cdc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405e2c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e49
lea eax, [ebp - 0x10]
call fcn.00404000
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004044c0
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4084f9
test al, 0x10
jne 0x4084fd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4085ec
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.004044c0
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x40860e
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x408614
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004044c0
push eax
call sub.kernel32.dll_GetFileAttributesA
test al, 1
setne al
pop ebx
ret

Function at 0x40862c
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.004044c0
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesA
mov edi, eax
cmp edi, 0xffffffff
je 0x408669
cmp byte [esp], 0
je 0x408659
or edi, 1
jmp 0x40865c
and edi, 0xfffffffe
push edi
push ebp
call sub.kernel32.dll_SetFileAttributesA
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40b0a0
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 pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b0d9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004040f0
jmp 0x40b0e2
mov eax, ebx
mov edx, esi
call fcn.00404054
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b0ec
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b10d
mov al, byte [esp]
jmp 0x40b10f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40b794
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b60c
mov eax, dword [0x458498]
cmp byte [eax], 0
je 0x40b810
mov eax, dword [0x4582ac]
call fcn.00402b48
call fcn.00402834
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004088e0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b858
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b846
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x458258]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x459668]
call fcn.004052f0
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40c100
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c1d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404098
lea eax, [ebp - 8]
call fcn.00404510
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004044c0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c1c0
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c1b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004044c0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c1a3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c1e8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c1a3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c1c0
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c1dd
lea eax, [ebp - 8]
call fcn.00404000
ret

Function at 0x40c704
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c768
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404270
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408134
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c76f
lea eax, [ebp - 0xc]
call fcn.00404000
ret
Function at 0x41dafc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45989c
cmp dword [edi], 0
jne 0x41db78
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x459898]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4573f8
mov ecx, 2
call fcn.004028c8
mov edx, 0x41dad4
lea eax, [esi + 5]
call fcn.0041daf4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041daf4
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 0x41db4d
mov dword [0x459898], 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 0x41e58c
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.004044c0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41e5e4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4585b8]
mov dl, 1
mov eax, dword [0x41e144]
call fcn.0040b960
call fcn.00403a1c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041e24c
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 0x41fda4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41fdaa
ret

Function at 0x4221ec
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x42223d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x422224
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x422214
jmp 0x42223d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x422225
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42adb4
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x42ad00
call sub.user32.dll_EnumWindows
ret

Function at 0x42aed4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x42af51
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042a934
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42aef9
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042a534
cmp dword [ebp - 4], 0
je 0x42af3b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004044c0
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42af58
lea eax, [ebp - 4]
call fcn.00404000
ret

Function at 0x42e424
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x42e474]
test si, 4
je 0x42e438
or bl, 1
test si, 8
je 0x42e442
or bl, 4
test si, 1
je 0x42e44c
or bl, 8
test si, 2
je 0x42e456
or bl, 0x10
test si, 0x10
je 0x42e460
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42e46f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x42e478
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x42e4b0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42e491
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42e4a0
or bl, 4
test esi, 0x20000000
je 0x42e4ab
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x434b58
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x434b6a
add esp, 0xfffffff0
call fcn.004035b4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ca6c
mov eax, dword [0x458260]
mov dword [eax + 4], ebx
mov dword [eax], 0x434efc
mov eax, dword [0x45826c]
mov dword [eax + 4], ebx
mov dword [eax], 0x434f08
mov eax, ebx
call fcn.00434f14
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x414d64]
call fcn.00403278
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x414d64]
call fcn.00403278
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x414d64]
call fcn.00403278
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x414d64]
call fcn.00403278
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x414d64]
call fcn.00403278
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x431330
push eax
push 0
push 0
mov eax, dword [0x4583bc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41f4a8]
call fcn.004208ec
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41f4a8]
call fcn.004208ec
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41f4a8]
call fcn.004208ec
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00435334
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x435210
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x435210
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x435210
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x434ca7
call fcn.0040360c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret