Function at 0x404a80
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x42e4f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x548
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, 1
push edi
mov eax, dword [esi + 0x64]
mov dword [esp + 0x54], esi
cmp eax, ebp
jne 0x404ad6
mov ecx, dword [esi + 0x100]
mov edx, dword [esi + 0x104]
cmp ecx, edx
jbe 0x404ad6
xor ebx, ebx
push ebx
push ebx
push 0x43da84
call fcn.00429689
xor eax, eax
jmp 0x40503b
mov edx, dword [esi + 0x100]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x104]
xor ebx, ebx
mov dword [esp + 0x28], eax
mov eax, dword [0x614598]
cmp eax, ebx
mov dword [esp + 0x24], edx
jne 0x404b29
push ebx
push 0x24
push 0x43da00
mov dword [esp + 0x38], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], 2
call fcn.00429689
cmp eax, 6
jne 0x404b29
push ebp
push str.http:__www.e_pdfconverter.com_
call fcn.004052e0
add esp, 8
mov ecx, dword [0x610224]
mov dword [esp + 0x14], ecx
mov edx, dword [esi + 0xdc]
push ebx
push ebx
push 0x1004
push edx
mov dword [esp + 0x570], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x30], edi
jne 0x404c66
push 0x6145a0
lea ecx, [esp + 0x20]
call fcn.00422936
mov eax, dword [esp + 0x1c]
push ebx
push str.Word
push 6
push eax
push 0x6145a0
push ebx
lea ecx, [esp + 0x74]
mov byte [esp + 0x578], 1
call fcn.00421015
mov ecx, dword [esi + 0x60]
mov byte [esp + 0x560], 2
inc ecx
mov dword [esp + 0xd0], ecx
lea ecx, [esp + 0x5c]
call fcn.00421177
cmp eax, ebp
je 0x404bfe
lea ecx, [esp + 0x108]
mov byte [esp + 0x560], 3
call fcn.0042290c
lea ecx, [esp + 0x5c]
mov byte [esp + 0x560], 1
call fcn.00426a40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x560], bl
call fcn.0042290c
lea ecx, [esp + 0x14]
mov dword [esp + 0x560], 0xffffffff
call fcn.0042290c
xor eax, eax
jmp 0x40503b
lea edx, [esp + 0x18]
lea ecx, [esp + 0x5c]
push edx
call fcn.00421252
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x564], 4
call fcn.00422a01
lea ecx, [esp + 0x18]
mov byte [esp + 0x560], 2
call fcn.0042290c
lea ecx, [esp + 0x108]
mov byte [esp + 0x560], 5
call fcn.0042290c
lea ecx, [esp + 0x5c]
mov byte [esp + 0x560], 1
call fcn.00426a40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x560], bl
call fcn.0042290c
jmp 0x404ccf
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.004041b0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x564], 6
call fcn.00422a01
lea ecx, [esp + 0x18]
mov byte [esp + 0x560], bl
call fcn.0042290c
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
cmp eax, ebx
jne 0x404cba
lea ecx, [esp + 0x14]
mov dword [esp + 0x560], 0xffffffff
call fcn.0042290c
xor eax, eax
jmp 0x40503b
cmp byte [eax + ecx - 1], 0x5c
je 0x404ccf
push 0x43d950
lea ecx, [esp + 0x18]
call fcn.00422bca
push 0x48
call fcn.00422cd8
mov ebp, eax
add esp, 4
mov dword [esp + 0x18], ebp
cmp ebp, ebx
je 0x404d1a
mov cl, byte [esp + 0x13]
mov dword [ebp + 4], ebx
mov byte [ebp], cl
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov dl, byte [esp + 0x13]
mov dword [ebp + 0x14], ebx
mov byte [ebp + 0x10], dl
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
lea eax, [esp + 0x13]
lea ecx, [ebp + 0x38]
push eax
mov byte [esp + 0x564], 9
call fcn.00405900
jmp 0x404d1c
xor ebp, ebp
cmp edi, ebx
mov byte [esp + 0x560], bl
mov dword [esp + 0x1c], ebx
jle 0x404f08
jmp 0x404d35
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
push ebx
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esi + 0xc0]
call fcn.00421b62
mov eax, dword [0x610224]
mov dword [esp + 0x20], eax
cmp edi, 1
mov byte [esp + 0x560], 0xb
jne 0x404d71
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call fcn.00422a01
jmp 0x404dd5
lea edx, [esp + 0x358]
lea eax, [esp + 0x254]
push edx
lea ecx, [esp + 0x45c]
push eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x60]
push ecx
push edx
push eax
call fcn.0040f3fd
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call fcn.00422a01
lea edx, [esp + 0x254]
lea ecx, [esp + 0x20]
push edx
call fcn.00422bca
mov eax, dword [esi + 0x60]
cmp eax, ebx
mov eax, str..doc
je 0x404dcb
mov eax, str..rtf
push eax
lea ecx, [esp + 0x24]
call fcn.00422bca
mov al, byte [esp + 0x13]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x34], al
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.00405a10
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x34]
push ecx
push 1
push eax
mov ecx, ebp
mov byte [esp + 0x56c], 0xc
call fcn.00405bf0
mov eax, dword [esp + 0x38]
mov byte [esp + 0x560], 0xb
cmp eax, ebx
je 0x404e4b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x404e42
cmp al, 0xff
je 0x404e42
dec al
mov byte [ecx], al
jmp 0x404e4b
push ecx
call fcn.00422d01
add esp, 4
mov dl, byte [esp + 0x13]
or ecx, 0xffffffff
mov byte [esp + 0x44], dl
mov edx, dword [esp + 0x20]
mov edi, edx
xor eax, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x38], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x3c], ebx
push ecx
push edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], ebx
call fcn.00405a10
mov eax, dword [ebp + 0x18]
lea ecx, [ebp + 0x10]
lea edx, [esp + 0x44]
mov byte [esp + 0x560], 0xd
push edx
push 1
push eax
call fcn.00405bf0
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x404ec6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x404ebd
cmp al, 0xff
je 0x404ebd
dec al
mov byte [ecx], al
jmp 0x404ec6
push ecx
call fcn.00422d01
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x560], 0xa
call fcn.0042290c
lea ecx, [esp + 0x18]
mov byte [esp + 0x560], bl
call fcn.0042290c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x404d31
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov dword [ebp + 0x20], eax
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x24], ecx
mov dword [ebp + 0x28], edx
mov dword [ebp + 0x2c], eax
mov ecx, dword [esi + 0x68]
xor eax, eax
mov dword [ebp + 0x30], ecx
mov edi, dword [esi + 0x108]
or ecx, 0xffffffff
mov dword [esp + 0x28], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [ebp + 0x38]
mov edi, ecx
cmp edi, 0xfffffffd
mov dword [esp + 0x24], edi
jbe 0x404f50
call fcn.0041a71e
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x404f75
mov al, byte [ecx - 1]
cmp al, bl
je 0x404f75
cmp al, 0xff
je 0x404f75
cmp edi, ebx
jne 0x404f99
dec al
push ebx
mov byte [ecx - 1], al
mov ecx, esi
call fcn.004059c0
jmp 0x404fc8
cmp edi, ebx
jne 0x404f84
push 1
mov ecx, esi
call fcn.004059c0
jmp 0x404fc8
mov eax, dword [esi + 0xc]
cmp eax, 0x1f
ja 0x404f90
cmp eax, edi
jae 0x404fa1
push 1
mov ecx, esi
call fcn.004059c0
push edi
mov ecx, esi
call fcn.004060b0
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x28]
mov ecx, edi
mov edi, eax
mov edx, ecx
mov eax, dword [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x3c]
mov dword [ebp + 0x40], eax
add ecx, eax
mov byte [ecx], bl
mov eax, dword [esp + 0x54]
cmp dword [eax + 0x5c], 1
jne 0x404fdb
mov dword [ebp + 0x34], 2
jmp 0x404fde
mov dword [ebp + 0x34], ebx
push ebp
push ebx
push 0x4047d0
mov dword [0x614668], ebx
call fcn.00410780
or esi, 0xffffffff
add esp, 0xc
cmp eax, esi
mov dword [0x43d890], eax
jne 0x405026
push 0x10
push 0x43d9e8
push str.CreateThread_error.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x14]
mov dword [esp + 0x560], esi
call fcn.0042290c
xor eax, eax
jmp 0x40503b
lea ecx, [esp + 0x14]
mov dword [esp + 0x560], esi
call fcn.0042290c
mov eax, 1
mov ecx, dword [esp + 0x558]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x554
ret