joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404568
Capabilities:
Get geographical location

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 0x40468c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4044df
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40468c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4044df
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4046a8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404568
xor eax, eax
push ebp
push 0x404561
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004042a4
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 0x404546
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4046c8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404546
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 0x404568
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 0x404682
cmp byte [ebp - 0xd], 0
jne 0x4045af
cmp byte [ebp - 0x12], 0
je 0x404682
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4045c8
dec ebx
cmp byte [ebx], 0x2e
je 0x4045d7
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4045c7
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404682
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404614
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 0x404682
cmp byte [ebp - 0xd], 0
je 0x404682
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 0x404682
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 0x404818
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 0x40487e
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.00403d58
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c44
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404868
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404885
lea eax, [ebp - 0x10]
call fcn.00403b10
ret

Function at 0x40675c
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 0x406795
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403c00
jmp 0x40679e
mov eax, ebx
mov edx, esi
call fcn.00403b64
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x406e50
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x406cc8
mov eax, dword [0x4093c8]
cmp byte [eax], 0
je 0x406ecc
mov eax, dword [0x409324]
call fcn.004029d0
call fcn.0040262c
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.00405c50
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 0x406f14
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x406f02
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x409304]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x40a660]
call fcn.00404268
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 0x4078c0
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 0x407924
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.00403d58
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00405aac
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40792b
lea eax, [ebp - 0xc]
call fcn.00403b10
ret
Function at 0x4013d8
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x4013ea
mov eax, dword [0x48f08b]
shl eax, 2
mov dword [0x48f08f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.0048498c
pop edx
call fcn.004848f0
call fcn.004849cc
push 0
call fcn.00485dd8
pop ecx
push 0x48f034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x48f093], eax
push 0
jmp fcn.00489c1c
Function at 0x411f84
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
test dl, dl
je 0x411f9c
add esp, 0xfffffff0
call fcn.00441628
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4120ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [eax + 8], edx
mov eax, dword [ebp + 0xc]
shl eax, 3
call fcn.0043177c
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x4120b8
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.0042f82c
xor eax, eax
push ebp
push 0x4120a5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.0042f82c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea eax, [eax + edx*8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x20]
mov dword [edx], eax
mov eax, dword [ebp - 0x20]
add eax, 4
mov edx, dword [ebp - 0x18]
call fcn.004420b0
jmp 0x412071
mov eax, dword [ebp - 0x20]
add eax, 4
mov ecx, 1
mov edx, 1
call fcn.00442380
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
call fcn.004420e8
dec eax
jle 0x41208a
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
cmp byte [eax], 0x5f
je 0x41205c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4120ac
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4120d5
lea eax, [ebp - 0x18]
call fcn.00442554
ret
Function at 0x41b4b8
Capabilities:
Get graphical window text

Disassembly:
or cl, byte [edi]
push esp
push bp
je 0x41b529
insb byte es:[edi], dx
jae 0x41b519
jb 0x41b539
imul ebp, dword [edi + 0x6e], 0x2d909090
and byte [ecx + ebp*2 + 0x62], cl
push ebp
je 0x41b53d
insb byte es:[edi], dx
and byte [esi + 0x65], dl
jb 0x41b54d
imul ebp, dword [edi + 0x6e], 0x302e3520
and byte [0x36424320], ch
and byte [0x706f4320], ch
jns 0x41b561
imul esp, dword [edi + 0x68], 0x43282074
sub dword [eax], esp
xor dword [ecx], edi
cmp dword [eax], edi
sub eax, 0x33303032
and byte [edx + 0x79], ah
and byte [ebp + 0x76], al
outsb dx, byte gs:[si]
jns 0x41b52c
dec ebx
jb 0x41b588
jne 0x41b57c
outsd dx, dword [esi]
jbe sym.Project1.exe__Fe_utils_GetWndClassName_qqrui
sub eax, 0x1c000000
mov ch, 0x41
add byte [esi], al
push es
adc byte [esp + edx*2 + 0x6f], dl
imul esp, dword [ebp + 0x6e], 0x53
jo 0x41b589
jb 0x41b58b
popal
je 0x41b59b
jb 0x41b5a1
push esp
adc ch, ch
inc ebx
add byte [eax - 0x7c1374ab], dl
push ebp
mov ebp, esp
invalid
invalid
clc
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0x3e8
push 0x49688c
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_GetClassNameA
test eax, eax
jle 0x41b56b
mov eax, dword [ebp - 8]
mov edx, 0x49688c
mov ecx, 0x3e9
call fcn.00442098
add eax, dword [eax]
add al, ch
das
imul eax, dword [edx], 0
jmp 0x41b573
mov eax, dword [ebp - 8]
call fcn.00441e30
pop ecx
pop ecx
pop ebp
ret
invalid
add byte [eax - 0x74], ch
push 0x49688c
mov eax, dword [ebp - 4]
push 0x458b0049
cld
push eax
call sub.USER32.DLL_GetWindowTextA
test eax, eax
jle 0x41b5af
mov eax, dword [ebp - 8]
mov edx, 0x49688c
mov ecx, 0x3e9
dec ecx
add byte [ecx + 0x3e9], bh
call fcn.00442098
jmp 0x41b5b7
mov eax, dword [ebp - 8]
call fcn.00441e30
pop ecx
pop ecx
pop ebp
ret

Function at 0x41b578
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0x3e8

Function at 0x42df64
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4aa6ec
cmp dword [edi], 0
jne 0x42dfe0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4aa6e8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x490f4c
mov ecx, 2
call fcn.00440614
mov edx, 0x42df3c
lea eax, [esi + 5]
call fcn.0042df5c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042df5c
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 0x42dfb5
mov dword [0x4aa6e8], 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 0x42f8d4
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 [0x420840]
call fcn.00442908
xor eax, eax
push ebp
push 0x42fa18
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x490f84], 0
jne 0x42f927
mov ecx, dword [0x495350]
mov dl, 1
mov eax, dword [0x430aec]
call fcn.00433f94
call fcn.00441a70
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00440b74
mov eax, ebx
call fcn.004426c0
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x42fa28
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.00443ca0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004426d0
test eax, eax
jle 0x42f9bf
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 0x42f9b8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004420b0
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00442098
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004319e0
test eax, eax
jne 0x42f9b8
mov ebx, 0x15
jmp 0x42f9c4
mov ebx, 0x10
jmp 0x42f9c4
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 [0x490f84]
call fcn.0042f82c
mov eax, dword [ebp - 8]
call fcn.0042f82c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00443cb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fa1f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00441e54
lea eax, [ebp - 0x10]
mov edx, dword [0x420840]
call fcn.004429d8
ret

Function at 0x433720
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 0x433759
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00441f20
jmp 0x433762
mov eax, ebx
mov edx, esi
call fcn.00441e84
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43376c
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
test eax, eax
jle 0x43378d
mov al, byte [esp]
jmp 0x43378f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x433e14
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x433c8c
mov eax, dword [0x495510]
cmp byte [eax], 0
je 0x433e81
mov eax, dword [0x495518]
call fcn.004409f4
call fcn.00440580
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00431f98
push eax
lea eax, [esp + 0x50]
push eax
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 0x433ec8
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x433eb7
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4953c0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4956ec]
call fcn.004436d0
push eax
call sub.USER32.DLL_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.USER32.DLL_MessageBoxA
add esp, 0x444
ret

Function at 0x434a64
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 0x434ac8
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
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00442098
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00431be0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434acf
lea eax, [ebp - 0xc]
call fcn.00441e30
ret

Function at 0x440b94
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4914a0], 0x8088405
inc edx
mov dword [ebx + 0x4914a0], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x441134
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4914a8]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4411cc
push SysFreeString
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4411ac
xor eax, eax
push ebp
push 0x4411a5
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 0x4411e8
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 0x4411ac
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x4914a8]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4914a8], ax
mov esp, ebp
pop ebp
ret
Function at 0x441c94
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4aaa28], 0
je 0x441cf5
cmp word [0x4aabfc], 0xd7b2
jne 0x441cbd
cmp dword [0x4aac04], 0
jbe 0x441cbd
mov eax, 0x4aabf8
call dword [0x4aac14]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
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 0x441d1c
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x4914b8], 0
jne 0x441d11
push 0
push 0x491510
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x4438c4
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 0x443af4
push SysFreeString
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x443947
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x443af4
push SysFreeString
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x443947
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x443b10
push SysFreeString
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4439d0
xor eax, eax
push ebp
push 0x4439c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0044370c
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 0x4439ae
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x443b30
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x4439ae
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 0x4439d0
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 0x443aea
cmp byte [ebp - 0xd], 0
jne 0x443a17
cmp byte [ebp - 0x12], 0
je 0x443aea
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x443a30
dec ebx
cmp byte [ebx], 0x2e
je 0x443a3f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x443a2f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x443aea
inc ebx
cmp byte [ebp - 0x12], 0
je 0x443a7c
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 0x443aea
cmp byte [ebp - 0xd], 0
je 0x443aea
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 0x443aea
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 0x444284
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x4aaf9c], 1
jae 0x44430a
mov byte [0x4914a4], 2
mov dword [0x4aa9ec], 0x48e2f2
mov dword [0x4aa9f0], 0x48e304
mov byte [0x4aaa2a], 2
mov dword [0x4aa9d8], 0x442ef4
call fcn.00441104
test al, al
je 0x4442c7
call fcn.00441134
call fcn.004411f8
mov word [0x4aaa30], 0xd7b0
mov word [0x4aabfc], 0xd7b0
mov word [0x4aadc8], 0xd7b0
call fcn.00442dc4
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x4aaa1c], eax
call fcn.0043f04c
mov dword [0x4aaa18], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x4aaa10], eax
ret

Function at 0x444d20
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 0x444c6c
call sub.USER32.DLL_EnumWindows
ret

Function at 0x444e44
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 0x444ec1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00444890
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 0x444e69
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004444e8
cmp dword [ebp - 4], 0
je 0x444eab
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004422e0
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 0x444ec8
lea eax, [ebp - 4]
call fcn.00441e30
ret

Function at 0x45272c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00441e30
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45277b
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00442098
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x458e40
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 0x458e46
ret

Function at 0x45b418
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 0x45b469
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x45b450
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x45b440
jmp 0x45b469
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 0x45b451
pop ebx
mov esp, ebp
pop ebp
ret