Function at 0x4541c0
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Resolve function by parsing pe exports
Send data
Send http request

Disassembly:
mov eax, 0x548570
call fcn.004c7c10
sub esp, 0x44
push ebx
push esi
push edi
mov esi, ecx
push 1
xor ebx, ebx
pop edi
mov dword [esi + 0xf0], ebx
mov dword [esi + 0x108], edi
mov dword [esi + 0xf4], ebx
call fcn.004540ef
test eax, eax
je 0x4541fa
push 0xfffffffffffffffe
pop eax
jmp 0x454749
mov eax, dword [0x64b0c8]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x30]
mov eax, dword [esi + 0x6c]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], ebx
call fcn.0042ba48
add esp, 0x14
test eax, eax
je 0x45423a
push 0xfffffffffffffffe
pop edi
jmp 0x454730
cmp dword [ebp - 0x18], 3
je 0x454246
cmp dword [ebp - 0x18], 4
jne 0x454232
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.00454758
add dword [esi + 0xf0], edi
mov ecx, dword [ebp - 0x2c]
push ebx
push ebx
mov byte [ebp - 4], 2
adc dword [esi + 0xf4], ebx
mov eax, dword [ecx - 8]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esi + 0x98]
push eax
push dword [esi + 0x58]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
cmp edi, ebx
mov dword [esi + 0xfc], edi
jne 0x454294
push 0xfffffffffffffffe
pop edi
jmp 0x454724
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x4542a3
cmp dword [eax], ebx
jne 0x45437b
add dword [esi + 0xf0], 1
mov edx, dword [esi + 0x68]
mov eax, dword [esi + 0x64]
push 2
push ebx
push 3
adc dword [esi + 0xf4], ebx
mov ecx, dword [edx - 8]
neg ecx
sbb ecx, ecx
not ecx
and ecx, edx
mov edx, dword [eax - 8]
neg edx
sbb edx, edx
push ecx
not edx
and edx, eax
push edx
push dword [ebp - 0x30]
push dword [ebp - 0x20]
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, ebx
mov dword [esi + 0x100], eax
je 0x45428c
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x4542f9
cmp dword [eax], ebx
jne 0x45437b
add dword [esi + 0xf0], 1
push dword [ebp - 0x18]
mov ecx, esi
adc dword [esi + 0xf4], ebx
call fcn.004547f1
lea edi, [esi + 0x7c]
mov dword [ebp - 0x24], eax
mov eax, dword [edi]
cmp dword [eax - 8], ebx
jne 0x45433b
mov eax, dword [esi + 0xb4]
cmp dword [eax - 8], ebx
je 0x45432f
push str.POST
jmp 0x454334
push 0x5984e8
mov ecx, edi
call fcn.0052cb16
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x78]
push 2
mov edi, dword [edi]
push dword [ebp - 0x24]
push ebx
push eax
push ecx
push dword [ebp - 0x1c]
push edi
push dword [esi + 0x100]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
cmp eax, ebx
mov dword [esi + 0x104], eax
jne 0x454370
or edi, 0xffffffff
jmp 0x454724
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x454382
cmp dword [eax], ebx
je 0x454382
push 1
jmp 0x45428e
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00454860
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 3
mov eax, dword [ecx - 8]
cmp eax, ebx
je 0x4543ae
push 0x20000000
push eax
push ecx
push dword [esi + 0x104]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 0x50], al
call fcn.0041b615
mov eax, dword [esi + 0x80]
xor ecx, ecx
mov byte [ebp - 4], 4
cmp dword [eax - 8], ebx
je 0x4543dd
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.0042400b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x48]
add dword [esi + 0xf0], 1
adc dword [esi + 0xf4], ebx
cmp ecx, ebx
jne 0x4543f2
xor eax, eax
jmp 0x4543fe
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
jne 0x4543fe
mov eax, 0x557c88
push ecx
push eax
push ebx
push ebx
push dword [esi + 0x104]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x45441a
or edi, 0xffffffff
jmp 0x45470a
lea edi, [esi + 0xd8]
mov ecx, esi
push edi
push dword [esi + 0x104]
call fcn.00454b2c
cmp dword [edi], 0x190
jb 0x45443e
push 0xfffffffffffffffe
pop edi
jmp 0x45470a
lea eax, [esi + 0xdc]
mov ecx, esi
push eax
push dword [esi + 0x104]
call fcn.00454b79
lea eax, [esi + 0x38]
mov ecx, esi
push eax
push dword [esi + 0x104]
call fcn.00454ba1
lea eax, [esi + 0xe4]
mov ecx, esi
push eax
push dword [esi + 0x104]
call fcn.00454be4
lea edi, [esi + 0xe0]
mov ecx, esi
push edi
push dword [esi + 0x104]
call fcn.00454bbc
mov eax, dword [esi + 0xd8]
cmp eax, 0x12d
je 0x4544a6
cmp eax, 0x12e
je 0x4544a6
cmp eax, 0x12f
jne 0x4544ba
lea eax, [esi + 0xe8]
mov ecx, esi
push eax
push dword [esi + 0x104]
call fcn.00454c0c
mov ecx, edi
call fcn.0052cebc
push str.bytes
push dword [edi]
call fcn.004c805a
pop ecx
cmp eax, ebx
pop ecx
jne 0x4544da
mov dword [esi + 0x34], 1
xor edi, edi
cmp dword [esi + 0xec], ebx
je 0x45470a
mov eax, dword [esi + 0x90]
or eax, dword [esi + 0x94]
je 0x45470a
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x454509
cmp dword [eax], ebx
je 0x454509
push 1
jmp 0x45453f
cmp dword [esi + 0x8c], ebx
lea eax, [esi + 0x88]
jl 0x454584
jg 0x45451d
cmp dword [eax], ebx
jbe 0x454584
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x70]
cmp eax, ebx
jl 0x454584
jg 0x45452d
cmp ecx, ebx
jbe 0x454584
mov edx, dword [esi + 0x3c]
cmp edx, eax
jl 0x454584
jg 0x45453d
mov eax, dword [esi + 0x38]
cmp eax, ecx
jb 0x454584
push 0xfffffffffffffffe
pop esi
lea ecx, [ebp - 0x50]
push 1
mov byte [ebp - 4], 3
call fcn.0041b615
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0052c97f
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0052c97f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0052c97f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0052c97f
mov eax, esi
jmp 0x454749
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x14], ebx
cmp eax, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x40], 0x55ab08
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
jbe 0x4545b5
push eax
lea ecx, [ebp - 0x40]
call fcn.00441a48
mov byte [ebp - 4], 5
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x4545c8
cmp dword [eax], ebx
jne 0x4546df
mov eax, dword [esi + 0x94]
mov edi, dword [esi + 0x18]
mov ecx, dword [esi + 0x90]
cmp eax, ebx
jl 0x4545fa
jg 0x4545e1
cmp ecx, ebx
jbe 0x4545fa
sub ecx, dword [esi + 0x48]
sbb eax, dword [esi + 0x4c]
cmp eax, ebx
jg 0x4545fa
jl 0x4545f1
cmp ecx, edi
jae 0x4545fa
mov edi, dword [esi + 0x90]
sub edi, dword [esi + 0x48]
cmp dword [ebp - 0x38], ebx
je 0x45460e
push dword [ebp - 0x34]
push ebx
push dword [ebp - 0x38]
call fcn.004c7d20
add esp, 0xc
add dword [esi + 0xf0], 1
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x38]
mov dword [ebp - 0x14], ebx
adc dword [esi + 0xf4], ebx
push dword [esi + 0x104]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4546e4
cmp dword [ebp - 0x14], ebx
je 0x4546e9
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x454652
cmp dword [eax], ebx
jne 0x4546df
add dword [esi + 0xf0], 1
mov ecx, dword [esi + 0xec]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
push edx
mov dword [esi + 0x108], ebx
push dword [ebp - 0x14]
adc dword [esi + 0xf4], ebx
mov eax, dword [ecx]
push dword [ebp - 0x38]
call dword [eax + 0x20]
mov edi, eax
mov dword [esi + 0x108], 1
cmp edi, 0xffffffff
je 0x4546eb
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x14]
jne 0x4546e4
add dword [esi + 0x48], eax
mov eax, dword [esi]
mov ecx, esi
adc dword [esi + 0x4c], ebx
call dword [eax + 0x20]
cmp eax, 0xa
je 0x4546e9
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x90]
cmp eax, ebx
jl 0x4545b9
jg 0x4546c6
cmp ecx, ebx
jbe 0x4545b9
mov edx, dword [esi + 0x4c]
cmp edx, eax
jg 0x4546e9
jl 0x4545b9
mov eax, dword [esi + 0x48]
cmp eax, ecx
jae 0x4546e9
jmp 0x4545b9
push 1
pop edi
jmp 0x4546eb
or edi, 0xffffffff
jmp 0x4546eb
xor edi, edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp dword [ebp - 0x3c], ebx
mov byte [ebp - 4], 4
mov dword [ebp - 0x40], 0x55ab08
je 0x45470a
lea ecx, [ebp - 0x40]
call fcn.00441a86
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.0041b615
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0052c97f
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0052c97f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0052c97f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0052c97f
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret