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

Disassembly:
push 0xffffffffffffffff
push 0x507dc0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5894dc]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x84], 0
je 0x45fcd1
mov ebp, dword [esp + 0x88]
test ebp, ebp
je 0x45fcd1
lea esi, [ecx + 0x18]
push str.subject
mov ecx, esi
mov byte [esp + 0x18], 0
call fcn.00409680
test al, al
jne 0x45f960
push str.Content_Location
mov ecx, esi
call fcn.00409680
test al, al
jne 0x45f960
push str.Accept_Language
mov ecx, esi
call fcn.00409680
test al, al
jne 0x45f960
push str.User_Agent
mov ecx, esi
call fcn.00409680
test al, al
jne 0x45f960
push str.Thread_Topic
mov ecx, esi
call fcn.00409680
test al, al
je 0x45f965
mov byte [esp + 0x14], 1
lea ecx, [esp + 0x1c]
call fcn.00408020
mov edi, dword [esp + 0x90]
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x78], 0
call fcn.00409110
mov ecx, edi
call fcn.00407610
xor bl, bl
cmp byte [esp + 0x14], bl
je 0x45f99a
mov bl, 1
jmp 0x45f9e7
mov ecx, dword [esp + 0x8c]
call fcn.00410ba0
add eax, 0xffff3bd4
cmp eax, 0xa
ja 0x45f9e7
push str.Content_Type
mov ecx, esi
call fcn.00409680
test al, al
jne 0x45f9e5
push str.Content_Disposition
mov ecx, esi
call fcn.00409680
test al, al
jne 0x45f9e5
mov eax, dword [esp + 0x84]
push ebp
push eax
call fcn.0045ed00
add esp, 8
mov bl, al
jmp 0x45f9e7
xor bl, bl
mov eax, dword [esp + 0x84]
xor esi, esi
test bl, bl
mov dword [esp + 0x88], eax
jne 0x45fa1a
test ebp, ebp
jle 0x45fa16
nop
cmp byte [eax], 0x3b
je 0x45fa0f
add esi, 1
add eax, 1
cmp esi, ebp
jl 0x45fa00
mov dword [esp + 0x88], eax
cmp esi, ebp
jne 0x45fa71
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x8c]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x24]
push ebp
push edx
mov edx, dword [esp + 0x94]
push eax
push ecx
mov ecx, dword [esp + 0x38]
push 0
push edx
call fcn.0045ed80
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.00409110
jmp 0x45fcc0
cmp esi, 1
mov ebx, dword [esp + 0x94]
jle 0x45fabc
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x88]
push ebx
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x24]
push esi
push ecx
mov ecx, dword [esp + 0x94]
push edx
push eax
push 0
push ecx
mov ecx, dword [esp + 0x40]
call fcn.0045ed80
push 0x3b
lea ecx, [esp + 0x20]
call fcn.00407630
add dword [esp + 0x88], 1
lea eax, [esi + 1]
cmp eax, ebp
jne 0x45fae7
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
call fcn.00409110
jmp 0x45fcc0
or eax, 0xffffffff
sub eax, esi
lea ecx, [esp + 0x1c]
add ebp, eax
call fcn.0046fb80
cmp eax, 0x23
jl 0x45fb4f
mov ecx, edi
call fcn.0046fb80
test eax, eax
je 0x45fb3a
mov ecx, edi
call fcn.00407400
push 0x5114c0
mov ecx, edi
call fcn.00407b70
lea ecx, [esp + 0x1c]
call fcn.004e81e0
cmp byte [eax], 9
jne 0x45fb30
add eax, 1
cmp byte [eax], 9
je 0x45fb28
push eax
mov ecx, edi
call fcn.00407b70
jmp 0x45fb46
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.00409110
lea ecx, [esp + 0x1c]
call fcn.00407610
lea ecx, [esp + 0x44]
call fcn.00408020
mov edx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x90]
push ebx
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x90]
push edi
push edx
mov edx, dword [esp + 0x94]
push ebp
push eax
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov byte [esp + 0x9c], 1
call fcn.0045f550
lea ecx, [esp + 0x44]
call fcn.0046fb80
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0046fb80
add esi, eax
cmp esi, 0x40
jle 0x45fc1f
mov ecx, edi
call fcn.0046fb80
test eax, eax
mov ecx, edi
je 0x45fc05
call fcn.00407400
push 0x5114c0
mov ecx, edi
call fcn.00407b70
lea ecx, [esp + 0x1c]
call fcn.004e81e0
cmp byte [eax], 9
jne 0x45fbed
add eax, 1
cmp byte [eax], 9
je 0x45fbe5
push eax
mov ecx, edi
call fcn.00407b70
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x20]
call fcn.00409270
jmp 0x45fc54
lea eax, [esp + 0x1c]
push eax
call fcn.00409110
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x20]
call fcn.00409270
jmp 0x45fc54
lea ecx, [esp + 0x1c]
call fcn.004092b0
cmp al, 0x3b
jne 0x45fc46
push 0
lea ecx, [esp + 0x48]
call fcn.00409460
cmp al, 0x20
je 0x45fc46
push 0x20
lea ecx, [esp + 0x20]
call fcn.00407630
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x20]
call fcn.00409110
lea ecx, [esp + 0x44]
call fcn.00407610
lea ecx, [esp + 0x1c]
call fcn.0046fb80
test eax, eax
je 0x45fcb2
mov ecx, edi
call fcn.0046fb80
test eax, eax
mov ecx, edi
je 0x45fca8
call fcn.00407400
push 0x5114c0
mov ecx, edi
call fcn.00407b70
lea ecx, [esp + 0x1c]
call fcn.004e81e0
cmp byte [eax], 9
jne 0x45fc9e
add eax, 1
cmp byte [eax], 9
je 0x45fc96
push eax
mov ecx, edi
call fcn.00407b70
jmp 0x45fcb2
lea eax, [esp + 0x1c]
push eax
call fcn.00409110
lea ecx, [esp + 0x44]
mov byte [esp + 0x74], 0
call fcn.00408310
lea ecx, [esp + 0x1c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00408310
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x20