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

Disassembly:
push 0xffffffffffffffff
push 0x47f044
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6f0
push ebx
push ebp
lea eax, [esp + 0xc]
push esi
push eax
call fcn.0040ce00
mov ecx, dword [esp + 0x14]
xor ebp, ebp
push ecx
mov dword [esp + 0x70c], ebp
call fcn.0045fb2d
add esp, 8
call fcn.00402ee0
cmp dword [0x4aa830], ebp
je 0x404cdf
lea ecx, [esp + 0x18]
call fcn.0047d675
push ebp
push str.AcroExch.PDDoc
lea ecx, [esp + 0x20]
mov byte [esp + 0x70c], 1
call fcn.0047d733
cmp dword [esp + 0x18], ebp
je 0x404cce
mov al, byte [esp + 0x71c]
mov ebx, dword [esp + 0x710]
test al, al
jne 0x4048d5
push ebp
push ebp
lea edx, [esp + 0x1c]
push str..txt
push edx
mov ecx, 0x4aaa70
call fcn.0041e4c0
mov ecx, dword [ebx + 8]
push eax
push ecx
mov ecx, ebx
mov byte [esp + 0x70c], 2
call fcn.004620dc
lea ecx, [esp + 0x14]
mov byte [esp + 0x704], 1
call fcn.00462fb7
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + eax*4 - 4]
push edx
push eax
push str.textout
push 0x49cc60
call fcn.0040e7d0
mov ecx, dword [0x4aaca0]
lea eax, [esp + 0x40]
push 0xa
push eax
push ecx
call fcn.004508e3
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x4c]
push edx
push eax
push 0x49ccc8
push 0x49cc60
call fcn.0040e7d0
mov ecx, dword [esp + 0x3c]
push ecx
push ebp
push ebp
push ebp
call fcn.0040e7d0
add esp, 0x3c
mov edx, dword [esp + 0x70c]
lea ecx, [esp + 0x18]
push edx
call fcn.004010a0
test eax, eax
je 0x404cce
push 0x49cc5c
lea ecx, [esp + 0x1c]
call fcn.004011d0
push 1
push eax
lea ecx, [esp + 0x2c]
call fcn.0047d682
mov eax, dword [0x4a624c]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x14]
push str.Title
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x70c], 4
call fcn.00401110
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x708], 5
call fcn.004630f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x704], 4
call fcn.00462fb7
push 0x3f
lea ecx, [esp + 0x10]
call fcn.0046347e
mov esi, dword [esp + 0x718]
test eax, eax
je 0x40497d
mov edx, dword [esp + 0xc]
mov ecx, esi
push edx
push str.title
call fcn.00406fd0
mov ecx, eax
call fcn.00463140
lea eax, [esp + 0x14]
push str.Author
push eax
lea ecx, [esp + 0x20]
call fcn.00401110
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x708], 6
call fcn.004630f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x704], 4
call fcn.00462fb7
push 0x3f
lea ecx, [esp + 0x10]
call fcn.0046347e
test eax, eax
je 0x4049da
mov ecx, dword [esp + 0xc]
push ecx
push str.author
mov ecx, esi
call fcn.00406fd0
mov ecx, eax
call fcn.00463140
lea edx, [esp + 0x14]
push str.Subject
push edx
lea ecx, [esp + 0x20]
call fcn.00401110
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x708], 7
call fcn.004630f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x704], 4
call fcn.00462fb7
push 0x3f
lea ecx, [esp + 0x10]
call fcn.0046347e
test eax, eax
je 0x404a37
mov eax, dword [esp + 0xc]
mov ecx, esi
push eax
push str.subject
call fcn.00406fd0
mov ecx, eax
call fcn.00463140
lea ecx, [esp + 0x14]
push str.KeyWords
push ecx
lea ecx, [esp + 0x20]
call fcn.00401110
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x708], 8
call fcn.004630f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x704], 4
call fcn.00462fb7
push 0x3f
lea ecx, [esp + 0x10]
call fcn.0046347e
test eax, eax
je 0x404a94
mov edx, dword [esp + 0xc]
mov ecx, esi
push edx
push str.keywords
call fcn.00406fd0
mov ecx, eax
call fcn.00463140
mov al, byte [esp + 0x71c]
lea ecx, [esp + 0x18]
test al, al
jne 0x404ca7
call fcn.004010f0
cmp eax, ebp
mov dword [esp + 0x2c], eax
jle 0x404ca3
push edi
test ebp, ebp
mov dword [esp + 0x24], 0
jle 0x404b02
push 0
push 0
lea eax, [esp + 0x20]
push str..txt
push eax
mov ecx, 0x4aaa70
call fcn.0041e4c0
mov ecx, dword [ebx + 8]
push eax
push ecx
mov ecx, ebx
mov byte [esp + 0x710], 9
call fcn.004620dc
lea ecx, [esp + 0x18]
mov byte [esp + 0x708], 4
call fcn.00462fb7
lea ecx, [esp + 0x48]
push 0xa
push ecx
push ebp
call fcn.004508e3
lea edx, [esp + 0x20c]
lea eax, [esp + 0x8c]
push edx
lea ecx, [esp + 0x310]
push eax
mov eax, dword [esp + 0x724]
lea edx, [esp + 0x194]
push ecx
push edx
push eax
call fcn.0044d8ca
mov edi, 0x49cc80
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xa0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str..txt
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0xa4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x6c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0xa4]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x328]
lea edx, [esp + 0x1a8]
push ecx
lea eax, [esp + 0x52c]
push edx
push eax
call fcn.0044d839
add esp, 0x34
lea ecx, [esp + 0x1c]
push ebp
call fcn.004011a0
push 1
push eax
lea ecx, [esp + 0x3c]
call fcn.0047d682
test ebp, ebp
mov byte [esp + 0x708], 0xa
jle 0x404c53
lea ecx, [esp + 0x28]
call fcn.00401200
push 1
push eax
lea ecx, [esp + 0x48]
call fcn.0047d682
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x14]
push edx
mov byte [esp + 0x70c], 0xb
mov eax, dword [ecx + ebp*4]
push eax
push str.textout
push 0x49cc60
call fcn.0040e7d0
add esp, 0x10
lea ecx, [esp + 0x40]
push ebp
call fcn.00401220
mov eax, dword [esp + 0x14]
push eax
push 0
push 0
push 0
call fcn.0040e7d0
add esp, 0x10
lea ecx, [esp + 0x40]
mov byte [esp + 0x708], 0xa
call fcn.0047d786
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x5c]
push edx
mov eax, dword [ecx + ebp*4]
push eax
call fcn.0044e143
mov edx, dword [esp + 0x78]
add esp, 8
test eax, eax
je 0x404c73
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x718]
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.0046222d
lea ecx, [esp + 0x34]
mov byte [esp + 0x708], 4
call fcn.0047d786
mov eax, dword [esp + 0x30]
inc ebp
cmp ebp, eax
jl 0x404ab9
pop edi
lea ecx, [esp + 0x18]
call fcn.004010d0
lea ecx, [esp + 0xc]
mov byte [esp + 0x704], 3
call fcn.00462fb7
lea ecx, [esp + 0x24]
mov byte [esp + 0x704], 1
call fcn.0047d786
lea ecx, [esp + 0x18]
mov byte [esp + 0x704], 0
call fcn.0047d786
lea ecx, [esp + 0x10]
mov dword [esp + 0x704], 0xffffffff
call fcn.00462fb7
mov ecx, dword [esp + 0x6fc]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6fc
ret