Function at 0x100059a0
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc4e1
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x101025ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xc8], edi
xor ebx, ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], ax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], eax
mov word [ebp - 0x30], ax
mov dword [ebp - 0x84], 7
mov dword [ebp - 0x88], eax
mov word [ebp - 0x98], ax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], eax
mov word [ebp - 0x80], ax
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
lea esi, [ebp - 0x98]
push 0xffffffffffffffff
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
push eax
mov word [ecx], ax
lea eax, [ebp + 8]
push eax
call fcn.10001790
mov ecx, esi
call fcn.10006d80
add esp, 0x18
push ebx
push ebx
push ebx
push ebx
push str.User_Agent
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10005e29
cmp dword [ebp - 0x84], 8
mov eax, esi
push ebx
cmovae eax, dword [ebp - 0x98]
push ebx
push 3
push str.HTTP_1.0
push ebx
push 0x50
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, eax
mov dword [ebp - 0xc4], ecx
test ecx, ecx
je 0x10005e20
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
push ebx
cmovae eax, dword [ebp - 0x80]
push 0x84200000
push ebx
push ebx
push str.HTTP_1.0
push eax
push 0x100f16b0
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
mov dword [ebp - 0xa4], esi
test esi, esi
je 0x10005e12
push 0x30
push str.Content_Type:application_x_www_form_urlencoded_r_n
lea ecx, [ebp - 0x68]
call fcn.10001b10
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
push 0xa0000000
cmovae eax, dword [ebp - 0x68]
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push 0x800
call fcn.1002ed8d
add esp, 4
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x50], ebx
xor edi, edi
jmp 0x10005b36
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x4c], 0x800
push ecx
lea ecx, [ebp - 0x4c]
push ecx
push eax
push 0x21
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x10005df3
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x48]
call fcn.10001c10
sub esp, 8
mov byte [ebp - 4], 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x2f
lea ecx, [ebp - 0x48]
push eax
call fcn.10007c20
push 0xffffffffffffffff
inc eax
lea ecx, [ebp - 0x48]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.10007610
mov esi, eax
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x10005bc9
cmp dword [ebp - 0x1c], 8
jb 0x10005bac
push dword [ebp - 0x30]
call fcn.1002f7b8
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], 7
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
call fcn.10003aa0
cmp dword [ebp - 0xac], 8
jb 0x10005be0
push dword [ebp - 0xc0]
call fcn.1002f7b8
add esp, 4
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x30]
push eax
call fcn.10001790
lea ecx, [ebp - 0xf8]
call fcn.10005380
add esp, 0x18
push 4
push 0
mov byte [ebp - 4], 5
or ebx, 1
push str..exe
mov ecx, eax
mov dword [ebp - 0xa0], ebx
call fcn.100026d0
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffffc
cmp eax, ecx
je 0x10005cf5
push 0
push str..msi
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x30]
push eax
call fcn.10001790
lea ecx, [ebp - 0xc0]
call fcn.10005380
add esp, 0x18
mov dword [ebp - 4], 6
or ebx, 2
mov ecx, eax
mov dword [ebp - 0xa0], ebx
call fcn.10002680
mov ecx, eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffffc
cmp ecx, eax
je 0x10005cf5
push 0
push str..apk
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x30]
push eax
call fcn.10001790
lea ecx, [ebp - 0xe0]
call fcn.10005380
add esp, 0x18
or ebx, 4
mov ecx, eax
mov dword [ebp - 0xa0], ebx
call fcn.10002680
mov ecx, eax
mov byte [ebp - 0x99], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffffc
cmp ecx, eax
jne 0x10005cfc
mov byte [ebp - 0x99], 1
test bl, 4
je 0x10005d3e
and ebx, 0xfffffffb
cmp dword [ebp - 0xcc], 8
mov dword [ebp - 0xa0], ebx
jb 0x10005d21
push dword [ebp - 0xe0]
call fcn.1002f7b8
add esp, 4
xor eax, eax
mov dword [ebp - 0xcc], 7
mov dword [ebp - 0xd0], 0
mov word [ebp - 0xe0], ax
test bl, 2
je 0x10005d80
and ebx, 0xfffffffd
cmp dword [ebp - 0xac], 8
mov dword [ebp - 0xa0], ebx
jb 0x10005d63
push dword [ebp - 0xc0]
call fcn.1002f7b8
add esp, 4
xor eax, eax
mov dword [ebp - 0xac], 7
mov dword [ebp - 0xb0], 0
mov word [ebp - 0xc0], ax
mov dword [ebp - 4], 4
test bl, 1
je 0x10005dac
and ebx, 0xfffffffe
cmp dword [ebp - 0xe4], 8
mov dword [ebp - 0xa0], ebx
jb 0x10005dac
push dword [ebp - 0xf8]
call fcn.1002f7b8
add esp, 4
cmp byte [ebp - 0x99], 0
mov byte [ebp - 4], 3
jne 0x10005ddc
cmp dword [ebp - 0x34], 8
jb 0x10005dca
push dword [ebp - 0x48]
call fcn.1002f7b8
add esp, 4
mov esi, dword [ebp - 0xa4]
inc edi
cmp edi, 5
jl 0x10005b30
jmp 0x10005df3
cmp dword [ebp - 0x34], 8
jb 0x10005ded
push dword [ebp - 0x48]
call fcn.1002f7b8
add esp, 4
mov esi, dword [ebp - 0xa4]
push dword [ebp - 0xa8]
call fcn.1002f7b8
add esp, 4
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov edi, dword [ebp - 0xc8]
jmp 0x10005e18
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0xc4]
call esi
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x20], 0
jne 0x10005e5f
sub esp, 8
mov dword [ebp - 0x18], 0x2f
lea eax, [ebp - 0x18]
lea ecx, [ebp + 8]
push eax
call fcn.10007c20
push 0xffffffffffffffff
inc eax
lea ecx, [ebp + 8]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.10007610
mov esi, eax
or ebx, 8
jmp 0x10005e88
xor eax, eax
mov dword [ebp - 0x34], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x48], ax
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], 0
push eax
call fcn.10001790
lea esi, [ebp - 0x48]
or ebx, 0x10
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [esi + 0x14], 8
jae 0x10005eb6
mov eax, dword [esi + 0x10]
inc eax
je 0x10005ec0
add eax, eax
push eax
push esi
push edi
call fcn.1002f820
add esp, 0xc
jmp 0x10005ec0
mov eax, dword [esi]
mov dword [edi], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
or ebx, 0x20
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
test bl, 0x10
je 0x10005f0f
and ebx, 0xffffffef
cmp dword [ebp - 0x34], 8
jb 0x10005efb
push dword [ebp - 0x48]
call fcn.1002f7b8
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
test bl, 8
je 0x10005f48
cmp dword [ebp - 0xac], 8
jb 0x10005f2b
push dword [ebp - 0xc0]
call fcn.1002f7b8
add esp, 4
xor eax, eax
mov dword [ebp - 0xac], 7
mov dword [ebp - 0xb0], 0
mov word [ebp - 0xc0], ax
cmp dword [ebp - 0x6c], 8
jb 0x10005f59
push dword [ebp - 0x80]
call fcn.1002f7b8
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], 7
cmp dword [ebp - 0x84], 8
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
jb 0x10005f84
push dword [ebp - 0x98]
call fcn.1002f7b8
add esp, 4
xor eax, eax
mov dword [ebp - 0x84], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 0x88], 0
mov word [ebp - 0x98], ax
jb 0x10005fb2
push dword [ebp - 0x30]
call fcn.1002f7b8
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], 7
cmp dword [ebp - 0x54], 8
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
jb 0x10005fd7
push dword [ebp - 0x68]
call fcn.1002f7b8
add esp, 4
xor eax, eax
mov dword [ebp - 0x54], 7
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
jb 0x10005ffc
push dword [ebp + 8]
call fcn.1002f7b8
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002f7bd
mov esp, ebp
pop ebp
ret