Function at 0x1002d260
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100516c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x490
mov eax, dword [0x1006099c]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x494], eax
mov edi, ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov esi, 0xf
mov dword [esp + 0x4a4], ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
push ebx
push 0x100534c7
lea ecx, [esp + 0x60]
mov byte [esp + 0x4ac], 1
call fcn.10001f80
push 5
push 0x1005497c
lea ecx, [esp + 0x60]
call fcn.10001d80
push 7
push 0x10054974
lea ecx, [esp + 0x60]
call fcn.10001d80
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x1c]
call fcn.10004480
push ebx
push 0x100534c7
lea ecx, [esp + 0x60]
call fcn.10001f80
push 3
push 0x10054970
lea ecx, [esp + 0x60]
call fcn.10001d80
push 4
push 0x10054968
lea ecx, [esp + 0x60]
call fcn.10001d80
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10004480
push ebx
push 0x100534c7
lea ecx, [esp + 0x60]
call fcn.10001f80
push 4
push 0x10054960
lea ecx, [esp + 0x60]
call fcn.10001d80
push 4
push 0x10054968
lea ecx, [esp + 0x60]
call fcn.10001d80
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x1c]
call fcn.10004480
push 0x3e8
push 1
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.1002b8d0
test al, al
jne 0x1002d5cb
push ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x1002d5d4
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x4a4], 2
call fcn.10030a03
mov edx, dword [0x10054928]
xor eax, eax
mov byte [esp + 0x90], bl
mov ecx, 0xff
lea edi, [esp + 0x91]
rep stosd dword es:[edi], eax
mov ecx, dword [0x10054924]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x1005492c]
mov dword [esp + 0x90], ecx
mov ecx, dword [0x10054930]
push 0x10054944
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], edx
mov dl, byte [0x10054934]
push 0x11
lea eax, [esp + 0x98]
mov dword [esp + 0xa4], ecx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4b0], 3
mov byte [esp + 0xac], dl
call fcn.10030a13
lea eax, [esp + 0x90]
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
jmp 0x1002d460
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002d460
sub eax, edx
push eax
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x30]
call fcn.10001f80
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4a8], 4
call fcn.10004480
mov eax, dword [esp + 0x40]
mov edi, 0x10
cmp eax, edi
mov byte [esp + 0x4a4], 3
jb 0x1002d4b3
mov eax, dword [esp + 0x2c]
push eax
call fcn.10036530
add esp, 4
mov ecx, dword [0x10054938]
mov edx, dword [0x1005493c]
mov eax, dword [0x10054940]
push 0x10054944
mov dword [esp + 0x94], ecx
push 0xc
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], eax
call fcn.10030a13
lea eax, [esp + 0x90]
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002d507
sub eax, edx
push eax
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x30]
call fcn.10001f80
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4a8], 5
call fcn.10004480
cmp dword [esp + 0x40], edi
mov byte [esp + 0x4a4], 3
jb 0x1002d553
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.10036530
add esp, 4
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.100326fb
mov eax, dword [esp + 0x90]
add esp, 8
cmp eax, ebx
mov edi, 1
ja 0x1002d579
mov edi, dword [esp + 0x44]
cmp dword [esp + 0x8c], 0x10
jb 0x1002d590
mov ecx, dword [esp + 0x78]
push ecx
call fcn.10036530
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
mov byte [esp + 0x4a4], 2
call fcn.10030a0c
lea ecx, [esp + 0x48]
call fcn.100034e0
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp edi, ebx
je 0x1002d5d4
mov byte [0x100a1e90], 1
jmp 0x1002d5da
mov byte [0x100a1e90], bl
cmp dword [esp + 0x70], 0x10
jb 0x1002d5ee
mov eax, dword [esp + 0x5c]
push eax
call fcn.10036530
add esp, 4
mov dword [esp + 0x70], esi
mov esi, dword [esp + 0x1c]
cmp esi, ebx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
je 0x1002d620
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push esi
call fcn.10002ea0
push esi
call fcn.10036530
add esp, 0x14
mov ecx, dword [esp + 0x49c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x494]
call fcn.1003fd01
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret