joyce8/EMBER2024-capa huggingface dataset:
Function at 0x690e40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x70]
mov dword [ebp - 4], eax
call fcn.00409400
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x70], 0
mov eax, 1
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x50]
call fcn.0040e950
call fcn.00410630
push eax
test eax, eax
jne 0x690eca
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.00434cb0
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x44]
call fcn.0040bdb0
lea eax, [ebp - 0x40]
mov cl, 0
mov edx, 0x3c
call fcn.00403ae0
mov dword [ebp - 0x40], 0x3c
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x690eaf
mov eax, 0x8e12e0
mov dword [ebp - 0x30], eax
mov eax, 0x89b83c
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], 0xc
lea eax, [ebp - 0x40]
push eax
call sub.shell32.dll_ShellExecuteExW
call fcn.0040ebd0
lea eax, [ebp - 0x70]
call fcn.0040bbc0
lea eax, [ebp - 0x44]
call fcn.0040ad40
lea eax, [ebp - 4]
call fcn.00404190
pop eax
test eax, eax
je 0x690ef1
call fcn.0040ed00
leave
ret

Function at 0x692ab0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc8]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov eax, 1
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0xa0]
call fcn.0040e950
call fcn.00410630
push eax
test eax, eax
jne 0x692c1d
mov eax, dword [ebp - 4]
test dword [eax + 0x28], 0x10
jne 0x692c1d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x528]
call fcn.005490c0
lea eax, [ebp - 0x8c]
push eax
push 0x81
call sub.kernel32.dll_GetLogicalDriveStringsA
mov dword [ebp - 8], eax
test eax, eax
je 0x692c1d
cmp dword [ebp - 8], 0x81
ja 0x692c1d
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x90], eax
jmp 0x692c0e
push dword [ebp - 0x90]
lea ecx, [ebp - 0xc4]
mov eax, dword [ebp - 0x90]
mov dx, 0
call fcn.00409d50
mov eax, dword [ebp - 0xc4]
lea edx, [ebp - 0xc0]
call fcn.0044db70
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x528]
mov edx, 0
call fcn.005492a0
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0xc8]
mov eax, dword [ebp - 0x90]
mov dx, 0
call fcn.00409d50
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc4]
call fcn.0044db70
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x94]
add eax, 0x74
call fcn.00409430
mov eax, dword [ebp - 0x94]
mov dword [eax + 0x70], 0x16
mov edx, 0
mov eax, dword [ebp - 0x94]
call fcn.00691870
mov eax, dword [ebp - 0x94]
mov dl, 1
call fcn.00547290
add dword [ebp - 0x90], 4
mov eax, dword [ebp - 0x90]
cmp byte [eax], 0
jne 0x692b58
call fcn.0040ebd0
lea eax, [ebp - 0xc8]
call fcn.00404190
lea eax, [ebp - 0xc4]
call fcn.00404190
lea eax, [ebp - 0xc0]
call fcn.00404190
pop eax
test eax, eax
je 0x692c4d
call fcn.0040ed00
leave
ret
Function at 0x69bc00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 4]
push ebx
push esi
mov ebx, eax
mov esi, dword [ebp + 8]
test edx, edx
jne 0x69bc17
mov edx, 0x8e12e0
lea eax, [ebp + 0xc]
push eax
push ecx
lea eax, [ebp - 4]
push eax
push 0
push edx
push dword [ebx + 0x14]
call sub.advapi32.dll_RegQueryValueExA
mov dword [ebx + 4], eax
test eax, eax
je 0x69bc39
mov eax, 0xffffffff
jmp 0x69bc7a
cmp dword [ebp - 4], 1
jne 0x69bc47
mov dword [esi], 1
jmp 0x69bc77
cmp dword [ebp - 4], 2
jne 0x69bc55
mov dword [esi], 2
jmp 0x69bc77
cmp dword [ebp - 4], 4
jne 0x69bc63
mov dword [esi], 4
jmp 0x69bc77
cmp dword [ebp - 4], 3
jne 0x69bc71
mov dword [esi], 3
jmp 0x69bc77
mov dword [esi], 0
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
leave
ret 8

Function at 0x69bfd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test eax, eax
je 0x69bff7
sub eax, 1
je 0x69bffe
sub eax, 1
je 0x69c005
sub eax, 1
je 0x69c013
sub eax, 1
je 0x69c00c
jmp 0x69c018
mov eax, 0
jmp 0x69c018
mov eax, 1
jmp 0x69c018
mov eax, 2
jmp 0x69c018
mov eax, 4
jmp 0x69c018
mov eax, 3
test edx, edx
jne 0x69c021
mov edx, 0x8e12e0
push esi
push ecx
push eax
push 0
push edx
push dword [ebx + 0x14]
call sub.advapi32.dll_RegSetValueExA
mov dword [ebx + 4], eax
test eax, eax
sete al
pop esi
pop ebx
leave
ret 8
Function at 0x6a1e50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc0]
push ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov eax, 1
lea edx, [ebp - 0xb4]
lea ecx, [ebp - 0x9c]
call fcn.0040e950
call fcn.00410630
push eax
test eax, eax
jne 0x6a1fb9
mov eax, dword [ebp - 4]
test dword [eax + 0x28], 0x10
jne 0x6a1fb9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x528]
call fcn.005490c0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x554]
mov ecx, str.Desktop
mov eax, ebp
call fcn.006a1ff0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x55c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x558]
mov eax, ebp
call fcn.006a1ff0
lea eax, [ebp - 0x8c]
push eax
push 0x81
call sub.kernel32.dll_GetLogicalDriveStringsA
test eax, eax
je 0x6a1fb9
cmp eax, 0x81
ja 0x6a1fb9
lea ebx, [ebp - 0x8c]
jmp 0x6a1fb0
push ebx
lea ecx, [ebp - 0xc0]
mov eax, ebx
mov dx, 0
call fcn.00409d50
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0xbc]
call fcn.0044db70
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x528]
mov edx, 0
call fcn.005492a0
mov dword [ebp - 8], eax
mov dl, 1
call fcn.00547290
mov eax, dword [ebp - 4]
cmp byte [eax + 0x550], 0
je 0x6a1fad
lea ecx, [ebp - 0xbc]
mov eax, ebx
mov dx, 0
call fcn.00409d50
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x548]
call fcn.006a4590
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 8]
call fcn.00546930
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 8]
call fcn.00546970
add ebx, 4
cmp byte [ebx], 0
jne 0x6a1f14
call fcn.0040ebd0
lea eax, [ebp - 0xc0]
call fcn.00404190
lea eax, [ebp - 0xbc]
call fcn.00404190
pop eax
test eax, eax
je 0x6a1fde
call fcn.0040ed00
pop ebx
leave
ret
Function at 0x6a4f40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x134]
push ebx
push esi
mov ebx, eax
mov esi, edx
mov dword [ebp - 0x134], 0
mov eax, 1
lea edx, [ebp - 0x12c]
lea ecx, [ebp - 0x114]
call fcn.0040e950
call fcn.00410630
push eax
test eax, eax
jne 0x6a4feb
mov eax, esi
mov edx, 0
call fcn.00409430
mov eax, 0
test ebx, ebx
jne 0x6a4f98
mov eax, 0x10
cmp ebx, 1
jne 0x6a4fa2
mov eax, 0x28
cmp ebx, 2
jne 0x6a4fac
mov eax, 0x3d
test eax, eax
je 0x6a4feb
push 0
push eax
lea eax, [ebp - 0x108]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
push 1
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x108]
mov cx, 0
mov edx, 0x104
call fcn.00409df0
mov edx, dword [ebp - 0x134]
mov eax, esi
call fcn.00409430
call fcn.0040ebd0
lea eax, [ebp - 0x134]
call fcn.00404190
pop eax
test eax, eax
je 0x6a5005
call fcn.0040ed00
pop esi
pop ebx
leave
ret
Function at 0x701cb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x20]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov esi, ecx
mov eax, edx
sar eax, 0x1f
push eax
push edx
mov eax, dword [ebp - 4]
mov eax, dword [eax - 0x10]
mov edx, dword [ebp - 4]
mov edx, dword [edx - 0x10]
mov edx, dword [edx]
call dword [edx + 0x6c]
mov eax, dword [ebp - 4]
mov eax, dword [eax - 0x10]
lea edx, [ebp - 8]
mov ecx, 4
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx - 0x10]
mov ebx, dword [ebx]
call dword [ebx + pe_nt_image_headers32]
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xa], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], esi
mov edx, 0
sub edx, 1
nop
add edx, 1
mov cl, byte [ebp - 0x18]
mov ebx, dword [ebp - 0x10]
mov al, byte [ebp + ebx - 8]
and eax, 0xff
and ecx, 0xff
shr eax, cl
and eax, 1
cmp eax, 1
sete al
mov byte [ebp - 0x1c], al
mov cl, byte [ebp - 0x20]
mov eax, dword [ebp - 0x14]
lea ebx, [ebp + eax - 0xc]
movzx eax, cl
mov esi, eax
mov eax, 1
mov ecx, esi
shl eax, cl
mov ecx, eax
xor ecx, 0xff
movzx eax, byte [ebx]
mov edi, eax
and edi, ecx
movzx eax, byte [ebp - 0x1c]
mov ecx, esi
shl eax, cl
or eax, edi
mov byte [ebx], al
add dword [ebp - 0x20], 1
add dword [ebp - 0x18], 1
cmp dword [ebp - 0x20], 8
jne 0x701d92
add dword [ebp - 0x14], 1
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x18], 8
jne 0x701da3
add dword [ebp - 0x10], 1
mov dword [ebp - 0x18], 0
cmp edx, 0xd
jl 0x701d20
movzx eax, byte [ebp - 0xb]
shl eax, 8
movzx edx, byte [ebp - 0xc]
or edx, eax
movzx eax, byte [ebp - 0xa]
shl eax, 0x10
or eax, edx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x744a60
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x6c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x50], 0
mov eax, 1
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x24]
call fcn.0040e950
call fcn.00410630
push eax
test eax, eax
jne 0x744bf0
mov byte [ebp - 0x10], 0
cmp dword [ebp - 4], 0
je 0x744bf0
cmp dword [ebp - 8], 0
je 0x744bf0
push 0
mov eax, 0x8d9a30
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x48], eax
mov eax, 0x8d9a30
mov dword [ebp - 0x44], eax
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x18]
mov ecx, 2
call fcn.004097a0
cmp dword [ebp - 0xc], 0
je 0x744b0c
push 0
lea eax, [ebp - 0x50]
call fcn.00404190
push 0
mov ecx, dword [ebp - 0xc]
mov edx, 0x8d9a40
lea eax, [ebp - 0x50]
call fcn.00409530
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x18]
call fcn.00409530
mov eax, 0x8a0d4c
mov edx, 1
call fcn.0069c080
mov dword [ebp - 0x14], eax
mov eax, 1
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x4c]
call fcn.0040e950
call fcn.00410630
push eax
test eax, eax
jne 0x744bd9
cmp byte [ebp + 0xc], 0
je 0x744b51
mov eax, dword [ebp - 0x14]
mov edx, 0x80000002
call fcn.0069c040
jmp 0x744b5e
mov eax, dword [ebp - 0x14]
mov edx, 0x80000001
call fcn.0069c040
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov eax, dword [ebp - 0x14]
mov cl, 0
call fcn.0069be10
test al, al
je 0x744bd9
cmp byte [ebp + 8], 0
je 0x744ba4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.0069bf60
test al, al
je 0x744b91
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.0069bbe0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.0069bf60
test al, al
sete byte [ebp - 0x10]
jmp 0x744bd1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.0069c4f0
lea ecx, [ebp - 0x50]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.0069c410
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x18]
call fcn.0040a0a0
test eax, eax
sete byte [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.0069bf70
call fcn.0040ebd0
mov eax, dword [ebp - 0x14]
call fcn.0040de00
pop eax
test eax, eax
je 0x744bf0
call fcn.0040ed00
call fcn.0040ebd0
lea eax, [ebp - 0x50]
call fcn.00404190
lea eax, [ebp - 0x18]
call fcn.00404190
pop eax
test eax, eax
je 0x744c0f
call fcn.0040ed00
mov al, byte [ebp - 0x10]
leave
ret 8
Function at 0x744c20
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x7c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov byte [ebp - 0xc], cl
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov eax, 1
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x24]
call fcn.0040e950
call fcn.00410630
push eax
test eax, eax
jne 0x744dd9
mov byte [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov edx, 0
call fcn.00409430
cmp dword [ebp - 4], 0
je 0x744dd9
cmp dword [ebp - 8], 0
je 0x744dd9
mov eax, 0x8a0d4c
mov edx, 1
call fcn.0069c080
mov dword [ebp - 0x14], eax
mov eax, 1
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x4c]
call fcn.0040e950
call fcn.00410630
push eax
test eax, eax
jne 0x744dc2
cmp byte [ebp - 0xc], 0
je 0x744cd6
mov eax, dword [ebp - 0x14]
mov edx, 0x80000002
call fcn.0069c040
jmp 0x744ce3
mov eax, dword [ebp - 0x14]
mov edx, 0x80000001
call fcn.0069c040
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov eax, dword [ebp - 0x14]
mov cl, 0
call fcn.0069be10
test al, al
je 0x744dc2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.0069bf60
test al, al
je 0x744dba
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.0069c410
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.0040a480
test eax, eax
jle 0x744dba
mov byte [ebp - 0x10], 1
push 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x70]
call fcn.00404190
push 0
mov eax, 0x8d9a30
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x78], eax
mov eax, 0x8d9a30
mov dword [ebp - 0x74], eax
lea edx, [ebp - 0x7c]
lea eax, [ebp - 0x70]
mov ecx, 2
call fcn.004097a0
mov edx, dword [ebp - 0x70]
mov ecx, 0
mov eax, dword [ebp - 0x18]
call fcn.00453410
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x18]
call fcn.00409430
push 0
lea eax, [ebp - 0x70]
push eax
mov ecx, 0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
call fcn.00453410
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x18]
call fcn.00409430
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x18]
call fcn.0044e490
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp + 8]
call fcn.00409430
mov eax, dword [ebp - 0x14]
call fcn.0069bf70
call fcn.0040ebd0
mov eax, dword [ebp - 0x14]
call fcn.0040de00
pop eax
test eax, eax
je 0x744dd9
call fcn.0040ed00
call fcn.0040ebd0
lea eax, [ebp - 0x70]
call fcn.00404190
lea eax, [ebp - 0x6c]
call fcn.00404190
lea eax, [ebp - 0x18]
call fcn.00404190
pop eax
test eax, eax
je 0x744e00
call fcn.0040ed00
mov al, byte [ebp - 0x10]
leave
ret 4
Function at 0x744e10
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 8]
push ebx
push esi
mov ebx, 0
push 0
mov eax, str.Shell_TrayWnd
push eax
call sub.user32.dll_FindWindowA
test eax, eax
je 0x744e6b
lea edx, [ebp - 4]
push edx
push eax
call sub.user32.dll_GetWindowThreadProcessId
test eax, eax
je 0x744e6b
push dword [ebp - 4]
push 0
push 0x400
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x744e6b
lea eax, [ebp - 8]
push eax
push 8
push esi
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x744e65
mov ebx, dword [ebp - 8]
push esi
call sub.kernel32.dll_CloseHandle
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x746210
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x6c]
push ebx
mov ebx, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x6c], 0
mov eax, 1
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x4c]
call fcn.0040e950
call fcn.00410630
push eax
test eax, eax
jne 0x7462d6
mov edx, ebx
lea eax, [ebp - 0x40]
call fcn.00409430
lea eax, [ebp - 0x3c]
mov cl, 0
mov edx, 0x3c
call fcn.00403ae0
mov dword [ebp - 0x3c], 0x3c
mov eax, dword [0x7542b0]
mov eax, dword [eax + 0x168]
call fcn.00501c90
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0x500
mov eax, str.runas
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x6c]
mov eax, 0
call fcn.00414780
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x7462a1
mov eax, 0x8e12e0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x7462b0
mov eax, 0x8e12e0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 1
lea eax, [ebp - 0x3c]
push eax
call sub.shell32.dll_ShellExecuteExA
mov eax, dword [0x7542b0]
mov edx, dword [0x7542b0]
mov edx, dword [edx]
call dword [edx + 0xfc]
call fcn.0040ebd0
lea eax, [ebp - 0x6c]
call fcn.00404190
lea eax, [ebp - 0x40]
call fcn.00404190
pop eax
test eax, eax
je 0x7462f5
call fcn.0040ed00
pop ebx
leave
ret
Function at 0x74cea0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push edx
push eax
call sub.ws2_32.dll_connect
leave
ret
Function at 0x403015
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x403024
pop dword [ebp - 0x50]
mov eax, 0xec8e92f8
sub eax, 0xec4e62d4
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x3242a73b
sub dword [ebp - 0x60], 0xe3f061f0
mov dword [ebp - 0x5c], 0x73ed6f91
add dword [ebp - 0x5c], 0xbe45dcb4
mov dword [ebp - 0x58], 0x676f40a
add dword [ebp - 0x58], 0x45d55024
mov dword [ebp - 0x54], 0x9d822fa9
sub dword [ebp - 0x54], 0x9d822fa9
lea eax, [ebp - 0x60]
push eax
mov eax, 0x45533d07
add eax, 0xbaed4371
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x252ec549
sub dword [ebp - 0x60], 0xb0bc5bf3
mov dword [ebp - 0x5c], 0xcd1ce898
sub dword [ebp - 0x5c], 0x8bb08723
mov dword [ebp - 0x58], 0xb81dec48
add dword [ebp - 0x58], 0xab518024
mov dword [ebp - 0x54], 0x39703680
add dword [ebp - 0x54], 0xc68fc980
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0xfd45c53f
add eax, 0x2fabb3d
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3a0d4
push 0
call eax
mov ecx, 0x540e
xor edi, edi
add edi, eax
mov esi, 0xed2549c3
add esi, 0x131fca3d
add esi, dword [ebp - 0x50]
mov ebx, 0xbe3d5a84
sub dword [ebp - 0x20], ebx
mov edx, dword [esi]
xor dword [ebp - 0x30], 0x43c69460
xor edx, ebx
add dword [ebp - 0x20], 0x39ed58e5
mov dword [edi], edx
add dword [ebp - 0x24], ebx
add edi, 0xa96009bf
sub edi, 0xa96009bb
add esi, 0x9a96cf88
sub esi, 0x9a96cf84
loop 0x40313c
add eax, 0x1430b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x47ba73ab
add ecx, 0xb8858c55
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x402dec
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004043e4
test esi, esi
jne 0x402e23
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.004044d4
jmp 0x402e44
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402c88
mov dword [esp], eax
test esi, esi
je 0x402e44
cmp dword [ebx], 0
je 0x402e44
dec esi
jmp 0x402e2b
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x4034cc
Capabilities:
Query or enumerate registry value

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

Function at 0x404260
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45a048], 0
je 0x4042c1
cmp word [0x45a21c], 0xd7b2
jne 0x404289
cmp dword [0x45a224], 0
jbe 0x404289
mov eax, 0x45a218
call dword [0x45a234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45806c
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 0x4042e8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x458030], 0
jne 0x4042dd
push 0
push 0x458064
push 0x45806c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406064
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 0x4060ca
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.00404654
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403090
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4060b4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4060d1
lea eax, [ebp - 0x10]
call fcn.004043e4
ret

Function at 0x40b424
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 0x40b45d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004044d4
jmp 0x40b466
mov eax, ebx
mov edx, esi
call fcn.00404438
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40bb28
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b990
mov eax, dword [0x45911c]
cmp byte [eax], 0
je 0x40bba4
mov eax, dword [0x458f34]
call fcn.00402efc
call fcn.00402bb4
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.00408ad8
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 0x40bbec
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bbda
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x458ee0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45a664]
call fcn.004054d0
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