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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x438741
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x447394]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x447394]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
and dword [esp + 0x10], 0
mov edi, ecx
lea ebx, [edi + 0x30]
push ebx
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x3c], eax
call fcn.0040dc8a
test al, al
je 0x40e151
cmp byte [edi + 0x13c], 0
jne 0x40dede
push str.charset_A_Za_z0_9___
lea esi, [esp + 0x3c]
call fcn.004052d9
and dword [esp + 0xb8], 0
lea eax, [edi + 0x68]
push eax
mov eax, esi
push eax
push ebx
call fcn.0040ddd8
push 0
push 1
call fcn.00405329
and dword [esp + 0xa0], 0
xor eax, eax
mov dword [esp + 0xa4], 7
mov word [esp + 0x90], ax
push str.Content_Length:__0_9_
lea esi, [esp + 0x3c]
mov dword [esp + 0xbc], 1
call fcn.004052d9
lea eax, [esp + 0x8c]
push eax
mov eax, esi
push eax
push ebx
mov byte [esp + 0xc4], 2
call fcn.0040ddd8
push 0
push 1
mov byte [esp + 0x1f], al
mov byte [esp + 0xc0], 1
call fcn.00405329
cmp byte [esp + 0x17], 0
je 0x40df6e
cmp dword [esp + 0xa4], 8
mov eax, dword [esp + 0x90]
jae 0x40df61
lea eax, [esp + 0x90]
push eax
call fcn.00424664
pop ecx
mov dword [edi + 0x98], eax
push str.Location:__A_Za_z0_9___:__.__
lea esi, [esp + 0x3c]
call fcn.004052d9
lea eax, [edi + 0x178]
push eax
mov eax, esi
push eax
push ebx
mov byte [esp + 0xc4], 3
call fcn.0040ddd8
push 0
push 1
mov byte [esp + 0xc0], 1
call fcn.00405329
lea eax, [esp + 0x1c]
push eax
call fcn.004069cd
push str.Set_Cookie:_b.__n
lea esi, [esp + 0x3c]
mov byte [esp + 0xbc], 4
call fcn.004052d9
mov byte [esp + 0xb8], 5
lea esi, [esp + 0x1c]
lea ecx, [esp + 0x38]
mov edx, ebx
mov dword [esp + 0x10], 1
call fcn.0040ddb4
test al, al
je 0x40dffe
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
jbe 0x40dffe
mov bl, 1
jmp 0x40e000
xor bl, bl
push 0
push 1
lea esi, [esp + 0x40]
mov dword [esp + 0xc0], 4
call fcn.00405329
test bl, bl
je 0x40e126
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
push 0x1c
cdq
pop ecx
idiv ecx
xor ebx, ebx
mov dword [esp + 0x10], ebx
test eax, eax
jbe 0x40e095
lea esi, [edi + 0x9c]
cmp dword [edi + 0xb0], 0
je 0x40e052
push 0x43d4f0
push esi
call fcn.00405c17
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
push 0x1c
cdq
pop ecx
idiv ecx
cmp dword [esp + 0x10], eax
jb 0x40e06b
call fcn.004231d4
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
add eax, ebx
push 0
call fcn.00405f52
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
push 0x1c
cdq
pop ecx
idiv ecx
inc dword [esp + 0x10]
add ebx, 0x1c
cmp dword [esp + 0x10], eax
jb 0x40e03e
push 0x43d0cc
lea esi, [esp + 0x58]
call fcn.004052d9
lea esi, [edi + 0x9c]
lea eax, [esp + 0x70]
push esi
mov byte [esp + 0xbc], 6
push eax
lea edx, [esp + 0x5c]
mov dword [esp + 0x18], esi
call fcn.0040d509
pop ecx
pop ecx
push 0xffffffffffffffff
push esi
xor ebx, ebx
mov byte [esp + 0xc0], 7
call fcn.004053ef
push ebx
push 1
lea esi, [esp + 0x78]
call fcn.00405329
push ebx
push 1
lea esi, [esp + 0x5c]
mov byte [esp + 0xc0], 4
call fcn.00405329
mov eax, dword [edi + 0xb0]
test eax, eax
jbe 0x40e126
lea edi, [eax - 1]
mov eax, dword [esp + 0x10]
call fcn.00407c28
cmp word [eax], 0x3b
je 0x40e122
push 0x43d4f8
push dword [esp + 0x14]
call fcn.00405c17
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x1c]
call fcn.0040f28e
push dword [esp + 0x1c]
call fcn.00422ace
or dword [esp + 0xbc], 0xffffffff
pop ecx
push 0
push 1
lea esi, [esp + 0x94]
call fcn.00405329
push dword [esp + 0x34]
call fcn.0040dd1b
mov dword [edi + 0x11c], eax
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00422a42
mov esp, ebp
pop ebp
ret 4