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

Disassembly:
mov eax, 0x1054
call fcn.004188c0
mov eax, dword [0xc1c4cc]
push ebx
push ebp
mov ecx, eax
push esi
mov esi, dword [0xc1acc4]
shr ecx, 3
push edi
test ecx, ecx
je 0x41d7e5
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], ecx
jmp 0x41d5b4
mov esi, dword [esp + 0x20]
cmp eax, 0x1c
jne 0x41d5cf
lea eax, [esp + 0x54]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
mov eax, dword [0xc1c4cc]
mov ecx, dword [esi + 4]
mov edx, dword [0x4b7f10]
mov ebx, dword [esi]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x4b7f14]
mov dword [esp + 0x30], edx
mov edx, dword [0x4b7f18]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x4b7f1c]
mov ebp, 0xc6ef3720
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], 0x20
mov ecx, ebx
shl ecx, 4
mov dword [esp + 0x14], ecx
cmp eax, 5
jne 0x41d632
push 0
lea edx, [esp + 0x64]
push edx
push 0x40414c
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov eax, dword [0xc1c4cc]
mov ecx, dword [esp + 0x34]
add dword [esp + 0x14], ecx
mov esi, ebx
shr esi, 5
lea edi, [ebx + ebp]
cmp eax, 0x1b
jne 0x41d68d
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFiber]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x5c]
push ecx
push eax
push eax
push eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
add esi, dword [esp + 0x38]
xor dword [esp + 0x14], edi
xor edi, edi
mov dword [esp + 0x1c], esi
mov dword [0xc1acc8], edi
mov eax, dword [esp + 0x1c]
add dword [0xc1acc8], eax
mov eax, dword [0xc1acc8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x2c]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
xor eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov eax, ecx
shl eax, 4
add eax, dword [esp + 0x30]
cmp dword [0xc1c4cc], 0x1be
mov dword [esp + 0x14], eax
lea esi, [ecx + ebp]
jne 0x41d732
push edi
lea edx, [esp + 0x64]
push edx
push edi
push 0x404170
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push edi
lea eax, [esp + 0x864]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_HeapSize]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
shr ecx, 5
add ecx, dword [esp + 0x3c]
cmp dword [0xc1c4cc], 0x979
mov dword [0xc1acd0], 0xff6b3619
mov dword [0xc1acd4], 0xffffffff
mov dword [esp + 0x1c], ecx
jne 0x41d76d
lea ecx, [esp + 0x60]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [esp + 0x14]
xor eax, esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
xor dword [esp + 0x14], eax
mov eax, dword [0xc1c4cc]
sub ebx, dword [esp + 0x14]
cmp eax, 0x93
je 0x41d791
add ebp, 0x61c88647
dec dword [esp + 0x24]
jne 0x41d60d
cmp eax, 0x8d4
jne 0x41d7a8
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov dword [esi], ebx
mov dword [esi + 4], edx
mov eax, dword [0xc1c4cc]
cmp eax, 0x17
jne 0x41d7d4
lea eax, [esp + 0x60]
push eax
push 0x4041b0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov eax, dword [0xc1c4cc]
add esi, 8
dec dword [esp + 0x28]
mov dword [esp + 0x20], esi
jne 0x41d5b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1054
ret