Function at 0x403720
Capabilities:
Check if file exists
Get file attributes
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440165
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x462524]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x6c], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x14], 7
cmp dword [ebx + 0x14], 8
mov dword [ebp - 4], 4
mov dword [ebx + 0x10], 0
jb 0x403788
mov eax, dword [ebx]
jmp 0x40378a
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
mov esi, dword [ebp + 0x68]
lea eax, [ebp + 0x54]
mov edi, dword [ebp + 0x54]
cmp esi, 8
mov dword [ebp - 0x6c], 1
mov ecx, str.auto
cmovae eax, edi
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4037d6
test dx, dx
je 0x4037d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4037d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4037b0
xor eax, eax
jmp 0x4037db
sbb eax, eax
or eax, 1
test eax, eax
jne 0x403955
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edi, eax
push 0x20
lea eax, [ebp - 0x30]
push eax
push 0x59
push edi
call esi
push 0x20
lea eax, [ebp - 0x50]
push eax
push 0x5a
push edi
call esi
cmp word [ebp - 0x30], 0
jne 0x403812
xor ecx, ecx
jmp 0x40382f
lea ecx, [ebp - 0x30]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403820
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 0x54]
call fcn.00405b60
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004022f0
add esp, 0xc
mov esi, eax
cmp ebx, esi
je 0x403891
cmp dword [ebx + 0x14], 8
jb 0x40386a
mov eax, dword [ebx + 0x14]
mov ecx, ebx
inc eax
push eax
push dword [ebx]
call fcn.00405cc0
mov dword [ebx + 0x14], 7
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], 0
jb 0x403882
mov eax, dword [ebx]
jmp 0x403884
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
mov ecx, ebx
push esi
call fcn.00404ea0
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x4038aa
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.00405cc0
push 1
push 0x4449d4
mov ecx, ebx
call fcn.00405910
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x54]
mov ecx, ebx
push eax
call fcn.00405800
push 1
push 0x4449d8
mov ecx, ebx
call fcn.00405910
cmp word [ebp - 0x50], 0
jne 0x4038e0
xor ecx, ecx
jmp 0x4038f5
lea ecx, [ebp - 0x50]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4038e6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x50]
mov ecx, ebx
push eax
call fcn.00405910
push 1
push 0x4449dc
mov ecx, ebx
call fcn.00405910
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x3c]
mov ecx, ebx
push eax
call fcn.00405800
cmp dword [ebx + 0x14], 8
jb 0x403928
mov eax, dword [ebx]
jmp 0x40392a
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4039b0
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], 0
jb 0x40394c
mov eax, dword [ebx]
xor ecx, ecx
mov word [eax], cx
jmp 0x4039b0
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
jmp 0x4039b0
cmp esi, 8
lea eax, [ebp + 0x54]
mov esi, dword [ebp - 0x74]
cmovae eax, edi
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [esi + 0x24]
call fcn.00406270
mov eax, dword [ebp - 0x78]
cmp eax, dword [esi + 0x28]
jne 0x403985
push 0
push 0x444844
jmp 0x4039a8
mov edx, dword [eax + 0xc]
cmp word [edx], 0
jne 0x403992
xor ecx, ecx
jmp 0x4039a6
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403997
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp + 0x54]
call fcn.00405b60
cmp dword [ebx + 0x10], 0
ja 0x403a62
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004022f0
add esp, 0xc
mov esi, eax
cmp ebx, esi
je 0x403a0f
cmp dword [ebx + 0x14], 8
jb 0x4039e8
mov eax, dword [ebx + 0x14]
mov ecx, ebx
inc eax
push eax
push dword [ebx]
call fcn.00405cc0
mov dword [ebx + 0x14], 7
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], 0
jb 0x403a00
mov eax, dword [ebx]
jmp 0x403a02
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
mov ecx, ebx
push esi
call fcn.00404ea0
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x403a28
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.00405cc0
push 1
push 0x4449d4
mov ecx, ebx
call fcn.00405910
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x54]
mov ecx, ebx
push eax
call fcn.00405800
push 1
push 0x4449dc
mov ecx, ebx
call fcn.00405910
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x3c]
mov ecx, ebx
push eax
call fcn.00405800
mov eax, dword [ebp + 0x20]
cmp eax, 8
jb 0x403a77
inc eax
lea ecx, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call fcn.00405cc0
xor eax, eax
mov dword [ebp + 0x20], 7
mov word [ebp + 0xc], ax
mov eax, dword [ebp + 0x38]
mov dword [ebp + 0x1c], 0
cmp eax, 8
jb 0x403aa0
inc eax
lea ecx, [ebp + 0x24]
push eax
push dword [ebp + 0x24]
call fcn.00405cc0
xor eax, eax
mov dword [ebp + 0x38], 7
mov word [ebp + 0x24], ax
mov eax, dword [ebp + 0x50]
mov dword [ebp + 0x34], 0
cmp eax, 8
jb 0x403ac9
inc eax
lea ecx, [ebp + 0x3c]
push eax
push dword [ebp + 0x3c]
call fcn.00405cc0
mov ecx, dword [ebp + 0x68]
xor eax, eax
mov dword [ebp + 0x50], 7
mov dword [ebp + 0x4c], 0
mov word [ebp + 0x3c], ax
cmp ecx, 8
jb 0x403af2
inc ecx
push ecx
push dword [ebp + 0x54]
lea ecx, [ebp + 0x54]
call fcn.00405cc0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e99a
mov esp, ebp
pop ebp
ret 0x64