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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51e66a
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x19c]
push edi
call fcn.004febf0
test eax, eax
je case.0x4fd6b9.20
mov eax, dword [edi]
mov ecx, dword [edi + 4]
push 0x11
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], 0
nop
call 0x609a1e
test ah, 0x80
je case.0x4fd530.50
mov edx, dword [esp + 0x50]
lea eax, [edx - 0x2d]
cmp eax, 0x2b
ja case.0x4fd530.50
xor ecx, ecx
mov cl, byte [eax + 0x4fddac]
jmp dword [ecx*4 + 0x4fdd94]
call fcn.0050b636
mov ebp, dword [eax + 0x20]
call fcn.0050b2d0
mov ecx, dword [eax + 4]
call fcn.0050b528
mov dword [esp + 0x14], eax
call fcn.0050b2d0
mov eax, dword [eax + 4]
lea edx, [esp + 0x14]
push edx
mov ecx, eax
call fcn.0050b522
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, edi
jne 0x4fd5b9
push 0x6c
call fcn.0050b264
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov dword [esp + 0x48], edi
je 0x4fd59f
mov ecx, dword [0x51f6dc]
push 0x52ac28
push ecx
push edi
push 0xad
mov ecx, eax
call fcn.0050b4ec
mov edi, eax
mov dword [esp + 0x48], 0xffffffff
call fcn.0050b2d0
mov eax, dword [eax + 4]
push edi
mov ecx, eax
call fcn.0050b4e6
jmp 0x4fd5cf
call fcn.0050b2d0
mov eax, dword [eax + 4]
lea edx, [esp + 0x14]
push edx
mov ecx, eax
call fcn.0050b522
mov edi, eax
mov eax, dword [edi]
push 0
push 0
mov ecx, edi
call dword [eax + 0x78]
mov edx, dword [edi]
mov ebx, eax
push 1
push 0
push ebx
mov ecx, edi
call dword [edx + 0x7c]
mov ecx, ebx
call fcn.0050bfc0
mov edi, eax
mov dword [0x5994b0], esi
mov dword [edi + 0x44], ebp
call fcn.0050b2d0
mov eax, dword [eax + 4]
mov dword [eax + 0x20], ebx
call fcn.0040f890
mov eax, dword [eax + 0x60]
test eax, eax
je 0x4fd616
cmp eax, 2
jne 0x4fd628
push 0x5492d0
call fcn.00439360
mov eax, dword [eax]
add esp, 4
push eax
jmp 0x4fd62d
push str.Print_preview
mov ecx, ebx
call fcn.0050b252
push 3
mov ecx, ebx
call fcn.0050b26a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x110]
jmp case.0x4fd530.50
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd8]
jmp case.0x4fd530.50
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xcc]
jmp case.0x4fd530.50
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd0]
jmp case.0x4fd530.50
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xd4]
mov edi, dword [0x60d454]
push 0x10
call edi
test ah, 0x80
je 0x4fd697
cmp dword [esp + 0x50], 0x2d
jne 0x4fd697
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
mov ecx, dword [esp + 0x50]
lea eax, [ecx - 9]
cmp eax, 0x68
mov dword [esp + 0x14], eax
ja case.0x4fd6b9.20
mov ebp, dword [0x5200b4]
xor edx, edx
mov dl, byte [eax + 0x4fde08]
jmp dword [edx*4 + 0x4fddd8]
mov eax, dword [esi + 0x1a0]
mov ecx, dword [esi + 0x19c]
push eax
push ecx
mov ecx, esi
call fcn.00502d20
mov edx, dword [esi + 0x1a0]
mov eax, dword [esi + 0x19c]
push edx
push eax
mov ecx, esi
call fcn.00502d20
test eax, eax
je 0x4fdb55
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.005004b0
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
cmp ebx, eax
jg 0x4fd75f
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
cmp edi, eax
jg 0x4fd756
push 0xffffffffffffff97
push ebx
push edi
mov ecx, esi
call fcn.004fcb00
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x549490
call fcn.0050b414
mov edx, dword [esi]
push ebx
push edi
mov ecx, esi
call dword [edx + 0x108]
push 0xffffffffffffff96
push ebx
push edi
mov ecx, esi
call fcn.004fcb00
mov eax, dword [esp + 0x30]
inc edi
cmp edi, eax
jle 0x4fd716
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
inc ebx
cmp ebx, ecx
jle 0x4fd712
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.00502fd0
jmp 0x4fdb55
push 0x10
call edi
test ah, 0x80
je 0x4fd7cc
mov eax, dword [esi + 0xc0]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jle 0x4fd791
dec ecx
mov dword [esp + 0x24], ecx
jmp 0x4fdb55
jne 0x4fd7c0
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0xb8]
cmp ecx, eax
jle 0x4fd7c0
mov eax, dword [esi + 0xbc]
mov edx, ecx
dec edx
dec eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], 1
jmp 0x4fdb55
mov ecx, esi
call fcn.0050b246
jmp 0x4fdb55
mov eax, dword [esi + 0xbc]
mov ecx, dword [esp + 0x24]
dec eax
cmp ecx, eax
jge 0x4fd7e5
inc ecx
mov dword [esp + 0x24], ecx
jmp 0x4fdb55
jne 0x4fd7c0
mov edx, dword [esi + 0xb4]
mov eax, dword [esp + 0x20]
dec edx
cmp eax, edx
jge 0x4fd7c0
inc eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xc0]
mov dword [esp + 0x24], eax
jmp 0x4fdb55
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0xb4]
mov edi, eax
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jge 0x4fd84a
push eax
mov ecx, esi
call fcn.00502520
test eax, eax
jg 0x4fdb55
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0xb4]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4fd827
mov dword [esp + 0x20], edi
jmp 0x4fdb55
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0xb8]
mov edi, eax
dec eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4fd88b
push eax
mov ecx, esi
call fcn.00502520
test eax, eax
jg 0x4fdb55
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0xb8]
dec eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jge 0x4fd868
mov dword [esp + 0x20], edi
jmp 0x4fdb55
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0xbc]
mov edi, eax
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jge 0x4fd8cc
push eax
mov ecx, esi
call fcn.00502550
test eax, eax
jg 0x4fdb55
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0xbc]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x4fd8a9
mov dword [esp + 0x24], edi
jmp 0x4fdb55
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0xc0]
mov edi, eax
dec eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x4fd90d
push eax
mov ecx, esi
call fcn.00502550
test eax, eax
jg 0x4fdb55
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0xc0]
dec eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jge 0x4fd8ea
mov dword [esp + 0x24], edi
jmp 0x4fdb55
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00500320
mov edx, dword [esi + 0x20]
push 0
push 3
push 0x115
push edx
call ebp
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.00500320
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
sub eax, ecx
je 0x4fd96b
mov ecx, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esi + 0xb4]
dec eax
mov dword [esp + 0x20], ecx
cmp ecx, eax
jle 0x4fdb55
mov dword [esp + 0x20], eax
jmp 0x4fdb55
mov eax, dword [esi + 0xb4]
dec eax
mov dword [esp + 0x20], eax
jmp 0x4fdb55
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00500320
mov edx, dword [esi + 0x20]
push 0
push 2
push 0x115
push edx
call ebp
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.00500320
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
sub eax, ecx
je 0x4fd9cf
mov ecx, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esi + 0xb8]
cmp ecx, eax
mov dword [esp + 0x20], ecx
jge 0x4fdb55
mov dword [esp + 0x20], eax
jmp 0x4fdb55
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x20], ecx
jmp 0x4fdb55
push 0x11
call edi
test ah, 0x80
push 0
push 6
je 0x4fda11
mov edx, dword [esi + 0x20]
push 0x115
push edx
call ebp
mov eax, dword [esi + 0x20]
push 0
push 6
push 0x114
push eax
call ebp
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x20], ecx
jmp 0x4fda1c
mov edx, dword [esi + 0x20]
push 0x114
push edx
call ebp
mov ecx, dword [esi + 0xbc]
mov eax, dword [esi + 0xc0]
dec ecx
mov dword [esp + 0x24], eax
cmp eax, ecx
jge 0x4fda51
push eax
mov ecx, esi
call fcn.00502550
test eax, eax
jg 0x4fda51
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 0xbc]
inc eax
dec edx
cmp eax, edx
mov dword [esp + 0x24], eax
jl 0x4fda31
mov ecx, dword [esi + 0xb4]
mov eax, dword [esp + 0x20]
dec ecx
cmp eax, ecx
jge 0x4fdb55
push eax
mov ecx, esi
call fcn.00502520
test eax, eax
jg 0x4fdb55
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0xb4]
inc eax
dec edx
cmp eax, edx
mov dword [esp + 0x20], eax
jl 0x4fda64
jmp 0x4fdb55
push 0x11
call edi
test ah, 0x80
push 0
push 7
je 0x4fdac1
mov eax, dword [esi + 0x20]
push 0x115
push eax
call ebp
mov ecx, dword [esi + 0x20]
push 0
push 7
push 0x114
push ecx
call ebp
mov eax, dword [esi + 0xb4]
dec eax
mov dword [esp + 0x20], eax
jmp 0x4fdacc
mov edx, dword [esi + 0x20]
push 0x114
push edx
call ebp
mov eax, dword [esi + 0xbc]
mov ecx, dword [esi + 0xc0]
dec eax
inc ecx
cmp eax, ecx
mov dword [esp + 0x24], eax
jle 0x4fdb02
push eax
mov ecx, esi
call fcn.00502550
test eax, eax
jg 0x4fdb02
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 0xc0]
dec eax
inc edx
cmp eax, edx
mov dword [esp + 0x24], eax
jg 0x4fdae2
mov ecx, dword [esi + 0xb8]
mov eax, dword [esp + 0x20]
inc ecx
cmp eax, ecx
jle 0x4fdb55
push eax
mov ecx, esi
call fcn.00502520
test eax, eax
jg 0x4fdb55
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0xb8]
dec eax
inc edx
cmp eax, edx
mov dword [esp + 0x20], eax
jg 0x4fdb11
jmp 0x4fdb55
mov edx, dword [esi]
or ecx, 0xffffffff
or eax, 0xffffffff
push 1
push ecx
mov ecx, dword [esi + 0x19c]
push eax
mov eax, dword [esi + 0x1a0]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x10c]
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 0x19c]
cmp edx, eax
jne 0x4fdb75
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x1a0]
cmp eax, ecx
je 0x4fdd7e
mov eax, dword [esi + 0x174]
xor ebx, ebx
cmp eax, ebx
jne 0x4fdc28
mov edx, dword [esi + 0x1dc]
cmp edx, ebx
je 0x4fdbaf
mov eax, dword [esi + 0x1e0]
cmp eax, ebx
jbe 0x4fdbaf
mov ecx, edx
mov edi, eax
mov eax, dword [ecx]
cmp eax, ebx
je 0x4fdba9
mov eax, dword [eax]
cmp eax, ebx
jne 0x4fdba3
add ecx, 4
dec edi
jne 0x4fdb9d
push edx
call fcn.0050b204
mov ecx, dword [esi + 0x1ec]
add esp, 4
mov dword [esi + 0x1dc], ebx
mov dword [esi + 0x1e4], ebx
mov dword [esi + 0x1e8], ebx
call fcn.0050bf3c
mov dword [esi + 0x1ec], ebx
mov ecx, dword [esi + 0x80]
neg ecx
sbb ecx, ecx
push 0x10
add ecx, 4
mov dword [esi + 0x174], ecx
nop
call 0x609a30
test ah, 0x80
je 0x4fdc02
cmp dword [esp + 0x50], 9
jne 0x4fdc16
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esi + 0x194], edx
mov dword [esi + 0x198], eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00507040
mov dword [esi + 0x174], ebx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, esi
call fcn.00506de0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push edx
push eax
mov ecx, esi
call fcn.00502da0
test eax, eax
jne 0x4fdd7e
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.00502b80
mov eax, dword [esp + 0x14]
cmp eax, 0x1f
ja case.0x4fdc7d.5
xor ecx, ecx
mov cl, byte [eax + 0x4fde8c]
jmp dword [ecx*4 + 0x4fde74]
push ebx
push 1
mov edx, dword [esi + 0x20]
push 0x114
push edx
call ebp
mov edx, dword [esi + 0x20]
push 1
push ebx
push edx
nop
call 0x609a39
jmp 0x4fdd7e
mov eax, dword [esi + 0x20]
push ebx
push ebx
push 0x114
push eax
call ebp
mov edx, dword [esi + 0x20]
push 1
push ebx
push edx
nop
call 0x609a42
jmp 0x4fdd7e
push ebx
push 1
push 0x115
jmp 0x4fdd62
mov edx, dword [esi + 0x20]
push ebx
push ebx
push 0x115
push edx
call ebp
mov edx, dword [esi + 0x20]
push 1
push ebx
push edx
nop
call 0x609a4b
jmp 0x4fdd7e
push 0x10
nop
call 0x609a54
test ah, 0x80
mov eax, dword [esp + 0x10]
je 0x4fdd31
cmp eax, ebx
push ebx
push ebx
je 0x4fdc87
mov eax, dword [esi + 0x20]
push 0x115
push eax
call ebp
mov ecx, dword [esi + 0xfc]
push 1
push ecx
push ebx
mov ecx, esi
call fcn.005006a0
mov edx, dword [esi + 0x20]
push 1
push ebx
push edx
nop
call fcn.00609a5d
jmp 0x4fdd7e
cmp eax, ebx
push ebx
push 1
je 0x4fdd5d
mov eax, dword [esi + 0x20]
push 0x115
push eax
call ebp
push 1
push ebx
push ebx
mov ecx, esi
call fcn.005006a0
mov edx, dword [esi + 0x20]
push 1
push ebx
push edx
nop
call fcn.00609a66
jmp 0x4fdd7e
push 0x114
mov ecx, dword [esi + 0x20]
push ecx
call ebp
mov edx, dword [esi + 0x20]
push 1
push ebx
push edx
nop
call fcn.00609a6f
jmp 0x4fdd7e
mov ecx, esi
call fcn.0050b246
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret 0xc