joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a710
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret

Function at 0x41aa00
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4745fc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 0x40
push 0x36
push eax
mov dword [ebp - 0x48], ebx
call fcn.00420fa0
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x41aa57
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x41aa54
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x41aa40
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.0041a890
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0041a610
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.00420fa0
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x41aa98
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x41aa98
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x41aa84
lea esi, [ebx + 0x60]
push esi
call fcn.0041a890
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0041a610
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0041c290
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041f265
mov esp, ebp
pop ebp
ret

Function at 0x41c1f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x475130]
push esi
push edi
test ecx, ecx
jne 0x41c236
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor esi, esi
lea eax, [esi + esi*2]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
push 1
add esi, 0x200
push esi
push ecx
call fcn.00402980
add esp, 0xc
mov dword [0x475130], eax
push esi
push eax
call edi
mov ecx, dword [0x475130]
cmp eax, esi
jge 0x41c207
push 0
push dword [ebp + 8]
push 0x467500
push ecx
call fcn.00402160
add esp, 0x10
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov edi, eax
call fcn.004028b0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x41c560
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x4745fc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x200]
push eax
push 4
mov dword [ebp - 0x60], 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push 0xc9
push dword [0x476468]
mov dword [ebp - 0x200], 0x1fc
mov dword [ebp - 0x1fc], esi
mov dword [ebp - 0x1f8], 1
mov dword [ebp - 0x1f4], 7
mov dword [ebp - 0x1f0], 0x8006
call dword [sym.imp.USER32.dll_LoadIconA]
movups xmm0, xmmword [str.Pageant__PuTTY_authentication_agent_]
mov ecx, dword [0x467db0]
mov ebx, eax
lea eax, [ebp - 0x200]
mov dword [ebp - 0x1c8], ecx
mov cl, byte [0x467db4]
movups xmmword [ebp - 0x1e8], xmm0
push eax
movups xmm0, xmmword [0x467da0]
push 0
mov dword [ebp - 0x1ec], ebx
movups xmmword [ebp - 0x1d8], xmm0
mov byte [ebp - 0x1c4], cl
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov esi, eax
test ebx, ebx
je 0x41c627
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f265
mov esp, ebp
pop ebp
ret
Function at 0x41dcf0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.00402290
add esp, 8
mov esi, eax
push 0x1010
push str.Pageant_Fatal_Error
push esi
push dword [0x476470]
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.004028b0
add esp, 4
push 1
call fcn.0043e1dc
int3

Function at 0x41dea0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x41def2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Failed_to_run___.100s___Error:__d
call fcn.00402220
add esp, 0xc
mov esi, eax
push 0x30
push str.Pageant
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.004028b0
add esp, 4
pop esi
pop ebp
ret
Function at 0x41df80
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x4745fc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x47514c], 0
je 0x41e166
lea eax, [ebp - 0x218]
push eax
push str.SoftwareSimonTathamPuTTYSessions
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41e166
push esi
push edi
push dword [0x475144]
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov esi, eax
cmp esi, dword [0x475154]
jle 0x41dff8
mov edi, dword [sym.imp.USER32.dll_RemoveMenu]
nop dword [eax]
push 0x400
push 0
push dword [0x475144]
call edi
dec esi
cmp esi, dword [0x475154]
jg 0x41dfe0
push 0x104
lea eax, [ebp - 0x10c]
xor edi, edi
push eax
push edi
push dword [ebp - 0x218]
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x41e10b
push ebx
mov ebx, 0x1000
push 0x104
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0041df00
add esp, 0xc
lea ecx, [ebp - 0x10c]
mov eax, str.Default_20Settings
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x41e070
test dl, dl
je 0x41e06c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x41e070
add ecx, 2
add eax, 2
test dl, dl
jne 0x41e050
xor eax, eax
jmp 0x41e075
sbb eax, eax
or eax, 1
test eax, eax
je 0x41e0e8
lea eax, [ebp - 0x214]
mov dword [ebp - 0x248], 0x30
mov dword [ebp - 0x224], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x248]
movlpd qword [ebp - 0x234], xmm0
push eax
push 1
push edi
push dword [0x475144]
movlpd qword [ebp - 0x22c], xmm0
movlpd qword [ebp - 0x220], xmm0
mov dword [ebp - 0x244], 0x13
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], ebx
call dword [sym.imp.USER32.dll_InsertMenuItemA]
inc edi
add ebx, 0x10
push 0x104
lea eax, [ebp - 0x10c]
inc esi
push eax
push esi
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x41e023
pop ebx
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
pop esi
jne 0x41e166
lea eax, [ebp - 0x248]
mov dword [ebp - 0x248], 0x30
push eax
push 1
push 0
push dword [0x475144]
mov dword [ebp - 0x244], 0x11
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 3
mov dword [ebp - 0x224], str._No_sessions_
call dword [sym.imp.USER32.dll_InsertMenuItemA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041f265
mov esp, ebp
pop ebp
ret
Function at 0x41e730
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [0x475178], 0
jne 0x41e85d
push esi
push str.advapi32.dll
mov dword [0x475178], 1
call fcn.0041c1f0
add esp, 4
mov dword [0x475180], eax
test eax, eax
je 0x41e854
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetSecurityInfo
push eax
call esi
mov dword [0x476428], eax
test eax, eax
je 0x41e854
mov eax, dword [0x475180]
test eax, eax
je 0x41e797
push str.SetSecurityInfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x475180]
jmp 0x41e799
xor ecx, ecx
mov dword [0x476424], ecx
test ecx, ecx
je 0x41e854
test eax, eax
je 0x41e7bc
push str.OpenProcessToken
push eax
call esi
mov ecx, eax
mov eax, dword [0x475180]
jmp 0x41e7be
xor ecx, ecx
mov dword [0x476438], ecx
test ecx, ecx
je 0x41e854
test eax, eax
je 0x41e7e1
push str.GetTokenInformation
push eax
call esi
mov ecx, eax
mov eax, dword [0x475180]
jmp 0x41e7e3
xor ecx, ecx
mov dword [0x476434], ecx
test ecx, ecx
je 0x41e854
test eax, eax
je 0x41e802
push 0x46a314
push eax
call esi
mov ecx, eax
mov eax, dword [0x475180]
jmp 0x41e804
xor ecx, ecx
mov dword [0x476430], ecx
test ecx, ecx
je 0x41e854
test eax, eax
je 0x41e823
push 0x46a334
push eax
call esi
mov ecx, eax
mov eax, dword [0x475180]
jmp 0x41e825
xor ecx, ecx
mov dword [0x47642c], ecx
test ecx, ecx
je 0x41e854
test eax, eax
je 0x41e83d
push str.SetEntriesInAclA
push eax
call esi
jmp 0x41e83f
xor eax, eax
mov dword [0x476420], eax
test eax, eax
je 0x41e854
mov eax, 1
mov dword [0x47517c], eax
pop esi
ret
xor eax, eax
mov dword [0x47517c], eax
pop esi
ret
mov eax, dword [0x47517c]
ret

Function at 0x448d67
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044894e

Function at 0x448d72
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00448ad8

Function at 0x44ba63
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044b937

Function at 0x44e779
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044e13b
Function at 0x8c8356c
Capabilities:
Query or enumerate registry value

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

Function at 0x8c84404
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x8cf104c], 0
je 0x8c84465
cmp word [0x8cf1220], 0xd7b2
jne 0x8c8442d
cmp dword [0x8cf1228], 0
jbe 0x8c8442d
mov eax, 0x8cf121c
call dword [0x8cf1238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x8cef090
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 0x8c8448c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x8cef030], 0
jne 0x8c84481
push 0
push 0x8cef088
push 0x8cef090
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x8c85ba4
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 0x8c85dd4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x8c85c27
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x8c85dd4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x8c85c27
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x8c85df0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x8c85cb0
xor eax, eax
push ebp
push 0x8c85ca9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.08c859ec
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 0x8c85c8e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x8c85e10
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x8c85c8e
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 0x8c85cb0
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 0x8c85dca
cmp byte [ebp - 0xd], 0
jne 0x8c85cf7
cmp byte [ebp - 0x12], 0
je 0x8c85dca
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x8c85d10
dec ebx
cmp byte [ebx], 0x2e
je 0x8c85d1f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x8c85d0f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x8c85dca
inc ebx
cmp byte [ebp - 0x12], 0
je 0x8c85d5c
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 0x8c85dca
cmp byte [ebp - 0xd], 0
je 0x8c85dca
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 0x8c85dca
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 0x8c864ec
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 0x8c86552
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.08c847f0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.08c83124
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x8c8653c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8c86559
lea eax, [ebp - 0x10]
call fcn.08c84580
ret

Function at 0x8c8b8e0
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 0x8c8b919
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.08c84670
jmp 0x8c8b922
mov eax, ebx
mov edx, esi
call fcn.08c845d4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x8c8b92c
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 0x8c8b94d
mov al, byte [esp]
jmp 0x8c8b94f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x8c8c934
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 0x8c8ca0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.08c84618
lea eax, [ebp - 8]
call fcn.08c84a90
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.08c84a40
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x8c8c9f4
mov eax, ebx
call fcn.08c827cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x8c8c9ed
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.08c84a40
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x8c8c9d7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x8c8ca1c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x8c8c9d7
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 0x8c8c9f4
mov eax, dword [ebp - 0x10]
call fcn.08c827ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8c8ca11
lea eax, [ebp - 8]
call fcn.08c84580
ret
Function at 0x8c8d034
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 0x8c8d098
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.08c847f0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.08c889d8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8c8d09f
lea eax, [ebp - 0xc]
call fcn.08c84580
ret

Function at 0x8ca29a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x8cf188c
cmp dword [edi], 0
jne 0x8ca2a1c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x8cf1888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x8cef558
mov ecx, 2
call fcn.08c829d4
mov edx, 0x8ca2978
lea eax, [esi + 5]
call fcn.08ca2998
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.08ca2998
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 0x8ca29f1
mov dword [0x8cf1888], 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 0x8ca3c30
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 0x8ca3c36
ret

Function at 0x8ca6078
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 0x8ca60c9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x8ca60b0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x8ca60a0
jmp 0x8ca60c9
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 0x8ca60b1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x8cab61c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x8c980cc]
call fcn.08c84f18
xor eax, eax
push ebp
push 0x8cab760
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x8cef88c], 0
jne 0x8cab66f
mov ecx, dword [0x8cf01cc]
mov dl, 1
mov eax, dword [0x8c8788c]
call fcn.08c8c158
call fcn.08c83f34
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.08c82ff0
mov eax, ebx
call fcn.08c84de8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x8cab770
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.08c85fb4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.08c84df8
test eax, eax
jle 0x8cab707
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x8cab700
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.08c84808
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.08c847f0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.08c88688
test eax, eax
jne 0x8cab700
mov ebx, 0x15
jmp 0x8cab70c
mov ebx, 0x10
jmp 0x8cab70c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x8cef88c]
call fcn.08cab574
mov eax, dword [ebp - 8]
call fcn.08cab574
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.08c85fcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8cab767
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.08c845a4
lea eax, [ebp - 0x10]
mov edx, dword [0x8c980cc]
call fcn.08c84fdc
ret

Function at 0x8cb178c
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 0x8cb16d8
call sub.user32.dll_EnumWindows
ret

Function at 0x8cb18ac
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 0x8cb1929
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.08cb130c
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 0x8cb18d1
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.08cb0f0c
cmp dword [ebp - 4], 0
je 0x8cb1913
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.08c84a40
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 0x8cb1930
lea eax, [ebp - 4]
call fcn.08c84580
ret