joyce8/EMBER2024-capa huggingface dataset:
Function at 0x502028
Capabilities:
Create process on windows
Schedule task via at

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x502030
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x502223
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x380], eax
mov eax, dword [ebx + 0x153c]
mov edx, 0x502238
call fcn.00404c78
je 0x5021e8
mov dl, 1
mov eax, dword [ebx + 0x36c]
call fcn.00443fa0
lea ecx, [ebp - 4]
mov edx, 0x502248
mov eax, ebx
call fcn.00502914
cmp dword [ebp - 4], 0
je 0x502121
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x300]
call fcn.00479f30
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00408e7c
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 0x502268
call fcn.00404b78
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x304]
call fcn.00479f30
mov eax, dword [ebp - 0x24]
push eax
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00408e7c
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x20]
pop edx
call fcn.00465528
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
mov edx, 0x502278
call fcn.00404b78
push 0x502288
push dword [ebp - 0xc]
push 0x5022b8
push dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 4
call fcn.00404bec
mov eax, dword [ebx + 0x36c]
add eax, 0x1f8
mov edx, dword [ebp - 8]
call fcn.004048c0
mov edx, 0x5022c4
mov eax, ebx
call fcn.004440b0
lea eax, [ebx + 0x153c]
mov edx, 0x502238
call fcn.004048c0
mov edx, 0x5022e4
mov eax, dword [ebx + 0x318]
call fcn.004440b0
xor edx, edx
mov eax, dword [ebx + 0x348]
call fcn.004cf2b8
mov eax, dword [ebx + 0x348]
xor edx, edx
mov dword [eax + 0x84], edx
mov edx, 0x5022f4
call fcn.004cf1c4
xor edx, edx
mov eax, dword [ebx + 0x358]
call fcn.00443fa0
xor edx, edx
mov eax, dword [ebx + 0x300]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov dl, 1
mov eax, dword [ebx + 0x360]
call fcn.004345c8
xor edx, edx
mov eax, dword [ebx + 0x304]
mov ecx, dword [eax]
call dword [ecx + 0x64]
lea ecx, [ebp - 0x14]
mov edx, 0x502318
mov eax, ebx
call fcn.00502914
cmp dword [ebp - 0x14], 0
je 0x5021c7
mov edx, 0x502330
mov eax, ebx
call fcn.00500b44
push 1
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404d2c
push eax
push 0x50233c
mov eax, ebx
call fcn.0044a9cc
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50222a
lea eax, [ebp - 0x28]
call fcn.0040486c
lea eax, [ebp - 0x24]
call fcn.0040486c
lea eax, [ebp - 0x20]
call fcn.0040486c
lea eax, [ebp - 0x1c]
call fcn.0040486c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00404890
ret
Function at 0x406000
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x80cb1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4042d4
call fcn.00406c61
push 4
mov dword [esp + 0x18], 0
call fcn.00407a93
mov edi, eax
add esp, 4
test edi, edi
je 0x406074
push ebx
call fcn.00406b39
mov dword [edi], eax
call fcn.004068f8
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406c22
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406068
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406c4a
pop ebx
jmp 0x406076
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408501
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x810790]
jne 0x40850b
repz ret
jmp fcn.0040ca5c
Function at 0x4118e2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x810790]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b045
and dword [ebp - 0x14], 0
cmp dword [0x812390], 0
mov dword [ebp - 0x18], eax
jne 0x411995
push 0x40379c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411a3d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403790
push ebx
call edi
test eax, eax
je 0x411a3d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403780
push ebx
mov dword [0x812390], eax
call edi
push eax
call esi
push 0x40376c
push ebx
mov dword [0x812394], eax
call edi
push eax
call esi
push 0x403750
push ebx
mov dword [0x812398], eax
call edi
push eax
call esi
mov dword [0x8123a0], eax
test eax, eax
je 0x411995
push 0x403738
push ebx
call edi
push eax
call esi
mov dword [0x81239c], eax
mov eax, dword [0x81239c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4119ee
cmp dword [0x8123a0], ecx
je 0x4119ee
push eax
call esi
push dword [0x8123a0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4119ee
test ebx, ebx
je 0x4119ee
call edi
test eax, eax
je 0x4119e5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4119e5
test byte [ebp - 8], 1
jne 0x4119ee
or dword [ebp + 0x10], 0x200000
jmp 0x411a21
mov eax, dword [0x812394]
cmp eax, dword [ebp - 0x18]
je 0x411a21
push eax
call esi
test eax, eax
je 0x411a21
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411a21
mov eax, dword [0x812398]
cmp eax, dword [ebp - 0x18]
je 0x411a21
push eax
call esi
test eax, eax
je 0x411a21
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x812390]
call esi
test eax, eax
je 0x411a3d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411a3f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408501
leave
ret
Function at 0x80a9c0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x100c
call fcn.004122e0
cmp dword [0xb96124], 0x37
jne 0x80aa5a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
lea eax, [esp + 0x810]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0xb97118]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x817174]
mov byte [ecx + esi], al
add esp, 0x100c
ret
Function at 0x80acf0
Capabilities:
Accept command line arguments
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0xb96124]
sub esp, 0xa8c
push ebx
push ebp
push esi
mov esi, dword [0x817174]
push edi
shr eax, 3
xor edi, edi
cmp eax, edi
jbe 0x80af06
mov dword [esp + 0x30], 0x9e3779b9
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
jmp 0x80ad36
mov esi, dword [esp + 0x24]
xor edi, edi
cmp dword [0xb96124], 0x1c
jne 0x80ad4d
lea eax, [esp + 0x40]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [0x8112d0]
mov ebx, dword [0x8112d8]
mov ebp, dword [0x8112dc]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x8112d4]
mov dword [esp + 0x1c], eax
mov esi, 0xc6ef3720
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], 0x20
jmp 0x80ad96
mov eax, dword [esp + 0x1c]
xor edi, edi
mov edx, eax
shr edx, 5
add edx, ebp
mov ecx, eax
shl ecx, 4
mov dword [esp + 0x20], edx
add ecx, ebx
lea edx, [esi + eax]
xor ecx, edx
mov dword [esp + 0x10], ecx
mov dword [0xb96094], edi
mov eax, dword [esp + 0x20]
add dword [0xb96094], eax
mov eax, dword [0xb96094]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x3c]
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
sub dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
shl edx, 4
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x38]
add dword [esp + 0x10], eax
cmp dword [0xb96124], 0x1be
mov eax, dword [esp + 0x14]
lea edi, [esi + eax]
jne 0x80ae2d
lea eax, [esp + 0x44]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x34]
cmp dword [0xb96124], 0x979
mov dword [0xb96098], 0xff6b3619
mov dword [0xb9609c], 0xffffffff
mov dword [esp + 0x20], eax
jne 0x80ae77
push 0
lea ecx, [esp + 0x29c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
lea edx, [esp + 0x48]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
xor dword [esp + 0x10], edi
mov eax, dword [esp + 0x20]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x30]
add dword [esp + 0x18], eax
sub esi, dword [esp + 0x18]
dec dword [esp + 0x2c]
jne 0x80ad90
cmp dword [0xb96124], 0x8d4
jne 0x80aebb
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [esi], eax
mov dword [esi + 4], ecx
cmp dword [0xb96124], 0x17
jne 0x80aef5
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea edx, [esp + 0x48]
push edx
push 0x403f40
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add esi, 8
dec dword [esp + 0x28]
mov dword [esp + 0x24], esi
jne 0x80ad30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8c
ret
Function at 0x402e30
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004044ac
test esi, esi
jne 0x402e67
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.0040459c
jmp 0x402e88
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402ccc
mov dword [esp], eax
test esi, esi
je 0x402e88
cmp dword [ebx], 0
je 0x402e88
dec esi
jmp 0x402e6f
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403510
Capabilities:
Query or enumerate registry value

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

Function at 0x4042a4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x468048], 0
je 0x404305
cmp word [0x46821c], 0xd7b2
jne 0x4042cd
cmp dword [0x468224], 0
jbe 0x4042cd
mov eax, 0x468218
call dword [0x468234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46606c
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 0x40432c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x466030], 0
jne 0x404321
push 0
push 0x466064
push 0x46606c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404460
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402a58
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x468049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404428
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406274
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 0x4062da
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.0040471c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004030d4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4062c4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4062e1
lea eax, [ebp - 0x10]
call fcn.004044ac
ret

Function at 0x40b994
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 0x40b9cd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040459c
jmp 0x40b9d6
mov eax, ebx
mov edx, esi
call fcn.00404500
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c098
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bf00
mov eax, dword [0x46724c]
cmp byte [eax], 0
je 0x40c114
mov eax, dword [0x46704c]
call fcn.00402f40
call fcn.00402bf8
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.00408f84
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 0x40c15c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c14a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x466ff8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x468664]
call fcn.004056a0
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 0x40c9b8
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 0x40ca8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404544
lea eax, [ebp - 8]
call fcn.004049bc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040496c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ca78
mov eax, ebx
call fcn.00402a58
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ca71
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.0040496c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ca5b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40caa0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ca5b
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 0x40ca78
mov eax, dword [ebp - 0x10]
call fcn.00402a88
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ca95
lea eax, [ebp - 8]
call fcn.004044ac
ret

Function at 0x40d07c
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 0x40d0e0
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.0040471c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408824
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d0e7
lea eax, [ebp - 0xc]
call fcn.004044ac
ret

Function at 0x41b3c4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x468884
cmp dword [edi], 0
jne 0x41b440
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x468880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46646c
mov ecx, 2
call fcn.00402c8c
mov edx, 0x41b39c
lea eax, [esi + 5]
call fcn.0041b3bc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b3bc
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 0x41b415
mov dword [0x468880], 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 0x41c9c4
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 0x41c9ca
ret
Function at 0x41ef9c
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 0x41efed
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41efd4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41efc4
jmp 0x41efed
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 0x41efd5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42eae4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.004030b4
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x46735c]
cmp byte [edx + 0xc], 0
je 0x42eb48
mov edx, dword [0x467350]
cmp dword [edx], 2
jne 0x42eb48
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret

Function at 0x42eb4c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x42ec04
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0042eae4
test al, al
je 0x42ebe6
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.0040459c
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x42ebe6
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040496c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.0040496c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004046a4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x42eb9f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ec0b
lea eax, [ebp - 0x2c]
call fcn.004044ac
lea eax, [ebp - 0xc]
call fcn.004044ac
ret

Function at 0x42ed30
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.0042e864
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.0040496c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x42ed8e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x467174]
mov dl, 1
mov eax, dword [0x42e6f0]
call fcn.0040c258
call fcn.00403e3c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42ed98
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.0040496c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x42edf0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x467368]
mov dl, 1
mov eax, dword [0x42e6f0]
call fcn.0040c258
call fcn.00403e3c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042e894
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 0x43536c
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 0x4352b8
call sub.user32.dll_EnumWindows
ret

Function at 0x43548c
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 0x435509
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00434eec
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 0x4354b1
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00434aec
cmp dword [ebp - 4], 0
je 0x4354f3
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040496c
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 0x435510
lea eax, [ebp - 4]
call fcn.004044ac
ret