Function at 0x483b8c
Capabilities:
Get geographical location
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bec7d
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x4fc504]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push esi
push edi
mov eax, dword [0x4fc504]
xor eax, esp
push eax
lea eax, [esp + 0x2f0]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0045f5c3
mov eax, dword [edi + 0x73c]
xor ecx, ecx
mov dword [esp + 0x68], eax
xor ebx, ebx
mov eax, dword [0x50740c]
inc ebx
mov dword [esp + 0x86], eax
mov eax, 0xffff
mov word [esp + 0x82], ax
mov eax, dword [edi + 0x1234]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x1238]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x1d4]
mov dword [esp + 0x8a], ecx
mov dword [esp + 0x8e], ecx
mov dword [esp + 0x92], ecx
mov dword [esp + 0x96], ecx
mov dword [esp + 0x9a], ecx
mov dword [esp + 0x9e], ecx
mov dword [esp + 0xa2], ecx
mov dword [esp + 0x74], ecx
mov ecx, edi
push eax
mov dword [esp + 0x68], 0x42
mov dword [esp + 0x7c], 0x40100
mov word [esp + 0x80], bx
mov word [esp + 0x82], bx
mov word [esp + 0x84], bx
mov word [esp + 0x88], bx
call fcn.0045eafd
mov eax, dword [esp + 0x1d8]
cmp dword [esp + 0x1d4], eax
mov eax, dword [esp + 0x78]
jne 0x483c9c
or eax, 4
jmp 0x483c9e
or eax, ebx
cmp byte [ebp + 8], 0
mov dword [esp + 0x78], eax
jne 0x483cb1
or eax, 0x400
mov dword [esp + 0x78], eax
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.COMDLG32.dll_PrintDlgW]
test eax, eax
jne 0x483ccc
mov ecx, edi
call fcn.00482e0e
jmp 0x484843
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x74]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [edi + 0x1234], eax
mov eax, dword [esp + 0x70]
mov dword [edi + 0x1238], eax
xor eax, eax
push 0x58
push ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
call esi
push 0x5a
push ebx
mov dword [esp + 0x24], eax
call esi
push 0x6e
push ebx
mov dword [esp + 0x20], eax
call esi
push 0x6f
push ebx
mov dword [esp + 0x64], eax
call esi
push 0x70
push ebx
mov dword [esp + 0x68], eax
call esi
push 0x71
push ebx
mov dword [esp + 0x3c], eax
call esi
push 8
push ebx
mov dword [esp + 0x40], eax
call esi
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x34]
push 0xa
sub ecx, eax
push ebx
mov dword [esp + 0x44], ecx
call esi
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x38]
sub ecx, edx
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
sub ecx, eax
xor eax, eax
mov dword [esp + 0x40], ecx
cmp dword [edi + 0x1224], eax
jne 0x483db7
cmp dword [edi + 0x122c], eax
jne 0x483db7
cmp dword [edi + 0x1228], eax
jne 0x483db7
cmp dword [edi + 0x1230], eax
jne 0x483db7
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
jmp 0x483eb5
push 3
lea eax, [esp + 0x2c4]
push eax
push 0xd
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp word [esp + 0x2c0], 0x30
jne 0x483e1b
push 0x9ec
push dword [esp + 0x20]
push dword [edi + 0x1224]
call esi
push 0x9ec
push dword [esp + 0x1c]
mov dword [esp + 0x34], eax
push dword [edi + 0x1228]
call esi
push 0x9ec
push dword [esp + 0x20]
mov dword [esp + 0x30], eax
push dword [edi + 0x122c]
call esi
push 0x9ec
jmp 0x483e5b
push 0x3e8
push dword [esp + 0x20]
push dword [edi + 0x1224]
call esi
push 0x3e8
push dword [esp + 0x1c]
mov dword [esp + 0x34], eax
push dword [edi + 0x1228]
call esi
push 0x3e8
push dword [esp + 0x20]
mov dword [esp + 0x30], eax
push dword [edi + 0x122c]
call esi
push 0x3e8
push dword [esp + 0x1c]
mov dword [esp + 0x28], eax
push dword [edi + 0x1230]
call esi
mov edx, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], edx
cmp edx, eax
jg 0x483e81
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], edx
cmp edx, eax
jg 0x483e95
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], edx
cmp edx, eax
jg 0x483ea9
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x50], eax
cmp eax, ecx
jg 0x483eb9
mov dword [esp + 0x50], ecx
mov esi, dword [sym.imp.GDI32.dll_DPtoLP]
lea eax, [esp + 0x44]
push 2
push eax
push ebx
call esi
push 2
lea eax, [esp + 0x38]
push eax
push ebx
call esi
push 1
lea eax, [esp + 0x60]
push eax
push ebx
call esi
push str.print.header.format
lea eax, [esp + 0x258]
lea esi, [edi + 0xa7c]
push eax
mov ecx, esi
call fcn.00451b02
and dword [esp + 0x2f8], 0
lea eax, [esp + 0x26c]
push str.print.footer.format
push eax
mov ecx, esi
call fcn.00451b02
push str.print.header.style
lea eax, [esp + 0x228]
mov byte [esp + 0x2fc], 1
push eax
mov ecx, esi
call fcn.00451b02
mov byte [esp + 0x2f8], 2
cmp dword [esp + 0x238], 0x10
mov eax, dword [esp + 0x224]
jae 0x483f4f
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + 0x170]
call fcn.00410e5b
mov byte [esp + 0x2f8], 3
test byte [esp + 0x1cc], 2
je 0x483f77
mov eax, dword [esp + 0x188]
jmp 0x483f7a
push 9
pop eax
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x48
push dword [esp + 0x1c]
push eax
call esi
test byte [esp + 0x1cc], 1
mov edx, eax
je 0x483fb1
cmp dword [esp + 0x180], 0x10
jb 0x483fa8
mov ecx, dword [esp + 0x16c]
jmp 0x483fb6
lea ecx, [esp + 0x16c]
jmp 0x483fb6
mov ecx, str.Arial
movzx eax, byte [esp + 0x1c2]
push ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push eax
movzx eax, byte [esp + 0x1e0]
push eax
push dword [esp + 0x1e0]
push ecx
push ecx
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
push ebx
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0x284]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [esp + 0x294]
lea ecx, [edi + 0xa7c]
add eax, dword [esp + 0x284]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20c]
push str.print.footer.style
push eax
call fcn.00451b02
mov byte [esp + 0x2f8], 4
cmp dword [esp + 0x220], 0x10
mov eax, dword [esp + 0x20c]
jae 0x484047
lea eax, [esp + 0x20c]
push eax
lea ecx, [esp + 0x108]
call fcn.00410e5b
mov byte [esp + 0x2f8], 5
test byte [esp + 0x164], 2
je 0x48406f
mov eax, dword [esp + 0x120]
jmp 0x484072
push 9
pop eax
push 0x48
push dword [esp + 0x1c]
push eax
call esi
test byte [esp + 0x164], 1
mov ecx, eax
je 0x4840a3
cmp dword [esp + 0x118], 0x10
jb 0x48409a
mov eax, dword [esp + 0x104]
jmp 0x4840a8
lea eax, [esp + 0x104]
jmp 0x4840a8
mov eax, str.Arial
push eax
movzx eax, byte [esp + 0x15e]
xor edx, edx
push edx
push edx
push edx
push edx
push edx
push edx
push eax
movzx eax, byte [esp + 0x178]
push eax
push dword [esp + 0x178]
push edx
push edx
push edx
push ecx
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
push ebx
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0x284]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [esp + 0x294]
add eax, dword [esp + 0x284]
mov dword [esp + 0x58], eax
lea eax, [edi + 0x23c]
cmp dword [eax + 0x14], 8
mov dword [esp + 0xc0], 0x14
jb 0x48411a
mov eax, dword [eax]
mov dword [esp + 0xc4], eax
xor eax, eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
lea eax, [esp + 0xc0]
push eax
push ebx
call dword [sym.imp.GDI32.dll_StartDocW]
test eax, eax
jns 0x4841bd
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x484163
push eax
call esi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x48416e
push eax
call esi
xor ebx, ebx
lea eax, [esp + 0x1e4]
push ebx
push ebx
push ebx
push str.Can_not_start_printer_document.
push eax
mov ecx, edi
call fcn.004797dd
push ebx
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x2fc], 6
mov eax, dword [edi]
push ecx
lea ecx, [edi + 0x73c]
push ecx
mov ecx, edi
call dword [eax + 0xb0]
push ebx
push 1
lea ecx, [esp + 0x1ec]
call fcn.0040f05a
jmp 0x4847ef
push 0
lea eax, [edi + 0x744]
push 0
push 0x7d6
mov ecx, eax
mov dword [esp + 0x60], eax
call fcn.004108a6
mov edx, eax
xor eax, eax
test byte [esp + 0x78], 1
mov ecx, edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x18], eax
je 0x48422c
mov edx, dword [esp + 0x1d8]
cmp dword [esp + 0x1d4], edx
jle 0x48420b
mov eax, edx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x1d4]
jmp 0x484216
mov eax, dword [esp + 0x1d4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], edx
test eax, eax
jns 0x484224
xor eax, eax
mov dword [esp + 0x18], eax
cmp edx, ecx
jle 0x48422c
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x5c]
and dword [esp + 0xec], 0
and dword [esp + 0xf0], 0
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov dword [esp + 0xe0], eax
mov eax, ecx
sub eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x34]
sub ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x60]
mov esi, eax
sub esi, dword [esp + 0x50]
sub eax, dword [esp + 0x40]
sub esi, dword [esp + 0x38]
dec ecx
sub eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0xd4], ebx
cmp dword [esp + 0x264], 0
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xe8], esi
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], eax
je 0x4842da
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x1c]
add ecx, eax
mov dword [esp + 0xe0], ecx
cmp dword [esp + 0x27c], 0
je 0x4842fc
mov ecx, dword [esp + 0x58]
mov eax, ecx
cdq
neg ecx
sub eax, edx
sar eax, 1
sub ecx, eax
add esi, ecx
mov dword [esp + 0xe8], esi
push 0
lea ecx, [esp + 0xb0]
mov dword [esp + 0x24], 1
call fcn.00451885
mov byte [esp + 0x2f8], 7
lea eax, [edi + 0xa7c]
mov dword [esp + 0xbc], eax
lea ecx, [esp + 0xac]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x118]
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x18], esi
jge 0x4847a3
mov di, word [esp + 0x7e]
mov edx, dword [esp + 0x20]
mov al, byte [esp + 0x78]
test al, 2
je 0x48436f
movzx eax, word [esp + 0x7c]
cmp edx, eax
jl 0x484368
movzx eax, di
cmp edx, eax
jle 0x48436f
mov byte [esp + 0x17], 0
jmp 0x484374
mov byte [esp + 0x17], 1
push edx
lea eax, [esp + 0x2cc]
push 0x4ea498
push eax
call fcn.00493c9c
add esp, 0xc
lea eax, [esp + 0x2c8]
lea ecx, [esp + 0xac]
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
push str.CurrentPage
call fcn.0045194d
cmp byte [esp + 0x17], 0
je 0x484566
push ebx
call dword [sym.imp.GDI32.dll_StartPage]
cmp dword [esp + 0x264], 0
je 0x484566
push str.print.header.format
lea eax, [esp + 0x240]
push eax
lea ecx, [esp + 0xb4]
call fcn.00452177
mov edx, eax
mov byte [esp + 0x2f8], 8
lea ecx, [esp + 0x1e4]
call fcn.00430ca8
push 0
push 1
lea ecx, [esp + 0x244]
mov byte [esp + 0x300], 7
call fcn.0040177c
lea ecx, [esp + 0x18c]
call fcn.00411244
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea ecx, [esp + 0x1a4]
call fcn.00411244
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [esp + 0x28]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 8
push ebx
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov esi, dword [esp + 0xdc]
mov edi, eax
mov eax, dword [esp + 0x1c]
cdq
sub eax, edx
mov dword [esp + 0x1d4], esi
mov edx, dword [esp + 0xe0]
sar eax, 1
sub edx, eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x1dc], eax
mov ecx, edx
sub ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
add eax, ecx
mov dword [esp + 0x1d8], ecx
cmp dword [esp + 0x1f8], 8
mov dword [esp + 0x1e0], eax
mov eax, dword [esp + 0x1e4]
jae 0x4844ac
lea eax, [esp + 0x1e4]
push 0
push dword [esp + 0x1f8]
push eax
lea eax, [esp + 0x1e0]
push eax
push 2
push edx
lea eax, [esi + 5]
push eax
push ebx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push edi
push ebx
call dword [sym.imp.GDI32.dll_SetTextAlign]
lea ecx, [esp + 0x18c]
call fcn.00411244
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov ebx, eax
push ebx
push dword [esp + 0x28]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0xe0]
mov edi, eax
mov eax, dword [esp + 0x1c]
cdq
and edx, 3
push 0
lea esi, [edx + eax]
sar esi, 2
sub ecx, esi
push ecx
push dword [esp + 0xe4]
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [esp + 0xe0]
sub ecx, esi
mov esi, dword [esp + 0x24]
push ecx
push dword [esp + 0xe8]
push esi
call dword [sym.imp.GDI32.dll_LineTo]
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0
push 1
lea ecx, [esp + 0x1ec]
call fcn.0040f05a
mov ebx, esi
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xfc], eax
lea eax, [esp + 0xd4]
push eax
movzx eax, byte [esp + 0x1b]
push eax
push 0x867
mov dword [esp + 0x10c], esi
call fcn.004108a6
cmp byte [esp + 0x17], 0
mov ecx, eax
mov dword [esp + 0x18], ecx
je 0x48477a
cmp dword [esp + 0x27c], 0
je 0x48476f
push str.print.footer.format
lea eax, [esp + 0x240]
push eax
lea ecx, [esp + 0xb4]
call fcn.00452177
mov edx, eax
mov byte [esp + 0x2f8], 9
lea ecx, [esp + 0x1e4]
call fcn.00430ca8
push 0
push 1
lea ecx, [esp + 0x244]
mov byte [esp + 0x300], 7
call fcn.0040177c
lea ecx, [esp + 0x124]
call fcn.00411244
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea ecx, [esp + 0x13c]
call fcn.00411244
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [esp + 0x2c]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
push ebx
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov ecx, dword [esp + 0xe4]
mov esi, dword [esp + 0xdc]
mov dword [esp + 0x2c0], eax
mov eax, dword [esp + 0x58]
cdq
sub eax, edx
mov dword [esp + 0x204], ecx
mov edx, dword [esp + 0xe8]
mov ecx, dword [esp + 0x58]
sar eax, 1
add ecx, edx
add ecx, eax
mov dword [esp + 0x1fc], esi
cmp dword [esp + 0x1f8], 8
mov dword [esp + 0x208], ecx
lea edi, [edx + eax]
mov eax, dword [esp + 0x1e4]
mov dword [esp + 0x200], edi
jae 0x48469a
lea eax, [esp + 0x1e4]
push 0
push dword [esp + 0x1f8]
push eax
lea eax, [esp + 0x208]
push eax
push 2
push edi
lea eax, [esi + 5]
push eax
push ebx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push dword [esp + 0x2c0]
push ebx
call dword [sym.imp.GDI32.dll_SetTextAlign]
lea ecx, [esp + 0x124]
call fcn.00411244
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov esi, dword [esp + 0x24]
mov ebx, eax
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x124]
mov edi, eax
call fcn.00411244
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0xe8]
cdq
and edx, 3
push 0
lea esi, [edx + eax]
sar esi, 2
add ecx, esi
push ecx
push dword [esp + 0xe4]
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [esp + 0xe8]
add eax, esi
mov esi, dword [esp + 0x24]
push eax
push dword [esp + 0xe8]
push esi
call dword [sym.imp.GDI32.dll_LineTo]
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0
push 1
lea ecx, [esp + 0x1ec]
call fcn.0040f05a
mov ebx, esi
mov esi, dword [esp + 0x30]
push ebx
call dword [sym.imp.GDI32.dll_EndPage]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov al, byte [esp + 0x78]
inc edx
mov di, word [esp + 0x7e]
mov dword [esp + 0x20], edx
test al, 2
je 0x48479b
movzx eax, di
cmp edx, eax
jg 0x4847a3
mov al, byte [esp + 0x78]
cmp ecx, esi
jl 0x484354
mov ecx, dword [esp + 0x54]
push 0
push 0
push 0x867
call fcn.004108a6
push ebx
call dword [sym.imp.GDI32.dll_EndDoc]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4847d2
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4847e1
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0xac]
call fcn.004518e3
xor ebx, ebx
lea ecx, [esp + 0x104]
call fcn.00429090
push ebx
push 1
lea ecx, [esp + 0x214]
call fcn.0040177c
lea ecx, [esp + 0x16c]
call fcn.00429090
push ebx
push 1
lea ecx, [esp + 0x22c]
call fcn.0040177c
push ebx
push 1
lea ecx, [esp + 0x274]
call fcn.0040177c
push ebx
push 1
lea ecx, [esp + 0x25c]
call fcn.0040177c
mov ecx, dword [esp + 0x2f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.004906a0
mov esp, ebp
pop ebp
ret 4