Function at 0x635bf4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x108], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x635eea
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 4], 3
jne 0x635c8a
cmp byte [ebx + 5], 1
jne 0x635c65
mov eax, dword [ebx + 8]
call fcn.004060b0
cmp eax, 0x14
jge 0x635c65
mov eax, esi
call fcn.004056ac
jmp 0x635d39
lea ecx, [ebp - 0x108]
mov edx, 0x190
mov eax, dword [ebx + 8]
call fcn.0044f2b4
mov edx, dword [ebp - 0x108]
mov eax, esi
call fcn.00405950
jmp 0x635d39
movzx eax, byte [ebx + 4]
add al, 0xfc
sub al, 3
jae 0x635cb9
lea ecx, [ebp - 0x10c]
mov edx, 0x190
mov eax, dword [ebx + 8]
call fcn.0044f2b4
mov edx, dword [ebp - 0x10c]
mov eax, esi
call fcn.00405950
jmp 0x635d39
movzx eax, byte [ebx + 4]
call fcn.00633744
add eax, eax
mov edx, dword [0x6647bc]
mov eax, dword [edx + eax*8 + 8]
call fcn.00406e94
test eax, eax
jne 0x635cf4
movzx eax, byte [ebx + 4]
call fcn.00633744
add eax, eax
mov edx, dword [0x6647bc]
mov edx, dword [edx + eax*8]
mov eax, esi
call fcn.00405700
jmp 0x635d39
movzx eax, byte [ebx + 4]
call fcn.00633744
add eax, eax
mov edx, dword [0x6647bc]
mov eax, dword [edx + eax*8 + 8]
call fcn.00406e94
movzx edx, byte [ebx + 5]
cmp eax, edx
jle 0x635d39
movzx eax, byte [ebx + 4]
call fcn.00633744
add eax, eax
mov edx, dword [0x6647bc]
mov eax, dword [edx + eax*8 + 8]
movzx edx, byte [ebx + 5]
mov edx, dword [eax + edx*4]
mov eax, esi
call fcn.00405700
cmp byte [ebx + 4], 2
jne 0x635d96
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x635d53
cmp eax, 0x100
je 0x635d53
cmp byte [ebx + 5], 0
ja 0x635d59
cmp dword [ebx + 0x2c], 0
je 0x635d96
mov eax, dword [0x659f8c]
mov eax, dword [eax]
mov eax, dword [eax + 0x1cc]
test eax, eax
je 0x635d86
movzx edx, word [ebx + 0x2c]
push edx
lea ecx, [ebp - 4]
push ecx
push 0
mov ecx, dword [0x659f8c]
mov ecx, edx
movzx edx, byte [ebx + 5]
call fcn.0063da18
cmp dword [ebp - 4], 0
je 0x635d96
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00405700
cmp byte [ebx + 4], 7
jne 0x635dda
push dword [esi]
push 0x635f00
mov eax, dword [ebx + 0x40]
call fcn.00406e94
mov ecx, 3
cdq
idiv ecx
lea edx, [ebp - 0x110]
call fcn.0040b8ac
push dword [ebp - 0x110]
push 0x635f0c
mov eax, esi
mov edx, 4
call fcn.00405a5c
jmp 0x635eb4
cmp byte [ebx + 4], 0xb
jne 0x635e1a
movzx eax, byte [ebx + 5]
sub al, 2
jae 0x635e1a
push dword [esi]
push 0x635f18
lea edx, [ebp - 0x114]
movzx eax, byte [ebx + 0x20]
call fcn.0040b8ac
push dword [ebp - 0x114]
push 0x635f24
mov eax, esi
mov edx, 4
call fcn.00405a5c
jmp 0x635eb4
cmp byte [ebx + 4], 9
jne 0x635eb4
cmp byte [ebx + 5], 3
jne 0x635eb4
push 0
push 0
lea eax, [ebp - 0x118]
mov edx, dword [ebx + 8]
call fcn.00405950
mov eax, dword [ebp - 0x118]
call fcn.0040bbb4
mov ebx, eax
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
push dword [esi]
push 0x635f30
lea eax, [ebp - 0x11c]
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.0040591c
push dword [ebp - 0x11c]
push 0x635f18
mov eax, ebx
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x120]
mov eax, 8
call fcn.0040bacc
push dword [ebp - 0x120]
mov eax, esi
mov edx, 5
call fcn.00405a5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x635ef1
lea eax, [ebp - 0x120]
mov edx, 5
call fcn.004056d0
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.00405ec0
lea eax, [ebp - 4]
call fcn.004056ac
ret