Function at 0x422cf0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455fbc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x220]
mov ecx, 0x85
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 8], 0
je 0x422d80
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20c], eax
mov ecx, dword [ebp - 0x20c]
mov dword [ebp - 0x218], ecx
cmp dword [ebp - 0x218], 0
je 0x422d6f
mov esi, esp
push 1
mov edx, dword [ebp - 0x218]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x218]
call dword [eax]
cmp esi, esp
call fcn.0043234a
mov dword [ebp - 0x220], eax
jmp 0x422d79
mov dword [ebp - 0x220], 0
xor al, al
jmp 0x4235a0
mov eax, 1
test eax, eax
je 0x4230b9
push 0x1000
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
call fcn.00402190
mov dword [ebp - 0x20], 0x1000
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x74], 0
je 0x422de2
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x74]
call fcn.0040d0d0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1000
jge 0x422dcf
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x220], eax
jmp 0x422dd9
mov dword [ebp - 0x220], 0x1000
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
jne 0x422def
mov al, 1
jmp 0x4235a0
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x14]
test ecx, ecx
jne 0x422e22
mov esi, esp
push 0
push 0x464
mov eax, dword [0x462378]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp esi, esp
call fcn.0043234a
jmp 0x422e41
push 0
push 0x464
mov eax, dword [0x462378]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
push eax
call fcn.0042a740
add esp, 0x10
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x14]
test ecx, ecx
jne 0x422e80
mov esi, esp
push 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x38]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
mov edx, dword [edx + 4]
add edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
cmp esi, esp
call fcn.0043234a
mov dword [ebp - 0x2c], eax
jmp 0x422ea9
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x38]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
mov edx, dword [edx + 4]
add edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
push ecx
call fcn.0042a3d0
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jle 0x422f9b
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x74], 0
je 0x422ecb
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x74]
call fcn.0040ce10
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x80], 0
je 0x422f13
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x80]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x38]
mov ecx, dword [ecx + 4]
add ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x38]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x38]
mov eax, dword [eax + 4]
add eax, dword [edx + 0xc]
push eax
call fcn.0041afa0
add esp, 0x10
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x48
call fcn.0040ce10
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + 0xc]
add edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x20]
jge 0x422f96
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x14]
test ecx, ecx
jne 0x422f72
mov esi, esp
push 0x33
push 0x464
mov eax, dword [0x462378]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp esi, esp
call fcn.0043234a
jmp 0x422f91
push 0x33
push 0x464
mov eax, dword [0x462378]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
push eax
call fcn.0042a740
add esp, 0x10
jmp 0x4230b9
jmp 0x4230b4
cmp dword [ebp - 0x2c], 0
jne 0x422ff3
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1f4], eax
mov ecx, dword [ebp - 0x1f4]
mov dword [ebp - 0x200], ecx
cmp dword [ebp - 0x200], 0
je 0x422fe2
mov esi, esp
push 1
mov edx, dword [ebp - 0x200]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x200]
call dword [eax]
cmp esi, esp
call fcn.0043234a
mov dword [ebp - 0x220], eax
jmp 0x422fec
mov dword [ebp - 0x220], 0
xor al, al
jmp 0x4235a0
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.0043234a
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x2733
je 0x423060
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x1dc]
mov dword [ebp - 0x1e8], ecx
cmp dword [ebp - 0x1e8], 0
je 0x42304f
mov esi, esp
push 1
mov edx, dword [ebp - 0x1e8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1e8]
call dword [eax]
cmp esi, esp
call fcn.0043234a
mov dword [ebp - 0x220], eax
jmp 0x423059
mov dword [ebp - 0x220], 0
xor al, al
jmp 0x4235a0
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x14]
test ecx, ecx
jne 0x423093
mov esi, esp
push 0x33
push 0x464
mov eax, dword [0x462378]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp esi, esp
call fcn.0043234a
jmp 0x4230b2
push 0x33
push 0x464
mov eax, dword [0x462378]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
push eax
call fcn.0042a740
add esp, 0x10
jmp 0x4230b9
jmp 0x422d80
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0
jne 0x42359e
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
cmp dword [ecx + 0xc], 6
jae 0x4230d9
mov al, 1
jmp 0x4235a0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
cmp dword [ecx + 0xc], 0xa
jae 0x4230ec
mov al, 1
jmp 0x4235a0
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + 4]
cmp dword [edx], 0xefbeadde
je 0x42342d
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x80], 0
jne 0x423336
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
cmp dword [ecx + 0xc], 0x14
jb 0x423336
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + 4]
push edx
call fcn.0041b100
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x80], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x80]
push ecx
push 4
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + 4]
add edx, 0x10
push edx
call fcn.0041afa0
add esp, 0x10
movzx eax, byte [ebp - 0x50]
cmp eax, 0xe3
je 0x423197
cmp dword [ebp - 0x50], 0xefbeadde
je 0x423197
push 4
push str.POST
lea eax, [ebp - 0x50]
push eax
call fcn.004333e0
add esp, 0xc
test eax, eax
jne 0x42330b
push 0x10
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
call fcn.004023f0
push 4
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x38]
mov eax, dword [edx + 4]
push eax
call fcn.004327c0
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x80]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 0xc]
sub ecx, 4
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 4]
add ecx, 4
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 4]
add ecx, 4
push ecx
call fcn.0041afa0
add esp, 0x10
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [0x462378]
call fcn.00424430
push pe_nt_image_headers32
call fcn.00431bf8
add esp, 4
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c4], 0
je 0x423244
mov ecx, dword [ebp - 0x1c4]
call fcn.0041b200
mov dword [ebp - 0x220], eax
jmp 0x42324e
mov dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1d0]
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.004229c0
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [0x462378]
call fcn.004242f0
mov esi, esp
push 0
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x5c]
call dword [edx + 8]
cmp esi, esp
call fcn.0043234a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1b8], eax
lea ecx, [ebp - 0x1b8]
push ecx
mov ecx, dword [0x462378]
add ecx, 0x18
call fcn.00426910
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1a0], eax
mov ecx, dword [ebp - 0x1a0]
mov dword [ebp - 0x1ac], ecx
cmp dword [ebp - 0x1ac], 0
je 0x4232fa
mov esi, esp
push 1
mov edx, dword [ebp - 0x1ac]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1ac]
call dword [eax]
cmp esi, esp
call fcn.0043234a
mov dword [ebp - 0x220], eax
jmp 0x423304
mov dword [ebp - 0x220], 0
xor al, al
jmp 0x4235a0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x194], ecx
mov edx, dword [ebp - 0x194]
push edx
call fcn.004326bd
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x80], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
cmp dword [ecx + 0xc], 0x52
jae 0x423349
mov al, 1
jmp 0x4235a0
push 0x4d
push str.POST___HTTP_1.1_r_nHost:_vagaa.com_r_nVAGAA_OPERATION:_Transfer_r_nContent_Length:
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + 4]
push edx
call fcn.004333e0
add esp, 0xc
test eax, eax
je 0x42336d
mov al, 1
jmp 0x4235a0
push 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
call fcn.00402190
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x38]
mov ecx, dword [ecx + 4]
mov edx, dword [eax + 0xc]
mov byte [ecx + edx], 0
push str._r_n_r_n
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + 4]
add edx, 0x4d
push edx
call fcn.00418400
add esp, 8
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x4233ba
mov al, 1
jmp 0x4235a0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
mov edx, dword [ebp - 0x68]
sub edx, dword [ecx + 4]
add edx, 4
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x68]
mov byte [eax], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + 4]
add edx, 0x4d
push edx
call fcn.004336b0
add esp, 4
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jne 0x4233f7
mov al, 1
jmp 0x4235a0
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
call fcn.00401b00
movzx ecx, al
test ecx, ecx
jne 0x42341c
mov al, 1
jmp 0x4235a0
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x38]
call fcn.004023f0
jmp 0x423434
mov dword [ebp - 0x44], 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x38]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x44]
mov edx, dword [edx + eax + 1]
mov eax, dword [ebp - 0x44]
lea edx, [edx + eax + 5]
cmp dword [ecx + 0xc], edx
jae 0x42345d
mov al, 1
jmp 0x4235a0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x44]
movzx ecx, byte [edx + eax]
cmp ecx, 0xe3
je 0x42347c
mov al, 1
jmp 0x4235a0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [0x462378]
call fcn.00424430
push pe_nt_image_headers32
call fcn.00431bf8
add esp, 4
mov dword [ebp - 0x17c], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x17c], 0
je 0x4234cb
mov ecx, dword [ebp - 0x17c]
call fcn.0041b200
mov dword [ebp - 0x220], eax
jmp 0x4234d5
mov dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x188], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x8c], ecx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.004229c0
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [0x462378]
call fcn.004242f0
mov esi, esp
push 0
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x8c]
call dword [edx + 8]
cmp esi, esp
call fcn.0043234a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x170], eax
lea ecx, [ebp - 0x170]
push ecx
mov ecx, dword [0x462378]
add ecx, 0x18
call fcn.00426910
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x164], ecx
cmp dword [ebp - 0x164], 0
je 0x423590
mov esi, esp
push 1
mov edx, dword [ebp - 0x164]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x164]
call dword [eax]
cmp esi, esp
call fcn.0043234a
mov dword [ebp - 0x220], eax
jmp 0x42359a
mov dword [ebp - 0x220], 0
xor al, al
jmp 0x4235a0
mov al, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x4235d1]
call fcn.0043236d
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x220
cmp ebp, esp
call fcn.0043234a
mov esp, ebp
pop ebp
ret 4