Function at 0x434230
Capabilities:
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494a58
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x4b81bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
lea eax, [ebx + 0x20]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x28], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x43440e
mov eax, dword [ebx + 0x24]
lea ecx, [ebx + 0x24]
cmp dword [eax - 0xc], 0
jne 0x434291
push 3
push 0x4ab084
call fcn.00403a60
call fcn.00403f70
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4342ad
push 0x80004005
call fcn.00404990
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], 0
call fcn.00403f70
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4342dd
push 0x80004005
call fcn.00404990
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x38], esi
push 0x3c
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0046ce30
mov dword [ebp - 0x98], 0x3c
mov ecx, 1
mov eax, dword [edi - 8]
add esp, 0xc
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x43432f
push 0x104
lea ecx, [ebp - 0x34]
call fcn.004048e0
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x88], edi
mov ecx, 1
mov dword [ebp - 0x84], 0x104
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
jge 0x434363
push 0x400
lea ecx, [ebp - 0x38]
call fcn.004048e0
mov esi, dword [ebp - 0x38]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x6c], esi
push eax
push 0
push 0
push dword [ebx + 0x20]
mov dword [ebp - 0x68], 0x400
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
push dword [edi - 8]
mov dword [ebp - 0x24], eax
push edi
call fcn.00473092
add esp, 8
test eax, eax
js 0x434a04
cmp eax, dword [edi - 8]
jg 0x434a04
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.00473092
add esp, 8
test eax, eax
js 0x434a04
cmp eax, dword [esi - 8]
jg 0x434a04
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [ebp - 0x24], ecx
jne 0x434432
mov byte [ebp - 4], cl
or ebx, 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4343f2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x43440e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 0
push 0
push dword [ebx + 0x18]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x434451
mov byte [ebp - 4], al
jmp 0x4343d8
mov eax, dword [ebx + 0x1c]
cmp dword [eax - 0xc], 0
je 0x434485
push 0xc
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x58]
push eax
push 0x26
push ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x58], 3
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x4349b9
mov ecx, dword [ebp - 0x20]
push 0
push 0
push 3
push 0
push 0
push dword [ebp - 0x80]
push edi
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4349b9
push 0
push 0x8400c300
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x4ab5e0
push ecx
push 0
push str.HTTP_1.1
push esi
push dword [ebx + 0x24]
mov dword [ebp - 0x48], 0
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ecx, eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x434529
or ebx, 0xffffffff
mov byte [ebp - 4], al
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4344f6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x434512
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x30]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call esi
mov ecx, dword [ebp - 0x20]
push ecx
call esi
jmp 0x43440e
cmp dword [ebx + 0x28], 0
lea eax, [ebx + 0x28]
je 0x434561
push 4
push eax
push 2
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov ecx, dword [ebp - 0x14]
lea eax, [ebx + 0x28]
push 4
push eax
push 5
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea eax, [ebx + 0x28]
push eax
push 6
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebx + 0x2c]
call fcn.00433e80
mov byte [ebp - 4], 2
mov eax, dword [ebx + 0x38]
sub eax, dword [ebx + 0x34]
je 0x43457e
mov edx, dword [ebx + 0x34]
jmp 0x434580
xor edx, edx
mov ecx, dword [ebx + 0x38]
sub ecx, dword [ebx + 0x34]
mov eax, dword [ebp - 0x1c]
push ecx
push edx
push dword [eax - 0xc]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
or ebx, 0xffffffff
test eax, eax
je 0x434948
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x40], 0
je 0x434694
call fcn.00403f70
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4345cc
push 0x80004005
call fcn.00404990
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 3
mov ecx, 1
mov dword [ebp - 0x40], 0x100
mov eax, dword [ebx - 8]
sub ecx, dword [ebx - 4]
sub eax, 0x100
or eax, ecx
jge 0x434608
push 0x100
lea ecx, [ebp - 0x24]
call fcn.004048e0
mov ebx, dword [ebp - 0x24]
push 0
lea eax, [ebp - 0x40]
push eax
push ebx
push 0x13
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push dword [ebx - 8]
mov dword [ebp - 0x18], eax
push ebx
call fcn.00473092
add esp, 8
test eax, eax
js 0x434a04
cmp eax, dword [ebx - 8]
jg 0x434a04
xor ecx, ecx
mov dword [ebx - 0xc], eax
mov word [ebx + eax*2], cx
cmp dword [ebp - 0x18], ecx
je 0x43492a
push ebx
call fcn.00475d61
add esp, 4
cmp eax, 0x12d
je 0x434783
cmp eax, 0x12e
je 0x434783
cmp eax, 0x12f
je 0x434783
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x434694
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4346b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4346cd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4346e9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push 4
call fcn.00439955
mov ecx, dword [ebp - 0x20]
add esp, 4
mov ebx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov ecx, ebx
push dword [ebp + 8]
push eax
call fcn.00434a10
push 4
call fcn.00439955
mov ecx, dword [ebp - 0x30]
lea edi, [ebx + 8]
add esp, 4
mov dword [eax], ecx
mov ecx, edi
push dword [ebp + 8]
push eax
call fcn.00434a10
push 4
call fcn.00439955
mov ecx, dword [ebp - 0x14]
lea esi, [ebx + 0x10]
add esp, 4
mov dword [eax], ecx
mov ecx, esi
push dword [ebp + 8]
push eax
call fcn.00434a10
sub esp, 8
mov ecx, esp
push esi
call fcn.00410ec0
sub esp, 8
mov ecx, esp
push edi
call fcn.00410ec0
sub esp, 8
mov ecx, esp
push ebx
call fcn.00410ec0
mov ecx, dword [ebp + 8]
call fcn.00433930
mov eax, dword [ebp + 8]
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00403f70
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x43479f
push 0x80004005
call fcn.00404990
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
mov edx, 1
mov dword [ebp - 0x44], 0x400
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x400
or ecx, edx
jge 0x4347dc
push 0x400
lea ecx, [ebp - 0x18]
call fcn.004048e0
mov eax, dword [ebp - 0x18]
push 0
lea ecx, [ebp - 0x44]
push ecx
push eax
push 0x21
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
push dword [ecx - 8]
push ecx
call fcn.00473092
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x434a04
mov eax, dword [ebp - 0x18]
cmp ecx, dword [eax - 8]
jg 0x434a04
xor edx, edx
mov dword [eax - 0xc], ecx
mov word [eax + ecx*2], dx
cmp dword [ebp - 0x3c], edx
je 0x43490e
cmp dword [eax - 0xc], edx
je 0x43490e
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push eax
call fcn.00409070
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
call fcn.00434230
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x434884
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4348a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4348c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4348db
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4348f7
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [eax - 0x10]
mov byte [ebp - 4], 3
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43492a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x434948
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x434966
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x434981
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x43499d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov ecx, dword [ebp - 0x30]
push ecx
call esi
mov ecx, dword [ebp - 0x20]
push ecx
call esi
jmp 0x43440e
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4349d7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4349f3
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x20]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call esi
jmp 0x43440e
push 0x80070057
call fcn.00404990
int3