Function at 0x4e7327
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a9f75
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2034
call fcn.00581640
mov eax, dword [0x694240]
xor eax, esp
mov dword [esp + 0x2030], eax
push ebx
push esi
push edi
mov eax, dword [0x694240]
xor eax, esp
push eax
lea eax, [esp + 0x2048]
mov dword fs:[0], eax
mov edi, ecx
and dword [esp + 0x10], 0
mov ecx, dword [edi + 4]
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
test ecx, ecx
je 0x4e76ea
cmp ecx, 0xffffffff
je 0x4e76ea
xor eax, eax
mov esi, 0x800000
cmp dword [edi + 0x70], 2
push 0
cmove eax, esi
or eax, 0x4400040
push eax
push 0x697678
push edx
push 0x65a2f4
push ebx
push 0x65a2a8
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [edi + 8], eax
test eax, eax
je 0x4e76d4
cmp eax, 0xffffffff
je 0x4e76d4
mov esi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push SysReAllocString
push 0xd
push 0x65a2c4
push eax
call esi
test eax, eax
jne 0x4e73ff
mov dword [esp + 0x10], 0x65a2d4
lea eax, [esp + 0x10]
push 0x6914e8
push eax
call fcn.00572d44
push 0x10000000
push 0x4e
push 0x65a300
push dword [edi + 8]
call esi
test eax, eax
jne 0x4e7427
mov dword [esp + 0x10], 0x65a3ac
lea eax, [esp + 0x10]
push 0x6914e8
jmp 0x4e73f9
cmp dword [edi + 0xa0], 0
jbe 0x4e757d
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], eax
mov byte [esp + 0x18], al
mov dword [esp + 0x2050], eax
mov eax, dword [edi + 0x70]
dec eax
je 0x4e7465
dec eax
jne 0x4e747c
mov esi, 0x65a3d0
jmp 0x4e746a
mov esi, 0x65a3c8
push esi
call fcn.00475345
pop ecx
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.004796e9
lea esi, [edi + 0xc]
cmp dword [esi + 0x14], 0x10
jb 0x4e7487
mov esi, dword [esi]
push esi
call fcn.00475345
pop ecx
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.004795b3
cmp dword [edi + 0x70], 1
jne 0x4e74a6
cmp word [edi + 0x6c], 0x50
je 0x4e74f6
cmp dword [edi + 0x70], 2
jne 0x4e74b7
mov eax, 0x1bb
cmp word [edi + 0x6c], ax
je 0x4e74f6
xor eax, eax
and dword [esp + 0x32], eax
and dword [esp + 0x36], eax
mov word [esp + 0x30], ax
movzx eax, word [edi + 0x6c]
push eax
lea eax, [esp + 0x34]
push 0x65a368
push eax
call fcn.005720e1
lea eax, [esp + 0x3c]
push eax
call fcn.00475345
add esp, 0x10
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004795b3
push ebx
call fcn.00475345
pop ecx
push eax
push ebx
lea ecx, [esp + 0x20]
call fcn.004795b3
mov eax, dword [edi + 0x9c]
mov esi, dword [eax]
cmp esi, eax
je 0x4e754f
mov ecx, dword [esi + 8]
lea edx, [ecx + 0x18]
cmp dword [edx + 0x14], 0x10
jb 0x4e7522
mov edx, dword [edx]
cmp dword [ecx + 0x14], 0x10
jb 0x4e752a
mov ecx, dword [ecx]
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x18]
push edx
cmovae eax, dword [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetSetCookieA]
test eax, eax
je 0x4e7567
mov esi, dword [esi]
cmp esi, dword [edi + 0x9c]
jne 0x4e7514
or dword [esp + 0x2050], 0xffffffff
xor ebx, ebx
push ebx
push 1
lea ecx, [esp + 0x20]
call fcn.00479762
jmp 0x4e757f
mov dword [esp + 0x10], 0x65a36c
lea eax, [esp + 0x10]
push 0x6914e8
jmp 0x4e73f9
xor ebx, ebx
push ecx
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.004e7274
mov esi, eax
xor eax, eax
push 0x1ffe
mov word [esp + 0x40], ax
lea eax, [esp + 0x42]
push ebx
push eax
call fcn.00572db0
push esi
lea eax, [esp + 0x4c]
push 0x65a42c
push eax
call fcn.005720e1
lea ecx, [esp + 0x54]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e75bf
push 0x10000000
sub ecx, edx
lea eax, [esp + 0x40]
push ecx
push eax
push dword [edi + 8]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x4e75f6
mov dword [esp + 0x10], 0x65a444
lea eax, [esp + 0x10]
push 0x6914e8
jmp 0x4e73f9
mov ecx, edi
mov dword [0x6ad494], 0x28
mov dword [0x6ad498], ebx
call fcn.004e5fb5
push ebx
push 8
push ebx
push 0x6ad494
push dword [edi + 8]
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
jne 0x4e7642
push dword [esp + 0x10]
call fcn.004e730e
mov dword [esp + 0x10], 0x65a460
lea eax, [esp + 0x10]
push 0x6914e8
jmp 0x4e73f9
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
push esi
mov esi, dword [esp + 0x18]
push esi
push dword [edi + 8]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x4e767a
push esi
call fcn.004e730e
mov dword [esp + 0x10], 0x65a470
lea eax, [esp + 0x10]
push 0x6914e8
jmp 0x4e73f9
push ebx
push 8
push ebx
push dword [edi + 8]
call dword [sym.imp.WININET.dll_HttpEndRequestW]
push esi
test eax, eax
jne 0x4e76a7
call fcn.004e730e
mov dword [esp + 0x10], 0x65a3e0
lea eax, [esp + 0x10]
push 0x6914e8
jmp 0x4e73f9
call fcn.004e730e
mov al, 1
mov ecx, dword [esp + 0x2048]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2030]
xor ecx, esp
call fcn.005712ac
mov esp, ebp
pop ebp
ret 8
mov dword [esp + 0x10], 0x65a2b0
lea eax, [esp + 0x10]
push 0x6914e8
jmp 0x4e73f9
mov dword [esp + 0x10], 0x65a350
lea eax, [esp + 0x10]
push 0x6914e8
jmp 0x4e73f9