joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002f030
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x30], 2
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
jne 0x1002f059
jmp 0x1002f204
cmp dword [ebp + 0xc], 0x6400000
jbe 0x1002f06c
jmp 0x1002f204
push 0x14
push 0
lea ecx, [ebp - 0x14]
push ecx
call fcn.10041d70
add esp, 0xc
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x24]
push edx
push 4
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x1002f0f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1002f0f2
jmp 0x1002f204
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1c]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x1002f115
jmp 0x1002f204
push 0
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x1002f13a
cmp dword [ebp - 0x24], 4
je 0x1002f144
jmp 0x1002f204
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x1002f194
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1002f194
jmp 0x1002f204
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x1002f1b1
jmp 0x1002f204
push 0
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x1002f1d6
cmp dword [ebp - 0x24], 0
jne 0x1002f1da
jmp 0x1002f204
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x34]
cmp eax, dword [ebp + 0xc]
jne 0x1002f1e7
jmp 0x1002f1fd
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x34], ecx
mov edx, 1
test edx, edx
jne 0x1002f14b
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret 8
Function at 0x1002fa50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
push 0x10078200
push 0x10078210
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 4]
push eax
call fcn.1002f950
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.100015e0
movzx ecx, al
test ecx, ecx
jne 0x1002fa99
lea ecx, [ebp - 4]
call fcn.10025f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
lea ecx, [ebp - 4]
call fcn.100016d0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x1002fab0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
push 0x10078250
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 4]
push eax
call fcn.1002f950
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.100015e0
movzx ecx, al
test ecx, ecx
jne 0x1002faf9
lea ecx, [ebp - 4]
call fcn.10025f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
lea ecx, [ebp - 4]
call fcn.100016d0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x10030890
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa8], 0
push 0x98
push 0
lea eax, [ebp - 0xa4]
push eax
call fcn.10041d70
add esp, 0xc
mov dword [ebp - 0xac], 0
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov dword [ebp - 0xa8], 0x9c
mov dword [ebp - 0xa4], 5
lea edx, [ebp - 0xa8]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xa4], 6
jae 0x1003091f
mov eax, dword [ebp + 8]
push eax
call fcn.10030c20
add esp, 4
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
je 0x1003091d
jmp 0x10030931
jmp 0x10030931
mov ecx, dword [ebp + 8]
push ecx
call fcn.10030cf0
add esp, 4
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret

Function at 0x10030c20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x10030c41
or eax, 0xffffffff
jmp 0x10030cdd
mov dword [ebp - 0xa0], 0
push 0x90
push 0
lea eax, [ebp - 0x9c]
push eax
call fcn.10041d70
add esp, 0xc
mov dword [ebp - 0xa0], 0x94
mov byte [ebp - 1], 0
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10030c96
cmp dword [ebp - 0x9c], 5
jne 0x10030c96
cmp dword [ebp - 0x98], 0
jne 0x10030c96
mov byte [ebp - 1], 1
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x10030cd1
mov eax, dword [ebp + 8]
push eax
call fcn.10030d70
add esp, 4
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
je 0x10030cc7
mov ecx, dword [ebp + 8]
push ecx
call fcn.10030df0
add esp, 4
jmp 0x10030cdd
mov eax, dword [ebp - 0xa4]
jmp 0x10030cdd
mov edx, dword [ebp + 8]
push edx
call fcn.10030df0
add esp, 4
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret
Function at 0x10030df0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x10030e20
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10030f22
mov dword [ebp - 8], 0
mov dword [ebp - 0x144], 0x490
mov dword [ebp - 0x140], 0
push 0x124
push 0
lea eax, [ebp - 0x13c]
push eax
call fcn.10041d70
add esp, 0xc
mov dword [ebp - 0x140], 0x128
lea ecx, [ebp - 0x140]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10030eb2
push 0x100787d8
lea eax, [ebp - 0x11c]
push eax
call fcn.100470e1
add esp, 8
test eax, eax
jne 0x10030e9c
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x144], 0
jmp 0x10030eb0
lea edx, [ebp - 0x140]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10030e6f
jmp 0x10030ebe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 8]
push edx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10030eea
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10030f22
mov eax, dword [ebp + 8]
push eax
push 0xf01ff
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10030f12
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x144], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret
Function at 0x10031700
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 8], 0
je 0x10031712
cmp dword [ebp + 0xc], 0
jne 0x10031719
xor eax, eax
jmp 0x100317f2
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100317c7
cmp dword [ebp - 4], 0
je 0x1003177e
mov eax, dword [ebp - 4]
push eax
call fcn.10044f39
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x10031797
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.10044f39
add esp, 4
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x100317a4
jmp 0x100317c7
mov edx, dword [ebp - 0xc]
push edx
call fcn.10045188
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
call fcn.10045188
add esp, 4
mov dword [ebp - 0x18], eax
jmp 0x1003173c
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.10044f39
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x100317e1
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov dword [edx], eax
cmp dword [ebp + 0x10], 0
je 0x100317ef
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x10032550
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
push 0x124
push 0
lea eax, [ebp - 0x12c]
push eax
call fcn.10041d70
add esp, 0xc
cmp dword [ebp + 8], 0
jne 0x100325a4
xor eax, eax
jmp 0x10032645
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0xffffffff
jne 0x100325c3
xor eax, eax
jmp 0x10032645
mov dword [ebp - 0x130], 0x128
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x138]
push edx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10032629
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call fcn.100470e1
add esp, 8
test eax, eax
jne 0x10032612
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x128]
mov dword [edx], eax
mov dword [ebp - 0x134], 1
jmp 0x10032629
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x138]
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x100325e4
cmp dword [ebp - 0x138], 0xffffffff
je 0x1003263f
mov eax, dword [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret
Function at 0x10033ca0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 0xc], 0
je 0x10033cb5
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
cmp dword [ebp + 8], 0
jne 0x10033cc2
xor eax, eax
jmp 0x10033d9a
cmp dword [ebp + 0xc], 0
jne 0x10033d81
mov dword [ebp - 0xc], 0x200
mov ecx, dword [ebp - 0xc]
add ecx, 1
push ecx
call fcn.1003609f
add esp, 4
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
add edx, 2
cmp edx, dword [ebp - 0xc]
jb 0x10033d65
mov eax, dword [ebp - 0xc]
add eax, 0x200
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.1003609a
add esp, 4
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
call fcn.1003609f
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov dword [ebp - 8], eax
jmp 0x10033d07
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.1003609a
add esp, 4
mov eax, dword [ebp - 8]
add eax, 2
jmp 0x10033d9a
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10033e60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 8], 0
jne 0x10033f21
mov dword [ebp - 0xc], 0x200
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
call fcn.1003609f
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 2
cmp eax, dword [ebp - 0xc]
jb 0x10033f05
mov ecx, dword [ebp - 0xc]
add ecx, 0x200
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.1003609a
add esp, 4
mov ecx, dword [ebp - 0xc]
add ecx, 1
push ecx
call fcn.1003609f
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov dword [ebp - 8], eax
jmp 0x10033eaa
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.1003609a
add esp, 4
mov eax, dword [ebp - 8]
add eax, 2
jmp 0x10033f36
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov esp, ebp
pop ebp
ret 8
Function at 0x10034540
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x1003455c
cmp dword [ebp + 0xc], 0
jne 0x100345b6
cmp dword [ebp + 0x10], 0
jne 0x1003457d
push 1
call fcn.1003609f
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov byte [ecx], 0
jmp 0x100345ae
mov edx, dword [ebp + 0x10]
push edx
call fcn.10041b50
add esp, 4
add eax, 1
push eax
call fcn.1003609f
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.10041df0
add esp, 8
mov eax, dword [ebp - 4]
jmp 0x1003468d
mov dword [ebp - 0xc], 0x200
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
call fcn.1003609f
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x10], 0
jne 0x100345e4
mov dword [ebp - 0x28], 0x100789c3
jmp 0x100345ea
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 1
cmp ecx, dword [ebp - 0xc]
jb 0x1003468a
mov edx, dword [ebp - 0xc]
add edx, 0x200
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1003609a
add esp, 4
mov edx, dword [ebp - 0xc]
add edx, 1
push edx
call fcn.1003609f
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
jne 0x1003465e
mov dword [ebp - 0x2c], 0x100789ce
jmp 0x10034664
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 8], eax
jmp 0x1003460e
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1003743b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x1003747b
push 0x100790a8
push 4
push eax
call fcn.10046209
push eax
call fcn.10005fa0
add esp, 0x10
jmp 0x1003748d
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x100374fb
push edi
call fcn.10047c36
mov edi, dword [eax]
call fcn.10047c36
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.10041d48
add esp, 0x18
mov ebx, eax
call fcn.10047c36
cmp dword [eax], 0
je 0x100374db
call fcn.10047c36
push dword [eax]
call fcn.1003619b
pop ecx
jmp 0x100374e2
call fcn.10047c36
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x100374fb
cmp ebx, esi
jae 0x100374fb
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x100374fd
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10041acb
leave
ret
Function at 0x100382d6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov bh, 0x47
push es
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.100380c0
invalid

Function at 0x100387e5
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10038797
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x100387b5
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10038813
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
jge 0x100387f2
and edx, 0x20000000
add byte [eax], al
and byte [ecx + 0x1065], al
invalid
invalid
add byte [eax], al
and byte [ecx + 0x1065], al
add byte [eax + 0x3b184d8b], al
sal dword [esp + eax - 0x80], cl
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100387fa
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10038803
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1003880d
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100387ef
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10038779
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10038860
dec eax
je 0x10038857
sub eax, 3
je 0x1003884e
mov dword [ebp - 4], 0x40
jmp 0x1003887d
mov dword [ebp - 4], 4
jmp 0x10038863
mov dword [ebp - 4], 0x20
jmp 0x10038863
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x100388af
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1003882f
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.100380c0
test eax, 0xffa908c1
jne 0x100388ba
push 1
push esi
call edi
mov eax, esi
jmp 0x100388bb
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1003901b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [ebx + 0x6fffffc], ebx
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
test dword [esp + edi*8 - 0x17af0001], edx
xor esi, eax
invalid
invalid
pop ecx

Function at 0x10039c46
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
and byte [ebp - 0x78c], 0
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33

Function at 0x10039c79
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
invalid
test dword [esi - 8], edi

Function at 0x10041acb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1008bb60]
jne 0x10041ad5
repz ret
jmp fcn.10049cfc

Function at 0x10046f3e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x10046f6b
call fcn.10047c49
mov dword [eax], esi
call fcn.10047c36
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.10044c28
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x10046f47
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10046f9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10047c5c
pop ecx
call fcn.10047c36
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x10046fc1
test al, 1
je 0x10046fc1
test byte [esp + 0xc], 2
je 0x10046fc1
call fcn.10047c49
mov dword [eax], 5
call fcn.10047c36
mov dword [eax], 0xd
jmp 0x10046f91
xor eax, eax
pop esi
ret