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

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x455151
mov eax, dword [ebp - 4]
add esp, 0xfffffe44
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x101c0], edx
mov dword [ebp - 0x101bc], edx
mov dword [ebp - 0x101b8], edx
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x164], eax
xor eax, eax
push ebp
push 0x45613b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x181], 0
xor edx, edx
push ebp
push 0x456103
push dword fs:[edx]
mov dword fs:[edx], esp
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x1a8], eax
xor edx, edx
push ebp
push 0x4560ef
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x456025
push dword fs:[edx]
mov dword fs:[edx], esp
push ebp
call fcn.004550c8
pop ecx
mov byte [ebp - 0x11], 0
xor eax, eax
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x164]
add eax, 0x3e
call fcn.00405280
mov byte [ebp - 0x1a9], 0
push ebp
lea ecx, [ebp - 0x170]
lea edx, [ebp - 0x16c]
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x36]
call fcn.00454ee8
pop ecx
mov eax, dword [ebp - 0x164]
xor edx, edx
mov dword [eax + 0x6a], edx
mov eax, dword [ebp - 0x164]
xor edx, edx
mov dword [eax + 0x66], edx
mov eax, dword [ebp - 0x164]
cmp dword [eax + 0x32], 0
je 0x455276
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x32]
call fcn.00405710
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
jmp 0x455288
push 0
push 0
push 0
push 0
push 0
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4552a9
call sub.kernel32.dll_GetLastError_1
mov edx, dword [ebp - 0x164]
mov dword [edx + 0x6a], eax
mov eax, dword [ebp - 0x164]
mov dword [eax + 0x66], 1
push ebp
call fcn.004550c8
pop ecx
push 0
push 0
push 3
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x46]
call fcn.00405710
push eax
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x42]
call fcn.00405710
push eax
movzx eax, word [ebp - 4]
push eax
mov eax, dword [ebp - 0x16c]
call fcn.00405710
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x455312
call sub.kernel32.dll_GetLastError_1
mov edx, dword [ebp - 0x164]
mov dword [edx + 0x6a], eax
mov eax, dword [ebp - 0x164]
mov dword [eax + 0x66], 2
push ebp
call fcn.004550c8
pop ecx
mov eax, dword [ebp - 0x164]
cmp dword [eax + 0x4a], 0
jne 0x45532c
mov esi, 0x45614c
jmp 0x455331
mov esi, 0x456150
mov eax, dword [ebp - 0x164]
mov ebx, dword [eax + 0x52]
mov eax, dword [ebp - 0x164]
cmp byte [eax + 5], 0
jne 0x45534c
or ebx, 0x80000000
cmp dword [ebp - 4], 0x1bb
jne 0x45535b
or ebx, 0x800000
mov eax, dword [ebp - 0x164]
cmp dword [eax + 0x26], 0
jne 0x45537a
mov eax, dword [ebp - 0x164]
add eax, 0x26
mov edx, 0x456160
call fcn.004052d4
mov eax, dword [ebp - 0x164]
push dword [eax + 0x26]
push 0x45616c
push 0x45616c
lea eax, [ebp - 0x178]
mov edx, 3
call fcn.00405614
lea eax, [ebp - 0x178]
call fcn.00405770
mov dword [ebp - 0x198], eax
xor eax, eax
mov dword [ebp - 0x194], eax
push 0
push ebx
lea eax, [ebp - 0x198]
push eax
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x4e]
call fcn.00405710
push eax
push 0x456170
mov eax, dword [ebp - 0x170]
call fcn.00405710
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x455425
push 0
push ebx
push 0
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x4e]
call fcn.00405710
push eax
push 0x456170
mov eax, dword [ebp - 0x170]
call fcn.00405710
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4554c4
mov esi, 0x45614c
push 0
push ebx
lea eax, [ebp - 0x198]
push eax
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x4e]
call fcn.00405710
push eax
push 0x456170
mov eax, dword [ebp - 0x170]
call fcn.00405710
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4554a3
push 0
push ebx
push 0
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x4e]
call fcn.00405710
push eax
push 0x456170
mov eax, dword [ebp - 0x170]
call fcn.00405710
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4554c4
call sub.kernel32.dll_GetLastError_1
mov edx, dword [ebp - 0x164]
mov dword [edx + 0x6a], eax
mov eax, dword [ebp - 0x164]
mov dword [eax + 0x66], 3
push ebp
call fcn.004550c8
pop ecx
mov eax, dword [ebp - 0x164]
cmp byte [eax + 0xb], 0
je 0x455651
mov eax, dword [ebp - 0x164]
cmp dword [eax + 0x5e], 0
jne 0x455651
lea edx, [ebp - 0x180]
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x3a]
call fcn.0040a3a0
mov eax, dword [ebp - 0x180]
call fcn.0040a018
test al, al
jne 0x455519
mov eax, dword [ebp - 0x180]
call fcn.0040a03c
mov eax, dword [ebp - 0x164]
mov edx, dword [eax + 0x3a]
lea eax, [ebp - 0x160]
call fcn.004036dc
mov byte [ebp - 0x181], 1
mov eax, dword [0x4cc5dc]
mov byte [eax], 0x22
mov eax, dword [ebp - 0x164]
cmp byte [eax + 0xc], 0
je 0x455641
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x3a]
call fcn.00409fd0
test al, al
je 0x455641
xor eax, eax
push ebp
push 0x455637
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 1
lea eax, [ebp - 0x160]
call fcn.00403bdc
call fcn.004030dc
test eax, eax
jne 0x45562d
mov byte [ebp - 0x11], 1
lea eax, [ebp - 0x160]
call fcn.004039ec
call fcn.0040305c
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 0x168]
lea eax, [ebp - 0x160]
call fcn.00403c04
call fcn.0040305c
lea eax, [ebp - 0x174]
push eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x101b4], eax
mov byte [ebp - 0x101b0], 0
lea edx, [ebp - 0x101b4]
xor ecx, ecx
mov eax, 0x456184
call fcn.0040ad68
mov esi, dword [ebp - 0x174]
test esi, esi
je 0x4555f8
sub esi, 4
mov esi, dword [esi]
push 0x20000000
push esi
mov eax, dword [ebp - 0x174]
call fcn.00405710
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_HttpAddRequestHeadersA
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 0x164]
mov byte [eax + 0xc], bl
test bl, bl
je 0x45562d
mov byte [ebp - 0x181], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x455641
cmp byte [ebp - 0x181], 0
je 0x455651
push ebp
call fcn.004550e0
pop ecx
push 0x3a98
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x454afc]
call fcn.00456858
mov edi, eax
mov eax, dword [ebp - 0x164]
cmp dword [eax + 0x4a], 0
jne 0x4556b0
mov eax, dword [ebp - 0x164]
cmp dword [eax + 0x2a], 0
jne 0x4556b0
mov eax, dword [ebp - 0x164]
cmp dword [eax + 0x2e], 0
jne 0x4556b0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_HttpSendRequestA
cmp eax, 1
sbb eax, eax
inc eax
mov edx, dword [ebp - 0x164]
mov byte [edx + 6], al
jmp 0x455768
mov eax, dword [ebp - 0x164]
cmp dword [eax + 0x2e], 0
jne 0x4556ce
lea eax, [ebp - 0x17c]
mov edx, 0x4561a0
call fcn.00405318
jmp 0x4556e2
lea eax, [ebp - 0x17c]
mov edx, dword [ebp - 0x164]
mov edx, dword [edx + 0x2e]
call fcn.00405318
mov eax, dword [ebp - 0x164]
cmp dword [eax + 0x2a], 0
je 0x455712
push dword [ebp - 0x17c]
push 0x4561d8
mov eax, dword [ebp - 0x164]
push dword [eax + 0x2a]
lea eax, [ebp - 0x17c]
mov edx, 3
call fcn.00405614
mov ebx, dword [ebp - 0x17c]
test ebx, ebx
je 0x455721
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x164]
mov esi, dword [eax + 0x4a]
test esi, esi
je 0x455733
sub esi, 4
mov esi, dword [esi]
push esi
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x4a]
call fcn.00405710
push eax
push ebx
mov eax, dword [ebp - 0x17c]
call fcn.00405710
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_HttpSendRequestA
cmp eax, 1
sbb eax, eax
inc eax
mov edx, dword [ebp - 0x164]
mov byte [edx + 6], al
mov eax, dword [ebp - 0x164]
cmp byte [eax + 6], 0
jne 0x4557a9
call sub.kernel32.dll_GetLastError_1
mov edx, dword [ebp - 0x164]
mov dword [edx + 0x6a], eax
mov eax, dword [ebp - 0x164]
mov dword [eax + 0x66], 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404c38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45610d
mov eax, edi
call fcn.00424a98
push ebp
call fcn.004550c8
pop ecx
xor eax, eax
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], pe_nt_image_headers32
mov eax, dword [ebp - 0x18c]
call fcn.00402f00
mov dword [ebp - 0x188], eax
xor eax, eax
push ebp
push 0x4558f5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x18c]
push eax
mov eax, dword [ebp - 0x188]
push eax
push 0x13
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_HttpQueryInfoA
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 0x164]
mov byte [eax + 6], bl
test bl, bl
je 0x455842
lea edx, [ebp - 0x174]
mov eax, dword [ebp - 0x188]
call fcn.0040a8c4
xor edx, edx
mov eax, dword [ebp - 0x174]
call fcn.00409b20
mov edx, dword [ebp - 0x164]
mov dword [edx + 0x56], eax
push ebp
call fcn.004550c8
pop ecx
xor eax, eax
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], pe_nt_image_headers32
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x18c]
push eax
mov eax, dword [ebp - 0x188]
push eax
push 1
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_HttpQueryInfoA
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 0x164]
mov byte [eax + 6], bl
test bl, bl
je 0x4558b3
lea edx, [ebp - 0x101b8]
mov eax, dword [ebp - 0x188]
call fcn.0040a8c4
mov edx, dword [ebp - 0x101b8]
mov eax, dword [ebp - 0x164]
add eax, 0x5a
call fcn.004052d4
push ebp
call fcn.004550c8
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4558fc
xor eax, eax
push ebp
push 0x4558ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x188]
call fcn.00402f1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4558f4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456142
lea eax, [ebp - 0x101c0]
mov edx, 3
call fcn.004052a4
lea eax, [ebp - 0x180]
mov edx, 6
call fcn.004052a4
ret