Function at 0x21027279
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [ebp + 8]
mov dword [0x2108afcc], eax
push 0x2a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x2108ab1c], eax
lea ecx, [ebp - 0x44]
push ecx
push 0x3c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x210272d3
push 0
lea edx, [ebp - 0x44]
push edx
call fcn.21050d13
mov dword [0x2108ab18], eax
mov eax, dword [ebp - 0x2d]
and eax, 0xff
push eax
call fcn.2104fb35
mov dword [0x2108ab14], eax
push 0x2108afb8
push 0x2108afba
push 0x2108afbc
push 0x2108afc0
push 0x2108afc4
push 0x2108afc8
call fcn.21034fca
call fcn.21002d70
movsx ecx, byte [0x2108b154]
test ecx, ecx
jne 0x21027324
push 0x210822e0
push 0x28be
push 0x210822ec
push 0x80
push 0x2108b154
call fcn.2102791f
movsx edx, byte [0x2108b0d4]
test edx, edx
jne 0x2102734d
push 0x210822f8
push 0x28bf
push 0x21082308
push 0x80
push 0x2108b0d4
call fcn.2102791f
push 0x21082314
push 0x28c0
push 0x21082320
push 0x80
push 0x2108a964
call fcn.2102791f
push 0x21082330
push 0x28c1
push 0x2108233c
push 0x80
push 0x2108a8e4
call fcn.2102791f
push 0x21082348
push 0x28c2
push 0x21082354
push 0x80
push 0x2108a864
call fcn.2102791f
push 0x2108235c
push 0x28c3
push 0x21082368
push 0x80
push 0x2108b054
call fcn.2102791f
push 0x21082380
push 0x28c4
push 0x2108238c
push 0x80
push 0x2108afd4
call fcn.2102791f
cmp dword [0x2108afc8], 0
je 0x210273f8
mov eax, dword [0x21081814]
mov dword [0x2108afb0], eax
jmp 0x21027404
mov ecx, dword [0x21081818]
mov dword [0x2108afb0], ecx
cmp dword [0x2108afc8], 0
je 0x2102745f
mov edx, dword [str.fppdr3.drv]
mov dword [0x2108a608], edx
mov eax, dword [str.fppdr3.drv]
mov dword [0x2108a604], eax
mov ecx, dword [0x210819c8]
mov dword [0x2108a600], ecx
mov edx, dword [str.fppmon3a.dll]
mov dword [0x2108a5fc], edx
mov eax, dword [str.fppmon3a.dll]
mov dword [0x2108a5f8], eax
mov ecx, dword [0x210819d0]
mov dword [0x2108a5f4], ecx
mov edx, dword [0x210819d4]
mov dword [0x2108a5f0], edx
jmp 0x210274ad
mov eax, dword [str.fppgraf3.dll]
mov dword [0x2108a608], eax
mov ecx, dword [str.fppint3.dll]
mov dword [0x2108a604], ecx
mov edx, dword [str.fppdes3a.dll]
mov dword [0x2108a600], edx
mov eax, dword [str.fppmon3.dll]
mov dword [0x2108a5fc], eax
mov ecx, dword [str.fppmon3.dll]
mov dword [0x2108a5f8], ecx
mov edx, dword [str.fppui3a.dll]
mov dword [0x2108a5f4], edx
mov eax, dword [str.fppdis3a.exe]
mov dword [0x2108a5f0], eax
push 0x50
push 0x2108ac30
push 0x1001
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x20
lea ecx, [ebp - 0x168]
push ecx
push 9
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x10
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x168]
push eax
call fcn.2105446f
add esp, 0xc
mov word [0x2108ac2e], ax
push 0x20
lea ecx, [ebp - 0x168]
push ecx
push 0x1004
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea edx, [ebp - 0x168]
push edx
call fcn.2105496e
add esp, 4
mov word [0x2108ac2c], ax
push 0x21089944
push 0x100
push 0x2108a70c
call fcn.21003071
push 0x21089844
push 0x100
push 0x2108a60c
call fcn.21003071
mov eax, dword [ebp + 8]
push eax
call fcn.21027a61
test eax, eax
jne 0x21027586
push 0x104
lea ecx, [ebp - 0x148]
push ecx
push 0x271a
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jne 0x2102757e
xor eax, eax
jmp 0x21027919
mov eax, dword [ebp + 8]
mov dword [0x2108afd0], eax
push 0x2108ac28
push 0x2108ac2a
mov ecx, dword [0x2108afd0]
push ecx
call fcn.2104d4ee
push str.AppTitle
push 0x28be
push 0x210823c8
push 0x80
push 0x2108b154
call fcn.2102791f
push str.AppTitleFull
push 0x28bf
push 0x210823e4
push 0x80
push 0x2108b0d4
call fcn.2102791f
push str.DriverName
push 0x28c0
push str.pdfFactory_3
push 0x80
push 0x2108a964
call fcn.2102791f
push str.PrinterName
push 0x28c1
push str.pdfFactory
push 0x80
push 0x2108a8e4
call fcn.2102791f
push str.PortName
push 0x28c2
push str.FPP3:
push 0x80
push 0x2108a864
call fcn.2102791f
push str.CompanyName
push 0x28c3
push str.FinePrint_Software__LLC
push 0x80
push 0x2108b054
call fcn.2102791f
push str.Copyright
push 0x28c4
push str.Copyright__c__2001_2010_FinePrint_Software__LLC
push 0x80
push 0x2108afd4
call fcn.2102791f
push str.UrlHome
push 0x285b
push 0
push 0xc0
push 0x2108aef0
call fcn.2102791f
push 1
push 0x2108aef0
push 0x210824a0
call fcn.21052812
test eax, eax
je 0x210276b4
push 0x2108aef7
push 0xc0
push 0x2108ae30
call fcn.21003071
jmp 0x210276c8
push 0x2108aef0
push 0xc0
push 0x2108ae30
call fcn.21003071
push str.UrlSupport
push 0x28bc
push 0
push 0xc0
push 0x2108ad70
call fcn.2102791f
movsx edx, byte [0x2108ad70]
test edx, edx
jne 0x21027700
push 0x2108aef0
push 0x2108ad70
call fcn.210537b0
add esp, 8
push str.UrlPurchaseOnline
push 0x277d
push 0
push 0xc0
push 0x2108acb0
call fcn.2102791f
movsx eax, byte [0x2108acb0]
test eax, eax
jne 0x21027738
push 0x2108aef0
push 0x2108acb0
call fcn.210537b0
add esp, 8
push 0x2108b154
push 0x2716
push 0x28
push 0x2108a83c
call fcn.21048a80
add esp, 0x10
movsx ecx, byte [0x2108a83c]
test ecx, ecx
jne 0x21027773
push 0x2108b154
push str.1_Dispatcher
push 0x2108a83c
call fcn.2105374f
add esp, 0xc
push 3
push 0x2108a83c
push str._s_v_d
push 0x2108a80c
call fcn.2105374f
add esp, 0x10
push 0x2741
push 0x80
push 0x2108a9e4
call fcn.21048a80
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x210277b5
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 3
jge 0x21027822
cmp dword [ebp - 4], 0
jne 0x21027800
push 0x20
mov eax, dword [ebp - 4]
shl eax, 5
add eax, 0x2108aa64
push eax
push str.UrlPurchaseOffline
call fcn.2104625b
test eax, eax
jne 0x210277fe
mov ecx, dword [ebp - 4]
add ecx, 0x2742
push ecx
push 0x20
mov edx, dword [ebp - 4]
shl edx, 5
add edx, 0x2108aa64
push edx
call fcn.21048a80
add esp, 0xc
jmp 0x21027820
mov eax, dword [ebp - 4]
add eax, 0x2742
push eax
push 0x20
mov ecx, dword [ebp - 4]
shl ecx, 5
add ecx, 0x2108aa64
push ecx
call fcn.21048a80
add esp, 0xc
jmp 0x210277ac
push 0x273f
push 0x20
push 0x2108ac90
call fcn.21048a80
add esp, 0xc
push 0x2740
push 0x104
lea edx, [ebp - 0x148]
push edx
call fcn.21048a80
add esp, 0xc
lea eax, [ebp - 0x148]
push eax
call fcn.2105496e
add esp, 4
mov dword [0x2108ac8c], eax
cmp dword [0x2108ac8c], 0
jg 0x21027876
mov dword [0x2108ac8c], 8
push 0x273e
push 0x104
lea ecx, [ebp - 0x148]
push ecx
call fcn.21048a80
add esp, 0xc
lea edx, [ebp - 0x148]
push edx
call fcn.2105496e
add esp, 4
mov dword [0x2108ac88], eax
cmp dword [0x2108ac88], 0
ja 0x210278b6
mov dword [0x2108ac88], 1
push 0x274c
push 0x104
lea eax, [ebp - 0x148]
push eax
call fcn.21048a80
add esp, 0xc
lea ecx, [ebp - 0x148]
push ecx
call fcn.2105496e
add esp, 4
mov dword [0x2108ac84], eax
push 0x2108b154
push 0x2764
push 0x50
push 0x2108aac4
call fcn.21048a80
add esp, 0x10
call fcn.210279e6
push 0
mov ecx, 0x2108b440
call fcn.21034141
xor eax, eax
cmp dword [0x2108afd0], 0
setne al
mov esp, ebp
pop ebp
ret 4