Function at 0x419610
Capabilities:
Accept command line arguments
Get geographical location
Read file on windows

Disassembly:
mov eax, dword [0xcc9224]
mov ecx, dword [0xcc7a1c]
sub esp, 0x84c
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
je 0x419837
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
jmp 0x419644
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov ecx, dword [0x81c630]
mov edx, dword [0x81c634]
mov dword [esp + 0x14], eax
mov eax, dword [str.OnK]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x81c63c]
mov ebp, 0xc6ef3720
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0x20
mov eax, edi
shl eax, 4
cmp dword [0xcc9224], 5
mov dword [esp + 0x10], eax
jne 0x4196a5
push 0
lea edx, [esp + 0x5c]
push edx
push 0x403fdc
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov eax, dword [esp + 0x34]
add dword [esp + 0x10], eax
mov esi, edi
shr esi, 5
cmp dword [0xcc9224], 0x1b
lea ebx, [edi + ebp]
jne 0x419702
push 0
call dword [sym.imp.KERNEL32.dll_ConvertThreadToFiber]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x54]
push edx
push eax
push eax
push eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
add esi, dword [esp + 0x28]
xor dword [esp + 0x10], ebx
xor ebx, ebx
mov dword [esp + 0x18], esi
mov dword [0xcc7a20], ebx
mov eax, dword [esp + 0x18]
add dword [0xcc7a20], eax
mov ecx, dword [0xcc7a20]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov eax, ecx
shl eax, 4
add eax, dword [esp + 0x30]
cmp dword [0xcc9224], 0x1be
mov dword [esp + 0x10], eax
lea esi, [ecx + ebp]
jne 0x419791
push ebx
lea eax, [esp + 0x5c]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSize]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
shr ecx, 5
add ecx, dword [esp + 0x2c]
cmp dword [0xcc9224], 0x979
mov dword [0xcc7a28], 0xff6b3619
mov dword [0xcc7a2c], 0xffffffff
mov dword [esp + 0x18], ecx
jne 0x4197cc
lea ecx, [esp + 0x58]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [esp + 0x10]
xor eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
sub edi, dword [esp + 0x10]
add ebp, 0x61c88647
dec dword [esp + 0x20]
jne 0x419681
cmp dword [0xcc9224], 0x8d4
jne 0x419800
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [esi], edi
mov dword [esi + 4], edx
cmp dword [0xcc9224], 0x17
jne 0x419826
lea eax, [esp + 0x58]
push eax
push 0x404008
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
add esi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], esi
jne 0x419640
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84c
ret