Function at 0x1003d690
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x10070233
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x1008c288]
xor eax, esp
mov dword [esp + 0x26c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008c288]
xor eax, esp
push eax
lea eax, [esp + 0x284]
mov dword fs:[0], eax
mov esi, dword [esp + 0x294]
mov edi, dword [esp + 0x298]
xor ebx, ebx
mov dword [esp + 0x30], ebx
push 1
mov ebp, 0xf
push 0x10076a28
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.100036b0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x298], 1
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.100035d0
mov dword [esp + 0x54], ebx
cmp dword [esp + 0x2c], 0x10
mov byte [esp + 0x28c], 3
jb 0x1003d74c
mov ecx, dword [esp + 0x18]
push ecx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
push edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.10040e90
push 0xff
lea edx, [esp + 0x89]
push ebx
push edx
mov edi, eax
mov byte [esp + 0x90], bl
call sub.MSVCR80.dll_memset
push 0xff
lea eax, [esp + 0x195]
push ebx
push eax
mov byte [esp + 0x19c], bl
call sub.MSVCR80.dll_memset
mov ebp, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
add esp, 0x1c
push 0x100
lea ecx, [esp + 0x84]
push ecx
xor eax, eax
push 0x1001
push edi
mov byte [esp + 0x84], bl
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
mov byte [esp + 0x8d], al
call ebp
test eax, eax
jne 0x1003d80c
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x40]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.100035d0
mov eax, dword [esp + 0x54]
mov dword [esi + 0x1c], eax
cmp dword [esp + 0x50], 0x10
jb 0x1003d92e
mov ecx, dword [esp + 0x3c]
push ecx
jmp 0x1003d926
lea eax, [esp + 0x80]
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1003d826
sub eax, edx
push eax
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0x60]
call fcn.100036b0
push 0x100
lea eax, [esp + 0x184]
push eax
push 0x1002
push edi
mov byte [esp + 0x29c], 4
call ebp
test eax, eax
je 0x1003d89d
push 1
push 0x10079148
lea ecx, [esp + 0x60]
call fcn.10005bc0
lea eax, [esp + 0x180]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1003d880
sub eax, edx
push eax
lea ecx, [esp + 0x184]
push ecx
lea ecx, [esp + 0x60]
call fcn.10005bc0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x44]
call fcn.100035d0
push 0xa
lea eax, [esp + 0x78]
push eax
push 0x1004
push edi
call ebp
test eax, eax
je 0x1003d8d3
lea ecx, [esp + 0x74]
push ecx
call dword [sym.imp.MSVCR80.dll_atoi]
add esp, 4
mov dword [esp + 0x54], eax
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x40]
mov ebp, 0xf
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.100035d0
mov eax, dword [esp + 0x54]
mov edi, 0x10
cmp dword [esp + 0x70], edi
mov dword [esi + 0x1c], eax
jb 0x1003d90f
mov ecx, dword [esp + 0x5c]
push ecx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
cmp dword [esp + 0x50], edi
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
jb 0x1003d92e
mov edx, dword [esp + 0x3c]
push edx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.10028d90
add esp, 0x27c
ret 8