Function at 0x435415
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x4ea27c
call fcn.00446890
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x20], ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.004dd37b
mov eax, dword [0x515760]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
or dword [ebp - 0x24], 0xffffffff
push ebx
push ebx
mov esi, 0x400
push 0x13
push esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], ebx
call edi
push eax
push eax
lea ecx, [ebp - 0x18]
call fcn.004dd9ed
push eax
push 0x13
push esi
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], eax
call fcn.004dda3d
cmp dword [ebp - 0x14], ebx
jne 0x43548f
push 0x514ea4
lea ecx, [ebp - 0x18]
call fcn.004dd7a5
mov eax, dword [ebp - 0x20]
push ebx
push ebx
test byte [eax + 0x34], 2
je 0x4354da
push 0x16
push esi
call edi
push eax
push eax
lea ecx, [ebp - 0x1c]
call fcn.004dd9ed
push eax
push 0x16
push esi
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
call fcn.004dda3d
cmp dword [ebp - 0x14], ebx
je 0x4354c9
mov eax, dword [ebp - 0x1c]
mov ax, word [eax]
jmp 0x4354cc
push 0x2e
pop eax
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], eax
call fcn.004dd9c0
jmp 0x43550f
push 0xe
push esi
call edi
push eax
push eax
lea ecx, [ebp - 0x1c]
call fcn.004dd9ed
push eax
push 0xe
push esi
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
call fcn.004dda3d
cmp dword [ebp - 0x14], ebx
je 0x435509
mov eax, dword [ebp - 0x1c]
mov ax, word [eax]
jmp 0x43550c
push 0x2e
pop eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
test byte [eax + 0x34], 4
je 0x4355b6
push ebx
push ebx
push 0x51
push esi
call edi
push eax
push eax
lea ecx, [ebp - 0x1c]
call fcn.004dd9ed
push eax
push 0x51
push esi
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
call fcn.004dda3d
cmp dword [ebp - 0x14], ebx
je 0x43554d
mov eax, dword [ebp - 0x1c]
mov ax, word [eax]
jmp 0x435550
push 0x2d
pop eax
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x28], eax
call fcn.004dd9c0
mov eax, dword [ebp - 0x20]
push 2
test byte [eax + 0x34], 2
lea eax, [ebp - 0x24]
push eax
je 0x435572
push 0x2000001c
jmp 0x435577
push 0x20001010
push esi
call edi
cmp eax, ebx
jne 0x435585
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x20]
test byte [eax + 0x34], 2
je 0x4355a4
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4355a9
cmp eax, 4
je 0x4355a9
cmp eax, 0xe
je 0x4355a9
cmp eax, 0xf
jmp 0x4355a7
cmp dword [ebp - 0x24], ebx
jne 0x4355b6
push 0x514e9c
lea ecx, [ebp - 0x18]
call fcn.004dd999
mov eax, dword [ebp - 0x20]
test byte [eax + 0x34], 3
je 0x4355d6
push 0x2e
lea ecx, [ebp - 0x10]
push dword [ebp - 0x2c]
call fcn.004d6df2
push 0x2e
lea ecx, [ebp - 0x18]
call fcn.004dd9c0
mov eax, dword [ebp - 0x20]
test byte [eax + 0x34], 3
jne 0x435601
push ebx
push 0x2e
lea ecx, [ebp - 0x10]
call fcn.004ddabc
cmp eax, 0xffffffff
je 0x435601
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx - 8]
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.004d6cf7
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov edi, dword [eax - 8]
dec edi
cmp edi, ebx
jl 0x435660
mov eax, dword [ebp - 0x10]
mov ax, word [eax + edi*2]
push eax
push dword [ebp - 0x14]
call fcn.00449036
pop ecx
cmp eax, ebx
pop ecx
jne 0x435635
push 1
push edi
lea ecx, [ebp - 0x10]
call fcn.004d6cf7
jmp 0x43565d
mov ecx, eax
sub ecx, dword [ebp - 0x14]
sar ecx, 1
cmp ecx, 0xa
jge 0x43565d
mov ax, word [eax]
cmp ax, 0x30
jb 0x435650
cmp ax, 0x39
jbe 0x43565d
lea eax, [ecx + 0x30]
lea ecx, [ebp - 0x10]
push eax
push edi
call fcn.004ddb30
dec edi
jns 0x435612
mov eax, dword [ebp - 0x20]
test byte [eax + 0x34], 4
je 0x4356d6
cmp dword [ebp - 0x24], ebx
mov eax, 0x52ac70
jne 0x435678
mov eax, 0x514e9c
push eax
lea ecx, [ebp - 0x14]
call fcn.004dd682
push dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004dd9c0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.004ddaea
cmp eax, 0xffffffff
je 0x4356ca
push dword [ebp - 0x28]
lea ecx, [ebp - 0x10]
call fcn.004d6fa7
push 0x28
lea ecx, [ebp - 0x10]
call fcn.004d6fa7
push 0x29
lea ecx, [ebp - 0x10]
call fcn.004d6fa7
push 0x2d
push ebx
lea ecx, [ebp - 0x10]
call fcn.004d6d5a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004dd60e
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
push eax
push dword [ebp - 0x10]
call fcn.00448f02
mov eax, dword [ebp - 0x30]
pop ecx
fstp qword [ebp - 0x38]
cmp word [eax], bx
pop ecx
jne 0x4357fe
mov eax, dword [0x515760]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0x20]
push ebx
mov byte [ebp - 4], 4
push ebx
test byte [edi + 0x34], 2
je 0x43573c
push dword [edi + 0x44]
push dword [ebp - 0x10]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrencyFormatW]
mov ecx, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x28], ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.004dd9ed
push eax
push dword [edi + 0x44]
push dword [ebp - 0x28]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrencyFormatW]
jmp 0x435769
push dword [edi + 0x40]
push dword [ebp - 0x10]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ecx, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x28], ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.004dd9ed
push eax
push dword [edi + 0x40]
push dword [ebp - 0x28]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.004dda3d
cmp esi, ebx
je 0x4357f2
test byte [edi + 0x34], 3
jne 0x4357ac
push ebx
lea ecx, [ebp - 0x14]
push dword [ebp - 0x2c]
call fcn.004ddabc
mov esi, eax
push 1
push esi
lea ecx, [ebp - 0x14]
call fcn.004d6cf7
mov eax, dword [ebp - 0x14]
cmp esi, dword [eax - 8]
jge 0x4357ac
mov ecx, dword [ebp - 0x18]
mov ax, word [eax + esi*2]
cmp ax, word [ecx]
je 0x43578d
fld qword [ebp - 0x38]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
fstp qword [edi + 0x38]
push eax
call fcn.004dd755
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004dd60e
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004dd60e
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004dd60e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dd60e
push 1
pop eax
jmp 0x435823
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004dd60e
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004dd60e
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004dd60e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dd60e
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4