joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47bda0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x208], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47be6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00407c30
xor edx, edx
push ebp
push 0x47be4c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xff
lea eax, [ebp - 0x200]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
test eax, eax
je 0x47be42
mov eax, ebx
lea edx, [ebp - 0x200]
call fcn.00408b1c
mov eax, dword [ebx]
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x204]
test eax, eax
je 0x47be12
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x47be28
mov eax, ebx
mov edx, 0x47be8c
call fcn.00408cc8
lea edx, [ebp - 0x208]
mov eax, dword [ebx]
call fcn.0047bc60
mov edx, dword [ebp - 0x208]
mov eax, ebx
call fcn.00408010
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47be56
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47be76
lea eax, [ebp - 0x208]
call fcn.00407c30
ret

Function at 0x47be90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x210], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47bf9b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00407c30
xor edx, edx
push ebp
push 0x47bf6d
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x534bcc]
cmp byte [eax], 0
jne 0x47beed
mov eax, ebx
call fcn.0047bda0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47bf77
push 0x104
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_GetSystemWow64DirectoryW
test eax, eax
je 0x47bf63
mov eax, ebx
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00408b70
lea edx, [ebp - 0x210]
mov eax, dword [ebx]
call fcn.0047bc60
mov edx, dword [ebp - 0x210]
mov eax, ebx
call fcn.00408010
mov eax, dword [ebx]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x47bf45
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x47bf63
lea edx, [ebp - 0x218]
mov eax, dword [ebx]
call fcn.0042680c
mov edx, dword [ebp - 0x218]
mov eax, ebx
call fcn.00408010
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47bf77
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47bfa2
lea eax, [ebp - 0x218]
call fcn.00407c30
lea eax, [ebp - 0x210]
call fcn.00407c30
ret
Function at 0x47ca90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x47cc0b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x47cbe3
push dword fs:[ecx]
mov dword fs:[ecx], esp
call fcn.0046c85c
cmp al, 9
jb 0x47cb73
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00408c48
xor edx, edx
push ebp
push 0x47cb6c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.00408ac4
push eax
push 0
push 0
push 0x23
push 0
call sub.SHFolder.dll_SHGetFolderPathW
test eax, eax
jne 0x47cb54
mov eax, dword [ebp - 4]
call fcn.00408ac4
mov edx, dword [ebp - 8]
call fcn.00420acc
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x47cb26
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x47cb42
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0042680c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00408010
call fcn.0040741c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47cbed
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47cb73
lea eax, [ebp - 4]
xor edx, edx
call fcn.00408c48
ret
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x534d10]
mov eax, dword [eax]
mov ecx, 0x47cc28
mov edx, 0x47cc54
call fcn.004704f8
test al, al
je 0x47cbd9
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x47cba7
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x47cbd9
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x47cbbc
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x47cbd9
mov eax, dword [ebp - 8]
mov edx, 0x47cce4
call fcn.00408cc8
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47cbed
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47cc12
lea eax, [ebp - 0x10]
call fcn.00407c30
lea eax, [ebp - 4]
call fcn.00407c30
ret
Function at 0x47cce8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x47ce7c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x47ce4f
push dword fs:[ecx]
mov dword fs:[ecx], esp
call fcn.0046c85c
cmp al, 9
jb 0x47cdc7
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00408c48
xor edx, edx
push ebp
push 0x47cdc0
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.00408ac4
push eax
push 0
push 0
push 0x1a
push 0
call sub.SHFolder.dll_SHGetFolderPathW
test eax, eax
jne 0x47cda8
mov eax, dword [ebp - 4]
call fcn.00408ac4
mov edx, dword [ebp - 8]
call fcn.00420acc
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x47cd7a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x47cd96
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0042680c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00408010
call fcn.0040741c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47ce59
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47cdc7
lea eax, [ebp - 4]
xor edx, edx
call fcn.00408c48
ret
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x534de8]
mov eax, dword [eax]
mov ecx, 0x47ce98
mov edx, 0x47ceb4
call fcn.004704f8
test al, al
je 0x47ce45
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0047bc60
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00408010
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x47ce13
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x47ce45
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x47ce28
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x47ce45
mov eax, dword [ebp - 8]
mov edx, 0x47cf44
call fcn.00408cc8
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47ce59
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ce83
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407c90
lea eax, [ebp - 4]
call fcn.00407c30
ret
Function at 0x47cf48
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x47d0dc
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x47d0af
push dword fs:[ecx]
mov dword fs:[ecx], esp
call fcn.0046c85c
cmp al, 9
jb 0x47d027
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00408c48
xor edx, edx
push ebp
push 0x47d020
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.00408ac4
push eax
push 0
push 0
push 0x1c
push 0
call sub.SHFolder.dll_SHGetFolderPathW
test eax, eax
jne 0x47d008
mov eax, dword [ebp - 4]
call fcn.00408ac4
mov edx, dword [ebp - 8]
call fcn.00420acc
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x47cfda
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x47cff6
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0042680c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00408010
call fcn.0040741c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47d0b9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d027
lea eax, [ebp - 4]
xor edx, edx
call fcn.00408c48
ret
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x534de8]
mov eax, dword [eax]
mov ecx, 0x47d0f8
mov edx, 0x47d120
call fcn.004704f8
test al, al
je 0x47d0a5
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0047bc60
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00408010
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x47d073
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x47d0a5
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x47d088
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x47d0a5
mov eax, dword [ebp - 8]
mov edx, 0x47d1b0
call fcn.00408cc8
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47d0b9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d0e3
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407c90
lea eax, [ebp - 4]
call fcn.00407c30
ret
Function at 0x488bd4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407d14
xor eax, eax
push ebp
push 0x488c87
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor edx, edx
push ebp
push 0x488c5f
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0041e9bc
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00408058
cmp dword [ebp - 4], 0
jne 0x488c33
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x488c69
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00408ac4
push eax
push 0x488c9c
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
setg byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x488c69
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488c8e
lea eax, [ebp - 0xc]
call fcn.00407c30
lea eax, [ebp - 4]
call fcn.00407c30
ret

Function at 0x48d764
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.0040502c
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x4975f0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov word [ebp - 2], cx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4976cc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov edx, esi
call fcn.00408aec
mov eax, dword [ebp - 0x18]
push eax
call fcn.00499bdc
pop edx
call fcn.00496a20
test al, al
je 0x497638
mov ebx, 1
jmp 0x4976b6
push 0
push 0x8000080
push 3
push 0
push 1
push 0xc0000000
push esi
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x497665
call sub.kernel32.dll_GetLastError_2
mov edx, dword [ebp + 8]
mov dword [edx], eax
xor ebx, ebx
jmp 0x4976b6
lea eax, [ebp - 0xc]
push eax
movzx eax, word [ebp - 2]
push eax
push edi
call sub.kernel32.dll_DosDateTimeToFileTime
test eax, eax
je 0x497699
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
test eax, eax
je 0x497699
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.kernel32.dll_SetFileTime
push ebx
call sub.kernel32.dll_CloseHandle_1
movzx eax, word [ebp + 0xc]
and ax, 0x27
movzx eax, ax
push eax
push esi
call sub.kernel32.dll_SetFileAttributesA
mov ebx, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4976d3
lea eax, [ebp - 0x18]
call fcn.00407c30
ret
Function at 0x4976e0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
test eax, eax
je 0x49772b
lea eax, [esp + 0x105]
push eax
push 0
push 0x49775c
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetTempFileNameA
test eax, eax
je 0x49772b
lea eax, [esp + 0x105]
call fcn.00408138
cmp ebx, eax
setg al
jmp 0x49772d
xor eax, eax
mov ebx, eax
test bl, bl
je 0x497747
lea edx, [esp + 0x105]
mov eax, esi
call fcn.00420744
push esi
call sub.kernel32.dll_DeleteFileA
movzx eax, bl
mov edx, dword [0x534c3c]
mov eax, dword [edx + eax*4]
add esp, 0x20c
pop esi
pop ebx
ret

Function at 0x498128
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x498131
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4982ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
inc dword [ebx + 0x18]
lea ecx, [ebp - 0x10]
mov edx, dword [ebx + 0x18]
mov eax, esi
call fcn.00497fa8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.0040877c
lea eax, [ebx + 0x22]
mov edx, dword [ebp - 4]
call fcn.00420824
lea ecx, [ebp - 0x14]
mov edx, dword [ebx + 0x14]
mov eax, esi
call fcn.00497e08
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.0040877c
lea eax, [ebx + 0x122]
mov edx, dword [ebp - 4]
call fcn.00420824
lea ecx, [ebp - 0x18]
mov edx, dword [ebx + 0x18]
mov eax, esi
call fcn.00497eec
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.0040877c
lea eax, [ebx + 0x222]
mov edx, dword [ebp - 4]
call fcn.00420824
cmp word [esi + 0x4a], 0
je 0x4981ee
push edi
lea eax, [ebp - 9]
push eax
mov ecx, ebx
mov edx, esi
mov eax, dword [esi + 0x4c]
call dword [esi + 0x48]
cmp byte [ebp - 9], 0
jne 0x49825f
lea eax, [ebp - 8]
lea edx, [ebx + 0x222]
mov ecx, pe_nt_image_headers32
call fcn.00408b58
mov eax, dword [ebp - 8]
call fcn.0041fc7c
lea eax, [ebp - 0x24]
lea edx, [ebx + 0x222]
mov ecx, pe_nt_image_headers32
call fcn.00408b58
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
lea edx, [ebx + 0x122]
mov ecx, pe_nt_image_headers32
call fcn.00408b58
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
lea ecx, [ebp - 8]
mov edx, 1
call fcn.00496fc8
mov eax, dword [ebp - 8]
call fcn.00408ac4
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
mov dword [esi + 0x3ac], eax
xor eax, eax
mov dword [esi + 0x3b0], eax
movzx ebx, byte [ebp - 9]
xor bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4982b5
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00407c90
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00407c90
lea eax, [ebp - 8]
call fcn.00407c30
lea eax, [ebp - 4]
call fcn.00407c54
ret
Function at 0x49b298
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00407d14
xor eax, eax
push ebp
push 0x49b4df
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.00408010
mov byte [ebp - 0xd], 0
test ebx, ebx
je 0x49b4b7
cmp dword [0x5343c4], 0
jne 0x49b2fd
call fcn.0049db98
cmp dword [0x5343c4], 0
je 0x49b4b7
xor eax, eax
push ebp
push 0x49b4ad
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x49b49c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x49b500
call fcn.00408058
mov edx, dword [ebp - 4]
mov eax, 0x49b518
call fcn.0040909c
mov esi, eax
test esi, esi
jle 0x49b35c
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00408ef0
lea eax, [ebp - 4]
mov ecx, esi
mov edx, 1
call fcn.00408f38
cmp dword [ebp - 4], 0
jne 0x49b37c
mov dl, 1
mov eax, ebx
call fcn.00472200
xor edx, edx
push edx
push eax
lea edx, [ebp - 4]
mov eax, 8
call fcn.0041f458
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x5343c4]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 4]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004906a0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00408010
mov eax, dword [0x5343c4]
cmp byte [eax + 0x13], 0
je 0x49b3e9
push 0x49b528
push dword [ebp - 4]
push 0x49b54c
push ebx
push 0x49b54c
mov eax, dword [ebp - 0xc]
push dword [eax]
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00408da8
mov eax, dword [ebp - 0x1c]
call fcn.00408ac4
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x49b436
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.00408010
mov eax, dword [0x5343c4]
cmp byte [eax + 0x11], 0
je 0x49b420
push dword [ebp - 4]
push 0x49b560
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00408da8
mov byte [ebp - 0xd], 0
call fcn.0040741c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49b4b7
mov byte [ebp - 0xd], 1
mov eax, dword [0x5343c4]
cmp byte [eax + 0x11], 0
je 0x49b45f
push dword [ebp - 4]
push 0x49b570
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00408da8
lea eax, [ebp - 8]
call fcn.00407c30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b4a3
mov eax, dword [0x5343c4]
cmp dword [eax + 0x18], 0
je 0x49b49b
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ebx, dword [0x5343c4]
call dword [ebx + 0x18]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00408010
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b4e6
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00407c90
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407c90
ret
Function at 0x49c9ac
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x49caac
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x49cac8
call fcn.00408058
push 0xa
lea eax, [ebp - 0x18]
push eax
push 0x59
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
cmp eax, 3
sete bl
test bl, bl
je 0x49ca12
push 0xa
lea eax, [ebp - 0xe]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
cmp eax, 3
je 0x49ca16
xor eax, eax
jmp 0x49ca18
mov al, 1
mov ebx, eax
test bl, bl
je 0x49ca33
lea eax, [ebp - 4]
lea edx, [ebp - 0x18]
call fcn.00408b1c
mov eax, esi
lea edx, [ebp - 0xe]
call fcn.00408b1c
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0041e630
mov eax, dword [ebp - 0x1c]
mov edx, 0x49cadc
call fcn.00408eb8
jne 0x49ca7a
lea edx, [ebp - 0x20]
mov eax, dword [esi]
call fcn.0041e630
mov eax, dword [ebp - 0x20]
mov edx, 0x49caf0
call fcn.00408eb8
jne 0x49ca7a
mov eax, edi
mov edx, dword [0x5343c8]
mov ecx, 0
call fcn.0040877c
jmp 0x49ca89
mov eax, edi
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040877c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49cab3
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00407c90
lea eax, [ebp - 4]
call fcn.00407c30
ret
Function at 0x4b3474
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b35b7
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x4b34cb
push 0x20a
lea eax, [ebp - 0x20e]
push eax
mov eax, dword [0x538c50]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
mov ecx, eax
lea edx, [ebp - 0x20e]
mov eax, dword [ebp - 4]
call fcn.00407db8
jmp 0x4b359e
call sub.kernel32.dll_GetCommandLineW_1
mov ebx, eax
mov eax, ebx
call fcn.004b3410
mov ebx, eax
mov edi, ebx
mov eax, ebx
call fcn.004b3438
mov ebx, eax
test esi, esi
je 0x4b34f3
dec esi
test esi, esi
jl 0x4b34f3
cmp edi, ebx
jne 0x4b34d2
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x214]
mov edx, edi
call fcn.00408b1c
mov eax, dword [ebp - 0x214]
mov ecx, ebx
sub ecx, edi
sar ecx, 1
jns 0x4b3515
adc ecx, 0
mov edx, 1
call fcn.00408ef0
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov eax, edx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x4b353b
sub eax, 4
mov eax, dword [eax]
cmp eax, 2
jl 0x4b359e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp word [eax], 0x22
jne 0x4b359e
mov eax, edx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x4b3562
sub eax, 4
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp word [ecx + eax*2 - 2], 0x22
jne 0x4b359e
mov eax, edx
mov dword [ebp - 0x218], eax
mov ebx, dword [ebp - 0x218]
test ebx, ebx
je 0x4b3586
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
push eax
mov ecx, ebx
sub ecx, 2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 2
call fcn.00408ef0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b35be
lea eax, [ebp - 0x214]
call fcn.00407c30
ret