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

Disassembly:
push ebp
push dword [ebp - 4]
mov ebp, esp
add ebp, 4
sub esp, 4
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x10]
bt edx, esi
jae 0x4df17e
cmp edi, reloc.gdi32.dll_AbortDoc
je 0x4deeac
cmp esi, edi
jne 0x4df17e
push 0xe
push 0x5bb7d6
call fcn.004cccc3
mov byte [ebp - 5], 0
mov edx, esi
cmp esi, 0xf
ja case.default.0x4deec7
jmp dword [edx*4 + 0x4deece]
push dword [ebx + 0xe0]
call fcn.004ce4a8
jmp case.default.0x4deec7
cmp dword [ebx + 0xe0], 0
je 0x4df126
push dword [ebx + 0xf0]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
jmp 0x4df003
cmp dword [ebx + 0xe0], 2
jl 0x4df126
push dword [ebx + 0xf0]
push dword [ebx + 0x44]
push dword [ebx + 0x40]
push dword [ebx + 0x4c]
push dword [ebx + 0x48]
jmp 0x4df0fe
cmp dword [ebx + 0xe0], 2
jl 0x4df126
cmp byte [ebx + 0xf0], 0
jne 0x4df126
push dword [ebx + 0x24]
push dword [ebx + 0x20]
jmp 0x4defe6
cmp dword [ebx + 0xe0], 2
jl 0x4df126
cmp byte [ebx + 0xf0], 0
jne 0x4df126
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
jmp 0x4defe6
cmp dword [ebx + 0xe0], 2
jl 0x4df126
cmp byte [ebx + 0xf0], 0
jne 0x4df126
push dword [ebx + 0x34]
push dword [ebx + 0x30]
jmp 0x4defe6
cmp dword [ebx + 0xe0], 2
jl 0x4df126
cmp byte [ebx + 0xf0], 0
jne 0x4df126
push dword [ebx + 0x3c]
push dword [ebx + 0x38]
push 4
jmp 0x4df05c
cmp dword [ebx + 0xe0], 0
je 0x4df126
push dword [ebx + 0xf0]
push dword [ebx + 0x54]
push dword [ebx + 0x50]
push 3
call fcn.004ce80a
jmp 0x4df103
cmp dword [ebx + 0xe0], 0
je 0x4df126
push dword [ebx + 0xf0]
push dword [ebx + 0x5c]
push dword [ebx + 0x58]
push dword [ebx + 0x64]
push dword [ebx + 0x60]
jmp 0x4df0fe
cmp dword [ebx + 0xe0], 0
je 0x4df126
push dword [ebx + 4]
push dword [ebx]
jmp 0x4df05a
cmp dword [ebx + 0xe0], 0
je 0x4df126
push dword [ebx + 0xc]
push dword [ebx + 8]
push 3
call fcn.004ce751
jmp case.default.0x4deec7
cmp dword [ebx + 0xe0], 0
je 0x4df126
push dword [ebx + 0xf0]
push dword [ebx + 0x6c]
push dword [ebx + 0x68]
push dword [ebx + 0x74]
push dword [ebx + 0x70]
jmp 0x4df0fe
cmp dword [ebx + 0xe0], 0
je 0x4df126
push dword [ebx + 0xf0]
push dword [ebx + 0x7c]
push dword [ebx + 0x78]
push dword [ebx + 0x84]
push dword [ebx + 0x80]
jmp 0x4df0fe
cmp dword [ebx + 0xe0], 0
je 0x4df126
push dword [ebx + 0xf0]
push dword [ebx + 0x9c]
push dword [ebx + 0x98]
push dword [ebx + 0xa4]
push dword [ebx + 0xa0]
jmp 0x4df0fe
cmp dword [ebx + 0xe0], 0
je 0x4df126
push dword [ebx + 0xf0]
push dword [ebx + 0x8c]
push dword [ebx + 0x88]
push dword [ebx + 0x94]
push dword [ebx + 0x90]
call fcn.004dee1d
mov byte [ebp - 5], 1
jmp case.default.0x4deec7
cmp dword [ebx + 0xe0], 0
je 0x4df126
fld qword [0x5bb7c0]
fcomp qword [ebx + 0xd8]
wait
fnstsw ax
test ah, 0x40
je 0x4df134
push 6
push 0x5bb7c8
call fcn.004cccc3
jmp case.default.0x4deec7
push 0
push 0
push dword [ebx + 0xdc]
push dword [ebx + 0xd8]
push 4
push 0
call fcn.004ce4dc
cmp byte [ebx + 0xf0], 0
je 0x4df172
cmp byte [ebp - 5], 0
je 0x4df172
mov ecx, dword [ebp - 4]
mov byte [ecx - 0x215], 1
push 1
push 0x5bb7f4
call fcn.004cccc3
push 5
push 0x5bb7f8
call fcn.004cccc3
inc esi
cmp esi, 0x1f
jle 0x4dee8d
pop edi
pop esi
pop ebx
leave
ret 8