Function at 0x4134e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x920
mov eax, dword [0x4c2320]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
lea eax, [ebp - 0x914]
push edi
push eax
call fcn.00413800
mov edi, eax
add esp, 4
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x91c], edi
test edi, edi
je 0x413569
lea eax, [ebp - 0x314]
lea ecx, [ebp - 0x914]
sub eax, ecx
mov dword [ebp - 0x918], eax
lea esp, [esp]
movsx edx, byte [ebp + esi - 0x914]
push edx
call fcn.0044a2bc
add esp, 4
test eax, eax
jne 0x413569
cmp ebx, 0xfe
jae 0x413569
mov ecx, dword [ebp - 0x918]
mov al, byte [ebp + esi - 0x914]
add ecx, esi
inc esi
inc ebx
mov byte [ebp + ecx - 0x914], al
cmp esi, edi
jb 0x413530
lea edx, [ebp - 0x314]
push 0x4ba2f0
push edx
mov byte [ebp + ebx - 0x314], 0
call fcn.0044d427
add esp, 8
test eax, eax
je 0x4135a5
test edi, edi
jle 0x413595
mov ebx, dword [ebp + 8]
call fcn.00413e40
mov edi, dword [ebp + 8]
call fcn.00414040
mov eax, edi
push eax
jmp 0x4137dc
movsx ecx, byte [ebp + esi - 0x914]
push ecx
xor edi, edi
call fcn.0044a2bc
add esp, 4
test eax, eax
je 0x4135de
lea esp, [esp]
cmp esi, 0x400
jae 0x4135de
movsx edx, byte [ebp + esi - 0x913]
inc esi
push edx
call fcn.0044a2bc
add esp, 4
test eax, eax
jne 0x4135c0
mov bl, byte [ebp + esi - 0x914]
movsx eax, bl
push eax
call fcn.0044a2bc
add esp, 4
test eax, eax
jne 0x413642
lea eax, [ebp - 0x10c]
sub eax, esi
mov dword [ebp - 0x918], eax
jmp 0x413616
mov eax, dword [ebp - 0x918]
cmp edi, 0xfe
jae 0x413642
cmp esi, 0x400
jae 0x413642
mov byte [eax + esi], bl
mov bl, byte [ebp + esi - 0x913]
inc esi
movsx ecx, bl
push ecx
inc edi
call fcn.0044a2bc
add esp, 4
test eax, eax
je 0x413610
lea edx, [ebp - 0x314]
push 0x4ba2f0
push edx
mov byte [ebp + edi - 0x10c], 0
call fcn.0044d427
add esp, 8
test eax, eax
jne 0x413684
cmp byte [ebp - 0x10c], 0x3f
lea eax, [ebp - 0x10c]
je 0x413681
cmp byte [eax], 0
je 0x41367c
inc eax
cmp byte [eax], 0x3f
jne 0x413671
cmp byte [eax], 0x3f
jne 0x413684
mov byte [eax], 0
lea eax, [ebp - 0x10b]
push eax
xor ecx, ecx
call fcn.0040dcf0
add esp, 4
mov dword [ebp - 0x918], eax
test eax, eax
je 0x4136fb
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4136a2
mov edi, dword [ebp + 8]
sub eax, edx
cmp dword [ebp - 0x91c], 0
mov esi, eax
jle 0x4136c0
mov ebx, edi
call fcn.00413e40
push esi
call fcn.00413a70
add esp, 4
push 0
push esi
mov esi, dword [ebp - 0x918]
push esi
push edi
call dword [sym.imp.WS2_32.dll_send]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push esi
call fcn.00449be1
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00449592
mov esp, ebp
pop ebp
ret
push 0x104
lea ecx, [ebp - 0x213]
push 0
push ecx
mov byte [ebp - 0x214], 0
call fcn.0044f160
mov eax, dword [0x4d0df4]
add esp, 0xc
push 0x104
lea edx, [ebp - 0x214]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x214]
push 0x5c
push ecx
call fcn.0044a580
lea edx, [ebp - 0x10b]
push edx
mov byte [eax], 0
lea eax, [ebp - 0x214]
push eax
push str._s_res_s
lea ecx, [ebp - 0x514]
push 0x200
push ecx
call fcn.00449625
lea eax, [ebp - 0x514]
add esp, 0x1c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413771
sub eax, edx
cmp byte [ebp + eax - 0x515], 0x2f
jne 0x41379d
push str.index.html
lea edx, [ebp - 0x514]
push 0x200
push edx
call fcn.0044c90a
add esp, 0xc
lea eax, [ebp - 0x514]
call fcn.0041d870
test eax, eax
jne 0x4137c6
cmp dword [ebp - 0x91c], eax
jle 0x4137bc
mov ebx, dword [ebp + 8]
call fcn.00413e40
mov edi, dword [ebp + 8]
call fcn.00413bc0
jmp 0x4137d8
lea eax, [ebp - 0x514]
push eax
mov eax, dword [ebp + 8]
call fcn.00413db0
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449592
mov esp, ebp
pop ebp
ret