joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455df5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x455f0d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x455f0d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004711f7
mov esi, eax
test esi, esi
je 0x455f0d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x455f0d
mov ecx, esi
call fcn.00455d60
cmp edi, eax
jge 0x455f0d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x455e93
mov dword [esp + 0x34], 1
jmp 0x455eee
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x455f0d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00455320
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x457d36
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x457d36
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x457d17
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4580c0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4580f8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x458d80
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x458dc9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x459240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47e280
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00458df0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00458e70
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00458e70
lea ecx, [esi + 0xc]
call fcn.0046f758
lea ecx, [esi + 0x10]
call fcn.0046f758
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0045a400
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0045a400
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0045a400
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0046f7cd
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0046f7cd
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x471b9b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x471bd3
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046fc28
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046fc00
jmp 0x471bdf
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47328e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4732d0
call fcn.00479001
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4732d0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4732c7
xor eax, eax
jmp 0x4732d8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004732de
pop edi
pop esi
pop ebx
ret 4

Function at 0x479531
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47955f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47957d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00479497
jmp 0x47957d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47957d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00479497
test edi, edi
mov eax, edi
jne 0x479567
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov esi, esp
push 0x40
push 0x1000
mov eax, dword [ebp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.0040ac20
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40107a
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0040a8b0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov esi, esp
call dword [ebp - 8]
cmp esi, esp
call fcn.0040ac20
mov esi, esp
push 0x8000
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
cmp esi, esp
call fcn.0040ac20
pop esi
add esp, 8
cmp ebp, esp
call fcn.0040ac20
mov esp, ebp
pop ebp
ret
Function at 0x410bf0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44474c]
jne 0x410bfa
repz ret
jmp fcn.00421300
Function at 0x402768
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00403740
test esi, esi
jne 0x40279e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00403830
jmp 0x4027bc
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040267c
mov edi, eax
test esi, esi
je 0x4027bc
cmp dword [ebx], 0
je 0x4027bc
dec esi
jmp 0x4027a5
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402c80
Capabilities:
Query or enumerate registry value

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

Function at 0x4035c4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40a044], 0
je 0x403625
cmp word [0x40a218], 0xd7b2
jne 0x4035ed
cmp dword [0x40a220], 0
jbe 0x4035ed
mov eax, 0x40a214
call dword [0x40a230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x40905c
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 0x40364c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x409020], 0
jne 0x403641
push 0
push 0x409054
push 0x40905c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x403fd8
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 0x404208
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40405b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404208
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40405b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404224
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4040e4
xor eax, eax
push ebp
push 0x4040dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00403e20
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 0x4040c2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404244
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4040c2
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 0x4040e4
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 0x4041fe
cmp byte [ebp - 0xd], 0
jne 0x40412b
cmp byte [ebp - 0x12], 0
je 0x4041fe
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404144
dec ebx
cmp byte [ebx], 0x2e
je 0x404153
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404143
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4041fe
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404190
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 0x4041fe
cmp byte [ebp - 0xd], 0
je 0x4041fe
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 0x4041fe
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 0x4040e4
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 0x404208
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40405b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404208
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40405b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404224
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4040e4
xor eax, eax
push ebp
push 0x4040dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00403e20
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 0x4040c2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404244
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4040c2
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 0x4040e4
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 0x4041fe
cmp byte [ebp - 0xd], 0
jne 0x40412b
cmp byte [ebp - 0x12], 0
je 0x4041fe
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404144
dec ebx
cmp byte [ebx], 0x2e
je 0x404153
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404143
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4041fe
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404190
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 0x4041fe
cmp byte [ebp - 0xd], 0
je 0x4041fe
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 0x4041fe
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 0x404394
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 0x4043fa
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.00403988
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402874
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4043e4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404401
lea eax, [ebp - 0x10]
call fcn.00403740
ret

Function at 0x406254
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 0x40628d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403830
jmp 0x406296
mov eax, ebx
mov edx, esi
call fcn.00403794
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x406948
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x4067c0
mov eax, dword [0x4093a4]
cmp byte [eax], 0
je 0x4069c4
mov eax, dword [0x409300]
call fcn.00402810
call fcn.004025ec
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.00405748
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 0x406a0c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4069fa
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4092e0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x40a660]
call fcn.00403de4
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 0x4073b8
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 0x40741c
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.00403988
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004055e8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407423
lea eax, [ebp - 0xc]
call fcn.00403740
ret

Function at 0x407eec
Capabilities:
Create process on windows
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
xor edx, edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403b00
xor eax, eax
push ebp
push 0x408014
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004039b4
mov ebx, eax
test ebx, ebx
je 0x407fee
mov eax, dword [ebp - 4]
cmp byte [eax + ebx - 1], 0x5c
je 0x407f4c
lea eax, [ebp - 4]
mov edx, 0x408028
call fcn.004039bc
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x148]
mov ecx, 0x408034
mov edx, dword [ebp - 4]
call fcn.00403a00
mov eax, dword [ebp - 0x148]
call fcn.00403b10
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x407fee
push 5
push 0
push 0x408044
push dword [ebp - 4]
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x118]
mov ecx, 0x104
call fcn.00403988
push dword [ebp - 0x150]
lea eax, [ebp - 0x14c]
mov edx, 3
call fcn.00403a74
mov eax, dword [ebp - 0x14c]
call fcn.00403b10
push eax
push 0x408048
push 0x408054
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
lea eax, [ebp - 0x144]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x407f7e
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40801b
lea eax, [ebp - 0x150]
mov edx, 3
call fcn.00403764
lea eax, [ebp - 4]
call fcn.00403740
ret
Function at 0x40805c
Capabilities:
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403b00
xor eax, eax
push ebp
push 0x4081a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x3e8
call fcn.004024f8
mov edi, eax
lea eax, [ebp - 8]
mov ecx, 0x4081c0
mov edx, dword [0x40a79c]
call fcn.00403a00
mov eax, dword [ebp - 8]
call fcn.00403b10
push eax
push 0x3e8
push edi
push 0
push 0
push 0x4081d0
call sub.kernel32.dll_GetPrivateProfileStringA
test eax, eax
je 0x408185
mov ebx, edi
jmp 0x40817c
mov eax, 0x104
call fcn.004024f8
mov esi, eax
lea eax, [ebp - 0xc]
mov ecx, 0x4081c0
mov edx, dword [0x40a79c]
call fcn.00403a00
mov eax, dword [ebp - 0xc]
call fcn.00403b10
push eax
push 0x104
push esi
push 0
push ebx
push 0x4081d0
call sub.kernel32.dll_GetPrivateProfileStringA
push 5
lea eax, [ebp - 0x18]
mov edx, ebx
call fcn.0040391c
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00403a00
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00405668
mov eax, dword [ebp - 0x10]
call fcn.00403b10
push eax
push esi
lea eax, [ebp - 0x20]
mov edx, ebx
call fcn.0040391c
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call fcn.00403a00
mov eax, dword [ebp - 0x1c]
call fcn.00403b10
push eax
push 0x4081d8
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, esi
call fcn.00402518
mov eax, ebx
call fcn.00405748
inc eax
add ebx, eax
cmp byte [ebx], 0
jne 0x4080d0
mov eax, edi
call fcn.00402518
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4081ae
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.00403764
ret

Function at 0x4081e0
Capabilities:
Set registry value

Disassembly:
add esp, 0xfffffff8
mov dword [esp], eax
lea eax, [esp + 4]
push eax
push 0x20006
push 0
push 0x408278
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
cmp dword [esp + 4], 0
je 0x408272
push 4
lea eax, [esp + 4]
push eax
push 4
push 0
push 0x4082b4
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
lea eax, [esp + 4]
push eax
push 0x20006
push 0
push 0x408278
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
cmp dword [esp + 4], 0
je 0x408272
push 4
lea eax, [esp + 4]
push eax
push 4
push 0
push 0x4082b4
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
pop ecx
pop edx
ret
Function at 0x408348
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov eax, 0x408300
call fcn.004045f4
xor eax, eax
push ebp
push 0x4083fb
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00402768
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00405668
mov edx, dword [ebp - 0x14]
mov eax, 0x40a79c
call fcn.00403794
lea eax, [ebp - 0x1c]
mov ecx, 0x408410
mov edx, dword [0x40a79c]
call fcn.00403a00
mov eax, dword [ebp - 0x1c]
call fcn.00403b10
push eax
push 0
push 0x408420
push 0x408428
call sub.kernel32.dll_GetPrivateProfileIntA
cmp eax, 1
jne 0x4083d6
xor eax, eax
call fcn.004081e0
mov eax, dword [0x40a79c]
call fcn.00407eec
mov eax, dword [0x40a79c]
call fcn.0040805c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408402
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00403764
ret