Function at 0x40be30
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x444938
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4571dc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x44]
call fcn.004018a0
xor edi, edi
push 0x44760c
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], edi
call fcn.004018a0
push 0x44760c
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 1
call fcn.004018a0
push 0x44760c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 2
call fcn.004018a0
push 0x44760c
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 3
call fcn.004018a0
mov byte [esp + 0x38], 4
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
push edi
push edi
mov ebp, eax
push 0x1001
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esi, eax
cmp esi, edi
jle 0x40bf25
xor ecx, ecx
lea ebx, [esi + 1]
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00418165
mov edi, eax
lea eax, [esi + esi + 2]
push eax
push 0
push edi
call fcn.00428a10
add esp, 0x10
push ebx
push edi
push 0x1001
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
push 0
call fcn.00429df9
mov ebx, dword [esp + 0x30]
add esp, 8
xor edi, edi
mov ecx, dword [esp + 0x40]
push 0x5c
push ecx
call fcn.00428cb0
mov ecx, dword [esp + 0x48]
add esp, 8
or esi, 0xffffffff
cmp eax, edi
jne 0x40bf43
mov eax, esi
jmp 0x40bf47
sub eax, ecx
sar eax, 1
mov edx, dword [ecx - 0xc]
dec edx
cmp eax, edx
jne 0x40bf95
mov eax, dword [ecx - 0xc]
dec eax
push eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x48]
call fcn.00402470
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 5
call fcn.00401770
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x38], 4
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bf95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call fcn.00408bf0
cmp eax, edi
jne 0x40bfc2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x38], 3
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40c15c
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401770
push 1
push 0x44764c
lea ecx, [esp + 0x28]
call fcn.004024f0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.004024f0
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x20]
call fcn.00401770
mov eax, dword [esp + 0x1c]
push 0x5c
push eax
call fcn.00428cb0
add esp, 8
cmp eax, edi
je 0x40c05f
sub eax, dword [esp + 0x1c]
sar eax, 1
cmp eax, edi
jle 0x40c05f
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x24]
call fcn.00402470
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 6
call fcn.00401770
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 4
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c05f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401770
push 1
push 0x44764c
lea ecx, [esp + 0x20]
call fcn.004024f0
push 7
push str.del.bat
lea ecx, [esp + 0x20]
call fcn.004024f0
mov edx, dword [esp + 0x18]
push 0x4476a0
push edx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], edi
call fcn.0042950a
add esp, 0xc
cmp eax, edi
jne 0x40c144
mov ecx, dword [esp + 0x14]
push str._echo_of_n
push ecx
call fcn.00429dde
mov edx, dword [esp + 0x1c]
push str.:TRY_n
push edx
call fcn.00429dde
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
push eax
push str.DEL___s__n
push ecx
call fcn.00429dde
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
push edx
push str.IF_EXIST___s__GOTO_TRY_n
push eax
call fcn.00429dde
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x3c]
push ecx
push str.RMDIR__Q___s__n
push edx
call fcn.00429dde
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push eax
push str.DEL___s___EXIT_n
push ecx
call fcn.00429dde
mov eax, dword [esp + 0x54]
add esp, 0x40
cmp eax, edi
je 0x40c136
push eax
call fcn.0042910b
add esp, 4
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x18]
push edi
push edi
push edx
mov ecx, ebx
call fcn.0040a230
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov edx, esi
lea ecx, [eax + 0xc]
mov byte [esp + 0x38], 3
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c168
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x38], 2
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c18c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c1b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c1d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov dword [esp + 0x38], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x40c1f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4