joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ae214
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
lea eax, [ebp - 4]
call fcn.004058f8
xor eax, eax
push ebp
push 0x4ae35c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4ae327
xor eax, eax
push ebp
push 0x4ae320
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405548
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4ae2f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4ae2e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405548
inc eax
push eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00404e54
mov eax, dword [ebp - 0x10]
call fcn.0040508c
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.00402e18
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae2eb
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x6e3790]
mov dl, 1
mov eax, dword [0x408d9c]
call fcn.0040f564
call fcn.00404514
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae363
lea eax, [ebp - 0x10]
call fcn.00404ba0
lea eax, [ebp - 4]
call fcn.004052d8
ret

Function at 0x4b8978
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4b8a01
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x71909c
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4b89eb
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040eb14
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x4b8a18
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x6e5ad4]
mov dl, 1
mov eax, dword [0x4b817c]
call fcn.0040f5a0
call fcn.00404514
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8a08
lea eax, [ebp - 0x1c]
call fcn.00404ba0
ret

Function at 0x4b90b4
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.004b8fd8
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403e78
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x4b9118
call fcn.004b88c0
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x4b910a
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403e78
pop esi
pop ebx
ret
Function at 0x4b913c
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.0040508c
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00403350
test ebx, ebx
je 0x4b9187
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

Function at 0x4b9264
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4b9295
mov ecx, dword [0x6e5164]
mov dl, 1
mov eax, dword [0x4b817c]
call fcn.0040f564
call fcn.00404514
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x4b92c2
mov ecx, dword [0x6e4c04]
mov dl, 1
mov eax, dword [0x4b817c]
call fcn.0040f564
call fcn.00404514
xor eax, eax
push ebp
push 0x4b933e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403e78
cmp byte [ebp + 8], 0
je 0x4b931a
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004b91cc
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.004b90b4
jmp 0x4b9334
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004b8bac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b935b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b953c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004b8e74
xor eax, eax
push ebp
push 0x4b96ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x4b9697
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4b9587
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4b9591
call fcn.004045c0
jmp 0x4b96b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004241c0
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x4b968c
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x4b963f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4b962c
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403e78
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.004b94f4
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4b96c0]
cmp dl, byte [eax + 0x28]
je 0x4b9693
call fcn.0040f47c
jmp 0x4b9693
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004241e0
jmp 0x4b9693
cmp ecx, ebx
jge 0x4b965b
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004241e0
jmp 0x4b9591
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004241c0
cmp edx, dword [esp + 4]
jne 0x4b967b
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4b9591
push ebp
call fcn.004b94f4
pop ecx
jmp 0x4b9693
push ebp
call fcn.004b94f4
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b96b4
mov eax, dword [ebp - 4]
call fcn.004b8e80
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b96c4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b97e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004b8e74
xor eax, eax
push ebp
push 0x4b97c9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4b9714
call fcn.004045c0
jmp 0x4b97d0
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4b97b3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4b97b3
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403e78
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4b97b3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040eb14
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4b9800
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x6e5ad4]
mov dl, 1
mov eax, dword [0x4b817c]
call fcn.0040f5a0
call fcn.00404514
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b97d0
mov eax, dword [ebp - 4]
call fcn.004b8e80
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b97ed
lea eax, [ebp - 0x28]
call fcn.00404ba0
ret
Function at 0x4b984c
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b9996
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004b8e74
xor eax, eax
push ebp
push 0x4b9979
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4b98b1
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4b98b1
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x4b9963
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4b98c4
call fcn.004045c0
jmp 0x4b9980
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4b9963
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4b9963
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403e78
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4b9963
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040eb14
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4b99b0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x6e5ad4]
mov dl, 1
mov eax, dword [0x4b817c]
call fcn.0040f5a0
call fcn.00404514
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9980
mov eax, dword [ebp - 4]
call fcn.004b8e80
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b999d
lea eax, [ebp - 0x28]
call fcn.00404ba0
ret
Function at 0x4c6c2c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00406d28
xor eax, eax
push ebp
push 0x4c6e3c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00406cb4
push eax
mov eax, dword [0x6e5d60]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax]
test eax, eax
jne 0x4c6e03
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0xc]
dec ebx
test ebx, ebx
jl 0x4c6e03
inc ebx
xor esi, esi
lea eax, [ebp - 0x24]
call fcn.00406cb4
push eax
lea eax, [ebp - 0x20]
call fcn.00406cb4
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
cmp dword [ebp - 0x1c], 1
jne 0x4c6dc4
mov eax, 0x804
call fcn.00409bb4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
cmp dword [ebp - 0x18], 0
jbe 0x4c6d4f
push 0x104
lea eax, [ebp - 0x138]
push eax
push 2
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x30]
lea edx, [ebp - 0x138]
mov ecx, 0x104
call fcn.00405488
mov edx, dword [ebp - 0x30]
mov eax, 0x4c6e50
call fcn.00405860
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jle 0x4c6d92
mov eax, dword [ebp - 0x30]
call fcn.00405548
mov ecx, eax
sub ecx, dword [ebp - 0x34]
add ecx, 2
mov edx, dword [ebp - 0x34]
dec edx
lea eax, [ebp - 0x30]
call fcn.00405734
jmp 0x4c6d92
cmp dword [ebp - 0x28], 0
je 0x4c6d85
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x28]
call fcn.00405440
mov edx, dword [ebp - 0x30]
mov eax, 0x4c6e58
call fcn.00405860
test eax, eax
jle 0x4c6d92
lea eax, [ebp - 0x30]
mov ecx, 5
mov edx, 1
call fcn.00405734
jmp 0x4c6d92
lea eax, [ebp - 0x30]
mov edx, 0x4c6e68
call fcn.00405338
mov eax, dword [ebp - 0x30]
call fcn.00405548
add eax, eax
add eax, 2
push eax
mov eax, dword [ebp - 0x30]
call fcn.00405538
mov edx, eax
mov eax, dword [ebp - 0x2c]
add eax, 4
pop ecx
call fcn.004086f8
mov eax, dword [edi + 0x94]
mov edx, dword [ebp - 0x2c]
call fcn.00421030
cmp dword [ebp - 0x28], 0
je 0x4c6dd8
mov eax, dword [ebp - 0x28]
push eax
call sub.ole32.dll_CoTaskMemFree_1
xor eax, eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x20]
call fcn.00406cb4
lea eax, [ebp - 0x24]
call fcn.00406cb4
cmp dword [ebp - 0x10], 0
je 0x4c6dfb
mov eax, dword [ebp - 0x10]
call fcn.004ba260
xor eax, eax
mov dword [ebp - 0x10], eax
inc esi
dec ebx
jne 0x4c6c9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6e43
lea eax, [ebp - 0x30]
call fcn.004052d8
lea eax, [ebp - 0x24]
mov edx, dword [0x4011d4]
mov ecx, 2
call fcn.00405a34
lea eax, [ebp - 8]
call fcn.00406cb4
lea eax, [ebp - 4]
call fcn.00406cb4
ret
Function at 0x4c6e8c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00406d28
xor eax, eax
push ebp
push 0x4c7082
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov esi, eax
dec esi
test esi, esi
jl 0x4c704f
inc esi
xor ebx, ebx
lea eax, [ebp - 0x33]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
cmp byte [ebp - 0x31], 2
jne 0x4c7047
mov eax, 0x804
call fcn.00409bb4
mov dword [ebp - 0x10], eax
push ebx
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00405440
lea eax, [ebp - 0x13c]
lea edx, [ebp - 0x1c]
mov ecx, 4
call fcn.00404e20
mov eax, dword [ebp - 0x13c]
call fcn.004c4f78
mov edi, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edi
test edi, edi
jbe 0x4c6fa2
push 0x104
lea eax, [ebp - 0x137]
push eax
push 2
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x137]
mov ecx, 0x104
call fcn.00405488
mov edx, dword [ebp - 0x18]
mov eax, 0x4c7094
call fcn.00405860
mov edi, eax
test edi, edi
jle 0x4c6fd4
mov eax, dword [ebp - 0x18]
call fcn.00405548
mov ecx, eax
sub ecx, edi
add ecx, 2
mov edx, edi
dec edx
lea eax, [ebp - 0x18]
call fcn.00405734
jmp 0x4c6fd4
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x1c]
mov ecx, 4
call fcn.00404e20
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004c4ea0
mov edx, dword [ebp - 0x140]
lea eax, [ebp - 0x18]
call fcn.004054bc
mov eax, dword [ebp - 0x14]
call fcn.00405548
test eax, eax
jle 0x4c6ffd
push dword [ebp - 0x18]
push 0x4c709c
push dword [ebp - 0x14]
push 0x4c70a8
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.0040561c
mov eax, dword [ebp - 0x18]
call fcn.00405548
add eax, eax
add eax, 2
push eax
mov eax, dword [ebp - 0x18]
call fcn.00405538
mov edx, eax
mov eax, dword [ebp - 0x10]
add eax, 4
pop ecx
call fcn.004086f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp - 0x10]
call fcn.00421030
cmp dword [ebp - 0x30], 0
je 0x4c7044
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x98], edx
inc dword [ebp - 0xc]
inc ebx
dec esi
jne 0x4c6eea
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7089
lea eax, [ebp - 0x144]
mov edx, 3
call fcn.00404bc4
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004052f0
lea eax, [ebp - 8]
call fcn.00406cb4
ret
Function at 0x4c777c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcd8
push ebx
xor ebx, ebx
mov dword [ebp - 0x31c], ebx
mov dword [ebp - 0x320], ebx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x328], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 4]
call fcn.004058f8
lea eax, [ebp - 8]
call fcn.004058f8
lea eax, [ebp - 0xc]
call fcn.004058f8
lea eax, [ebp + 0xc]
call fcn.004058f8
xor eax, eax
push ebp
push 0x4c78ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6e6644]
cmp dword [eax], 2
jne 0x4c7830
mov eax, dword [ebp + 0xc]
call fcn.00405538
push eax
push 0x104
lea eax, [ebp - 0x214]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405538
push eax
mov eax, dword [ebp - 8]
call fcn.00405538
push eax
mov eax, dword [ebp - 4]
call fcn.00405538
push eax
call sub.kernel32.dll_GetPrivateProfileStringW
mov eax, ebx
lea edx, [ebp - 0x214]
mov ecx, 0x104
call fcn.004054a0
jmp 0x4c78bb
lea eax, [ebp - 0x31c]
mov edx, dword [ebp + 0xc]
call fcn.00404e54
mov eax, dword [ebp - 0x31c]
call fcn.0040508c
push eax
push 0x104
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x320]
mov edx, dword [ebp - 0xc]
call fcn.00404e54
mov eax, dword [ebp - 0x320]
call fcn.0040508c
push eax
lea eax, [ebp - 0x324]
mov edx, dword [ebp - 8]
call fcn.00404e54
mov eax, dword [ebp - 0x324]
call fcn.0040508c
push eax
lea eax, [ebp - 0x328]
mov edx, dword [ebp - 4]
call fcn.00404e54
mov eax, dword [ebp - 0x328]
call fcn.0040508c
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov eax, ebx
lea edx, [ebp - 0x318]
mov ecx, 0x104
call fcn.00405488
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c78f5
lea eax, [ebp - 0x328]
mov edx, 4
call fcn.00404bc4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004052f0
lea eax, [ebp + 0xc]
call fcn.004052d8
ret
Function at 0x4c78fc
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004058f8
lea eax, [ebp - 8]
call fcn.004058f8
lea eax, [ebp + 8]
call fcn.004058f8
xor eax, eax
push ebp
push 0x4c79db
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6e6644]
cmp dword [eax], 2
jne 0x4c7967
mov eax, dword [ebp + 8]
call fcn.00405538
push eax
push ebx
mov eax, dword [ebp - 8]
call fcn.00405538
push eax
mov eax, dword [ebp - 4]
call fcn.00405538
push eax
call sub.kernel32.dll_GetPrivateProfileIntW
mov ebx, eax
jmp 0x4c79ab
lea eax, [ebp - 0xc]
mov edx, dword [ebp + 8]
call fcn.00404e54
mov eax, dword [ebp - 0xc]
call fcn.0040508c
push eax
push ebx
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00404e54
mov eax, dword [ebp - 0x10]
call fcn.0040508c
push eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00404e54
mov eax, dword [ebp - 0x14]
call fcn.0040508c
push eax
call sub.kernel32.dll_GetPrivateProfileIntA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c79e2
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404bc4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052f0
lea eax, [ebp + 8]
call fcn.004052d8
ret
Function at 0x4c7d80
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00406d28
xor eax, eax
push ebp
push 0x4c7f4c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 8]
call fcn.00406cb4
push eax
push 0x4c7f5c
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
test eax, eax
jne 0x4c7f1e
lea eax, [ebp - 0xc]
call fcn.00406cb4
push eax
mov eax, dword [0x6e406c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax]
test eax, eax
jne 0x4c7f16
mov eax, 0xc350
call fcn.00409bb4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
push 0xc350
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
test eax, eax
jne 0x4c7f06
mov edi, 0xc34d
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0x68727473
jne 0x4c7eff
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0x73647561
jne 0x4c7eff
mov eax, dword [ebp - 0x14]
cmp word [eax + 0x16], 0
jbe 0x4c7eff
mov bl, 1
mov eax, 0x804
call fcn.00409bb4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x16]
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
push 0x104
lea eax, [ebp - 0x124]
push eax
push 2
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x16]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00405488
mov edx, dword [ebp - 0x1c]
mov eax, 0x4c7f70
call fcn.00405860
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jle 0x4c7ecd
mov eax, dword [ebp - 0x1c]
call fcn.00405548
mov ecx, eax
sub ecx, dword [ebp - 0x20]
add ecx, 2
mov edx, dword [ebp - 0x20]
dec edx
lea eax, [ebp - 0x1c]
call fcn.00405734
mov eax, dword [ebp - 0x1c]
call fcn.00405548
add eax, eax
add eax, 2
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00405538
mov edx, eax
mov eax, dword [ebp - 0x18]
add eax, 4
pop ecx
call fcn.004086f8
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x94]
call fcn.00421030
dec edi
jne 0x4c7e22
mov eax, dword [ebp - 0x10]
call fcn.00402b78
lea eax, [ebp - 0xc]
call fcn.00406cb4
lea eax, [ebp - 8]
call fcn.00406cb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7f53
lea eax, [ebp - 0x1c]
call fcn.004052d8
lea eax, [ebp - 0xc]
call fcn.00406cb4
lea eax, [ebp - 8]
call fcn.00406cb4
lea eax, [ebp - 4]
call fcn.00406cb4
ret