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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040de0
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x100512d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
mov byte [ebp - 0x44], 0
mov ecx, esp
push eax
call fcn.10032b70
call fcn.10029eb0
add esp, 0x18
test al, al
jne 0x10033c7a
mov byte [ebp - 0x44], al
jmp 0x10033fe0
cmp byte [ebp + 0x20], 0
lea eax, [ebp + 8]
je 0x10033fcf
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x90]
push ecx
cmovae eax, dword [ebp + 8]
push 0
push dword [ebp + 0x18]
mov dword [ebp - 0x50], 4
push eax
mov dword [ebp - 0x90], 0x3c
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x5c], 0
call dword [sym.imp.wininet.dll_InternetCrackUrlA]
mov edx, dword [ebp - 0x80]
test edx, edx
jne 0x10033d1c
mov byte [ebp - 0x44], dl
jmp 0x10033fe0
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033d33
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10032b70
mov edi, dword [ebp - 0x7c]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
cmovb edi, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2c], 0xf
cmovae eax, dword [ebp - 0x28]
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x4c], eax
cmp edi, 0xf
ja 0x10033d87
push edi
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], edi
push eax
call sub.VCRUNTIME140.dll_memmove
mov byte [ebp + edi - 0x40], 0
jmp 0x10033dd9
cmp edi, 0x7fffffff
ja 0x10034034
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x10033da6
mov eax, SysReAllocString
jmp 0x10033db0
mov ecx, 0x16
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x40]
inc eax
push eax
call fcn.10032b70
push edi
push dword [ebp - 0x4c]
mov esi, eax
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x54]
push esi
mov dword [ebp - 0x2c], eax
call sub.VCRUNTIME140.dll_memcpy
mov byte [esi + edi], 0
mov dword [ebp - 0x40], esi
mov edx, dword [ebp - 0x14]
add esp, 0xc
cmp edx, 0x10
jb 0x10033e10
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10033e06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033fbd
push edx
push ecx
call fcn.10032b70
add esp, 8
movups xmm0, xmmword [ebp - 0x40]
push 0
push 0
push 0
movups xmmword [ebp - 0x28], xmm0
push 0
movq xmm0, qword [ebp - 0x30]
push 0x10046f80
movq qword [ebp - 0x18], xmm0
call dword [sym.imp.wininet.dll_InternetOpenA]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
mov edi, eax
push 0x84000300
push 3
push 0x10042d3f
push 0x10042d3f
push dword [ebp - 0x78]
push ecx
push edi
call dword [sym.imp.wininet.dll_InternetConnectA]
push 0
push 0x84000b00
push 0
push 0
push 0
push dword [ebp - 0x64]
mov dword [ebp - 0x4c], eax
push str.HEAD
push eax
call dword [sym.imp.wininet.dll_HttpOpenRequestA]
push 0
push 0
push 0
mov esi, eax
push 0
push esi
call dword [sym.imp.wininet.dll_HttpSendRequestA]
push 0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x20000013
push esi
call dword [sym.imp.wininet.dll_HttpQueryInfoA]
mov eax, dword [ebp - 0x48]
add eax, 0xffffff38
cmp eax, 0xcf
ja case.0x10033ec7.201
mov cl, byte [0x10052ab0]
nop
movzx eax, byte [eax + 0x10034048]
jmp dword [eax*4 + 0x1003403c]
test cl, cl
jne case.0x10033ec7.201
cmp dword [0x10051248], 0x10
mov eax, 0x10051234
push dword [0x10051244]
cmovae eax, dword [0x10051234]
push eax
push 0x2b
push esi
call dword [sym.imp.wininet.dll_InternetSetOptionA]
cmp dword [0x10051260], 0x10
mov eax, 0x1005124c
push dword [0x1005125c]
cmovae eax, dword [0x1005124c]
push eax
push 0x2c
push esi
call dword [sym.imp.wininet.dll_InternetSetOptionA]
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.wininet.dll_HttpSendRequestW]
push 0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x20000013
push esi
call dword [sym.imp.wininet.dll_HttpQueryInfoA]
mov eax, dword [ebp - 0x48]
mov cl, 1
add eax, 0xffffff38
mov byte [0x10052ab0], cl
cmp eax, 0xcf
jbe 0x10033ec0
jmp case.0x10033ec7.201
mov byte [ebp - 0x44], 1
push dword [ebp - 0x4c]
call dword [sym.imp.wininet.dll_InternetCloseHandle]
push edi
call dword [sym.imp.wininet.dll_InternetCloseHandle]
push esi
call dword [sym.imp.wininet.dll_InternetCloseHandle]
cmp byte [ebp + 0x24], 0
je 0x10033f97
mov eax, dword [ebp - 0x44]
mov ecx, 1
cmp byte [0x10052ab0], 0
movzx eax, al
cmovne eax, ecx
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10033fe0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10033fc3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10033fc3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10032b70
add esp, 8
jmp 0x10033fe0
push eax
call fcn.10032b70
add esp, 4
test al, al
setne al
mov byte [ebp - 0x44], al
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x10034016
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003400c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003400c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10032b70
add esp, 8
mov al, byte [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret
call fcn.1000d640
nop dword [eax]
pop esi
aas
add edx, dword [eax]
into
add edx, dword ds:[eax]
bound edi, qword [edi]
add edx, dword [eax]
add byte [edx], al
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [eax]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [ecx]
add al, byte [edx]
add al, byte [edx]
add al, byte [ecx]
int3