Function at 0x5c2870
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5e2c51
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x680f10]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x680f10]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov edi, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
push edi
mov esi, ecx
push eax
mov dword [esp + 0x3c], esi
call fcn.005c1ca0
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [esp + 0x160], ebx
mov dword [esi], 0x656614
call fcn.005c7440
lea eax, [esp + 0x18]
push eax
mov dword [esi + method.SX_PDF_LIB::QuickViewer::CLayoutPreferences.virtual_72], 0x6565e0
mov dword [esp + 0x1c], ebx
call sub.gdiplus.dll_GdipCreateMatrix
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
mov dword [esi + 0x110], eax
mov dword [esi + 0x10c], ecx
mov dword [esp + 0x20], ebx
call sub.gdiplus.dll_GdipCreateMatrix
mov dword [esi + 0x118], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x114], eax
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x120], ebx
fldz
fst dword [esi + 0x134]
mov dword [esi + 0x138], ebx
fst dword [esi + 0x130]
fst dword [esi + 0x12c]
fstp dword [esi + 0x128]
fldz
mov dword [esi + 0x154], 0xff000000
fst qword [esi + 0x140]
fstp qword [esi + 0x148]
mov byte [esi + 0x13c], bl
mov byte [esp + 0x160], 3
mov ecx, dword [edi]
mov dword [esi + 0x154], ecx
mov ecx, dword [esi + 4]
cmp ecx, ebx
mov byte [esp + 0x1c], bl
mov dword [esi + 0x150], ebx
je 0x5c2ef0
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 4]
call fcn.004d1f90
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
mov edi, eax
call fcn.005c1bc0
mov edx, dword [eax]
mov dword [esi + 0x128], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0x12c], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x130], edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x134], eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov byte [esp + 0x160], 4
call eax
sub eax, 3
je 0x5c2a90
sub eax, 2
je 0x5c2a0d
cmp dword [esp + 0x70], 8
jmp 0x5c2ee1
test edi, 0x40000
jne 0x5c2a23
lea ecx, [esp + 0x58]
call fcn.00415050
jmp 0x5c2ef0
fld dword [esi + 0x130]
fld dword [esi + 0x134]
fcompp
fnstsw ax
test ah, 5
jp 0x5c2a46
fld dword [esi + 0x130]
fsub dword [esi + 0x134]
jmp 0x5c2a48
fldz
mov ecx, dword [esi + 4]
fstp dword [esi + 0x130]
lea edx, [esp + 0x20]
push edx
call fcn.005036f0
mov eax, dword [eax]
cmp eax, ebx
mov byte [esp + 0x160], 6
je 0x5c2a7e
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x5c]
call fcn.00413e40
lea ecx, [esp + 0x20]
jmp 0x5c2b0e
xor eax, eax
push eax
lea ecx, [esp + 0x5c]
call fcn.00413e40
lea ecx, [esp + 0x20]
jmp 0x5c2b0e
mov eax, edi
shr eax, 0xd
and al, 1
test edi, 0x1000
mov byte [esp + 0x1c], al
je 0x5c2aae
cmp al, bl
jne 0x5c2aae
mov eax, 1
jmp 0x5c2ab0
xor eax, eax
mov ecx, dword [esi + 4]
mov byte [esi + 0x13c], al
call fcn.00503a90
mov ecx, dword [esi + 4]
mov dword [esi + 0x150], eax
lea eax, [esp + 0x18]
push eax
call fcn.00503830
mov eax, dword [eax]
cmp eax, ebx
mov byte [esp + 0x160], 5
je 0x5c2ae3
mov edx, dword [eax]
jmp 0x5c2ae5
xor edx, edx
mov eax, edx
lea edi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x5c2af0
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x60]
call fcn.00414390
lea ecx, [esp + 0x18]
mov byte [esp + 0x160], 4
call fcn.00401650
mov ecx, dword [esp + 0x6c]
mov ebp, 1
xor edi, edi
cmp ecx, ebx
mov dword [esp + 0x20], ebp
jbe 0x5c2b81
cmp edi, ecx
jbe 0x5c2b3b
call fcn.0044b7ad
mov ecx, dword [esp + 0x6c]
cmp dword [esp + 0x70], 8
mov eax, dword [esp + 0x5c]
jae 0x5c2b4a
lea eax, [esp + 0x5c]
cmp word [eax + edi*2], 0xd
jne 0x5c2b76
cmp edi, ecx
jbe 0x5c2b5a
call fcn.0044b7ad
cmp dword [esp + 0x70], 8
mov eax, dword [esp + 0x5c]
jae 0x5c2b69
lea eax, [esp + 0x5c]
mov word [eax + edi*2], 0xa
mov ecx, dword [esp + 0x6c]
add ebp, 1
add edi, 1
cmp edi, ecx
jb 0x5c2b3b
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esi + 4]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.004d2c60
test al, al
je 0x5c2c3f
fld qword [esp + 0x24]
fld qword [0x5f38b0]
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
fmul st(1), st(0)
or eax, 0xc00
mov dword [esp + 0x14], eax
fxch st(1)
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
mov cl, byte [esp + 0x14]
movzx edx, cl
or edx, 0xffffff00
shl edx, 8
fldcw word [esp + 0x18]
fld qword [esp + 0x2c]
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
fmul st(1)
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
movzx eax, byte [esp + 0x14]
movzx ecx, al
fldcw word [esp + 0x18]
or edx, ecx
shl edx, 8
fmul qword [esp + 0x38]
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
movzx eax, byte [esp + 0x14]
movzx ecx, al
fldcw word [esp + 0x18]
or edx, ecx
mov dword [esi + 0x154], edx
push 0x10
call fcn.004274d1
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
cmp edi, ebx
mov byte [esp + 0x160], 7
je 0x5c2ca8
mov ecx, dword [esi + 4]
lea edx, [esp + 0x40]
push edx
call fcn.004d4340
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], eax
mov ecx, dword [esi + 4]
call fcn.004d7290
push eax
mov ecx, edi
call fcn.005ca000
mov ebp, eax
jmp 0x5c2caa
xor ebp, ebp
mov edi, dword [esi + 0x138]
cmp ebp, edi
mov byte [esp + 0x160], 4
je 0x5c2cd8
cmp edi, ebx
je 0x5c2cd8
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x5c2ccf
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
push edi
call fcn.004274fc
add esp, 4
lea ecx, [esp + 0x74]
mov dword [esi + 0x138], ebp
call fcn.005c66c0
mov ecx, dword [esi + 4]
mov byte [esp + 0x160], 8
call fcn.004d4610
fst qword [esp + 0x9c]
fcomp qword [0x659f18]
fnstsw ax
test ah, 0x44
jp 0x5c2d56
mov ecx, dword [esp + 0x20]
fld dword [esi + 0x134]
test ecx, ecx
fild dword [esp + 0x20]
jge 0x5c2d23
fadd qword [0x659f10]
cmp byte [esi + 0x13c], bl
fdivp st(1)
fdiv qword [0x6010c8]
fst qword [esp + 0x9c]
je 0x5c2d54
fld qword [0x656550]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x5c2d54
fstp qword [esp + 0x9c]
jmp 0x5c2d56
fstp st(0)
mov eax, dword [esi + 0x138]
push eax
lea ecx, [esp + 0x78]
call fcn.005c65b0
fld qword [0x6010c8]
fmul qword [esp + 0x9c]
mov edx, dword [esi + 0x30]
mov edx, dword [edx + 0x34]
xor eax, eax
cmp byte [esi + 0x13c], bl
fstp qword [esp + 0xbc]
lea ebp, [esi + 0x30]
sete al
mov ecx, ebp
push eax
call edx
mov cl, byte [esi + 0x13c]
mov eax, dword [ebp]
mov edx, dword [eax + 0x3c]
neg cl
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 2
push ecx
mov ecx, ebp
call edx
mov ecx, dword [esi + 4]
call fcn.004d3f10
sub eax, ebx
je 0x5c2dcc
sub eax, 1
je 0x5c2dc8
sub eax, 1
jne 0x5c2dd7
push 2
jmp 0x5c2dcd
push 1
jmp 0x5c2dcd
push ebx
mov eax, dword [ebp]
mov edx, dword [eax + 0x2c]
mov ecx, ebp
call edx
lea eax, [esp + 0x74]
push eax
mov ecx, ebp
call fcn.005c7170
mov edx, dword [ebp]
mov edx, dword [edx + 0x7c]
lea eax, [esp + 0x58]
push eax
mov ecx, ebp
call edx
test al, al
mov edi, 0x656608
jne 0x5c2e6e
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0xe8]
call fcn.005c6710
push ebx
lea ecx, [esp + 0xe8]
mov byte [esp + 0x164], 9
call fcn.005c65b0
mov edx, dword [ebp]
mov edx, dword [edx + 0x78]
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, ebp
call edx
mov eax, dword [esp + 0x13c]
push eax
mov byte [esp + 0x164], 8
mov dword [esp + 0xe8], edi
call sub.gdiplus.dll_GdipDeleteMatrix
cmp dword [esp + 0x104], 8
jb 0x5c2e6e
mov ecx, dword [esp + 0xf0]
push ecx
call fcn.004274fc
add esp, 4
mov ecx, esi
call fcn.005c1f60
mov edx, dword [esi + 0x108]
mov eax, dword [edx + 8]
lea ecx, [esi + 0x108]
push ebp
call eax
mov edx, dword [esp + 0xcc]
mov ecx, dword [esp + 0x170]
push edx
mov dword [esi + 0x11c], ecx
mov dword [esp + 0x78], edi
call sub.gdiplus.dll_GdipDeleteMatrix
mov edi, 8
cmp dword [esp + 0x94], edi
jb 0x5c2ec3
mov eax, dword [esp + 0x80]
push eax
call fcn.004274fc
add esp, 4
cmp dword [esp + 0x70], edi
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
jb 0x5c2ef0
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004274fc
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.0044abb9
add esp, 0x150
ret 0xc