Function at 0x4021f0
Capabilities:
Get file size
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov dword [ebp - 0x144], 0
push 0x1fe
push 0
mov eax, dword [ebp + 0xc]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x108]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.MSVCRT.dll__strupr]
add esp, 4
push 0x407078
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x402266
push 0x407080
lea edx, [ebp - 0x108]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0
lea edx, [ebp - 0x1d8]
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0xffffffff
jne 0x4022a5
xor eax, eax
jmp 0x40256d
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
jne 0x4022d5
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40256d
push 0x103
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x144]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp + 0xc]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
lea ecx, [ebp - 0x14c]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0x14c]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x64
mov edx, dword [ebp + 0xc]
add edx, 0x104
push edx
push 0
lea eax, [ebp - 0x1e8]
push eax
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
push 0x32
lea ecx, [ebp - 0x13c]
push ecx
push 0x1f
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x407088
mov edx, dword [ebp + 0xc]
add edx, 0x104
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x104
push ecx
call sub.MSVCRT.dll_strcat
add esp, 8
push 0x40708c
mov edx, dword [ebp + 0xc]
add edx, 0x104
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
mov eax, dword [ebp + 0xc]
add eax, 0x104
push eax
call dword [sym.imp.MSVCRT.dll__strupr]
add esp, 4
push 0
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
push 0x32
lea edx, [ebp - 0x21c]
push edx
push 4
mov eax, dword [0x40754c]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp + 0xc]
add eax, 0x168
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x1cc], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x4024c6
cmp dword [ebp - 0x22c], 1
je 0x40243f
jmp 0x40255b
push str.ConnectionVer
mov ecx, dword [ebp - 0x144]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
je 0x4024c1
call dword [ebp - 0x228]
mov dword [ebp - 0x150], eax
mov edx, dword [ebp - 0x150]
and edx, 0xffff
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x150]
shr eax, 0x10
and eax, 0xff
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x150]
shr ecx, 0x18
and ecx, 0xff
and ecx, 0xff
push ecx
push str._d._d._d
mov edx, dword [ebp + 0xc]
add edx, 0x1cc
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x40255b
push 0x2b
mov eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x40255b
call dword [ebp - 0x224]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
je 0x40255b
mov ecx, dword [ebp - 0x140]
movsx edx, byte [ecx]
test edx, edx
je 0x402525
mov eax, dword [ebp - 0x140]
movsx ecx, byte [eax]
cmp ecx, 0x2e
je 0x402525
mov edx, dword [ebp - 0x140]
add edx, 1
mov dword [ebp - 0x140], edx
jmp 0x4024f9
mov eax, dword [ebp - 0x140]
movsx ecx, byte [eax]
cmp ecx, 0x2e
jne 0x402542
mov edx, dword [ebp - 0x140]
sub edx, 1
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x140]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x1cc
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov edx, dword [ebp - 0x144]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
mov esp, ebp
pop ebp
ret