Function at 0x43fb20
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x640
push esi
mov eax, dword [0x5290f4]
movzx ecx, byte [eax + 0x400]
mov edx, dword [0x5290f4]
mov dword [edx + ecx*4], 0x6eed0000
mov eax, dword [0x5290f4]
mov cl, byte [eax + 0x400]
add cl, 1
mov edx, dword [0x5290f4]
mov byte [edx + 0x400], cl
call fcn.00401bd0
mov dword [ebp - 0x138], 0x10
mov dword [ebp - 0x130], 0xffffffff
mov dword [ebp - 0x114], 0xffffffff
mov eax, dword [ebp + 0xc]
push eax
push 0x4d8358
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.0043dbe0
add esp, 0x14
test eax, eax
je 0x43fbb1
mov eax, 9
jmp 0x441142
push str.SFK_Instant_HTTP_Server._For_help__type__sfk_httpserv__help_._n
call fcn.0044d350
add esp, 4
mov dword [ebp - 0x110], 0
push 0x4d83ac
xor ecx, ecx
cmp dword [ebp + 8], 0x50
sete cl
dec ecx
and ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x110]
push edx
call fcn.00402750
add esp, 0xc
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
push eax
call fcn.004be7f0
add esp, 4
test eax, eax
je 0x43fc48
cmp dword [ebp - 0x110], 1
jne 0x43fc2a
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x118]
push edx
mov eax, dword [ebp + 8]
push eax
push str.Waiting_on_port__u._Try_http:___s__in_your_browser._n
call fcn.0044d350
add esp, 0x10
jmp 0x43fc46
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x118]
push edx
mov eax, dword [ebp + 8]
push eax
push str.Waiting_on_port__u._Try_http:___s_in_your_browser._n
call fcn.0044d350
add esp, 0x10
jmp 0x43fc59
mov ecx, dword [ebp + 8]
push ecx
push str.Waiting_on_port__u._n
call fcn.0044d350
add esp, 8
push 0x32
push 0
lea edx, [ebp - 0xfc]
push edx
call fcn.004bf170
add esp, 0xc
push 0xc8
push 0
lea eax, [ebp - 0xc8]
push eax
call fcn.004bf170
add esp, 0xc
mov dword [ebp - 0x11c], 0
push 0
push 0
call fcn.004237b0
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x441128
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
call sub.WS2_32.dll_accept
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
jne 0x43fd0e
call fcn.00484790
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0x2733
jne 0x43fcf2
push 0x1f4
call fcn.004026b0
add esp, 4
jmp 0x43fc8c
push 0x4d8438
call fcn.0040cc80
add esp, 4
mov dword [ebp - 0x11c], 9
jmp 0x441128
push 1
lea edx, [ebp - 0x114]
push edx
call fcn.00438380
add esp, 8
push 4
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x134]
push ecx
call fcn.004bed60
add esp, 0xc
mov edx, dword [ebp - 0x134]
push edx
call sub.WS2_32.dll_inet_ntoa
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
push eax
lea ecx, [ebp - 0xfc]
push ecx
call fcn.004bfdc0
add esp, 8
test eax, eax
je 0x43fd8f
push 0x28
mov edx, dword [ebp - 0x13c]
push edx
lea eax, [ebp - 0xfc]
push eax
call fcn.00401d50
add esp, 0xc
mov ecx, dword [ebp - 0x13c]
push ecx
push 0x4d845c
call fcn.0044d350
add esp, 8
push 0x232
push 0
lea edx, [ebp - 0x378]
push edx
call fcn.004bf170
add esp, 0xc
push 0xc8
push 0
lea eax, [ebp - 0xc8]
push eax
call fcn.004bf170
add esp, 0xc
push 0x186fa
push 0x534818
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.0043f8d0
add esp, 0xc
mov dword [ebp - 0x38c], eax
cmp dword [ebp - 0x38c], 0
jge 0x43fde8
jmp 0x441103
mov dword [ebp - 0x398], 0x534818
push str.POST__
mov edx, dword [ebp - 0x398]
push edx
call fcn.0040dd40
add esp, 8
movzx eax, al
test eax, eax
je 0x4408fc
mov dword [ebp - 0x524], 0
push 0x4d8478
mov ecx, dword [ebp - 0x398]
push ecx
call fcn.004bfe50
add esp, 8
mov dword [ebp - 0x3bc], eax
cmp dword [ebp - 0x3bc], 0
jne 0x43fe58
push 0x4d8480
mov edx, dword [ebp - 0x398]
push edx
call fcn.004bfe50
add esp, 8
mov dword [ebp - 0x3bc], eax
cmp dword [ebp - 0x3bc], 0
jne 0x43fe7a
push str.wrong_POST_format
mov eax, dword [ebp - 0x114]
push eax
call fcn.0043f990
add esp, 8
jmp 0x441103
mov ecx, dword [ebp - 0x3bc]
mov byte [ecx], 0
mov edx, dword [ebp - 0x3bc]
add edx, 4
mov dword [ebp - 0x3bc], edx
push 0x100a
push 0
push 0x559ca0
call fcn.004bf170
add esp, 0xc
mov dword [ebp - 0x530], 0xffffffff
mov dword [ebp - 0x52c], 0xffffffff
mov byte [ebp - 0x3b6], 1
mov eax, dword [ebp - 0x398]
mov dword [ebp - 0x520], eax
cmp dword [ebp - 0x520], 0
je 0x44014e
mov ecx, dword [ebp - 0x520]
movsx edx, byte [ecx]
test edx, edx
je 0x44014e
push 0xa
mov eax, dword [ebp - 0x520]
push eax
call fcn.004bf0b0
add esp, 8
mov dword [ebp - 0x5b0], eax
cmp dword [ebp - 0x5b0], 0
je 0x43ff23
mov ecx, dword [ebp - 0x5b0]
mov byte [ecx], 0
mov edx, dword [ebp - 0x5b0]
add edx, 1
mov dword [ebp - 0x5b0], edx
mov eax, dword [ebp - 0x520]
push eax
call fcn.0041af70
add esp, 4
movzx ecx, byte [ebp - 0x3b6]
test ecx, ecx
je 0x43ff58
mov byte [ebp - 0x3b6], 0
mov edx, dword [ebp - 0x520]
push edx
push 0x4d8498
call fcn.0044d350
add esp, 8
push 0x4d84a0
mov eax, dword [ebp - 0x520]
push eax
call fcn.0040dd70
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x440068
push 0
push str.multipart_form_data
mov edx, dword [ebp - 0x520]
push edx
call fcn.004231a0
add esp, 0xc
test eax, eax
je 0x440068
push 0x4d84c4
mov eax, dword [ebp - 0x520]
push eax
call fcn.004bfe50
add esp, 8
mov dword [ebp - 0x5bc], eax
cmp dword [ebp - 0x5bc], 0
jne 0x43ffd8
mov ecx, dword [ebp - 0x520]
push ecx
push str.wrong_content_type:__s
mov edx, dword [ebp - 0x114]
push edx
call fcn.0043f990
add esp, 0xc
jmp 0x44014e
push str.boundary
call fcn.004be7f0
add esp, 4
add eax, dword [ebp - 0x5bc]
mov dword [ebp - 0x5bc], eax
mov eax, dword [ebp - 0x5bc]
mov dword [ebp - 0x5b8], eax
lea ecx, [ebp - 0x5b8]
push ecx
call fcn.00401f00
add esp, 4
mov edx, dword [ebp - 0x5b8]
sub edx, dword [ebp - 0x5bc]
mov dword [ebp - 0x5b4], edx
cmp dword [ebp - 0x5b4], 0xf9c
jle 0x440043
push str.content_boundary_too_long
mov eax, dword [ebp - 0x114]
push eax
call fcn.0043f990
add esp, 8
jmp 0x44014e
mov ecx, dword [ebp - 0x5bc]
push ecx
mov edx, dword [ebp - 0x5b4]
push edx
push str._r_n___.s___r_n
push 0x1000
push 0x559ca0
call fcn.004bf5ba
add esp, 0x14
push 0x4d8520
mov eax, dword [ebp - 0x520]
push eax
call fcn.0040dd70
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x44013d
mov dword [ebp - 0x5c8], 0xffffffff
mov dword [ebp - 0x5c4], 0xffffffff
push 0x3a
mov edx, dword [ebp - 0x520]
push edx
call fcn.004bf0b0
add esp, 8
mov dword [ebp - 0x5cc], eax
cmp dword [ebp - 0x5cc], 0
je 0x4400f4
mov eax, dword [ebp - 0x5cc]
add eax, 1
mov dword [ebp - 0x5cc], eax
lea ecx, [ebp - 0x5cc]
push ecx
call fcn.00401f20
add esp, 4
mov edx, dword [ebp - 0x5cc]
push edx
call fcn.00401b50
add esp, 4
mov dword [ebp - 0x5c8], eax
mov dword [ebp - 0x5c4], edx
cmp dword [ebp - 0x5c4], 0
jg 0x440125
jl 0x440108
cmp dword [ebp - 0x5c8], 0
jae 0x440125
mov eax, dword [ebp - 0x520]
push eax
push str.wrong_content_length:__s
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.0043f990
add esp, 0xc
jmp 0x44014e
mov edx, dword [ebp - 0x5c8]
mov dword [ebp - 0x530], edx
mov eax, dword [ebp - 0x5c4]
mov dword [ebp - 0x52c], eax
mov ecx, dword [ebp - 0x5b0]
mov dword [ebp - 0x520], ecx
jmp 0x43fecd
movsx edx, byte [0x559ca0]
test edx, edx
jne 0x440172
push str.missing_boundary_header
mov eax, dword [ebp - 0x114]
push eax
call fcn.0043f990
add esp, 8
jmp 0x441103
cmp dword [ebp - 0x52c], 0
jg 0x44019f
jl 0x440186
cmp dword [ebp - 0x530], 0
jae 0x44019f
push str.missing_content_length
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.0043f990
add esp, 8
jmp 0x441103
push 0x186fa
push 0x534818
mov edx, dword [ebp - 0x114]
push edx
call fcn.0043f8d0
add esp, 0xc
mov dword [ebp - 0x5ac], eax
cmp dword [ebp - 0x5ac], 0
jge 0x4401cc
jmp 0x441103
mov eax, dword [ebp - 0x5ac]
mov byte [eax + 0x534818], 0
push 0x4d857c
mov ecx, dword [ebp - 0x398]
push ecx
call fcn.004bfe50
add esp, 8
mov dword [ebp - 0x3d4], eax
cmp dword [ebp - 0x3d4], 0
jne 0x440215
push 0x4d8588
mov edx, dword [ebp - 0x114]
push edx
call fcn.0043f990
add esp, 8
jmp 0x441103
push str.filename_
call fcn.004be7f0
add esp, 4
add eax, dword [ebp - 0x3d4]
mov dword [ebp - 0x3d4], eax
push 0x22
mov eax, dword [ebp - 0x3d4]
push eax
call fcn.004bf0b0
add esp, 8
mov dword [ebp - 0x5a8], eax
cmp dword [ebp - 0x5a8], 0
jne 0x440267
push str.missing_quote
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.0043f990
add esp, 8
jmp 0x441103
mov edx, dword [ebp - 0x5a8]
mov byte [edx], 0
push 0x2f
mov eax, dword [ebp - 0x3d4]
push eax
call fcn.004bfff0
add esp, 8
test eax, eax
je 0x44029f
push 0x2f
mov ecx, dword [ebp - 0x3d4]
push ecx
call fcn.004bfff0
add esp, 8
add eax, 1
mov dword [ebp - 0x3d4], eax
push 0x5c
mov edx, dword [ebp - 0x3d4]
push edx
call fcn.004bfff0
add esp, 8
test eax, eax
je 0x4402ce
push 0x5c
mov eax, dword [ebp - 0x3d4]
push eax
call fcn.004bfff0
add esp, 8
add eax, 1
mov dword [ebp - 0x3d4], eax
push 0x228
mov ecx, dword [ebp - 0x3d4]
push ecx
call fcn.004382c0
add esp, 4
push eax
lea edx, [ebp - 0x378]
push edx
call fcn.00401d50
add esp, 0xc
lea eax, [ebp - 0x378]
push eax
call fcn.00444400
add esp, 4
push 0
lea ecx, [ebp - 0x378]
push ecx
call fcn.00438870
add esp, 8
movzx edx, al
test edx, edx
je 0x440339
lea eax, [ebp - 0x378]
push eax
push 0x4d85b8
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.0043f990
add esp, 0xc
jmp 0x441103
push 0x4d85d8
lea edx, [ebp - 0x378]
push edx
call fcn.004bf4d0
add esp, 8
mov dword [ebp - 0x5a4], eax
cmp dword [ebp - 0x5a4], 0
jne 0x44037c
lea eax, [ebp - 0x378]
push eax
push str.cannot_write:__s
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.0043f990
add esp, 0xc
jmp 0x441103
mov dword [ebp - 0x3c4], 0x559ca0
mov edx, dword [ebp - 0x3c4]
push edx
call fcn.004be7f0
add esp, 4
mov dword [ebp - 0x534], eax
mov dword [ebp - 0x3d0], 0
mov dword [ebp - 0x3cc], 0
mov dword [ebp - 0x3c0], 0x534818
mov dword [ebp - 0x3e0], 0
mov dword [ebp - 0x51c], 0x186fa
mov byte [ebp - 0x3d9], 0
lea ecx, [ebp - 0x518]
call fcn.004120c0
mov eax, dword [ebp - 0x3cc]
cmp eax, dword [ebp - 0x52c]
jg 0x4407b9
jl 0x440405
mov ecx, dword [ebp - 0x3d0]
cmp ecx, dword [ebp - 0x530]
jae 0x4407b9
mov edx, dword [ebp - 0x51c]
sub edx, dword [ebp - 0x3e0]
mov dword [ebp - 0x5ec], edx
mov ecx, dword [ebp - 0x530]
sub ecx, dword [ebp - 0x3d0]
mov esi, dword [ebp - 0x52c]
sbb esi, dword [ebp - 0x3cc]
mov eax, dword [ebp - 0x3e0]
cdq
sub ecx, eax
sbb esi, edx
mov dword [ebp - 0x5e8], ecx
mov dword [ebp - 0x5e4], esi
cmp dword [ebp - 0x5e4], 0
jg 0x440488
jl 0x44045a
cmp dword [ebp - 0x5e8], 0
jae 0x440488
mov edx, dword [ebp - 0x3e0]
push edx
mov eax, dword [ebp - 0x3d0]
push eax
mov ecx, dword [ebp - 0x530]
push ecx
push str.int._error_during_POST_read___d__d__d
mov edx, dword [ebp - 0x114]
push edx
call fcn.0043f990
add esp, 0x14
jmp 0x4407b9
mov eax, dword [ebp - 0x5ec]
cdq
mov dword [ebp - 0x63c], eax
mov dword [ebp - 0x638], edx
mov eax, dword [ebp - 0x638]
cmp eax, dword [ebp - 0x5e4]
jl 0x4404c5
jg 0x4404b9
mov ecx, dword [ebp - 0x63c]
cmp ecx, dword [ebp - 0x5e8]
jbe 0x4404c5
mov edx, dword [ebp - 0x5e8]
mov dword [ebp - 0x5ec], edx
push 0
mov eax, dword [ebp - 0x5ec]
push eax
mov ecx, dword [ebp - 0x3c0]
add ecx, dword [ebp - 0x3e0]
push ecx
mov edx, dword [ebp - 0x114]
push edx
call sub.WS2_32.dll_recv
mov dword [ebp - 0x5dc], eax
cmp dword [ebp - 0x5dc], 0
jg 0x4404fb
jmp 0x4407b9
mov eax, dword [ebp - 0x3e0]
add eax, dword [ebp - 0x5dc]
mov dword [ebp - 0x3e0], eax
mov ecx, dword [ebp - 0x3c0]
add ecx, dword [ebp - 0x3e0]
mov byte [ecx], 0
mov dword [ebp - 0x5d4], 0
mov edx, dword [ebp - 0x3e0]
cmp edx, dword [ebp - 0x534]
jl 0x440579
mov eax, dword [ebp - 0x534]
push eax
mov ecx, dword [ebp - 0x3c4]
push ecx
mov edx, dword [ebp - 0x3c0]
add edx, dword [ebp - 0x3e0]
sub edx, dword [ebp - 0x534]
push edx
call fcn.004bebf0
add esp, 0xc
test eax, eax
jne 0x440579
mov eax, dword [ebp - 0x3c0]
add eax, dword [ebp - 0x3e0]
sub eax, dword [ebp - 0x534]
mov dword [ebp - 0x5d4], eax
cmp dword [ebp - 0x5d4], 0
je 0x4406ca
mov ecx, dword [ebp - 0x5d4]
sub ecx, dword [ebp - 0x3c0]
mov dword [ebp - 0x5f4], ecx
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x5a4]
push edx
mov eax, dword [ebp - 0x5f4]
push eax
mov ecx, dword [ebp - 0x3c0]
push ecx
call fcn.0040c930
add esp, 0x20
cmp eax, dword [ebp - 0x5f4]
je 0x4405ea
lea edx, [ebp - 0x378]
push edx
push 0x4d8618
call fcn.0040cc80
add esp, 8
mov dword [ebp - 0x524], 1
jmp 0x4407b9
mov eax, dword [ebp - 0x5f4]
push eax
mov ecx, dword [ebp - 0x3c0]
push ecx
lea ecx, [ebp - 0x518]
call fcn.00412170
mov eax, dword [ebp - 0x5f4]
cdq
add eax, dword [ebp - 0x3d0]
mov ecx, dword [ebp - 0x3cc]
adc ecx, edx
mov dword [ebp - 0x3d0], eax
mov dword [ebp - 0x3cc], ecx
mov edx, dword [ebp - 0x5d4]
add edx, dword [ebp - 0x534]
mov dword [ebp - 0x600], edx
push str._r_n_r_n
mov eax, dword [ebp - 0x600]
push eax
call fcn.004bfe50
add esp, 8
mov dword [ebp - 0x5f8], eax
cmp dword [ebp - 0x5f8], 0
jne 0x440665
mov ecx, dword [ebp - 0x600]
mov dword [ebp - 0x5f8], ecx
mov edx, dword [ebp - 0x5f8]
mov dword [ebp - 0x600], edx
mov eax, dword [ebp - 0x600]
sub eax, dword [ebp - 0x3c0]
mov dword [ebp - 0x5fc], eax
mov ecx, dword [ebp - 0x3e0]
sub ecx, dword [ebp - 0x5fc]
mov dword [ebp - 0x604], ecx
mov edx, dword [ebp - 0x604]
push edx
mov eax, dword [ebp - 0x600]
push eax
mov ecx, dword [ebp - 0x3c0]
push ecx
call fcn.004bf920
add esp, 0xc
mov edx, dword [ebp - 0x604]
mov dword [ebp - 0x3e0], edx
mov byte [ebp - 0x3d9], 1
jmp 0x4407b9
mov eax, dword [ebp - 0x3e0]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x5d0], eax
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x5a4]
push eax
mov ecx, dword [ebp - 0x5d0]
push ecx
mov edx, dword [ebp - 0x3c0]
push edx
call fcn.0040c930
add esp, 0x20
cmp eax, dword [ebp - 0x5d0]
je 0x44072d
lea eax, [ebp - 0x378]
push eax
push str.cannot_fully_write__disk_full__:__s
call fcn.0040cc80
add esp, 8
mov dword [ebp - 0x524], 2
jmp 0x4407b9
mov ecx, dword [ebp - 0x5d0]
push ecx
mov edx, dword [ebp - 0x3c0]
push edx
lea ecx, [ebp - 0x518]
call fcn.00412170
mov eax, dword [ebp - 0x5d0]
cdq
add eax, dword [ebp - 0x3d0]
mov ecx, dword [ebp - 0x3cc]
adc ecx, edx
mov dword [ebp - 0x3d0], eax
mov dword [ebp - 0x3cc], ecx
mov edx, dword [ebp - 0x3c0]
add edx, dword [ebp - 0x5d0]
mov dword [ebp - 0x5d8], edx
mov eax, dword [ebp - 0x3e0]
sub eax, dword [ebp - 0x5d0]
mov dword [ebp - 0x5f0], eax
mov ecx, dword [ebp - 0x5f0]
push ecx
mov edx, dword [ebp - 0x5d8]
push edx
mov eax, dword [ebp - 0x3c0]
push eax
call fcn.004bf920
add esp, 0xc
mov ecx, dword [ebp - 0x5f0]
mov dword [ebp - 0x3e0], ecx
jmp 0x4403df
mov edx, dword [ebp - 0x5a4]
push edx
call fcn.004bf349
add esp, 4
movzx eax, byte [ebp - 0x3d9]
test eax, eax
jne 0x4407e6
cmp dword [ebp - 0x524], 0
jne 0x4407e6
mov dword [ebp - 0x524], 3
lea ecx, [ebp - 0x518]
call fcn.00413330
mov dword [ebp - 0x3d8], eax
mov dword [ebp - 0x608], 0
jmp 0x440812
mov ecx, dword [ebp - 0x608]
add ecx, 1
mov dword [ebp - 0x608], ecx
cmp dword [ebp - 0x608], 0x10
jge 0x440848
mov edx, dword [ebp - 0x3d8]
add edx, dword [ebp - 0x608]
movzx eax, byte [edx]
push eax
push 0x4d8668
mov ecx, dword [ebp - 0x608]
lea edx, [ebp + ecx*2 - 0x5a0]
push edx
call fcn.004be348
add esp, 0xc
jmp 0x440803
cmp dword [ebp - 0x524], 0
je 0x440889
lea eax, [ebp - 0x378]
push eax
call fcn.004bfd84
add esp, 4
mov ecx, dword [ebp - 0x524]
push ecx
lea edx, [ebp - 0x378]
push edx
push str.failed:__s__error__d_
push 0xbe
lea eax, [ebp - 0xc8]
push eax
call fcn.004bf5ba
add esp, 0x14
jmp 0x4408cb
lea ecx, [ebp - 0x5a0]
push ecx
push 0
push 1
mov edx, dword [ebp - 0x3cc]
push edx
mov eax, dword [ebp - 0x3d0]
push eax
call fcn.00401b10
add esp, 0x10
push eax
lea ecx, [ebp - 0x378]
push ecx
push str.saved_:__s___s_bytes__md5_s
push 0xbe
lea edx, [ebp - 0xc8]
push edx
call fcn.004bf5ba
add esp, 0x18
lea eax, [ebp - 0xc8]
push eax
push 0x4d86a8
call fcn.0044d350
add esp, 8
push str.GET___HTTP_1.1_r_n_r_n
push 0x534818
call fcn.004be6f0
add esp, 8
lea ecx, [ebp - 0x518]
call fcn.00412160
push 0xd
mov ecx, dword [ebp - 0x398]
push ecx
call fcn.004bf0b0
add esp, 8
mov dword [ebp - 0x3b4], eax
cmp dword [ebp - 0x3b4], 0
jne 0x440933
push 0xa
mov edx, dword [ebp - 0x398]
push edx
call fcn.004bf0b0
add esp, 8
mov dword [ebp - 0x3b4], eax
cmp dword [ebp - 0x3b4], 0
je 0x440945
mov eax, dword [ebp - 0x3b4]
mov byte [eax], 0
mov ecx, dword [ebp - 0x398]
push ecx
push 0x4d86c4
call fcn.0044d350
add esp, 8
push 0x4d86cc
mov edx, dword [ebp - 0x398]
push edx
call fcn.0040dd40
add esp, 8
mov byte [ebp - 0x3a9], al
push 0x4d86d4
mov eax, dword [ebp - 0x398]
push eax
call fcn.0040dd40
add esp, 8
mov byte [ebp - 0x3b5], al
movzx ecx, byte [ebp - 0x3a9]
test ecx, ecx
jne 0x4409c3
movzx edx, byte [ebp - 0x3b5]
test edx, edx
jne 0x4409c3
mov eax, dword [ebp - 0x398]
push eax
push str.500_unsupported_command:__.200s
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.0043f990
add esp, 0xc
jmp 0x441103
movzx edx, byte [ebp - 0x3a9]
neg edx
sbb edx, edx
add edx, 5
add edx, dword [ebp - 0x398]
mov dword [ebp - 0x394], edx
mov eax, dword [ebp - 0x394]
movsx ecx, byte [eax]
cmp ecx, 0x2f
jne 0x4409fa
mov edx, dword [ebp - 0x394]
add edx, 1
mov dword [ebp - 0x394], edx
mov eax, dword [ebp - 0x394]
mov dword [ebp - 0x3a8], eax
lea ecx, [ebp - 0x3a8]
push ecx
call fcn.00401f00
add esp, 4
mov edx, dword [ebp - 0x3a8]
sub edx, dword [ebp - 0x394]
mov dword [ebp - 0x380], edx
cmp dword [ebp - 0x380], 0x200
jle 0x440a3d
mov dword [ebp - 0x380], 0x200
mov eax, dword [ebp - 0x380]
push eax
mov ecx, dword [ebp - 0x394]
push ecx
lea edx, [ebp - 0x378]
push edx
call fcn.004bed60
add esp, 0xc
mov eax, dword [ebp - 0x380]
mov byte [ebp + eax - 0x378], 0
lea ecx, [ebp - 0x378]
push ecx
call fcn.00444400
add esp, 4
movsx edx, byte [ebp - 0x378]
test edx, edx
jne 0x440a9e
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x440a9e
push str.index.html
lea ecx, [ebp - 0x378]
push ecx
call fcn.004be6f0
add esp, 8
movsx edx, byte [ebp - 0x378]
test edx, edx
jne 0x440c78
mov eax, dword [ebp - 0x114]
mov dword [0x56702c], eax
push 0
push 0x4d8708
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.004384b0
add esp, 0xc
push 0
push str.Server:_Swiss_File_Knife_1.6.6_windows_any
mov edx, dword [ebp - 0x114]
push edx
call fcn.004384b0
add esp, 0xc
push 0
push str.Content_Type:_text_html
mov eax, dword [ebp - 0x114]
push eax
call fcn.004384b0
add esp, 0xc
push 0
push str.Cache_Control:_no_cache
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.004384b0
add esp, 0xc
push 0
push 0x4d8774
mov edx, dword [ebp - 0x114]
push edx
call fcn.004384b0
add esp, 0xc
movzx eax, byte [ebp - 0x3a9]
test eax, eax
je 0x440c73
push 0
push str._html__body_
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.004384b0
add esp, 0xc
push 0
push str.Swiss_File_Knife_Instant_HTTP_Server__1.6.6__windows_any
mov edx, dword [ebp - 0x114]
push edx
call fcn.004384b0
add esp, 0xc
push 0
push str.nbsp_nbsp_nbsp_nbsp_nbsp__a_href____refresh__a_
mov eax, dword [ebp - 0x114]
push eax
call fcn.004384b0
add esp, 0xc
movzx ecx, byte [ebp + 0x18]
test ecx, ecx
je 0x440b97
push 0
mov edx, dword [str._p__form_method_POST__enctype_multipart_form_data__action_____n_table__tr__td__n_input_type_file__name_filename____n__td__td__n_input_type_submit__value_upload____n__td___tr___table__n__form__n]
push edx
mov eax, dword [ebp - 0x114]
push eax
call fcn.004384b0
add esp, 0xc
push 0
push str._pre_
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.004384b0
add esp, 0xc
movsx edx, byte [ebp - 0xc8]
test edx, edx
je 0x440bec
lea eax, [ebp - 0xc8]
push eax
push 0x4d8804
push 0x1000
push 0x562ea0
call fcn.004bf5ba
add esp, 0x10
push 0
push 0x562ea0
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.004384b0
add esp, 0xc
mov dword [ebp - 0x60c], 0
mov dword [ebp - 0x61c], 0
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x614], 0
mov byte [0x567032], 1
mov byte [0x567033], 1
lea edx, [ebp - 0x618]
push edx
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0x60c]
push ecx
push 0x11
call fcn.0041bda0
add esp, 0x10
mov dword [ebp - 0x11c], eax
push 0
push str.__pre___body___html_
mov edx, dword [ebp - 0x114]
push edx
call fcn.004384b0
add esp, 0xc
cmp dword [0x56b184], 0
jne 0x440c73
push str.__sent_content_listing._n
call fcn.0044d350
add esp, 4
jmp 0x441103
mov al, byte [ebp + 0x10]
push eax
lea ecx, [ebp - 0x378]
push ecx
call fcn.00438870
add esp, 8
movzx edx, al
test edx, edx
je 0x440cb2
lea eax, [ebp - 0x378]
push eax
push str.path_traversal_not_allowed:__s
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.0043f990
add esp, 0xc
jmp 0x441103
push 0x7054
push 0x4d885c
push 0x48
call fcn.004079a0
add esp, 0xc
mov dword [ebp - 0x634], eax
cmp dword [ebp - 0x634], 0
je 0x440cfa
push 0
lea edx, [ebp - 0x378]
push edx
call fcn.004382c0
add esp, 4
push eax
mov ecx, dword [ebp - 0x634]
call fcn.00407500
mov dword [ebp - 0x640], eax
jmp 0x440d04
mov dword [ebp - 0x640], 0
mov eax, dword [ebp - 0x640]
mov dword [ebp - 0x3b0], eax
push 0
mov ecx, dword [ebp - 0x3b0]
push ecx
lea ecx, [ebp - 0x3a0]
call fcn.0047a9b0
push 0
mov ecx, dword [ebp - 0x3b0]
call fcn.004091e0
movzx edx, al
test edx, edx
jne 0x440da3
push 0
push str.HTTP_1.1_404_no_such_file
mov eax, dword [ebp - 0x114]
push eax
call fcn.004384b0
add esp, 0xc
push 0
push 0x4d887e
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.004384b0
add esp, 0xc
lea edx, [ebp - 0x378]
push edx
push str.404_no_such_file:__.200s
push 0x562ea0
call fcn.004be348
add esp, 0xc
push 0
push 0x562ea0
mov eax, dword [ebp - 0x114]
push eax
call fcn.004384b0
add esp, 0xc
lea ecx, [ebp - 0x3a0]
call fcn.0047a9e0
jmp 0x441103
mov ecx, dword [ebp - 0x3b0]
call fcn.00409740
mov byte [ebp - 0x3a1], al
mov ecx, dword [ebp - 0x3b0]
call fcn.004081a0
mov dword [ebp - 0x388], eax
mov dword [ebp - 0x384], edx
push 0
push str.HTTP_1.1_200_OK
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.004384b0
add esp, 0xc
mov dword [ebp - 0x390], str.application_octet_stream
movzx edx, byte [ebp - 0x3a1]
test edx, edx
je 0x440e84
push 0x4d88c8
lea eax, [ebp - 0x378]
push eax
call fcn.004bfe50
add esp, 8
test eax, eax
je 0x440e1c
mov dword [ebp - 0x390], str.image_jpg
push str..png
lea ecx, [ebp - 0x378]
push ecx
call fcn.004bfe50
add esp, 8
test eax, eax
je 0x440e3e
mov dword [ebp - 0x390], str.image_png
push str..gif
lea edx, [ebp - 0x378]
push edx
call fcn.004bfe50
add esp, 8
test eax, eax
je 0x440e60
mov dword [ebp - 0x390], str.image_gif
push 0x4d8900
lea eax, [ebp - 0x378]
push eax
call fcn.004bfdc0
add esp, 8
test eax, eax
jne 0x440e82
mov dword [ebp - 0x390], str.image_x_icon
jmp 0x440eb0
mov dword [ebp - 0x390], str.text_plain
push str..htm
lea ecx, [ebp - 0x378]
push ecx
call fcn.004bfe50
add esp, 8
test eax, eax
je 0x440eb0
mov dword [ebp - 0x390], 0x4d8930
mov edx, dword [ebp - 0x390]
push edx
push str.Content_Type:__s
push 0x562ea0
call fcn.004be348
add esp, 0xc
push 0
push 0x562ea0
mov eax, dword [ebp - 0x114]
push eax
call fcn.004384b0
add esp, 0xc
push 0
push 1
mov ecx, dword [ebp - 0x384]
push ecx
mov edx, dword [ebp - 0x388]
push edx
call fcn.00401b10
add esp, 0x10
push eax
push str.Content_Length:__s
push 0x562ea0
call fcn.004be348
add esp, 0xc
push 0
push 0x562ea0
mov eax, dword [ebp - 0x114]
push eax
call fcn.004384b0
add esp, 0xc
push 0
push 0x4d8963
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.004384b0
add esp, 0xc
movzx edx, byte [ebp - 0x3a9]
test edx, edx
je 0x4410f0
push 0x4d8964
mov ecx, dword [ebp - 0x3b0]
call fcn.004092b0
test eax, eax
je 0x440fa3
push str.favicon.ico
lea eax, [ebp - 0x378]
push eax
call fcn.004bfdc0
add esp, 8
test eax, eax
je 0x440f93
mov ecx, dword [ebp - 0x3b0]
call fcn.00408a30
push eax
push str.failed_to_open:___s_
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.0043f990
add esp, 0xc
lea ecx, [ebp - 0x3a0]
call fcn.0047a9e0
jmp 0x441103
mov dword [ebp - 0x62c], 0
mov dword [ebp - 0x628], 0
mov dword [ebp - 0x624], 0
push 0x1831c
push 0x534818
mov ecx, dword [ebp - 0x3b0]
call fcn.00409f10
mov dword [ebp - 0x62c], eax
cmp dword [ebp - 0x62c], 0
jle 0x441082
cmp dword [0x56afc8], 1
jle 0x441006
mov edx, dword [ebp - 0x62c]
push edx
push str.____d_bytes_data__n
call fcn.0044d350
add esp, 8
push 0
mov eax, dword [ebp - 0x62c]
push eax
push 0x534818
mov ecx, dword [ebp - 0x114]
push ecx
call sub.WS2_32.dll_send
mov dword [ebp - 0x630], eax
mov eax, dword [ebp - 0x630]
cdq
add eax, dword [ebp - 0x628]
mov ecx, dword [ebp - 0x624]
adc ecx, edx
mov dword [ebp - 0x628], eax
mov dword [ebp - 0x624], ecx
mov edx, dword [ebp - 0x630]
cmp edx, dword [ebp - 0x62c]
je 0x44107d
push 0xffffffffffffffff
call fcn.004847a0
add esp, 4
push eax
mov eax, dword [ebp - 0x62c]
push eax
mov ecx, dword [ebp - 0x630]
push ecx
push str.failed_to_send_data___d__d___s_n
call fcn.0040cc80
add esp, 0x10
jmp 0x441082
jmp 0x440fc1
mov ecx, dword [ebp - 0x3b0]
call fcn.0040a7a0
cmp dword [0x56b184], 0
jne 0x4410f0
mov edx, dword [ebp - 0x628]
cmp edx, dword [ebp - 0x388]
jne 0x4410e3
mov eax, dword [ebp - 0x624]
cmp eax, dword [ebp - 0x384]
jne 0x4410e3
mov ecx, dword [ebp - 0x390]
push ecx
push 0
push 1
mov edx, dword [ebp - 0x624]
push edx
mov eax, dword [ebp - 0x628]
push eax
call fcn.00401b10
add esp, 0x10
push eax
push str.__sent__s_bytes__content_type:__s_n
call fcn.0044d350
add esp, 0xc
jmp 0x4410f0
push str.__transfer_incomplete._n
call fcn.0044d350
add esp, 4
lea ecx, [ebp - 0x3a0]
call fcn.0047a9e0
xor ecx, ecx
jne 0x43fdbb
push 0x1f4
call fcn.004026b0
add esp, 4
push 1
push 1
mov edx, dword [ebp - 0x114]
push edx
call fcn.00401c30
add esp, 0xc
jmp 0x43fc8c
push 1
push 1
mov eax, dword [ebp - 0x130]
push eax
call fcn.00401c30
add esp, 0xc
call sub.WS2_32.dll_WSACleanup
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret