Function at 0x409400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x429039
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x431040]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], 1
mov eax, dword [0x4321e8]
mov edx, dword [eax + 0xc]
mov ecx, 0x4321e8
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x30], 2
mov eax, dword [0x4321e8]
mov edx, dword [eax + 0xc]
mov ecx, 0x4321e8
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x30], 3
mov eax, dword [esp + 0x3c]
push 0x2e
push eax
call fcn.0041b912
add esp, 8
test eax, eax
jne 0x409485
or eax, 0xffffffff
jmp 0x409489
sub eax, dword [esp + 0x3c]
lea ecx, [eax + 1]
lea esi, [esp + 0x20]
lea edx, [esp + 0x3c]
call fcn.00409f60
lea ebx, [esp + 0x18]
mov byte [esp + 0x30], 4
call fcn.00402c20
mov byte [esp + 0x30], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4094cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004089b0
mov edx, dword [esp + 0x40]
add esp, 4
push 0x42bddf
push edx
call fcn.0041af75
mov ebp, dword [esp + 0x20]
add esp, 8
test eax, eax
sete al
test al, al
jne 0x40968f
push str.html
push ebp
call fcn.0041af75
add esp, 8
test eax, eax
sete al
test al, al
jne 0x40968f
push 0x42c1cc
push ebp
call fcn.0041af75
add esp, 8
test eax, eax
sete al
test al, al
jne 0x40968f
push 0x42c1dc
push ebp
call fcn.0041af75
add esp, 8
test eax, eax
sete al
test al, al
je 0x40955c
mov edx, str.text_css
lea ebx, [esp + 0x1c]
call fcn.00401640
jmp 0x4096a2
push 0x42c1ec
push ebp
call fcn.0041af75
add esp, 8
test eax, eax
sete al
test al, al
jne 0x40967f
lea eax, [esp + 0x18]
push eax
mov ecx, 0x42c1f0
call fcn.0040a040
add esp, 4
test al, al
jne 0x40967f
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x42c200
call fcn.0040a040
add esp, 4
test al, al
je 0x4095ba
mov edx, str.image_gif
lea ebx, [esp + 0x1c]
call fcn.00401640
jmp 0x4096a2
lea edx, [esp + 0x18]
push edx
mov ecx, 0x42c210
call fcn.0040a040
add esp, 4
test al, al
jne 0x40966f
lea eax, [esp + 0x18]
push eax
mov ecx, str.jpeg
call fcn.0040a040
add esp, 4
test al, al
jne 0x40966f
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x42c228
call fcn.0040a040
add esp, 4
test al, al
je 0x409617
mov edx, str.application_x_javascript
lea ebx, [esp + 0x1c]
call fcn.00401640
jmp 0x4096a2
lea edx, [esp + 0x18]
push edx
mov ecx, 0x42c248
call fcn.0040a040
add esp, 4
test al, al
je 0x40963d
mov edx, str.text_plain
lea ebx, [esp + 0x1c]
call fcn.00401640
jmp 0x4096a2
lea eax, [esp + 0x18]
push eax
mov ecx, 0x42c258
call fcn.0040a040
add esp, 4
lea ebx, [esp + 0x1c]
test al, al
je 0x409663
mov edx, str.image_x_icon
call fcn.00401640
jmp 0x4096a2
mov edx, str.application_octet_stream
call fcn.00401640
jmp 0x4096a2
mov edx, str.image_jpeg
lea ebx, [esp + 0x1c]
call fcn.00401640
jmp 0x4096a2
mov edx, str.text_xml
lea ebx, [esp + 0x1c]
call fcn.00401640
jmp 0x4096a2
push str.text_html
mov edi, 9
lea eax, [esp + 0x20]
call fcn.004015b0
mov edx, dword [0x4321e8]
mov eax, dword [edx + 0xc]
mov ecx, 0x4321e8
call eax
mov edi, dword [esp + 0x38]
add eax, 0x10
mov dword [edi], eax
mov esi, dword [esp + 0x1c]
push esi
mov ebx, 1
push str.Content_Type:__s_r_n
mov dword [esp + 0x2c], ebx
call fcn.00404410
lea eax, [esi - 0x10]
add esp, 8
mov byte [esp + 0x30], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4096f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 0xfffffff0
mov byte [esp + 0x30], bl
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409718
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40973d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret