Function at 0x405e36
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bed77
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x130
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x405fe4
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x98], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xa0], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xdc]
movzx eax, byte [eax]
test eax, eax
je 0x405fa9
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xa8]
movzx eax, byte [eax]
test eax, eax
je 0x405f00
push 0x2f6
push 0x93d
call dword [sym.imp.GDI32.dll_SetTextAlign]
jmp 0x405fa7
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
mov dword [ebp - 0x128], eax
push 1
mov ecx, dword [ebp - 0xd8]
call fcn.0043566b
cmp dword [eax], 0x16580849
je 0x405f6e
mov dword [ebp - 0x4c], 1
jmp 0x405f72
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
cmp dword [ebp - 0x4c], eax
jne 0x405f85
mov dword [ebp - 0x58], 1
jmp 0x405f89
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0
jb 0x405f98
mov dword [ebp - 0x80], 1
jmp 0x405f9c
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x80]
mov dword [eax], ecx
jmp 0x405fdf
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xf4], eax
push 1
push 0xbc8
push 0
push 0xf69
push 0x44b6
push 0x375c
push dword [ebp - 0xf4]
push 0
push 1
call fcn.0040aabf
add esp, 0x24
jmp 0x4064ba
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x60], 0x4ee4
mov dword [ebp - 0xd4], str.mjcvv_kbxyxy_ibuh
cmp dword [ebp - 0x60], 0x4fe2
jle 0x406062
and dword [ebp - 0x28], 0
jmp 0x406014
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x1c4b
jge 0x406062
and dword [ebp - 0x34], 0
jmp 0x40602a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x2c02
jge 0x406060
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
shl eax, cl
cdq
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], edx
push dword [ebp - 0xec]
push dword [ebp - 0xf0]
mov ecx, 0xab56b8
call fcn.00435439
jmp 0x406023
jmp 0x40600d
and dword [ebp - 4], 0
cmp dword [ebp - 0x60], 0x4de5
jge 0x40607f
mov edx, dword [ebp - 0xd4]
mov ecx, 0xab56b8
call fcn.004371ef
jmp 0x40609b
or dword [ebp - 4], 0xffffffff
jmp 0x4060a5
mov dword [ebp - 0x30], 0x444182bd
push 3
lea ecx, [ebp - 0x124]
call fcn.0043557d
mov dword [ebp - 0xa4], 0x24f20479
mov dword [ebp - 0x78], 0xfffffff9
mov dword [ebp - 0x134], 0x790660d6
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x1c], 0x5e53
mov dword [ebp - 0x94], 0x42d225d8
mov dword [ebp - 0x14], 0
jmp 0x4060fc
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x406112
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x10c], 0x5464b5f5
jmp 0x4060f5
mov dword [ebp - 0x14], 0
jmp 0x406122
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x40613b
push dword [ebp - 0x14]
lea ecx, [ebp - 0x124]
call fcn.0043566b
or dword [eax], 0xffffffff
jmp 0x40611b
mov dword [ebp - 0x30], 0
jmp 0x40614b
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jg 0x406495
mov dword [ebp - 0x3c], 0x87f6fb80
mov dword [ebp - 0xb4], 0x2426f379
mov dword [ebp - 0x2c], 0xdfa0148
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x20], 0
jmp 0x406184
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x40619a
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xac], 0x996f377c
jmp 0x40617d
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
dec ecx
mov dword [ebp - 0x2c], ecx
test eax, eax
je 0x406240
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x40]
imul eax, eax, 0x7e29
cmp eax, 0xffffffff
jle 0x4061db
mov dword [ebp - 0xe4], 1
jmp 0x4061e2
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x138], eax
mov eax, 0x2e7c
cmp eax, 0x9063
jne 0x406200
mov dword [ebp - 0x38], 1
jmp 0x406204
and dword [ebp - 0x38], 0
push 2
lea ecx, [ebp - 0x124]
call fcn.0043566b
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x13c], eax
mov eax, 0xbbfefa2e
test eax, eax
je 0x406240
mov dword [ebp - 0x68], 1
jmp 0x406244
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x68], eax
jge 0x406258
mov dword [ebp - 0x88], 1
jmp 0x40625f
and dword [ebp - 0x88], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x10c]
cmp dword [ebp - 0x88], eax
jge 0x40627d
mov dword [ebp - 0x50], 1
jmp 0x406281
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0xf90f5f2f
jbe 0x406321
mov dword [ebp - 0x1c], 0
jmp 0x40629e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jg 0x40631c
push 2
lea ecx, [ebp - 0x118]
call fcn.0043557d
mov dword [ebp - 0x24], 0
jmp 0x4062c1
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x4062dd
push dword [ebp - 0x24]
lea ecx, [ebp - 0x118]
call fcn.0043566b
mov dword [eax], 0x231966ba
jmp 0x4062ba
push 0
lea ecx, [ebp - 0x118]
call fcn.0043566b
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x40630c
push 0x1e6a
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [ebp - 0x118]
call fcn.0043564f
jmp 0x406297
jmp 0x406490
mov dword [ebp - 0x6c], 0xb1ab372c
mov dword [ebp - 0x104], 0x96066eaa
mov dword [ebp - 0x100], 0x96066eaa
mov dword [ebp - 0xfc], 0x96066eaa
mov dword [ebp - 0xf8], 0x96066eaa
cmp dword [ebp - 0x94], 0
je 0x4063c0
cmp dword [ebp - 0x3c], 0
je 0x4063a5
cmp dword [ebp - 0x3c], 0
je 0x40638c
cmp dword [ebp - 0x40], 0xfffffffe
je 0x406374
mov dword [ebp - 0x54], 1
jmp 0x406378
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
sub eax, 9
je 0x40638c
mov dword [ebp - 0x9c], 1
jmp 0x406393
and dword [ebp - 0x9c], 0
mov eax, 0x4bafc8d6
test eax, eax
je 0x4063a5
mov dword [ebp - 0x5c], 1
jmp 0x4063a9
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0xa4]
imul eax, dword [ebp - 0x5c]
test eax, eax
je 0x4063c0
mov dword [ebp - 0x64], 1
jmp 0x4063c4
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x4063df
mov eax, 0x7afa
test eax, eax
jne 0x4063df
and dword [ebp - 0x74], 0
jmp 0x4063e6
mov dword [ebp - 0x74], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x104]
cmp dword [ebp - 0x74], eax
jne 0x406410
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x104], 0
je 0x406410
mov dword [ebp - 0x48], 1
jmp 0x406414
and dword [ebp - 0x48], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
mov dword [ebp + eax - 0xac], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10c]
cmp dword [ebp - 0x48], eax
jle 0x40643f
mov dword [ebp - 0x7c], 1
jmp 0x406443
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0xd7fa
jge 0x406458
mov dword [ebp - 0x84], 1
jmp 0x40645f
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0xb4]
cmp dword [ebp - 0x84], eax
jg 0x406479
mov dword [ebp - 0x8c], 1
jmp 0x406480
and dword [ebp - 0x8c], 0
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x104], 2
jmp 0x406144
lea ecx, [ebp - 0x124]
call fcn.0043564f
push 0
push 0x69d3
push 0xa91
push dword [ebp - 0xbc]
call fcn.00407757
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret