Function at 0x4986a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53cfac
mov eax, dword fs:[0]
push eax
sub esp, 0x338
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x274]
push eax
mov dword [0x58f67c], edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x4986f0
push dword [ebp - 0x274]
jmp 0x4986f7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0051702d
add esp, 4
mov ecx, 0x5905c0
push str.WM_AddSpoolFile
call fcn.004320c0
push str.WM_CtlColorEditThis
mov ecx, 0x5905c0
mov dword [0x58fca8], eax
call fcn.004320c0
push str.WM_EditNotifyThis
mov ecx, 0x5905c0
mov dword [0x58fcac], eax
call fcn.004320c0
push str.WM_EndEdit
mov ecx, 0x5905c0
mov dword [0x58fcb0], eax
call fcn.004320c0
push str.WM_IdiotProof
mov ecx, 0x5905c0
mov dword [0x58fcb4], eax
call fcn.004320c0
push str.WM_IdiotProofPropSheet
mov ecx, 0x5905c0
mov dword [0x58fcb8], eax
call fcn.004320c0
push str.WM_Invalidate
mov ecx, 0x5905c0
mov dword [0x58fcbc], eax
call fcn.004320c0
push str.WM_KillRedraw
mov ecx, 0x5905c0
mov dword [0x58fcc0], eax
call fcn.004320c0
push str.WM_NoteCommand
mov ecx, 0x5905c0
mov dword [0x58fcc4], eax
call fcn.004320c0
push str.WM_NoteDeleted
mov ecx, 0x5905c0
mov dword [0x58fcc8], eax
call fcn.004320c0
push str.WM_SaveNote
mov ecx, 0x5905c0
mov dword [0x58fccc], eax
call fcn.004320c0
push str.WM_WaitRedraw
mov ecx, 0x5905c0
mov dword [0x58fcd0], eax
call fcn.004320c0
push str.CF_FpFile
mov ecx, 0x5905c0
mov dword [0x58fcd4], eax
call fcn.00432050
push str.CF_FpNote
mov ecx, 0x5905c0
mov word [0x58fcd8], ax
call fcn.00432050
push str.CF_Metadata
mov ecx, 0x5905c0
mov word [0x58fcdc], ax
call fcn.00432050
push str.CF_MetadataEx
mov ecx, 0x5905c0
mov word [0x58fce0], ax
call fcn.00432050
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x2a
mov word [0x58fce4], ax
call esi
mov dword [0x58ffa0], eax
lea eax, [ebp - 0x340]
push eax
push 0x5c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x498896
lea eax, [ebp - 0x340]
push 0
push eax
call fcn.004a9bf0
mov dword [0x58ffa4], eax
movzx eax, byte [ebp - 0x329]
push eax
call fcn.004a6ff0
add esp, 0xc
mov dword [0x58ffac], eax
push 0x4a
call esi
push 0x58f69c
push 0x58f698
push 0x58f694
push 0x58f690
push 0x58f68c
push 0x58f688
push 0x58f684
push 0x58f680
mov dword [0x58ffa8], eax
call fcn.0049e5c0
add esp, 0x20
cmp word [0x58f378], 0
jne 0x4988fd
mov eax, dword [0x54a274]
movups xmm0, xmmword [str.pdfFactory]
mov dword [0x58f388], eax
mov ax, word [0x54a278]
movups xmmword [0x58f378], xmm0
mov word [0x58f38c], ax
push 6
push str.pdfFactory
push str._s__d
push 0x590260
call fcn.00405510
push str.pdfFactory
push 0x590360
call fcn.00405510
push 6
push str.FPP_d:
push 0x590460
call fcn.00405510
movups xmm0, xmmword [0x546f94]
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add esp, 0x24
mov dword [0x59025c], 0x55149c
movups xmmword [0x58f478], xmm0
mov dword [0x5905b0], 0x5514fc
movups xmm0, xmmword [0x546fa4]
push 0x50
push 0x58fce8
movups xmmword [0x58f488], xmm0
push 0x1001
movups xmm0, xmmword [0x546fb4]
push 0x800
mov dword [0x590258], 0x551554
movups xmmword [0x58f498], xmm0
mov dword [0x5905b4], 0x55158c
movups xmm0, xmmword [0x551998]
mov dword [0x5905b8], 0x5515fc
mov dword [0x5905bc], 0x551634
movups xmmword [0x58f578], xmm0
movups xmm0, xmmword [0x5519a8]
movups xmmword [0x58f588], xmm0
movups xmm0, xmmword [0x5519b8]
movups xmmword [0x58f598], xmm0
movups xmm0, xmmword [0x5519c8]
movups xmmword [0x58f5a8], xmm0
movups xmm0, xmmword [0x5519d8]
movups xmmword [0x58f5b8], xmm0
movups xmm0, xmmword [0x5519e8]
movups xmmword [0x58f5c8], xmm0
call esi
push 0x20
lea eax, [ebp - 0x50]
push eax
push 9
push 0x800
call esi
push 0x10
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0051726f
add esp, 0xc
mov word [0x58fd88], ax
lea eax, [ebp - 0x50]
push 0x20
push eax
push 0x1004
push 0x800
call esi
lea eax, [ebp - 0x50]
push eax
call fcn.005165eb
add esp, 4
mov word [0x58fd8c], ax
lea eax, [ebp - 0x50]
mov dword [0x58c110], 1
push 0x20
push eax
push 0x100a
push 0x800
call esi
test eax, eax
je 0x498aa3
push 0xa
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0051726f
mov ecx, dword [0x58c110]
add esp, 0xc
cmp eax, 1
mov edx, 2
cmovne ecx, edx
mov dword [0x58c110], ecx
push 0x38
lea eax, [ebp - 0x2e4]
push 0
push eax
call fcn.00509680
add esp, 0xc
lea ecx, [ebp - 0x2e4]
push 0
call fcn.0046f8c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2ac]
push 0x38
push 0
push eax
call fcn.00509680
add esp, 0xc
lea ecx, [ebp - 0x2ac]
push 0
call fcn.0046f950
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2ac]
push str.Help
call fcn.00468b80
test eax, eax
je 0x498b08
cmp word [eax], 0
jne 0x498b18
push str.Help
lea ecx, [ebp - 0x2e4]
call fcn.00468b80
test eax, eax
je 0x498b37
cmp word [eax], 0
je 0x498b37
push 0
push eax
push 0x104
push 0x590050
call fcn.004823d0
add esp, 0x10
call fcn.004022a0
push edi
call fcn.00498e20
add esp, 4
test eax, eax
jne 0x498b81
push 0x104
lea eax, [ebp - 0x258]
push eax
push 0x2f5d
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x498b6c
xor ebx, ebx
jmp 0x498d30
push edi
mov dword [0x58f678], edi
call fcn.0047dc50
add esp, 4
mov word [0x58fd90], ax
push 0x274c
lea eax, [ebp - 0x258]
push 0x104
push eax
call fcn.004a5930
lea eax, [ebp - 0x258]
push eax
call fcn.005165eb
lea ecx, [ebp - 0x26c]
mov dword [0x58fca0], eax
push ecx
push eax
call fcn.004a09d0
add esp, 0x18
test eax, eax
je 0x498c8f
push 0
push 0x80
push 0x58f378
lea ecx, [ebp - 0x26c]
call fcn.0049feb0
push 0x58f378
push 0x590360
call fcn.00405510
mov eax, dword [ebp - 0x268]
add esp, 8
cmp eax, 1
ja 0x498c8f
sub eax, 0
je 0x498c21
sub eax, 1
jne 0x498c3b
test byte [ebp - 0x260], 1
movzx eax, word [ebp - 0x264]
push eax
je 0x498c1a
push str.http:__fineprint.com_orderform_pfpro_d
jmp 0x498c2e
push str.http:__fineprint.com_orderform_pf_d
jmp 0x498c2e
movzx eax, word [ebp - 0x264]
push eax
push str.http:__fineprint.com_orderform_fp_d
push 0x58faa0
call fcn.00405510
add esp, 0xc
call fcn.00429470
test eax, eax
jne 0x498c6a
lea eax, [ebp - 0x258]
push eax
call fcn.004a8900
push 0
lea eax, [ebp - 0x258]
push str.fppent6a.dll
push eax
call fcn.00415680
add esp, 0x10
test eax, eax
je 0x498c8f
mov ecx, 0x58faa0
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x498c72
mov eax, dword [0x551ad8]
mov dword [ecx], eax
mov ax, word [0x551adc]
mov word [ecx + 4], ax
push 0x58f378
push str._s_Dispatcher
push 0x590560
call fcn.00405510
movups xmm0, xmmword [str.http:__pdffactory.com]
mov eax, dword [0x549eb4]
push 0
movups xmmword [0x58f6a0], xmm0
push 0x58f6ae
movups xmm0, xmmword [0x549e9c]
push 0xff
push 0x58f8a0
movups xmmword [0x58f6b0], xmm0
mov dword [0x58f6c8], eax
movq xmm0, qword [0x549eac]
movq qword [0x58f6c0], xmm0
call fcn.004823d0
push 6
push str.http:__fineprint.com_help_pdffactory_d
push 0x590050
call fcn.00405510
xor eax, eax
add esp, 0x28
cmp dword [0x58c110], 1
setne al
lea eax, [eax*8 + 1]
mov dword [0x58c104], eax
call fcn.004990b0
call fcn.00498d90
xor ebx, ebx
cmp dword [0x58f678], ebx
setne bl
mov byte [ebp - 4], 0
mov dword [ebp - 0x2ac], 0x546dcc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2ac]
call fcn.00467ce0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2e4], 0x546dc8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.00467ce0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret