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

Disassembly:
push 0xffffffffffffffff
push 0x48a434
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.0040bdf0
mov ecx, dword [esp + 0x14]
xor ebp, ebp
push ecx
mov dword [esp + 0x70c], ebp
call fcn.0046b2fd
add esp, 8
call fcn.00402ff0
cmp dword [0x4bfc38], ebp
je 0x404dc6
lea ecx, [esp + 0x18]
call fcn.004889fb
push ebp
push str.AcroExch.PDDoc
lea ecx, [esp + 0x20]
mov byte [esp + 0x70c], 1
call fcn.00488ab9
cmp dword [esp + 0x18], ebp
je 0x404db5
mov al, byte [esp + 0x71c]
mov ebx, dword [esp + 0x710]
test al, al
jne 0x4049c2
push ebp
push ebp
lea edx, [esp + 0x1c]
push str..txt
push edx
mov ecx, 0x4bfe38
call fcn.0041bc10
mov ecx, dword [ebx + 8]
push eax
push ecx
mov ecx, ebx
mov byte [esp + 0x70c], 2
call fcn.0046d878
lea ecx, [esp + 0x14]
mov byte [esp + 0x704], 1
call fcn.0046e753
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ecx + eax*4 - 4]
push edx
push eax
push str.textout
push str.file
call esi
mov ecx, dword [0x4c0068]
lea eax, [esp + 0x30]
push 0xa
push eax
push ecx
call fcn.0045ac5b
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x30]
push edx
push eax
push 0x4afc70
push str.file
call esi
mov ecx, dword [esp + 0x10]
push ecx
push ebp
push ebp
push ebp
call esi
mov edx, dword [esp + 0x70c]
lea ecx, [esp + 0x18]
push edx
call fcn.004010a0
test eax, eax
je 0x404db5
push 0x4afc04
lea ecx, [esp + 0x1c]
call fcn.004011d0
push 1
push eax
lea ecx, [esp + 0x2c]
call fcn.00488a08
mov eax, dword [0x4bb604]
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.0046e88c
lea ecx, [esp + 0x14]
mov byte [esp + 0x704], 4
call fcn.0046e753
push 0x3f
lea ecx, [esp + 0x10]
call fcn.0046ec1a
mov esi, dword [esp + 0x718]
test eax, eax
je 0x404a6a
mov edx, dword [esp + 0xc]
mov ecx, esi
push edx
push str.title
call fcn.00406960
mov ecx, eax
call fcn.0046e8dc
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.0046e88c
lea ecx, [esp + 0x14]
mov byte [esp + 0x704], 4
call fcn.0046e753
push 0x3f
lea ecx, [esp + 0x10]
call fcn.0046ec1a
test eax, eax
je 0x404ac7
mov ecx, dword [esp + 0xc]
push ecx
push str.author
mov ecx, esi
call fcn.00406960
mov ecx, eax
call fcn.0046e8dc
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.0046e88c
lea ecx, [esp + 0x14]
mov byte [esp + 0x704], 4
call fcn.0046e753
push 0x3f
lea ecx, [esp + 0x10]
call fcn.0046ec1a
test eax, eax
je 0x404b24
mov eax, dword [esp + 0xc]
mov ecx, esi
push eax
push str.subject
call fcn.00406960
mov ecx, eax
call fcn.0046e8dc
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.0046e88c
lea ecx, [esp + 0x14]
mov byte [esp + 0x704], 4
call fcn.0046e753
push 0x3f
lea ecx, [esp + 0x10]
call fcn.0046ec1a
test eax, eax
je 0x404b81
mov edx, dword [esp + 0xc]
mov ecx, esi
push edx
push str.keywords
call fcn.00406960
mov ecx, eax
call fcn.0046e8dc
mov al, byte [esp + 0x71c]
lea ecx, [esp + 0x18]
test al, al
jne 0x404d8e
call fcn.004010f0
cmp eax, ebp
mov dword [esp + 0x2c], eax
jle 0x404d8a
push edi
test ebp, ebp
mov dword [esp + 0x24], 0
jle 0x404bef
push 0
push 0
lea eax, [esp + 0x20]
push str..txt
push eax
mov ecx, 0x4bfe38
call fcn.0041bc10
mov ecx, dword [ebx + 8]
push eax
push ecx
mov ecx, ebx
mov byte [esp + 0x710], 9
call fcn.0046d878
lea ecx, [esp + 0x18]
mov byte [esp + 0x708], 4
call fcn.0046e753
lea ecx, [esp + 0x48]
push 0xa
push ecx
push ebp
call fcn.0045ac5b
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.0045887a
mov edi, 0x4afc28
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.004587e9
add esp, 0x34
lea ecx, [esp + 0x1c]
push ebp
call fcn.004011a0
push 1
push eax
lea ecx, [esp + 0x3c]
call fcn.00488a08
test ebp, ebp
mov byte [esp + 0x708], 0xa
jle 0x404d3a
lea ecx, [esp + 0x28]
call fcn.00401200
push 1
push eax
lea ecx, [esp + 0x48]
call fcn.00488a08
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push edx
mov eax, dword [ecx + ebp*4]
mov byte [esp + 0x70c], 0xb
push eax
push str.textout
push str.file
call esi
push ebp
lea ecx, [esp + 0x44]
call fcn.00401220
mov eax, dword [esp + 0x14]
push eax
push 0
push 0
push 0
call esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x708], 0xa
call fcn.00488b0c
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x5c]
push edx
mov eax, dword [ecx + ebp*4]
push eax
call fcn.004590f3
mov edx, dword [esp + 0x78]
add esp, 8
test eax, eax
je 0x404d5a
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x718]
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.0046d9c9
lea ecx, [esp + 0x34]
mov byte [esp + 0x708], 4
call fcn.00488b0c
mov eax, dword [esp + 0x30]
inc ebp
cmp ebp, eax
jl 0x404ba6
pop edi
lea ecx, [esp + 0x18]
call fcn.004010d0
lea ecx, [esp + 0xc]
mov byte [esp + 0x704], 3
call fcn.0046e753
lea ecx, [esp + 0x24]
mov byte [esp + 0x704], 1
call fcn.00488b0c
lea ecx, [esp + 0x18]
mov byte [esp + 0x704], 0
call fcn.00488b0c
lea ecx, [esp + 0x10]
mov dword [esp + 0x704], 0xffffffff
call fcn.0046e753
mov ecx, dword [esp + 0x6fc]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6fc
ret