Function at 0x4021c0
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
mov eax, 0x403e32
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x15c
mov al, byte [ebp + 0x13]
push ebx
push esi
xor ebx, ebx
push edi
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x18], 0xbb8
mov byte [ebp - 0x48], al
call dword [0x404278]
mov al, byte [ebp + 0x13]
push ebx
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x58], al
call dword [0x404278]
mov al, byte [ebp + 0x13]
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov byte [ebp - 0x28], al
call dword [0x404278]
mov esi, 0x407488
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call dword [0x4042a0]
mov al, byte [ebp + 0x13]
push ebx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
mov byte [ebp - 0x38], al
call dword [0x404278]
mov edi, str.p3p.sogou.com
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x38]
call dword [0x4042a0]
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0x167]
mov byte [ebp - 0x168], bl
push ebx
rep stosd dword es:[edi], eax
push ebx
push ebx
push ebx
push esi
mov byte [ebp - 4], 3
stosw word es:[edi], ax
call dword [0x4043b0]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x4024b4
mov esi, dword [0x4043ac]
push 4
pop edi
lea ecx, [ebp - 0x18]
push edi
push ecx
push 2
push eax
call esi
lea eax, [ebp - 0x18]
push edi
push eax
push 5
push dword [ebp - 0x10]
call esi
lea eax, [ebp - 0x18]
push edi
push eax
push 6
push dword [ebp - 0x10]
call esi
lea eax, [ebp - 0x18]
push edi
push eax
push 8
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
call fcn.004024fd
test al, al
pop ecx
je 0x4024ab
mov eax, dword [ebp - 0x34]
cmp eax, ebx
jne 0x4022d8
mov eax, dword [0x40427c]
push ebx
push ebx
mov esi, dword [0x4043a8]
push 3
push ebx
push ebx
push 0x50
push eax
push dword [ebp - 0x10]
call esi
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x40233a
mov edi, 0x9c40
cmp edi, ebx
jbe 0x402331
mov eax, 0x1d4c0
sub eax, edi
push eax
call dword [0x40402c]
mov eax, dword [ebp - 0x34]
cmp eax, ebx
jne 0x402316
mov eax, dword [0x40427c]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
push eax
push dword [ebp - 0x10]
call esi
sub edi, 0x4e20
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x4022f8
cmp dword [ebp - 0x14], ebx
je 0x4024ab
lea eax, [ebp - 0x168]
push str.recv_p2pcrash.php_software
push eax
call sub.MSVCRT.dll_strcpy
mov eax, dword [ebp + 0x10]
pop ecx
pop ecx
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x40235c
mov eax, dword [0x40427c]
push eax
lea eax, [ebp - 0x168]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x168]
push eax
call fcn.00402a01
add esp, 0xc
lea eax, [ebp - 0x168]
push ebx
push 0x806cc200
push ebx
push ebx
push ebx
push eax
push str.POST
push dword [ebp - 0x14]
call dword [0x4043a4]
mov edi, eax
cmp edi, ebx
je 0x40249d
lea eax, [ebp - 0x68]
push eax
call fcn.00401e6c
pop ecx
mov ecx, dword [0x404288]
mov byte [ebp - 4], 4
push dword [ecx]
lea ecx, [ebp - 0x48]
push ebx
push eax
call dword [0x404298]
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call dword [0x404278]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x68]
push str.Content_Type:_multipart_form_data__boundary
push eax
call fcn.00403bc6
add esp, 0xc
mov ecx, dword [0x404288]
mov byte [ebp - 4], 5
push dword [ecx]
lea ecx, [ebp - 0x58]
push ebx
push eax
call dword [0x404298]
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call dword [0x404278]
mov eax, dword [ebp - 0x54]
cmp eax, ebx
jne 0x402417
mov eax, dword [0x40427c]
push 0x20000000
push 0xffffffffffffffff
push eax
push edi
call dword [0x4043cc]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00401f18
mov eax, dword [ebp - 0x24]
add esp, 0x10
cmp eax, ebx
jne 0x402448
mov eax, dword [0x40427c]
push dword [ebp - 0x20]
mov esi, dword [0x4043c0]
push eax
push ebx
push ebx
push edi
call esi
mov dword [ebp + 0x10], 3
cmp eax, ebx
jne 0x40248c
cmp dword [ebp + 0x10], ebx
jle 0x40248c
push 0x7530
call dword [0x40402c]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x40247e
mov eax, dword [0x40427c]
push dword [ebp - 0x20]
push eax
push ebx
push ebx
push edi
call esi
dec dword [ebp + 0x10]
jmp 0x40245e
push ebx
push ebx
push ebx
push edi
call dword [0x4043c4]
push edi
call dword [0x4043c8]
cmp dword [ebp - 0x14], ebx
je 0x4024ab
push dword [ebp - 0x14]
call dword [0x4043c8]
push dword [ebp - 0x10]
call dword [0x4043c8]
push 1
lea ecx, [ebp - 0x38]
pop esi
mov byte [ebp - 4], 2
push esi
call dword [0x404278]
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call dword [0x404278]
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call dword [0x404278]
or dword [ebp - 4], 0xffffffff
push esi
lea ecx, [ebp - 0x48]
call dword [0x404278]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret