Function at 0x40fb80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x696bab
mov eax, dword fs:[0]
push eax
sub esp, 0xa88
mov eax, dword [0x75ce68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa20], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x908]
call fcn.0040a920
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8a8]
call fcn.0040a920
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8d8]
call fcn.0040a920
mov byte [ebp - 4], 3
push str.200_OK
lea ecx, [ebp - 0x8c0]
call fcn.0040a840
mov byte [ebp - 4], 4
push str.text_html
lea ecx, [ebp - 0x920]
call fcn.0040a840
mov byte [ebp - 4], 5
push 0x709bf4
lea ecx, [ebp - 0x938]
call fcn.0040a840
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8f0]
call fcn.0040a920
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x950]
call fcn.0040a920
mov byte [ebp - 4], 8
xorps xmm0, xmm0
movlpd qword [ebp - 0xa28], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0xa34], xmm0
mov dword [ebp - 0xa18], 0
push 0
push 0x709bfc
lea ecx, [ebp + 8]
call fcn.00410850
mov dword [ebp - 0xa1c], eax
mov eax, dword [ebp - 0xa1c]
cmp eax, dword [0x717328]
je 0x40fe72
mov ecx, dword [ebp - 0xa1c]
push ecx
push 0
lea edx, [ebp - 0x9f8]
push edx
lea ecx, [ebp + 8]
call fcn.004107d0
mov dword [ebp - 0xa84], eax
mov eax, dword [ebp - 0xa84]
push eax
lea ecx, [ebp - 0x908]
call fcn.00410960
lea ecx, [ebp - 0x9f8]
call fcn.0040a770
push 0x709c00
lea ecx, [ebp - 0x908]
push ecx
call fcn.0040e140
add esp, 8
movzx edx, al
test edx, edx
je 0x40fe4d
mov eax, dword [ebp - 0xa1c]
add eax, 1
push eax
push 0x709c04
lea ecx, [ebp + 8]
call fcn.00410850
mov dword [ebp - 0xa80], eax
mov ecx, dword [ebp - 0xa1c]
cmp ecx, dword [0x717328]
je 0x40fd93
mov edx, dword [ebp - 0xa80]
sub edx, dword [ebp - 0xa1c]
sub edx, 1
push edx
mov eax, dword [ebp - 0xa1c]
add eax, 1
push eax
lea ecx, [ebp - 0x9e0]
push ecx
lea ecx, [ebp + 8]
call fcn.004107d0
mov dword [ebp - 0xa7c], eax
mov edx, dword [ebp - 0xa7c]
push edx
lea ecx, [ebp - 0x8a8]
call fcn.00410960
lea ecx, [ebp - 0x9e0]
call fcn.0040a770
push 0x709c08
lea eax, [ebp - 0x8a8]
push eax
call fcn.0040e140
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40fd8e
mov edx, dword [ebp - 0xa20]
add edx, 0x658
push edx
lea ecx, [ebp - 0x8a8]
call fcn.004108f0
jmp 0x40fe4b
push 0
push 0x709c0c
push str.No_space_found_in_Request_String_1
push 0x709c44
mov ecx, dword [ebp - 0xa20]
call fcn.00415190
mov dword [ebp - 0xa78], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x950]
call fcn.0040a770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8f0]
call fcn.0040a770
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x938]
call fcn.0040a770
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x920]
call fcn.0040a770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c0]
call fcn.0040a770
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8d8]
call fcn.0040a770
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8a8]
call fcn.0040a770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x908]
call fcn.0040a770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040a770
mov eax, dword [ebp - 0xa78]
jmp 0x410515
jmp 0x40fe6d
push str.501_Not_Implemented
lea ecx, [ebp - 0x8c0]
call fcn.004108d0
push str._501.html
lea ecx, [ebp - 0x8a8]
call fcn.004108d0
jmp 0x40ff2a
push 0
push str.ParseRequest
push str.No_space_found_in_Request_String_2
push str.UMServer.log
mov ecx, dword [ebp - 0xa20]
call fcn.00415190
mov dword [ebp - 0xa70], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x950]
call fcn.0040a770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8f0]
call fcn.0040a770
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x938]
call fcn.0040a770
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x920]
call fcn.0040a770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c0]
call fcn.0040a770
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8d8]
call fcn.0040a770
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8a8]
call fcn.0040a770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x908]
call fcn.0040a770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040a770
mov eax, dword [ebp - 0xa70]
jmp 0x410515
push 0
push str._nConnection:_Keep_Alive
lea ecx, [ebp + 8]
call fcn.00410850
mov dword [ebp - 0xa1c], eax
mov eax, dword [ebp - 0xa1c]
cmp eax, dword [0x717328]
je 0x40ff56
mov ecx, dword [ebp + 0x24]
mov dword [ecx], 1
mov edx, dword [0x717328]
push edx
push 0x709cd4
lea ecx, [ebp - 0x8a8]
call fcn.00410820
mov dword [ebp - 0xa38], eax
mov eax, dword [ebp - 0xa38]
cmp eax, dword [0x717328]
je 0x41005b
lea ecx, [ebp - 0x8a8]
call fcn.0040a630
push eax
mov ecx, dword [ebp - 0xa38]
add ecx, 1
push ecx
lea edx, [ebp - 0x9c8]
push edx
lea ecx, [ebp - 0x8a8]
call fcn.004107d0
mov dword [ebp - 0xa6c], eax
mov eax, dword [ebp - 0xa6c]
push eax
lea ecx, [ebp - 0x8d8]
call fcn.00410960
lea ecx, [ebp - 0x9c8]
call fcn.0040a770
lea ecx, [ebp - 0x8d8]
call fcn.0040a650
push eax
call fcn.0065b8b8
add esp, 4
lea ecx, [ebp - 0xa2c]
call fcn.00410550
lea ecx, [ebp - 0x8d8]
push ecx
lea edx, [ebp - 0xa90]
push edx
mov ecx, dword [ebp - 0xa20]
add ecx, 0x670
call fcn.004105b0
mov eax, dword [eax]
mov dword [ebp - 0xa2c], eax
lea ecx, [ebp - 0xa94]
push ecx
mov ecx, dword [ebp - 0xa20]
add ecx, 0x670
call fcn.00410650
push eax
lea ecx, [ebp - 0xa2c]
call fcn.00410570
movzx edx, al
test edx, edx
je 0x41005b
lea ecx, [ebp - 0xa2c]
call fcn.00410530
add eax, 0x18
push eax
lea ecx, [ebp - 0x920]
call fcn.004108f0
lea eax, [ebp - 0xa8c]
push eax
call fcn.004150f0
add esp, 4
lea ecx, [ebp - 0xa8c]
push ecx
call fcn.004150d0
add esp, 4
mov dword [ebp - 0xa68], eax
mov edx, dword [ebp - 0xa68]
push edx
push str._a___d__b__Y__H:_M:_S_GMT
push 0x80
lea eax, [ebp - 0x90]
push eax
call fcn.00639fa8
add esp, 0x10
lea ecx, [ebp - 0x8a8]
push ecx
mov edx, dword [ebp - 0xa20]
add edx, 0x640
push edx
lea eax, [ebp - 0xa10]
push eax
call fcn.00412610
add esp, 0xc
mov dword [ebp - 0xa64], eax
push 0x709cf4
mov ecx, dword [ebp - 0xa64]
call fcn.0040a650
push eax
call fcn.0063a29a
add esp, 8
mov dword [ebp - 0xa14], eax
lea ecx, [ebp - 0xa10]
call fcn.0040a770
cmp dword [ebp - 0xa14], 0
je 0x41020d
push 2
push 0
mov ecx, dword [ebp - 0xa14]
push ecx
call fcn.0063a696
add esp, 0xc
lea edx, [ebp - 0xa28]
push edx
mov eax, dword [ebp - 0xa14]
push eax
call fcn.0063a6b1
add esp, 8
push 0
push 0
mov ecx, dword [ebp - 0xa14]
push ecx
call fcn.0063a696
add esp, 0xc
mov edx, dword [ebp - 0xa28]
add edx, 1
mov eax, dword [ebp - 0xa24]
adc eax, 0
push edx
call fcn.0042d3bf
add esp, 4
mov dword [ebp - 0xa60], eax
mov ecx, dword [ebp - 0xa60]
mov dword [ebp - 0xa18], ecx
mov edx, dword [ebp - 0xa14]
push edx
mov eax, dword [ebp - 0xa28]
push eax
push 1
mov ecx, dword [ebp - 0xa18]
push ecx
call fcn.0063a91c
add esp, 0x10
xor edx, edx
mov dword [ebp - 0xa34], eax
mov dword [ebp - 0xa30], edx
mov eax, dword [ebp - 0xa14]
push eax
call fcn.0063aac3
add esp, 4
mov ecx, dword [ebp + 0x24]
cmp dword [ecx], 0
je 0x4101b8
mov dword [ebp - 0xa3c], str.Keep_Alive
jmp 0x4101c2
mov dword [ebp - 0xa3c], str.close
lea ecx, [ebp - 0x920]
call fcn.0040a650
push eax
mov edx, dword [ebp - 0xa3c]
push edx
mov eax, dword [ebp - 0xa34]
push eax
push 0x709d0c
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x8c0]
call fcn.0040a650
push eax
push str.HTTP_1.0__s_r_nDate:__s_r_nServer:__s_r_nAccept_Ranges:_bytes_r_nContent_Length:__d_r_nConnection:__s_r_nContent_Type:__s_r_n_r_n
lea edx, [ebp - 0x890]
push edx
call fcn.00404c10
add esp, 0x20
jmp 0x4103cf
push str._404.html
mov eax, dword [ebp - 0xa20]
add eax, 0x640
push eax
lea ecx, [ebp - 0x9b0]
push ecx
call fcn.004126d0
add esp, 0xc
mov dword [ebp - 0xa5c], eax
push 0x709d94
mov ecx, dword [ebp - 0xa5c]
call fcn.0040a650
push eax
call fcn.0063a29a
add esp, 8
mov dword [ebp - 0xa14], eax
lea ecx, [ebp - 0x9b0]
call fcn.0040a770
cmp dword [ebp - 0xa14], 0
je 0x410372
push 2
push 0
mov edx, dword [ebp - 0xa14]
push edx
call fcn.0063a696
add esp, 0xc
lea eax, [ebp - 0xa28]
push eax
mov ecx, dword [ebp - 0xa14]
push ecx
call fcn.0063a6b1
add esp, 8
push 0
push 0
mov edx, dword [ebp - 0xa14]
push edx
call fcn.0063a696
add esp, 0xc
mov eax, dword [ebp - 0xa28]
add eax, 1
mov ecx, dword [ebp - 0xa24]
adc ecx, 0
push eax
call fcn.0042d3bf
add esp, 4
mov dword [ebp - 0xa58], eax
mov edx, dword [ebp - 0xa58]
mov dword [ebp - 0xa18], edx
mov eax, dword [ebp - 0xa14]
push eax
mov ecx, dword [ebp - 0xa28]
push ecx
push 1
mov edx, dword [ebp - 0xa18]
push edx
call fcn.0063a91c
add esp, 0x10
xor ecx, ecx
mov dword [ebp - 0xa34], eax
mov dword [ebp - 0xa30], ecx
mov edx, dword [ebp - 0xa14]
push edx
call fcn.0063aac3
add esp, 4
mov eax, dword [ebp - 0xa34]
push eax
mov ecx, dword [ebp - 0xa18]
push ecx
lea ecx, [ebp - 0x998]
call fcn.0040a8b0
mov dword [ebp - 0xa74], eax
mov edx, dword [ebp - 0xa74]
push edx
lea ecx, [ebp - 0x8f0]
call fcn.00410960
lea ecx, [ebp - 0x998]
call fcn.0040a770
mov eax, dword [ebp - 0xa18]
mov dword [ebp - 0xa54], eax
push 1
mov ecx, dword [ebp - 0xa54]
push ecx
call fcn.005fab04
add esp, 8
mov dword [ebp - 0xa18], 0
push str.404_Resource_not_found
lea ecx, [ebp - 0x8c0]
call fcn.004108d0
lea ecx, [ebp - 0x8f0]
call fcn.0040a650
push eax
push str.spread_HTTP_0.1b
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0x8f0]
call fcn.0040a630
push eax
lea ecx, [ebp - 0x8c0]
call fcn.0040a650
push eax
push str.HTTP_1.0__s_r_nContent_Length:__d_r_nContent_Type:_text_html_r_nDate:__s_r_nServer:__s_r_n_r_n_s
lea eax, [ebp - 0x890]
push eax
call fcn.00404c10
add esp, 0x1c
mov ecx, dword [ebp + 0x24]
mov dword [ecx], 0
lea edx, [ebp - 0x890]
push edx
lea ecx, [ebp - 0x980]
call fcn.0040a840
mov dword [ebp - 0xa50], eax
mov eax, dword [ebp - 0xa50]
push eax
mov ecx, dword [ebp + 0x20]
call fcn.00410960
lea ecx, [ebp - 0x980]
call fcn.0040a770
cmp dword [ebp - 0xa18], 0
je 0x410457
mov ecx, dword [ebp - 0xa34]
push ecx
mov edx, dword [ebp - 0xa18]
push edx
lea ecx, [ebp - 0x968]
call fcn.0040a8b0
mov dword [ebp - 0xa4c], eax
mov eax, dword [ebp - 0xa4c]
mov dword [ebp - 0xa44], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xa44]
push ecx
mov ecx, dword [ebp + 0x20]
call fcn.0040a750
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x968]
call fcn.0040a770
mov edx, dword [ebp - 0xa18]
mov dword [ebp - 0xa40], edx
push 1
mov eax, dword [ebp - 0xa40]
push eax
call fcn.005fab04
add esp, 8
mov dword [ebp - 0xa18], 0
mov dword [ebp - 0xa48], 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x950]
call fcn.0040a770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8f0]
call fcn.0040a770
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x938]
call fcn.0040a770
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x920]
call fcn.0040a770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c0]
call fcn.0040a770
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8d8]
call fcn.0040a770
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8a8]
call fcn.0040a770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x908]
call fcn.0040a770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040a770
mov eax, dword [ebp - 0xa48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005faac9
mov esp, ebp
pop ebp
ret 0x20