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

Disassembly:
mov eax, dword [0xa88f64]
mov ecx, dword [0xa8775c]
sub esp, 0x84c
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
je 0x419867
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
jmp 0x419674
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov ecx, dword [0x5dc360]
mov edx, dword [0x5dc364]
mov dword [esp + 0x14], eax
mov eax, dword [0x5dc368]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x5dc36c]
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 [0xa88f64], 5
mov dword [esp + 0x10], eax
jne 0x4196d5
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 [0xa88f64], 0x1b
lea ebx, [edi + ebp]
jne 0x419732
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 [0xa87760], ebx
mov eax, dword [esp + 0x18]
add dword [0xa87760], eax
mov ecx, dword [0xa87760]
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 [0xa88f64], 0x1be
mov dword [esp + 0x10], eax
lea esi, [ecx + ebp]
jne 0x4197c1
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 [0xa88f64], 0x979
mov dword [0xa87768], 0xff6b3619
mov dword [0xa8776c], 0xffffffff
mov dword [esp + 0x18], ecx
jne 0x4197fc
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 0x4196b1
cmp dword [0xa88f64], 0x8d4
jne 0x419830
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 [0xa88f64], 0x17
jne 0x419856
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 0x419670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84c
ret