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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
mov ebx, dword [ebp + 8]
push 0xffffffffffffffff
push 1
call fcn.0040fa01
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x107
add eax, 0x210
push eax
push 0
push 0x5bd090
push 0
push 1
sub eax, 0x230
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebx + 0xfc]
push eax
call fcn.00463b3f
xor esi, esi
test al, al
je 0x4e8522
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x80], esi
mov dword [ebx + 0x84], esi
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 0x78], esi
mov dword [ebx + 0x7c], esi
mov dword [ebx + 0x88], esi
mov dword [ebx + 0x8c], esi
mov dword [ebx + 0x90], esi
mov dword [ebx + 0x94], esi
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x3c], esi
mov dword [ebx + 0x40], esi
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x4c], esi
mov dword [ebx + 0x50], esi
mov dword [ebx + 0x54], esi
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x58], esi
mov dword [ebx + 0x5c], esi
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x64], esi
mov dword [ebx + 0x68], esi
mov dword [ebx + 0x6c], esi
mov dword [ebx + 0x70], esi
mov dword [ebx + 0x74], esi
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x34], esi
mov dword [ebx + 0xb8], esi
mov dword [ebx + 0xbc], esi
mov dword [ebx + 0xc0], esi
mov dword [ebx + 0xc4], esi
mov dword [ebx + 0xc8], esi
mov dword [ebx + 0xcc], esi
mov dword [ebx + 0xd0], esi
mov dword [ebx + 0xd4], esi
mov dword [ebx + 0xd8], reloc.gdi32.dll_AbortDoc
mov dword [ebx + 0xdc], 0x7fefffff
mov dword [ebx + 0xe0], reloc.gdi32.dll_AbortDoc
mov dword [ebx + 0xe4], 0x7fefffff
fild dword [ebx + 0xec]
fst qword [ebp - 0xc]
fsub dword [0x5bd094]
fst qword [ebp - 0xc0]
fstp qword [ebp - 0x2c]
cmp dword [ebx + 0xec], 1
jne 0x4e8233
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 0x3ff00000
cmp dword [ebx + 0xec], 2
jge 0x4e82b9
push 0x75b
push 0x4f6e
push dword [ebx + 0xec]
push esi
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x155
push 1
push esi
push 0x5bd090
push esi
push esi
push esi
push 0x5bd090
push esi
push esi
push esi
push 0x5bd090
push esi
push esi
push esi
push 0x5bd090
push esi
push esi
push esi
push 0x5bd090
push esi
push esi
push esi
push 0x5bd090
push esi
push esi
push esi
push 0x5bd090
push esi
push esi
push 0x107
add eax, 0x210
push eax
push 0x156
push esi
push 0x5bd090
push esi
call fcn.004ad59a
jmp 0x4e8522
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0xe8], eax
push 1
push dword [ebx + 0xec]
call fcn.0040d7cc
test al, al
je 0x4e8522
push 1
push 9
push dword [ebx + 0xec]
call fcn.0040da27
push 1
push 1
call fcn.0040d401
fstp qword [ebx + 8]
push 1
push dword [ebx + 0xec]
call fcn.0040d401
fstp qword [ebx + 0x10]
mov edx, dword [0x5cb670]
mov eax, dword [edx + 4]
mov dword [ebx + 0xf4], eax
mov eax, dword [ebx + 0xec]
mov eax, dword [edx + eax*4]
mov dword [ebx + 0xf8], eax
cmp byte [ebx + 0x94c], 0
je 0x4e83ef
mov eax, dword [ebx + 0xec]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 4], 1
jmp 0x4e83e0
rol dword [0x5cb780], 1
test byte [0x5cb780], 1
je 0x4e836c
rol dword [0x5cb784], 1
test byte [0x5cb784], 1
je 0x4e836c
call fcn.0040f884
jmp 0x4e836e
mov al, 0
test al, al
jne 0x4e8522
mov esi, dword [ebp - 4]
push 1
push esi
call fcn.0040d401
fstp qword [ebp - 0x34]
push 1
push esi
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.0042c8d3
sub esp, 8
fstp qword [esp]
call fcn.0040d42c
call fcn.00405af5
test al, al
jne 0x4e83db
mov ecx, dword [0x5cb670]
push 1
push 0x75b
push 0xa23
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
mov eax, dword [ebp - 4]
push 0
push 0x5bd090
push dword [ecx + eax*4]
call fcn.004ad544
jmp 0x4e8522
inc dword [ebp - 4]
jo 0x4e83ef
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xb0]
jle 0x4e8347
push 1
push 1
call fcn.0040d401
fstp qword [ebx + 0x98]
push 1
push dword [ebx + 0xec]
call fcn.0040d401
fstp qword [ebx + 0xa0]
push 1
push 2
call fcn.0040d401
fstp qword [ebx + 0xa8]
mov eax, dword [ebx + 0xec]
push 1
dec eax
push eax
call fcn.0040d401
fstp qword [ebx + 0xb0]
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebx + 0xec]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 4], 1
jmp 0x4e849c
rol dword [0x5cb780], 1
test byte [0x5cb780], 1
je 0x4e8477
rol dword [0x5cb784], 1
test byte [0x5cb784], 1
je 0x4e8477
call fcn.0040f884
jmp 0x4e8479
mov al, 0
test al, al
jne 0x4e8522
push 1
push dword [ebp - 4]
call fcn.0040d401
fstp qword [ebp - 0x14]
fld qword [ebp - 0x24]
fadd qword [ebp - 0x14]
fstp qword [ebp - 0x24]
inc dword [ebp - 4]
jo 0x4e84a7
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xb4]
jle 0x4e8452
fld qword [ebp - 0x24]
fdiv qword [ebp - 0xc]
fstp qword [ebx + 0x80]
fld qword [0x5bd098]
fld qword [ebx + 0x10]
fsub qword [ebx + 8]
fcompp
wait
fnstsw ax
sahf
mov esi, 0
je case.default.0x4e8b9d
mov edx, dword [ebx + 0xec]
cmp edx, 1
jle case.default.0x4e8b9d
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0xb8], edx
mov dword [ebp - 4], 1
jmp 0x4e8578
rol dword [0x5cb780], 1
test byte [0x5cb780], 1
je 0x4e851c
rol dword [0x5cb784], 1
test byte [0x5cb784], 1
je 0x4e851c
call fcn.0040f884
jmp 0x4e851e
mov al, 0
test al, al
je 0x4e8529
mov al, 0
jmp 0x4e8d3d
push 1
push dword [ebp - 4]
call fcn.0040d401
fsub qword [ebx + 0x80]
fst qword [ebp - 0x34]
fmul qword [ebp - 0x34]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x24]
fadd qword [ebp - 0x1c]
fstp qword [ebp - 0x24]
fld qword [ebx + 0xb8]
fld qword [ebp - 0x1c]
fmul qword [ebp - 0x34]
faddp st(1)
fstp qword [ebx + 0xb8]
fld qword [ebx + 0xc0]
fld qword [ebp - 0x1c]
fmul qword [ebp - 0x1c]
faddp st(1)
fstp qword [ebx + 0xc0]
inc dword [ebp - 4]
jo 0x4e8587
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xb8]
jle 0x4e84f7
fld qword [ebp - 0x24]
fdiv qword [ebp - 0x2c]
fstp qword [ebx + 0x78]
push dword [ebx + 0x7c]
push dword [ebx + 0x78]
call fcn.0042c7b4
fstp qword [ebx + 0x88]
fld qword [ebx + 0x88]
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.0042c7b4
fdivp st(1)
fstp qword [ebx + 0x90]
fld qword [0x5bd098]
fcomp qword [ebx + 0x88]
wait
fnstsw ax
test ah, 1
je 0x4e8a58
cmp dword [ebx + 0xec], 2
jle 0x4e87b1
fld qword [ebp - 0xc]
fsub dword [0x5bd0a0]
fstp qword [ebp - 0xc8]
fld qword [ebx + 0xb8]
fmul qword [ebp - 0xc]
fld qword [ebp - 0xc0]
fmul qword [ebp - 0xc8]
fdivp st(1)
fstp qword [ebx + 0xb8]
fld qword [ebx + 0xb8]
fld qword [ebx + 0x78]
fmul qword [ebx + 0x88]
fdivp st(1)
fstp qword [ebx + 0xb8]
cmp dword [ebx + 0xec], 7
jle 0x4e87b1
fld qword [ebx + 0xb8]
fmul qword [ebp - 0xc8]
fld qword [ebp - 0xc]
fmul qword [ebp - 0xc0]
sub esp, 8
fstp qword [esp]
call fcn.0042c7b4
fdivp st(1)
fstp qword [ebp - 0x4c]
fld qword [ebp - 0xc]
fadd dword [0x5bd094]
fstp qword [ebp - 0xd0]
fld qword [ebp - 0xc]
fadd dword [0x5bd0a4]
fstp qword [ebp - 0xd8]
fld qword [ebp - 0xd0]
fmul qword [ebp - 0xd8]
fld dword [0x5bd0a8]
fmul qword [ebp - 0xc8]
fdivp st(1)
sub esp, 8
fstp qword [esp]
call fcn.0042c7b4
fmul qword [ebp - 0x4c]
fstp qword [ebp - 0x54]
fld qword [ebp - 0xc]
fmul qword [ebp - 0xc]
fld dword [0x5bd0ac]
fmul qword [ebp - 0xc]
faddp st(1)
fsub dword [0x5bd0b0]
fmul dword [0x5bd0a4]
fmul qword [ebp - 0xd0]
fmul qword [ebp - 0xd8]
fld qword [ebp - 0xc]
fadd dword [0x5bd0b4]
fmul qword [ebp - 0xc8]
fld qword [ebp - 0xc]
fadd dword [0x5bd0b8]
fmulp st(1)
fld qword [ebp - 0xc]
fadd dword [0x5bd0bc]
fmulp st(1)
fdivp st(1)
fst qword [ebp - 0x5c]
fsub dword [0x5bd094]
fmul dword [0x5bd0a0]
sub esp, 8
fstp qword [esp]
call fcn.0042c7b4
fsub dword [0x5bd094]
fstp qword [ebp - 0x64]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
call fcn.0042c7b4
fstp qword [ebp - 0x6c]
fld dword [0x5bd094]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
call fcn.0042c849
sub esp, 8
fstp qword [esp]
call fcn.0042c7b4
fdivp st(1)
fstp qword [ebp - 0x74]
fld qword [ebp - 0x54]
fld dword [0x5bd0a0]
fld qword [ebp - 0x64]
fsub dword [0x5bd094]
fdivp st(1)
sub esp, 8
fstp qword [esp]
call fcn.0042c7b4
fdivp st(1)
fst qword [ebp - 0x7c]
fmul qword [ebp - 0x7c]
fadd dword [0x5bd094]
sub esp, 8
fstp qword [esp]
call fcn.0042c7b4
fadd qword [ebp - 0x7c]
sub esp, 8
fstp qword [esp]
call fcn.0042c849
fmul qword [ebp - 0x74]
fst qword [ebp - 0x84]
fstp qword [ebx + 0xc8]
push dword [ebx + 0xcc]
push dword [ebx + 0xc8]
call fcn.004a9fb3
fmul dword [0x5bd0a0]
fstp qword [ebx + 0xd8]
cmp dword [ebx + 0xec], 3
jle 0x4e8a58
fld qword [ebp - 0xc]
fadd dword [0x5bd094]
fstp qword [ebp - 0xf0]
fld qword [ebx + 0xc0]
fmul qword [ebp - 0xc]
fmul qword [ebp - 0xf0]
fdiv qword [ebp - 0xc0]
fld dword [0x5bd0a4]
fmul qword [ebp - 0x24]
fmul qword [ebp - 0x24]
fsubp st(1)
fstp qword [ebx + 0xc0]
fld qword [ebp - 0xc]
fsub dword [0x5bd0a0]
fstp qword [ebp - 0xe0]
fld qword [ebp - 0xc]
fsub dword [0x5bd0a4]
fstp qword [ebp - 0xe8]
fld qword [ebp - 0xe0]
fmul qword [ebp - 0xe8]
fstp qword [ebp - 0xf8]
fld qword [ebx + 0xc0]
fdiv qword [ebp - 0xf8]
fstp qword [ebx + 0xc0]
fld qword [ebx + 0xc0]
fld qword [ebx + 0x78]
fmul qword [ebx + 0x78]
fdivp st(1)
fstp qword [ebx + 0xc0]
fld qword [ebp - 0xc]
fadd dword [0x5bd0a4]
fstp qword [ebp - 0x100]
fld qword [ebp - 0xc]
fadd dword [0x5bd0b4]
fstp qword [ebp - 0x108]
fld dword [0x5bd0c0]
fmul qword [ebp - 0xc]
fmul qword [ebp - 0xe0]
fmul qword [ebp - 0xe8]
fld qword [ebp - 0xf0]
fmul qword [ebp - 0xf0]
fmul qword [ebp - 0x100]
fmul qword [ebp - 0x108]
fdivp st(1)
fstp qword [ebp - 0x8c]
fld qword [ebx + 0xc0]
fmul qword [ebp - 0xf8]
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
call fcn.0042c7b4
fld qword [ebp - 0xf0]
fmul qword [ebp - 0xc0]
fmulp st(1)
fdivp st(1)
fstp qword [ebp - 0x94]
fld qword [ebp - 0xc]
fmul qword [ebp - 0xc]
fld dword [0x5bd0b4]
fmul qword [ebp - 0xc]
fsubp st(1)
fadd dword [0x5bd0a0]
fmul dword [0x5bd0a8]
fld qword [ebp - 0xc]
fadd dword [0x5bd0b8]
fld qword [ebp - 0xc]
fadd dword [0x5bd0bc]
fmulp st(1)
fdivp st(1)
fstp qword [ebp - 0x9c]
fld dword [0x5bd0a8]
fmul qword [ebp - 0x100]
fmul qword [ebp - 0x108]
fld qword [ebp - 0xc]
fmul qword [ebp - 0xe0]
fmul qword [ebp - 0xe8]
fdivp st(1)
sub esp, 8
fstp qword [esp]
call fcn.0042c7b4
fmul qword [ebp - 0x9c]
fstp qword [ebp - 0x9c]
fld dword [0x5bd0c4]
fld qword [ebp - 0x9c]
fmul qword [ebp - 0x9c]
fdivp st(1)
fadd dword [0x5bd094]
sub esp, 8
fstp qword [esp]
call fcn.0042c7b4
fld dword [0x5bd0a0]
fdiv qword [ebp - 0x9c]
faddp st(1)
fld dword [0x5bd0c8]
fdiv qword [ebp - 0x9c]
fmulp st(1)
fadd dword [0x5bd0a8]
fstp qword [ebp - 0xa4]
fld dword [0x5bd094]
fld dword [0x5bd0a0]
fdiv qword [ebp - 0xa4]
fsubp st(1)
fld dword [0x5bd0a0]
fld qword [ebp - 0xa4]
fsub dword [0x5bd0c4]
fdivp st(1)
sub esp, 8
fstp qword [esp]
call fcn.0042c7b4
fmul qword [ebp - 0x94]
fadd dword [0x5bd094]
fdivp st(1)
fstp qword [ebp - 0xac]
fld dword [0x5bd0a0]
fld dword [0x5bd0bc]
fmul qword [ebp - 0xa4]
fdivp st(1)
fstp qword [ebp - 0x110]
fld dword [0x5bd094]
fsub qword [ebp - 0x110]
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push 0x3fd55555
push 0x55555555
call fcn.0042c667
fsubp st(1)
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
call fcn.0042c7b4
fdivp st(1)
fst qword [ebp - 0x84]
fstp qword [ebx + 0xd0]
push dword [ebx + 0xd4]
push dword [ebx + 0xd0]
call fcn.004a9fb3
fmul dword [0x5bd0a0]
fstp qword [ebx + 0xe0]
push 1
push dword [ebx + 0xec]
push 0x40390000
push 0
lea eax, [ebx + 0x20]
push eax
call fcn.0043d45b
push 1
push dword [ebx + 0xec]
push 0x4052c000
push 0
lea eax, [ebx + 0x18]
push eax
call fcn.0043d45b
push 1
push dword [ebx + 0xec]
push 0x40490000
push 0
push ebx
call fcn.0043d45b
push 1
push dword [ebx + 0xec]
push 0x3fe00000
push 0
lea eax, [ebx + 0x38]
push eax
call fcn.0043d45b
push 1
push dword [ebx + 0xec]
push 0x4058e000
push 0
lea eax, [ebx + 0x40]
push eax
call fcn.0043d45b
push 1
push dword [ebx + 0xec]
push 0x40040000
push 0
lea eax, [ebx + 0x48]
push eax
call fcn.0043d45b
push 1
push dword [ebx + 0xec]
push 0x40586000
push 0
lea eax, [ebx + 0x58]
push eax
call fcn.0043d45b
push 1
push dword [ebx + 0xec]
push 0x40140000
push 0
lea eax, [ebx + 0x60]
push eax
call fcn.0043d45b
push 1
push dword [ebx + 0xec]
push 0x4057c000
push 0
lea eax, [ebx + 0x68]
push eax
call fcn.0043d45b
push 1
push dword [ebx + 0xec]
push 0x3ff00000
push 0
lea eax, [ebx + 0x50]
push eax
call fcn.0043d45b
push 1
push dword [ebx + 0xec]
push 0x4058c000
push 0
lea eax, [ebx + 0x70]
push eax
call fcn.0043d45b
push 1
push dword [ebx + 0xec]
push 0x40240000
push 0
lea eax, [ebx + 0x28]
push eax
call fcn.0043d45b
push 1
push dword [ebx + 0xec]
push 0x40568000
push 0
lea eax, [ebx + 0x30]
push eax
call fcn.0043d45b
mov edx, dword [ebx + 0xf0]
dec edx
cmp edx, 4
ja case.default.0x4e8b9d
jmp dword [edx*4 + 0x4e8ba4]
fld qword [ebx + 8]
fstp qword [ebp - 0x3c]
fld qword [ebx + 0x10]
fstp qword [ebp - 0x44]
cmp byte [ebx + 0x94c], 0
je 0x4e8be9
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.0042c8d3
fstp qword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
call fcn.0042c8d3
fstp qword [ebp - 0x44]
push 1
push dword [ebx + 0xec]
push dword [ebx + 0x84]
push dword [ebx + 0x80]
push dword [ebx + 0x8c]
push dword [ebx + 0x88]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
lea eax, [ebp - 0x34]
push eax
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x107
add eax, 0x210
push eax
call fcn.004e5ecf
jmp case.default.0x4e8b9d
push 1
push 1
push dword [ebx + 0xec]
push dword [ebx + 0x84]
push dword [ebx + 0x80]
push dword [ebx + 0x8c]
push dword [ebx + 0x88]
lea eax, [ebp - 0x34]
push eax
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x107
add eax, 0x210
push eax
call fcn.004e64b4
jmp case.default.0x4e8b9d
push dword [ebx + 0xec]
push dword [ebx + 0x8c]
push dword [ebx + 0x88]
push dword [ebx + 0xcc]
push dword [ebx + 0xc8]
push dword [ebx + 0xd4]
push dword [ebx + 0xd0]
lea eax, [ebp - 0x34]
push eax
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x107
add eax, 0x210
push eax
call fcn.004e676a
jmp case.default.0x4e8b9d
push 1
push 1
push dword [ebx + 0xec]
push dword [ebx + 0x8c]
push dword [ebx + 0x88]
lea eax, [ebp - 0x34]
push eax
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x107
add eax, 0x210
push eax
call fcn.004e685e
jmp case.default.0x4e8b9d
push 1
push 1
push dword [ebx + 0xec]
push dword [ebx + 0x8c]
push dword [ebx + 0x88]
lea eax, [ebp - 0x34]
push eax
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x107
add eax, 0x210
push eax
call fcn.004e697b
mov al, 1
pop esi
pop ebx
leave
ret 4