Function at 0x4027e0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2034
call fcn.00442260
mov eax, dword [0x467e60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2034], ebx
mov dword [ebp - 0x2020], ecx
mov dword [ebp - 0x2010], eax
test ecx, ecx
je 0x402e1c
test eax, eax
je 0x402e1c
push esi
xor esi, esi
mov word [ecx], si
xor ecx, ecx
mov word [eax], cx
test ebx, ebx
je 0x402e0a
test edx, edx
jle 0x402e0a
mov ecx, ebx
call fcn.00402e90
test eax, eax
jne 0x402e0a
push edi
push eax
push eax
push eax
push 1
push str.ReDirect
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [ebp - 0x2018], edi
test edi, edi
je 0x402dec
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
mov ecx, ebx
call fcn.00402e40
mov esi, eax
xor eax, eax
push 0x63e
push eax
mov word [ebp - 0x200c], ax
lea eax, [ebp - 0x200a]
push eax
call fcn.0043f3e0
add esp, 0xc
cmp esi, 0xffffffff
je 0x4028db
xor eax, eax
test esi, esi
js 0x4028c4
lea eax, [esi + 1]
mov ecx, eax
shr ecx, 1
mov esi, ebx
lea edi, [ebp - 0x200c]
rep movsd dword es:[edi], dword [esi]
adc ecx, ecx
rep movsw word es:[edi], word [esi]
mov edi, dword [ebp - 0x2018]
add eax, eax
cmp eax, 0x640
jae 0x402e2d
xor ecx, ecx
mov word [ebp + eax - 0x200c], cx
movq xmm0, qword [str.Referer:]
mov ax, word [0x46051c]
push 0x62e
mov word [ebp - 0x19bc], ax
movq qword [ebp - 0x19cc], xmm0
movq xmm0, qword [0x460514]
lea eax, [ebp - 0x19ba]
push 0
push eax
movq qword [ebp - 0x19c4], xmm0
call fcn.0043f3e0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0xc
lea eax, [ebp - 0x200c]
push eax
lea eax, [ebp - 0x19cc]
push eax
call esi
push 0x460520
lea eax, [ebp - 0x19cc]
push eax
call esi
push str.Connection:Keep_Alive_r_n
lea eax, [ebp - 0x19cc]
push eax
call esi
push str.User_Agent:_Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_5.2__r_n
lea eax, [ebp - 0x19cc]
push eax
call esi
mov eax, dword [0x46abf8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x402985
push eax
call esi
mov edx, dword [0x46abf8]
push eax
lea ecx, [ebp - 0x200c]
call fcn.004026b0
add esp, 4
push 0
push 0x80200000
push 0xffffffffffffffff
lea eax, [ebp - 0x19cc]
push eax
push ebx
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, eax
mov dword [ebp - 0x201c], ebx
test ebx, ebx
je 0x402de5
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push 0
lea eax, [ebp - 0x202c]
push eax
lea eax, [ebp - 0x2024]
push eax
push 0x20000013
push ebx
mov dword [ebp - 0x2024], 0
mov dword [ebp - 0x202c], 4
call edi
xor eax, eax
push 0x63e
push eax
mov word [ebp - 0xd4c], ax
lea eax, [ebp - 0xd4a]
push eax
call fcn.0043f3e0
add esp, 0xc
lea eax, [ebp - 0x2030]
push 0
push eax
lea eax, [ebp - 0xd4c]
push eax
push 0x2f
push ebx
mov dword [ebp - 0x2030], 0x640
call edi
lea eax, [ebp - 0xd4c]
push eax
call esi
mov edi, eax
mov dword [ebp - 0x2014], edi
test edi, edi
jle 0x402b97
xor eax, eax
push 0x63e
push eax
mov word [ebp - 0x70c], ax
lea eax, [ebp - 0x70a]
push eax
call fcn.0043f3e0
add esp, 0xc
xor ebx, ebx
test edi, edi
jle 0x402b91
lea ecx, [ecx]
movzx eax, word [ebp + ebx*2 - 0xd4c]
push eax
call fcn.0043da82
add esp, 4
test eax, eax
je 0x402b88
mov eax, ebx
inc ebx
mov dword [ebp - 0x2028], eax
cmp ebx, edi
jge 0x402b1c
lea ebx, [ebx]
cmp word [ebp + ebx*2 - 0xd4c], 0x3b
je 0x402aa2
inc ebx
cmp ebx, edi
jl 0x402a90
jmp 0x402b1c
xor edx, edx
cmp eax, ebx
jge 0x402ada
mov edx, ebx
sub edx, eax
lea esi, [ebp - 0xd4c]
mov ecx, edx
lea esi, [esi + eax*2]
shr ecx, 1
lea edi, [ebp - 0x70c]
rep movsd dword es:[edi], dword [esi]
adc ecx, ecx
rep movsw word es:[edi], word [esi]
mov edi, dword [ebp - 0x2014]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, edx
mov dword [ebp - 0x2028], eax
add edx, edx
cmp edx, 0x640
jae 0x402e2d
xor eax, eax
push ecx
push dword [ebp - 0x2010]
mov word [ebp + edx - 0x70c], ax
lea eax, [ebp - 0x70c]
push eax
call esi
mov edx, eax
lea ecx, [ebp - 0x70c]
call fcn.004023b0
add esp, 8
cmp ebx, edi
jl 0x402b88
mov eax, dword [ebp - 0x2028]
xor edx, edx
cmp eax, edi
jge 0x402b4c
mov edx, edi
sub edx, eax
lea esi, [ebp - 0xd4c]
mov ecx, edx
lea esi, [esi + eax*2]
shr ecx, 1
lea edi, [ebp - 0x70c]
rep movsd dword es:[edi], dword [esi]
adc ecx, ecx
rep movsw word es:[edi], word [esi]
mov edi, dword [ebp - 0x2014]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add edx, edx
cmp edx, 0x640
jae 0x402e2d
xor eax, eax
push ecx
push dword [ebp - 0x2010]
mov word [ebp + edx - 0x70c], ax
lea eax, [ebp - 0x70c]
push eax
call esi
mov edx, eax
lea ecx, [ebp - 0x70c]
call fcn.004023b0
add esp, 8
test eax, eax
jne 0x402b91
inc ebx
cmp ebx, edi
jl 0x402a60
mov ebx, dword [ebp - 0x201c]
mov eax, dword [ebp - 0x2024]
add eax, 0xfffffed4
cmp eax, 0x63
ja 0x402dd8
xor eax, eax
push 0x63e
push eax
mov word [ebp - 0x138c], ax
lea eax, [ebp - 0x138a]
push eax
call fcn.0043f3e0
xor eax, eax
push 0x63e
push eax
mov word [ebp - 0x70c], ax
lea eax, [ebp - 0x70a]
push eax
call fcn.0043f3e0
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
add esp, 0x18
lea eax, [ebp - 0x2014]
push 0
push eax
lea eax, [ebp - 0x70c]
push eax
push 0x21
push ebx
mov dword [ebp - 0x2014], 0x640
call edi
lea eax, [ebp - 0x70c]
push eax
call esi
test eax, eax
jle 0x402dd8
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0xcc], ax
lea eax, [ebp - 0xca]
push eax
call fcn.0043f3e0
add esp, 0xc
lea eax, [ebp - 0x2010]
push 0
push eax
lea eax, [ebp - 0xcc]
push eax
push 1
push ebx
mov dword [ebp - 0x2010], 0xc8
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
mov dword [ebp - 0x2010], eax
test eax, eax
je 0x402cf0
mov edx, eax
lea ecx, [ebp - 0xcc]
call fcn.00403080
test eax, eax
je 0x402cf0
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x70c]
push eax
push 0
push 0
call edi
lea esi, [eax + 1]
push esi
call fcn.0043ce13
add esp, 4
mov ebx, eax
push 0
push 0
push esi
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x70c]
push eax
push 0
push 0
call edi
push 0x320
lea eax, [ebp - 0x70c]
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
call fcn.0043d94f
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, dword [ebp - 0x201c]
add esp, 4
lea eax, [ebp - 0x70c]
push eax
call esi
mov edi, eax
mov edx, edi
lea ecx, [ebp - 0x70c]
call fcn.00401e90
test eax, eax
je 0x402d4f
cmp edi, 0x320
jge 0x402d4f
lea eax, [ebp - 0x70c]
push eax
mov eax, dword [ebp - 0x2020]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push dword [ebp - 0x2018]
call esi
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043cefb
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x2034]
push edi
call esi
mov edx, eax
mov ecx, edi
call fcn.00402e40
cmp eax, 0xffffffff
je 0x402dd8
xor ecx, ecx
test eax, eax
jle 0x402d87
mov esi, edi
mov ecx, eax
shr ecx, 1
lea edi, [ebp - 0x138c]
rep movsd dword es:[edi], dword [esi]
adc ecx, ecx
rep movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, eax
lea eax, [ecx + ecx]
cmp eax, 0x640
jae 0x402e2d
xor ecx, ecx
mov word [ebp + eax - 0x138c], cx
lea eax, [ebp - 0x70c]
push eax
lea eax, [ebp - 0x138c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x138c]
push eax
call esi
mov edx, eax
lea ecx, [ebp - 0x138c]
call fcn.00401e90
test eax, eax
je 0x402dd8
lea eax, [ebp - 0x138c]
jmp 0x402d1a
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [ebp - 0x2018]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x2020]
pop edi
xor ecx, ecx
pop esi
mov word [eax], cx
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043cefb
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043cefb
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0043cefb
mov esp, ebp
pop ebp
ret
call fcn.0043dc10
int3