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

Disassembly:
mov eax, dword [0x8e45ac]
mov edx, dword [0x8e2da4]
sub esp, 0x84c
push ebx
push ebp
mov ecx, eax
shr ecx, 3
push esi
push edi
test ecx, ecx
je 0x41d761
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], ecx
jmp 0x41d564
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 4]
mov ebx, dword [edx]
mov edx, dword [0x437cc0]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x437cc4]
mov dword [esp + 0x30], edx
mov edx, dword [0x437cc8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x437ccc]
mov ebp, 0xc6ef3720
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0x20
mov ecx, ebx
shl ecx, 4
mov dword [esp + 0x10], ecx
cmp eax, 5
jne 0x41d5c7
push 0
lea edx, [esp + 0x5c]
push edx
push 0x40418c
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov eax, dword [0x8e45ac]
mov ecx, dword [esp + 0x34]
add dword [esp + 0x10], ecx
mov esi, ebx
shr esi, 5
lea edi, [ebx + ebp]
cmp eax, 0x1b
jne 0x41d620
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFiber]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x54]
push ecx
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 edx, [esp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
add esi, dword [esp + 0x28]
xor dword [esp + 0x10], edi
xor edi, edi
mov dword [esp + 0x18], esi
mov dword [0x8e2da8], edi
mov eax, dword [esp + 0x18]
add dword [0x8e2da8], eax
mov eax, dword [0x8e2da8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], edi
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 ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
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 [0x8e45ac], 0x1be
mov dword [esp + 0x10], eax
lea esi, [ecx + ebp]
jne 0x41d6ae
push edi
lea edx, [esp + 0x5c]
push edx
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push edi
push edi
push edi
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 [0x8e45ac], 0x979
mov dword [0x8e2db0], 0xff6b3619
mov dword [0x8e2db4], 0xffffffff
mov dword [esp + 0x18], ecx
jne 0x41d6e9
lea eax, [esp + 0x58]
push eax
push edi
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
mov eax, dword [0x8e45ac]
sub ebx, dword [esp + 0x10]
cmp eax, 0x93
je 0x41d70d
add ebp, 0x61c88647
dec dword [esp + 0x20]
jne 0x41d5a2
cmp eax, 0x8d4
jne 0x41d724
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [esi], ebx
mov dword [esi + 4], ecx
mov eax, dword [0x8e45ac]
cmp eax, 0x17
jne 0x41d750
lea edx, [esp + 0x58]
push edx
push 0x4041ac
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [0x8e45ac]
add esi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], esi
jne 0x41d560
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84c
ret