Function at 0x4099d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42b0b9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4340a0]
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 [0x435210]
mov edx, dword [eax + 0xc]
mov ecx, 0x435210
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x30], 2
mov eax, dword [0x435210]
mov edx, dword [eax + 0xc]
mov ecx, 0x435210
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.0041d8a0
add esp, 8
test eax, eax
jne 0x409a55
or eax, 0xffffffff
jmp 0x409a59
sub eax, dword [esp + 0x3c]
lea ecx, [eax + 1]
lea esi, [esp + 0x20]
lea edx, [esp + 0x3c]
call fcn.0040a530
lea ebx, [esp + 0x18]
mov byte [esp + 0x30], 4
call fcn.00403250
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 0x409a9c
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.00408fa0
mov edx, dword [esp + 0x40]
add esp, 4
push 0x42df13
push edx
call fcn.0041d04c
mov ebp, dword [esp + 0x20]
add esp, 8
test eax, eax
sete al
test al, al
jne 0x409c5f
push str.html
push ebp
call fcn.0041d04c
add esp, 8
test eax, eax
sete al
test al, al
jne 0x409c5f
push 0x42e300
push ebp
call fcn.0041d04c
add esp, 8
test eax, eax
sete al
test al, al
jne 0x409c5f
push 0x42e310
push ebp
call fcn.0041d04c
add esp, 8
test eax, eax
sete al
test al, al
je 0x409b2c
mov edx, str.text_css
lea ebx, [esp + 0x1c]
call fcn.00401c70
jmp 0x409c72
push 0x42e320
push ebp
call fcn.0041d04c
add esp, 8
test eax, eax
sete al
test al, al
jne 0x409c4f
lea eax, [esp + 0x18]
push eax
mov ecx, 0x42e324
call fcn.0040a600
add esp, 4
test al, al
jne 0x409c4f
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x42e334
call fcn.0040a600
add esp, 4
test al, al
je 0x409b8a
mov edx, str.image_gif
lea ebx, [esp + 0x1c]
call fcn.00401c70
jmp 0x409c72
lea edx, [esp + 0x18]
push edx
mov ecx, 0x42e344
call fcn.0040a600
add esp, 4
test al, al
jne 0x409c3f
lea eax, [esp + 0x18]
push eax
mov ecx, str.jpeg
call fcn.0040a600
add esp, 4
test al, al
jne 0x409c3f
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x42e35c
call fcn.0040a600
add esp, 4
test al, al
je 0x409be7
mov edx, str.application_x_javascript
lea ebx, [esp + 0x1c]
call fcn.00401c70
jmp 0x409c72
lea edx, [esp + 0x18]
push edx
mov ecx, 0x42e37c
call fcn.0040a600
add esp, 4
test al, al
je 0x409c0d
mov edx, str.text_plain
lea ebx, [esp + 0x1c]
call fcn.00401c70
jmp 0x409c72
lea eax, [esp + 0x18]
push eax
mov ecx, 0x42e38c
call fcn.0040a600
add esp, 4
lea ebx, [esp + 0x1c]
test al, al
je 0x409c33
mov edx, str.image_x_icon
call fcn.00401c70
jmp 0x409c72
mov edx, str.application_octet_stream
call fcn.00401c70
jmp 0x409c72
mov edx, str.image_jpeg
lea ebx, [esp + 0x1c]
call fcn.00401c70
jmp 0x409c72
mov edx, str.text_xml
lea ebx, [esp + 0x1c]
call fcn.00401c70
jmp 0x409c72
push str.text_html
mov edi, 9
lea eax, [esp + 0x20]
call fcn.00401be0
mov edx, dword [0x435210]
mov eax, dword [edx + 0xc]
mov ecx, 0x435210
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.004049a0
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 0x409cc7
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 0x409ce8
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 0x409d0d
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