Function at 0x1003b060
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x10046799
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10059794]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10059794]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
push 0x28
mov ebp, ecx
lea ecx, [esp + 0x2c]
push ecx
push 0xe
push 0x400
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
fld qword [esi + 8]
movsx edx, word [esi + 0x12]
movsx eax, word [esi + 4]
movsx ecx, word [esi + 0x10]
push 0
lea ebx, [ebp + 0xf4]
push ebx
push edx
push eax
push ecx
sub esp, 8
fstp qword [esp]
call sub.fvcommn3.dll_void___cdecl_GetReadingString_double__long_int__long_int__long_int__class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______int_
movsx edx, byte [esp + 0x44]
add esp, 0x1c
push edx
mov ecx, ebx
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.MSVCR90.dll_strchr]
add esp, 8
test eax, eax
je 0x1003b100
mov byte [eax], 0x2e
movsx ecx, word [esi + 0x14]
lea eax, [ebp + 0xf0]
push eax
movsx eax, word [esi + 0x10]
push eax
push ecx
call sub.fvcommn3.dll_void___cdecl_GetUnitsStringFromFunction_long_int__long_int__class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____
movsx ecx, word [edi + 4]
fld qword [edi + 8]
add esp, 0xc
xor edx, edx
cmp word [edi + 0x14], 0x29
lea eax, [ebp + 0xfc]
sete dl
push edx
movsx edx, word [edi + 0x10]
push eax
movsx eax, word [edi + 0x12]
push eax
push ecx
push edx
sub esp, 8
fstp qword [esp]
call sub.fvcommn3.dll_void___cdecl_GetReadingString_double__long_int__long_int__long_int__class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______int_
movsx eax, byte [esp + 0x44]
add esp, 0x1c
push eax
lea ecx, [ebp + 0xfc]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.MSVCR90.dll_strchr]
add esp, 8
test eax, eax
je 0x1003b16e
mov byte [eax], 0x2e
movsx ecx, word [edi + 0x10]
movsx edx, word [edi + 0x14]
lea eax, [ebp + 0xf8]
push eax
push ecx
push edx
call sub.fvcommn3.dll_void___cdecl_GetUnitsStringFromFunction_long_int__long_int__class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____
mov eax, dword [ebp + 0xf8]
mov ecx, dword [ebp + 0xfc]
mov edx, dword [ebp + 0xf0]
push eax
mov eax, dword [ebx]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push 0x1004da58
push ecx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
movzx eax, word [esi + 4]
add esp, 0x24
cmp ax, 2
je 0x1003b1bf
cmp ax, 3
jne 0x1003b1d9
push 2
mov ecx, ebx
call dword [sym.imp.mfc90.dll_Ordinal_2672]
cmp al, 0x4f
jne 0x1003b1d9
push 0x30
push 2
mov ecx, ebx
call dword [sym.imp.mfc90.dll_Ordinal_6148]
cmp word [esi + 4], 4
jne 0x1003b214
push 0
mov ecx, ebx
call dword [sym.imp.mfc90.dll_Ordinal_2672]
cmp al, 0x4f
jne 0x1003b1fa
push 0x30
push 0
mov ecx, ebx
call dword [sym.imp.mfc90.dll_Ordinal_6148]
push 3
mov ecx, ebx
call dword [sym.imp.mfc90.dll_Ordinal_2672]
cmp al, 0x4e
jne 0x1003b214
push 0x6e
push 3
mov ecx, ebx
call dword [sym.imp.mfc90.dll_Ordinal_6148]
movzx eax, word [edi + 4]
cmp ax, 2
je 0x1003b224
cmp ax, 3
jne 0x1003b244
lea ebx, [ebp + 0xfc]
push 2
mov ecx, ebx
call dword [sym.imp.mfc90.dll_Ordinal_2672]
cmp al, 0x4f
jne 0x1003b244
push 0x30
push 2
mov ecx, ebx
call dword [sym.imp.mfc90.dll_Ordinal_6148]
cmp word [edi + 4], 4
jne 0x1003b285
lea edi, [ebp + 0xfc]
push 0
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_2672]
cmp al, 0x4f
jne 0x1003b26b
push 0x30
push 0
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_6148]
push 3
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_2672]
cmp al, 0x4e
jne 0x1003b285
push 0x6e
push 3
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_6148]
push 0x421
mov ecx, ebp
call sub.mfc90.dll_Ordinal_2899
test dword [esi], 0x2000
mov ecx, eax
je 0x1003b29f
push 5
jmp 0x1003b2a1
push 0
call sub.mfc90.dll_Ordinal_6584
push 0x411
mov ecx, ebp
call sub.mfc90.dll_Ordinal_2899
test dword [esi], 0x200
mov ecx, eax
je 0x1003b2c0
push 5
jmp 0x1003b2c2
push 0
call sub.mfc90.dll_Ordinal_6584
push 0x418
mov ecx, ebp
call sub.mfc90.dll_Ordinal_2899
test byte [esi], 0x40
mov ecx, eax
je 0x1003b2de
push 5
jmp 0x1003b2e0
push 0
call fcn.10008cd0
push 0x414
mov ecx, ebp
call sub.mfc90.dll_Ordinal_2899
test byte [esi], 0x80
mov ecx, eax
je 0x1003b2fc
push 5
jmp 0x1003b2fe
push 0
call sub.mfc90.dll_Ordinal_6584
push 0x415
mov ecx, ebp
call sub.mfc90.dll_Ordinal_2899
test byte [esi], 0x20
mov ecx, eax
je 0x1003b31a
push 5
jmp 0x1003b31c
push 0
call sub.mfc90.dll_Ordinal_6584
push 0x417
mov ecx, ebp
call sub.mfc90.dll_Ordinal_2899
test byte [esi], 0x10
mov ecx, eax
je 0x1003b338
push 5
jmp 0x1003b33a
push 0
call sub.mfc90.dll_Ordinal_6584
push 0x419
mov ecx, ebp
call sub.mfc90.dll_Ordinal_2899
test byte [esi], 8
mov ecx, eax
je 0x1003b356
push 5
jmp 0x1003b358
push 0
call sub.mfc90.dll_Ordinal_6584
push 0x413
mov ecx, ebp
call sub.mfc90.dll_Ordinal_2899
test dword [esi], 0x1000
mov ecx, eax
je 0x1003b377
push 5
jmp 0x1003b379
push 0
call sub.mfc90.dll_Ordinal_6584
push 0x41c
mov ecx, ebp
call sub.mfc90.dll_Ordinal_2899
test dword [esi], 0x8000
mov ecx, eax
je 0x1003b398
push 5
jmp 0x1003b39a
push 0
call sub.mfc90.dll_Ordinal_6584
fld qword [esi + 0x30]
xor edi, edi
fstp qword [esp + 0x1c]
mov dword [esp + 0x24], edi
cmp word [esi + 0x14], di
jne 0x1003b3c0
lea ecx, [ebp + 0x100]
call dword [sym.imp.mfc90.dll_Ordinal_2327]
jmp 0x1003b3f6
push str._H:_M:_S
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x24]
call fcn.100021e0
push eax
lea ecx, [ebp + 0x100]
mov dword [esp + 0x60], edi
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x14]
mov dword [esp + 0x5c], 0xffffffff
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.mfc90.dll_Ordinal_2592
cmp word [esi + 4], 1
lea ecx, [eax + 0x1a8]
jne 0x1003b416
push edi
jmp 0x1003b418
push 1
push 0x403
call sub.mfc90.dll_Ordinal_2899
mov ecx, eax
call sub.mfc90.dll_Ordinal_2360
push edi
mov ecx, ebp
call sub.mfc90.dll_Ordinal_6740
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1003dc2c
add esp, 0x4c
ret 0x10