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

Disassembly:
push 0xffffffffffffffff
push 0x4225b1
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x42a8c0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42a8c0]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa0]
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov eax, 0xf
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov dword [esp + 0x3c], esi
mov byte [esi + 4], bl
mov edx, dword [esp + 0xa4]
mov ecx, 1
mov dword [esp + 0x40], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 8
mov dword [esp + 0x34], ebx
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
mov dword [esp + 0x98], ecx
mov byte [esp + 0x17], bl
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040de90
mov ebp, dword [esp + 0x20]
mov edi, eax
cmp edi, 0x10
jne 0x40a7ea
cmp dword [esp + 0x64], ebx
jne 0x40a90e
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], 2
call fcn.00407700
test al, al
je 0x40a90e
push str.__t_n_r_______
lea ecx, [esp + 0x1c]
call fcn.004076b0
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x18]
jne 0x40a770
add eax, 1
mov dword [esp + 0x20], eax
add eax, 0xffffffff
push ecx
mov dword [esp + 0x20], eax
mov eax, esp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], esp
mov dword [eax], 0x425e8c
call fcn.00407820
cmp al, bl
je 0x40a90e
push ebx
push str.encoding
lea ecx, [esp + 0x20]
call fcn.004078a0
test al, al
je 0x40aa33
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a030
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [esp + 0xa4], 2
call fcn.0040646a
cmp dword [esp + 0x5c], 0x10
jb 0x40aa33
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0041070c
add esp, 4
jmp 0x40aa33
cmp edi, ebx
jne 0x40a853
mov ecx, dword [esp + 0x64]
add ecx, 2
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x18]
call fcn.00407700
test al, al
je 0x40a90e
push str.__t_n_r_______
lea ecx, [esp + 0x1c]
call fcn.004076b0
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x18]
jne 0x40a829
add eax, 1
mov dword [esp + 0x20], eax
add eax, 0xffffffff
push ecx
mov dword [esp + 0x20], eax
mov eax, esp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], esp
mov dword [eax], str.head
call fcn.00407820
cmp al, bl
jne 0x40aa33
jmp 0x40a90e
cmp edi, 1
jne 0x40a90e
mov edx, dword [esp + 0x64]
add edx, edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], edx
call fcn.00407700
test al, al
je 0x40a898
push str.__t_n_r_______
lea ecx, [esp + 0x1c]
call fcn.004076b0
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x18]
jne 0x40a891
add eax, edi
mov dword [esp + 0x20], eax
add eax, 0xffffffff
mov dword [esp + 0x1c], eax
cmp byte [esp + 0x17], bl
push ecx
mov dword [esp + 0x3c], esp
mov eax, esp
lea ecx, [esp + 0x1c]
jne 0x40a8c3
mov dword [eax], str.html
call fcn.00407820
cmp al, bl
je 0x40aa33
mov byte [esp + 0x17], 1
jmp 0x40a90e
mov dword [eax], str.meta
call fcn.00407820
cmp al, bl
je 0x40a90e
mov esi, dword [esp + 0x64]
push ebx
add esi, 1
push str.http_equiv
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], esi
call fcn.004078a0
test al, al
je 0x40a90a
push ecx
mov eax, esp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], esp
mov dword [eax], str.Content_Type
call fcn.00407820
cmp al, bl
jne 0x40a91f
mov esi, dword [esp + 0x3c]
cmp edi, ebx
mov dword [esp + 0x20], ebp
jge 0x40a711
jmp 0x40aa33
push ebx
push str.content
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], esi
call fcn.004078a0
test al, al
je 0x40aa2f
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp eax, esi
mov dword [esp + 0x20], eax
jge 0x40aa2f
mov edi, edi
lea ecx, [esp + 0x18]
call fcn.00407700
test al, al
je 0x40aa2f
push str.__t_n_r_______
lea ecx, [esp + 0x1c]
call fcn.004076b0
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x18]
jne 0x40a980
add eax, 1
mov dword [esp + 0x20], eax
add eax, 0xffffffff
push ecx
mov dword [esp + 0x20], eax
mov eax, esp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], esp
mov dword [eax], str.charset
call fcn.00407820
cmp al, bl
je 0x40a9ee
lea ecx, [esp + 0x18]
call fcn.00407700
test al, al
je 0x40a9ee
push str.__t_n_r_______
lea ecx, [esp + 0x1c]
call fcn.004076b0
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x18]
jne 0x40a9cd
add eax, 1
mov dword [esp + 0x20], eax
add eax, 0xffffffff
push ecx
mov dword [esp + 0x20], eax
mov eax, esp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], esp
mov dword [eax], 0x425e48
call fcn.00407820
cmp al, bl
jne 0x40a9fa
cmp dword [esp + 0x20], esi
jl 0x40a950
jmp 0x40aa2f
lea ecx, [esp + 0x18]
call fcn.00407760
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x1c]
call fcn.0040a030
mov ecx, dword [esp + 0x3c]
push 0xffffffffffffffff
push ebx
push eax
mov byte [esp + 0xa4], 3
call fcn.0040646a
lea ecx, [esp + 0x44]
call fcn.00403aa4
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0x88], 0x10
jb 0x40aa4a
mov eax, dword [esp + 0x74]
push eax
call fcn.0041070c
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00410c90
add esp, 0x88
ret