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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x627c09
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x6e4770]
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 - 0x6c], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], 0
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov dword [ebp - 4], 4
mov word [ebx], ax
mov esi, dword [ebp + 0x68]
lea eax, [ebp + 0x54]
mov edi, dword [ebp + 0x54]
cmp esi, 8
mov dword [ebp - 0x74], 1
mov ecx, str.auto
cmovae eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x49ccc6
test dx, dx
je 0x49ccc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x49ccc6
add eax, 4
add ecx, 4
test dx, dx
jne 0x49cca0
xor eax, eax
jmp 0x49cccb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x49ce2f
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 0x49cd02
xor ecx, ecx
jmp 0x49cd1f
lea ecx, [ebp - 0x30]
lea edx, [ecx + 2]
jmp 0x49cd10
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49cd10
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 0x54]
call fcn.00470470
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00471490
mov esi, eax
add esp, 0xc
cmp ebx, esi
je 0x49cd71
cmp dword [ebx + 0x14], 8
jb 0x49cd56
push dword [ebx]
call fcn.0052d900
add esp, 4
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov ecx, ebx
push esi
mov word [ebx], ax
call fcn.0046fc60
cmp dword [ebp - 0x54], 8
jb 0x49cd82
push dword [ebp - 0x68]
call fcn.0052d900
add esp, 4
push 1
push 0x6471f0
mov ecx, ebx
call fcn.00470270
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x54]
mov ecx, ebx
push eax
call fcn.004701a0
push 1
push 0x646ff8
mov ecx, ebx
call fcn.00470270
cmp word [ebp - 0x50], 0
jne 0x49cdb8
xor ecx, ecx
jmp 0x49cdcf
lea ecx, [ebp - 0x50]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49cdc0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x50]
mov ecx, ebx
push eax
call fcn.00470270
push 1
push 0x642c38
mov ecx, ebx
call fcn.00470270
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x3c]
mov ecx, ebx
push eax
call fcn.004701a0
cmp dword [ebx + 0x14], 8
jb 0x49ce02
mov eax, dword [ebx]
jmp 0x49ce04
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x49ce8a
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], 0
jb 0x49ce26
mov eax, dword [ebx]
xor ecx, ecx
mov word [eax], cx
jmp 0x49ce8a
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
jmp 0x49ce8a
cmp esi, 8
lea eax, [ebp + 0x54]
mov esi, dword [ebp - 0x6c]
cmovae eax, edi
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [esi + 0x24]
call fcn.0049e6f0
mov eax, dword [ebp - 0x6c]
cmp eax, dword [esi + 0x24]
jne 0x49ce5f
push 0
push 0x642138
jmp 0x49ce82
mov edx, dword [eax + 0xc]
cmp word [edx], 0
jne 0x49ce6c
xor ecx, ecx
jmp 0x49ce80
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49ce71
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp + 0x54]
call fcn.00470470
cmp dword [ebx + 0x10], 0
ja 0x49cf24
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00471490
mov esi, eax
add esp, 0xc
cmp ebx, esi
je 0x49ced9
cmp dword [ebx + 0x14], 8
jb 0x49cebe
push dword [ebx]
call fcn.0052d900
add esp, 4
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov ecx, ebx
push esi
mov word [ebx], ax
call fcn.0046fc60
cmp dword [ebp - 0x54], 8
jb 0x49ceea
push dword [ebp - 0x68]
call fcn.0052d900
add esp, 4
push 1
push 0x6471f0
mov ecx, ebx
call fcn.00470270
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x54]
mov ecx, ebx
push eax
call fcn.004701a0
push 1
push 0x642c38
mov ecx, ebx
call fcn.00470270
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x3c]
mov ecx, ebx
push eax
call fcn.004701a0
cmp dword [ebp + 0x20], 8
jb 0x49cf35
push dword [ebp + 0xc]
call fcn.0052d900
add esp, 4
xor eax, eax
mov dword [ebp + 0x20], 7
cmp dword [ebp + 0x38], 8
mov dword [ebp + 0x1c], 0
mov word [ebp + 0xc], ax
jb 0x49cf5a
push dword [ebp + 0x24]
call fcn.0052d900
add esp, 4
xor eax, eax
mov dword [ebp + 0x38], 7
cmp dword [ebp + 0x50], 8
mov dword [ebp + 0x34], 0
mov word [ebp + 0x24], ax
jb 0x49cf7f
push dword [ebp + 0x3c]
call fcn.0052d900
add esp, 4
xor eax, eax
mov dword [ebp + 0x50], 7
cmp dword [ebp + 0x68], 8
mov dword [ebp + 0x4c], 0
mov word [ebp + 0x3c], ax
jb 0x49cfa4
push dword [ebp + 0x54]
call fcn.0052d900
add esp, 4
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.0052dfa4
mov esp, ebp
pop ebp
ret 0x64