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

Disassembly:
push ebp
mov ebp, esp
push ebp
sub esp, 0x34
push ebx
push esi
push edi
push 0xffffffffffffffff
push 1
call fcn.0040fa01
push dword [ebp + 8]
call fcn.005400c0
mov ebx, eax
cmp eax, reloc.gdi32.dll_AbortDoc
je 0x5410d1
mov esi, dword [ebp + 8]
cmp eax, 1
jne 0x5408d3
push 0xd2
push 0xa2c
push 0
push dword [esi + 0x1cf78]
push 0
push 0x5c5d28
push 0
push 0
push 0x17
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0xa47
push 1
push 0
push 0x5c5d28
push 0
push 0
push 0x107
sub eax, 0x19b94
push eax
push 0xa4a
push 2
push 0x107
lea eax, [esi + 0x34]
push eax
push 0xa49
push 0
push 0x5c5d28
push 0
call fcn.004ad8d2
test ebx, ebx
jne 0x5410d1
call sub.kernel32.dll_GetTickCount
mov dword [esi + reloc.gdi32.dll_AbortDoc], eax
push esi
lea eax, [esi + 8]
push eax
call fcn.00534838
mov dx, word [esi + 0x1cf74]
test dl, 2
jne 0x540906
test dl, 0x40
jne 0x540906
test dl, 0x80
je 0x540913
fld qword [esi]
fstp qword [esi + 0x10]
fld qword [esi + 8]
fstp qword [esi + 0x18]
jmp 0x54092f
mov dword [esi + 0x10], reloc.gdi32.dll_AbortDoc
mov dword [esi + 0x14], 0x7fefffff
mov dword [esi + 0x18], reloc.gdi32.dll_AbortDoc
mov dword [esi + 0x1c], 0xffefffff
mov dword [esi + 0x2c], ebx
mov dword [ebp - 0xc], 1
imul edi, dword [ebp - 0xc], reloc.gdi32.dll_AbortDoc
cmp byte [esi + edi + 0x4b2], 0
je 0x540ff5
mov ecx, dword [esi + edi + reloc.gdi32.dll_AbortDoc]
test ecx, ecx
je 0x540970
push ecx
mov eax, dword [ecx - 4]
push dword [0x5cb670]
lea eax, [eax*4 + 4]
push eax
call fcn.00405e12
mov eax, dword [esi + edi + reloc.gdi32.dll_AbortDoc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 8], 1
jmp 0x5409a9
mov ecx, dword [esi + edi + reloc.gdi32.dll_AbortDoc]
movzx eax, byte [ecx + eax]
mov dword [ebp - 0x2c], eax
push 0x1c
push dword [ebp - 8]
fild dword [ebp - 0x2c]
sub esp, 8
fstp qword [esp]
call fcn.0040d42c
inc dword [ebp - 8]
jo 0x5409b1
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x28]
jle 0x540983
push 0x1c
push dword [ebp - 0xc]
push dword [esi + edi + 0x4a8]
push 1
call fcn.0040d8c7
test al, al
je 0x5410d1
mov ecx, dword [esi + edi + reloc.gdi32.dll_AbortDoc]
test ecx, ecx
je 0x5409ee
push dword [0x5cb670]
push ecx
mov eax, dword [ecx - 4]
lea eax, [eax*4 + 4]
push eax
call fcn.00405e12
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov eax, dword [esi + reloc.gdi32.dll_AbortDoc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], ebx
jmp 0x540fe9
imul eax, eax, 0x98
mov edx, eax
add eax, edi
cmp dword [esi + eax - reloc.gdi32.dll_AbortDoc], 0
jle 0x540fe4
lea eax, [edi + edx]
lea ebx, reloc.gdi32.dll_AbortDoc
mov edx, dword [ebx + 0x90]
cmp edx, dword [esi + 0x2c]
jle 0x540a34
mov dword [esi + 0x2c], edx
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x94], eax
test byte [esi + 0x1cf74], 0x80
jne 0x540b27
inc eax
mov dword [ebp - 0x34], eax
push dword [ebp - 0xc]
push 0x1c
push eax
push 1
push dword [ebx + 0x90]
call fcn.0040da66
mov ecx, dword [esi + edi + reloc.gdi32.dll_AbortDoc]
test ecx, ecx
je 0x540a8d
mov eax, dword [ebp - 0x24]
lea eax, [ecx + eax*4 + 4]
mov ecx, dword [0x5cb670]
push eax
lea eax, [ecx + 4]
push eax
mov eax, dword [ebx + 0x90]
shl eax, 2
push eax
call fcn.00405e12
push 0x1c
push dword [ebx + 0x90]
call fcn.0040d7cc
test al, al
je 0x5410d1
cmp dword [esi + edi + reloc.gdi32.dll_AbortDoc], 0
je 0x540ad4
mov ecx, dword [0x5cb670]
lea eax, [ecx + 4]
mov ecx, dword [esi + edi + reloc.gdi32.dll_AbortDoc]
push eax
mov eax, dword [ebp - 0x24]
lea eax, [ecx + eax*4 + 4]
push eax
mov eax, dword [ebx + 0x90]
shl eax, 2
push eax
call fcn.00405e12
push 0x1c
push dword [ebp - 0xc]
push 1
push dword [ebp - 0x34]
push dword [ebx + 0x90]
call fcn.0040da66
push 0x1c
push dword [ebx + 0x90]
push ebx
lea eax, [ebx + 8]
push eax
add eax, 8
push eax
add eax, 0x38
push eax
add eax, 8
push eax
call fcn.004f32a5
test al, al
je 0x5410d1
push 0x1c
push dword [ebx + 0x90]
push 0x40490000
push 0
lea eax, [ebx + 0x20]
push eax
call fcn.0043d45b
mov dx, word [esi + 0x1cf74]
test dl, 8
jne 0x540b46
test dl, 0x10
jne 0x540b46
test dl, 0x20
jne 0x540b46
test dh, 1
je 0x540e18
cmp dword [esi + 0x24], 1
jne 0x540c2b
fld qword [ebx]
fstp qword [ebx + 0x30]
mov edx, dword [esi + 0x28]
dec edx
cmp edx, 5
ja case.default.0x540b62
jmp dword [edx*4 + 0x540b69]
mov eax, dword [ebx + 0x90]
dec eax
push eax
call fcn.004aa235
fstp qword [ebp - 0x20]
push dword [ebx + 4]
push dword [ebx]
fld qword [ebx + 0x10]
fmul qword [ebp - 0x20]
jmp 0x540bc9
push dword [ebx + 4]
push dword [ebx]
push dword [ebx + 0xc]
push dword [ebx + 8]
jmp 0x540bdc
push dword [ebx + 4]
push dword [ebx]
fld qword [ebx + 8]
fmul dword [0x5c5d2c]
jmp 0x540bc9
push dword [ebx + 4]
push dword [ebx]
fld qword [ebx + 8]
fmul dword [0x5c5d30]
sub esp, 8
fstp qword [esp]
jmp 0x540bdc
push dword [ebx + 4]
push dword [ebx]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
lea eax, [ebx + 0x38]
push eax
add eax, 8
push eax
call fcn.005407ee
jmp case.default.0x540b62
fld qword [ebx + 0x48]
fstp qword [ebx + 0x38]
fld qword [ebx + 0x50]
fstp qword [ebx + 0x40]
fld qword [esi + 0x18]
fcomp qword [ebx + 0x50]
wait
fnstsw ax
test ah, 1
je 0x540c0e
fld qword [ebx + 0x50]
fstp qword [esi + 0x18]
fld qword [esi + 0x10]
fcomp qword [ebx + 0x48]
wait
fnstsw ax
test ah, 0x41
jne case.default.0x540b62
fld qword [ebx + 0x48]
fstp qword [esi + 0x10]
jmp case.default.0x540b62
fld qword [ebx + 0x20]
fstp qword [ebx + 0x30]
mov dword [ebx + 0x38], reloc.gdi32.dll_AbortDoc
mov dword [ebx + 0x3c], 0x7fefffff
mov dword [ebx + 0x40], reloc.gdi32.dll_AbortDoc
mov dword [ebx + 0x44], 0x7fefffff
mov edx, dword [esi + 0x28]
dec edx
cmp edx, 6
ja case.default.0x540c5a
jmp dword [edx*4 + 0x540c61]
push 0x1c
push 0x5f
push 0x40490000
push 0
push dword [ebx + 0x90]
push 0
lea eax, [ebx + 0x38]
push eax
add eax, 8
push eax
call fcn.0043da1a
test al, al
jne case.default.0x540c5a
mov dword [ebx + 0x38], reloc.gdi32.dll_AbortDoc
mov dword [ebx + 0x3c], 0x7fefffff
mov dword [ebx + 0x40], reloc.gdi32.dll_AbortDoc
mov dword [ebx + 0x44], 0x7fefffff
jmp case.default.0x540c5a
push 0x1c
push dword [ebx + 0x90]
push 0x40390000
push 0
lea eax, [ebx + 0x38]
push eax
call fcn.0043d45b
push 0x1c
push dword [ebx + 0x90]
push 0x4052c000
jmp 0x540d9b
push 0x1c
push dword [ebx + 0x90]
push 0x40240000
push 0
lea eax, [ebx + 0x38]
push eax
call fcn.0043d45b
push 0x1c
push dword [ebx + 0x90]
push 0x40568000
jmp 0x540d9b
push 0x1c
push dword [ebx + 0x90]
push 0x40140000
push 0
lea eax, [ebx + 0x38]
push eax
call fcn.0043d45b
push 0x1c
push dword [ebx + 0x90]
push 0x4057c000
jmp 0x540d9b
push 0x1c
push dword [ebx + 0x90]
push 0x3ff00000
push 0
lea eax, [ebx + 0x38]
push eax
call fcn.0043d45b
push 0x1c
push dword [ebx + 0x90]
push 0x4058c000
jmp 0x540d9b
fld qword [ebx + 0x48]
fstp qword [ebx + 0x38]
fld qword [ebx + 0x50]
fstp qword [ebx + 0x40]
jmp case.default.0x540c5a
push 0x1c
push dword [ebx + 0x90]
push 0x40040000
push 0
lea eax, [ebx + 0x38]
push eax
call fcn.0043d45b
push 0x1c
push dword [ebx + 0x90]
push 0x40586000
push 0
lea eax, [ebx + 0x40]
push eax
call fcn.0043d45b
fld qword [0x5c5d20]
fcomp qword [ebx + 0x38]
wait
fnstsw ax
test ah, 0x40
jne 0x540dcb
fld qword [esi + 0x10]
fcomp qword [ebx + 0x38]
wait
fnstsw ax
test ah, 0x41
jne 0x540dcb
fld qword [ebx + 0x38]
fstp qword [esi + 0x10]
fld qword [0x5c5d20]
fcomp qword [ebx + 0x40]
wait
fnstsw ax
test ah, 0x40
jne case.default.0x540b62
fld qword [esi + 0x18]
fcomp qword [ebx + 0x40]
wait
fnstsw ax
test ah, 1
je case.default.0x540b62
fld qword [ebx + 0x40]
fstp qword [esi + 0x18]
fld qword [esi + 0x18]
fcomp qword [ebx + 0x30]
wait
fnstsw ax
test ah, 1
je 0x540e04
fld qword [ebx + 0x30]
fstp qword [esi + 0x18]
fld qword [esi + 0x10]
fcomp qword [ebx + 0x30]
wait
fnstsw ax
test ah, 0x41
jne 0x540e18
fld qword [ebx + 0x30]
fstp qword [esi + 0x10]
test byte [esi + 0x1cf74], 2
je 0x540fdb
push 0x1c
push dword [ebx + 0x90]
push 0x40390000
push 0
lea eax, [ebx + 0x18]
push eax
call fcn.0043d45b
push 0x1c
push dword [ebx + 0x90]
push 0x40490000
push 0
lea eax, [ebx + 0x20]
push eax
call fcn.0043d45b
push 0x1c
push dword [ebx + 0x90]
push 0x4052c000
push 0
lea eax, [ebx + 0x28]
push eax
call fcn.0043d45b
cmp dword [ebx + 0x90], 1
je 0x540e84
fld qword [ebx + 0x50]
fcomp qword [ebx + 0x48]
wait
fnstsw ax
test ah, 0x40
je 0x540eb4
fld qword [ebx + 0x48]
fstp qword [ebx + 0x78]
fld qword [ebx + 0x50]
fstp qword [ebx + 0x80]
mov dword [ebx + 0x68], reloc.gdi32.dll_AbortDoc
mov dword [ebx + 0x6c], 0x7fefffff
mov dword [ebx + 0x70], reloc.gdi32.dll_AbortDoc
mov dword [ebx + 0x74], 0x7fefffff
jmp 0x540f85
fld qword [ebx + 0x18]
fld qword [ebx + 0x28]
fsub qword [ebx + 0x18]
fmul dword [0x5c5d30]
fsubp st(1)
fstp qword [ebx + 0x68]
fld qword [ebx + 0x28]
fsub qword [ebx + 0x18]
fmul dword [0x5c5d30]
fadd qword [ebx + 0x28]
fstp qword [ebx + 0x70]
fld qword [ebx + 0x18]
fld qword [ebx + 0x28]
fsub qword [ebx + 0x18]
fmul dword [0x5c5d34]
fsubp st(1)
fstp qword [ebp - 0x18]
mov dword [ebp - 8], 1
jmp 0x540efa
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebx + 0x90]
jge 0x540f1a
fld qword [ebp - 0x18]
push 0x1c
push eax
call fcn.0040d401
fcompp
wait
fnstsw ax
test ah, 1
jne 0x540ef7
push 0x1c
push dword [ebp - 8]
call fcn.0040d401
fstp qword [ebx + 0x78]
mov eax, dword [ebp - 8]
mov dword [ebx + 0x88], eax
fld qword [ebx + 0x28]
fsub qword [ebx + 0x18]
fmul dword [0x5c5d34]
fadd qword [ebx + 0x28]
fstp qword [ebp - 0x18]
jmp 0x540f4a
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebx + 0x90]
jg 0x540f6a
fld qword [ebp - 0x18]
push 0x1c
push eax
call fcn.0040d401
fcompp
wait
fnstsw ax
test ah, 0x41
jne 0x540f44
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 0x38], eax
push 0x1c
push eax
call fcn.0040d401
fstp qword [ebx + 0x80]
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x8c], eax
cmp byte [esi + 0x1cf76], 0
je 0x540fdb
fld qword [ebx + 0x28]
fsub qword [ebx + 0x18]
sub esp, 8
fstp qword [esp]
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x90]
lea eax, [ebx + 0x58]
push eax
add eax, 8
push eax
call fcn.0043d657
fld qword [esi + 0x10]
fcomp qword [ebx + 0x58]
wait
fnstsw ax
test ah, 0x41
jne 0x540fc7
fld qword [ebx + 0x58]
fstp qword [esi + 0x10]
fld qword [esi + 0x18]
fcomp qword [ebx + 0x60]
wait
fnstsw ax
test ah, 1
je 0x540fdb
fld qword [ebx + 0x60]
fstp qword [esi + 0x18]
mov eax, dword [ebx + 0x90]
add dword [ebp - 0x24], eax
inc dword [ebp - 0x10]
jo 0x540ff5
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x30]
jle 0x540a04
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x18
jle 0x540939
mov dx, word [esi + 0x1cf74]
test dl, 2
jne 0x54101c
test dl, 0x40
jne 0x54101c
test dl, 0x80
je 0x5410a2
mov dword [ebp - 0xc], 1
mov edi, 0x1108
lea ebx, reloc.gdi32.dll_AbortDoc
cmp byte [ebx + 0x1102], 0
je 0x541093
mov eax, dword [ebx + reloc.gdi32.dll_AbortDoc]
cmp eax, 0
jle 0x541093
lea eax, [eax*8 + 0xc]
push eax
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call sub.mclib32.dll__ALLOCATE_8
cmp dword [ebx + reloc.gdi32.dll_AbortDoc], 0
je 0x541093
add dword [ebx + reloc.gdi32.dll_AbortDoc], 4
mov ecx, dword [ebx + reloc.gdi32.dll_AbortDoc]
mov eax, dword [ebx + reloc.gdi32.dll_AbortDoc]
mov dword [ecx - 4], eax
cmp dword [ebx + reloc.gdi32.dll_AbortDoc], 0
je 0x541093
push dword [ebp - 0xc]
push dword [ebx + 0xed8]
push dword [ebx + 0x10f8]
call fcn.0040dab3
add edi, 0x1108
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x18
jle 0x541028
lea eax, [esi + 0x10]
push eax
add eax, 8
push eax
call fcn.00534838
mov ecx, dword [ebp + 8]
mov dword [0x5e9a30], ecx
push dword [ecx + 0x1cf68]
push 0x5406b9
push 0x540733
call fcn.00446465
test al, al
jne 0x5410d5
mov al, 0
jmp 0x5410d7
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4