Function at 0x3d2810
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x2a
push 0
push 0
dec ecx
jne 0x3d2819
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 0x25], dl
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x3d37cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x30], 0x80004005
mov eax, dword [ebp - 0x2c]
mov byte [eax], 0
xor edx, edx
push ebp
push 0x3d3670
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x24]
mov edx, dword [edx]
call fcn.0035531c
mov byte [ebp - 0x31], 0
mov edx, dword [ebp - 4]
mov eax, 0x3d37e8
call fcn.0035571c
test eax, eax
jle 0x3d28e1
xor eax, eax
push ebp
push 0x3d28d7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 4]
call fcn.00354db0
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x54]
mov dl, 1
call fcn.0039a29c
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x10]
call fcn.00355478
lea eax, [ebp - 0x60]
mov edx, dword [ebp - 0x10]
call fcn.00354db0
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.00358c74
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 4]
call fcn.00355478
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x3d28e1
cmp byte [0x3d7e98], 0
jne 0x3d28f7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x3d367a
xor eax, eax
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x33], 0
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.0035531c
mov edx, dword [ebp - 0x10]
mov eax, 0x3d37f0
call fcn.0035571c
dec eax
je 0x3d294b
mov edx, dword [ebp - 0x10]
mov eax, 0x3d37fc
call fcn.0035571c
dec eax
je 0x3d294b
mov edx, dword [ebp - 0x10]
mov eax, 0x3d3808
call fcn.0035571c
dec eax
je 0x3d294b
mov edx, dword [ebp - 0x10]
mov eax, 0x3d3818
call fcn.0035571c
dec eax
jne 0x3d298b
mov byte [ebp - 0x31], 1
lea eax, [ebp - 0x68]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x3d382c
call fcn.0035571c
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00355498
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00355640
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.003591d4
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x10]
call fcn.0035531c
lea eax, [ebp - 0x70]
mov edx, dword [ebp - 0x10]
call fcn.00354db0
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call fcn.00358c74
mov edx, dword [ebp - 0x6c]
mov eax, 0x3d3838
call fcn.003550e0
test eax, eax
jne 0x3d29e4
mov edx, dword [ebp - 0x10]
mov eax, 0x3d3840
call fcn.0035571c
dec eax
jne 0x3d29d4
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, 0x3d384c
call fcn.00355504
jmp 0x3d29e4
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, 0x3d385c
call fcn.00355504
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 0x10]
call fcn.00354db0
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x74]
call fcn.00358c74
mov edx, dword [ebp - 0x74]
mov eax, 0x3d3874
call fcn.003550e0
dec eax
je 0x3d2a81
cmp byte [ebp + 0xc], 0
je 0x3d2a81
lea eax, [ebp - 0x88]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x3d3880
call fcn.0035571c
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00355640
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
call fcn.00354db0
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x80]
call fcn.00358c74
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
mov edx, 0x3d388c
call fcn.00354e1c
mov edx, dword [ebp - 0x7c]
mov eax, 0x80000000
call fcn.003755b0
test al, al
je 0x3d2a81
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x3d367a
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call fcn.003d3ad4
test al, al
jne 0x3d2aa2
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.00354db0
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x18]
call fcn.00358e5c
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 0x18]
call fcn.00354ba4
mov byte [ebp - 0x32], 1
cmp dword [ebp - 0x18], 0
je 0x3d2b17
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x3d2ad4
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x3d2b17
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x3c]
movzx eax, byte [eax + edx - 1]
cmp al, 0x61
jb 0x3d2af5
cmp al, 0x7a
jbe 0x3d2b0f
cmp al, 0x30
jb 0x3d2afd
cmp al, 0x39
jbe 0x3d2b0f
cmp al, 0x2e
je 0x3d2b0f
cmp al, 0x2d
je 0x3d2b0f
cmp al, 0x5f
je 0x3d2b0f
mov byte [ebp - 0x32], 0
jmp 0x3d2b17
inc dword [ebp - 0x3c]
dec dword [ebp - 0x50]
jne 0x3d2ae2
cmp byte [ebp - 0x32], 0
je 0x3d2bc4
xor eax, eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x18]
call fcn.00355478
mov edx, dword [ebp - 0x10]
mov eax, 0x3d38a4
call fcn.0035571c
dec eax
je 0x3d2b71
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00355498
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0x10]
call fcn.00355640
mov eax, dword [ebp - 0x90]
mov edx, 0x3d38a4
call fcn.003555bc
jne 0x3d2b77
mov byte [ebp - 0x32], 0
jmp 0x3d2bc4
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.0035531c
jmp 0x3d2bad
inc dword [ebp - 0x3c]
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x3d38a4
call fcn.0035571c
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00355498
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00355640
mov edx, dword [ebp - 0x10]
mov eax, 0x3d38a4
call fcn.0035571c
test eax, eax
jg 0x3d2b84
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x98]
mov edx, dword [ebp - 4]
call fcn.00354db0
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
call fcn.00358c74
mov edx, dword [ebp - 0x94]
mov eax, 0x3d38b0
call fcn.003550e0
dec eax
jne 0x3d2c93
cmp byte [ebp - 0x32], 0
je 0x3d2c93
cmp dword [ebp - 0x38], 1
jne 0x3d2c93
push 0x3d38c0
lea eax, [ebp - 0xa0]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x3d38a4
call fcn.0035571c
inc eax
push eax
lea eax, [ebp - 0xa8]
mov edx, dword [ebp - 4]
call fcn.00354db0
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa4]
call fcn.00358c74
mov eax, dword [ebp - 0xa4]
push eax
mov eax, dword [ebp - 4]
call fcn.00355498
mov ecx, eax
pop eax
pop edx
call fcn.00354ffc
push dword [ebp - 0xa0]
push 0x3d38c0
lea eax, [ebp - 0x9c]
mov edx, 3
call fcn.00354e98
mov eax, dword [ebp - 0x9c]
mov edx, 0x3d38cc
call fcn.003550e0
test eax, eax
jne 0x3d2c93
mov byte [ebp - 0x31], 1
xor edx, edx
push ebp
push 0x3d365c
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 4]
mov eax, 0x3d37f0
call fcn.0035571c
dec eax
je 0x3d2ce1
mov edx, dword [ebp - 4]
mov eax, 0x3d37fc
call fcn.0035571c
dec eax
je 0x3d2ce1
mov edx, dword [ebp - 4]
mov eax, 0x3d3808
call fcn.0035571c
dec eax
je 0x3d2ce1
mov edx, dword [ebp - 0x10]
mov eax, 0x3d3818
call fcn.0035571c
dec eax
jne 0x3d2d29
lea eax, [ebp - 0xb0]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x3d382c
call fcn.0035571c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00355498
mov ecx, eax
mov eax, dword [ebp - 4]
pop edx
call fcn.00355640
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xac]
call fcn.003591d4
mov edx, dword [ebp - 0xac]
lea eax, [ebp - 4]
call fcn.0035531c
cmp byte [ebp - 0x31], 0
jne 0x3d2d38
movzx eax, byte [ebp - 0x32]
xor al, 1
mov byte [ebp - 0x31], al
cmp byte [ebp - 0x32], 0
je 0x3d2d4e
cmp dword [ebp - 0x38], 0
jle 0x3d2d4e
cmp byte [ebp - 0x31], 0
je 0x3d3089
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0035531c
push 0
lea eax, [ebp - 0xb4]
push eax
mov ecx, 0x3d38f8
mov edx, 0x3d3908
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
call dword [ebx]
cmp dword [ebp - 0xb4], 0
jne 0x3d3089
cmp byte [ebp - 0x25], 0
je 0x3d3089
mov dl, 1
mov eax, dword [0x367354]
call fcn.00353b54
mov dword [ebp - 0x40], eax
xor edx, edx
push ebp
push 0x3d3082
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, dword [ebp - 0x40]
mov edx, 0x3d3918
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0xbc]
lea edx, [ebp - 0xb8]
call fcn.00358e24
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x3d3930
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x3d2e01
mov edx, 0x3d3930
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x3d3960
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
je 0x3d2e28
mov edx, 0x3d3960
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x48]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.0035531c
push 0x800
call fcn.00356aa0
pop ecx
mov dword [ebp - 0x44], eax
xor edx, edx
push ebp
push 0x3d3065
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x3d2fde
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0xc4]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xc4]
lea edx, [ebp - 0xc0]
call fcn.00358c74
mov eax, dword [ebp - 0xc0]
push eax
lea edx, [ebp - 0xcc]
mov eax, dword [0x3d8120]
call fcn.0036da44
mov eax, dword [ebp - 0xcc]
lea edx, [ebp - 0xc8]
call fcn.00358c74
mov eax, dword [ebp - 0xc8]
pop edx
call fcn.003550e0
test eax, eax
jne 0x3d2fd2
push 0
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xd4]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0xd4]
mov edx, 0x3d3918
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
call dword [ebx]
cmp dword [ebp - 0xd0], 0
je 0x3d2fd2
xor edx, edx
push ebp
push 0x3d2fc8
push dword fs:[edx]
mov dword fs:[edx], esp
lea ecx, [ebp - 0xec]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xec]
lea edx, [ebp - 0xe8]
call fcn.0036d9e8
lea eax, [ebp - 0xe8]
lea edx, [ebp - 0xd8]
call fcn.0036dbd4
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0x14]
mov ecx, 0x3d3988
call fcn.003569b8
lea eax, [ebp - 0xf0]
mov edx, dword [ebp - 0xc]
call fcn.00354db0
mov eax, dword [ebp - 0xf0]
mov ecx, 0x400
mov edx, dword [ebp - 0x44]
call fcn.00355d48
push 0x400
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
jne 0x3d2fa2
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x44]
call fcn.00355414
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x3d2fde
cmp eax, 0x80004005
jne 0x3d2fb3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x3d2fd2
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x44]
call fcn.00355414
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x3d2fd2
inc dword [ebp - 0x3c]
dec dword [ebp - 0x50]
jne 0x3d2e6b
mov edx, dword [ebp - 4]
mov eax, 0x3d399c
call fcn.0035571c
test eax, eax
jne 0x3d3021
mov edx, dword [ebp - 4]
mov eax, 0x3d3840
call fcn.0035571c
dec eax
jne 0x3d3011
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x3d384c
call fcn.00355504
jmp 0x3d3021
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x3d385c
call fcn.00355504
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0035531c
xor eax, eax
mov dword [ebp - 0x30], eax
call fcn.003544a8
call fcn.003544a8
call fcn.003544a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x3d367a
mov byte [ebp - 0x33], 0
cmp byte [ebp - 0x31], 0
jne 0x3d3316
cmp byte [ebp - 0x32], 0
je 0x3d3139
cmp dword [ebp - 0x38], 1
jl 0x3d3139
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.0035531c
lea eax, [ebp - 0xf8]
mov edx, dword [ebp - 0x10]
call fcn.00354db0
mov eax, dword [ebp - 0xf8]
lea edx, [ebp - 0xf4]
call fcn.00358c74
mov edx, dword [ebp - 0xf4]
mov eax, 0x3d39ac
call fcn.003550e0
dec eax
jle 0x3d30f5
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0035531c
jmp 0x3d3127
mov edx, dword [ebp - 4]
mov eax, 0x3d3840
call fcn.0035571c
dec eax
jne 0x3d3117
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x3d384c
call fcn.00355504
jmp 0x3d3127
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x3d385c
call fcn.00355504
call fcn.003544a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x3d367a
cmp byte [ebp - 0x33], 0
jne 0x3d3316
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.0035531c
lea eax, [ebp - 0xc]
call fcn.003552b8
mov byte [ebp - 0x33], 1
lea eax, [ebp - 0x100]
mov edx, dword [ebp - 0x10]
call fcn.00354db0
mov eax, dword [ebp - 0x100]
lea edx, [ebp - 0xfc]
call fcn.00358c74
mov edx, dword [ebp - 0xfc]
mov eax, 0x3d39b8
call fcn.003550e0
dec eax
je 0x3d31be
mov edx, dword [ebp - 0x10]
mov eax, 0x3d3840
call fcn.0035571c
dec eax
jne 0x3d31ae
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, 0x3d384c
call fcn.00355504
jmp 0x3d31be
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, 0x3d385c
call fcn.00355504
cmp byte [ebp + 0xc], 0
je 0x3d31e8
cmp byte [ebp - 0x32], 0
je 0x3d31df
cmp dword [ebp - 0x38], 0
jle 0x3d31df
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.0035531c
mov byte [ebp - 0x33], 0
mov byte [ebp - 0x25], 0
jmp 0x3d3316
push 0
push 0
push 0
push 0
push 0x3d39c0
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x3d3316
xor edx, edx
push ebp
push 0x3d330f
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0x420f200
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.00355488
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.wininet.dll_InternetOpenUrlW
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x3d32b9
call sub.kernel32.dll_GetLastError
cmp eax, 0x2ee7
je 0x3d32f8
push 0x3d39d0
lea eax, [ebp - 0x110]
call fcn.00377074
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0x10c]
call fcn.0035e600
push dword [ebp - 0x10c]
push dword [0x3d7e94]
push 0x3d39e0
lea eax, [ebp - 0x108]
mov edx, 4
call fcn.00354e98
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x104]
call fcn.00355478
mov edx, dword [ebp - 0x104]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0x10]
call fcn.00355504
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x33], 0
jmp 0x3d32f8
xor eax, eax
push ebp
push 0x3d32f1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.0035531c
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x33], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3d32f8
mov eax, dword [ebp - 0x4c]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3d3316
mov eax, dword [ebp - 0x48]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3d3666
movzx eax, byte [ebp - 0x33]
or al, byte [ebp - 0x31]
je 0x3d34de
lea edx, [ebp - 0x114]
mov eax, dword [ebp - 4]
call fcn.003591d4
mov eax, dword [ebp - 0x114]
xor edx, edx
call fcn.003555bc
je 0x3d34de
push 0
lea eax, [ebp - 0x118]
push eax
mov ecx, 0x3d38f8
mov edx, 0x3d3908
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x118]
mov edx, 0x3d39f8
call fcn.00354f2c
jne 0x3d34de
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 4]
call fcn.00393d68
mov edx, dword [ebp - 0x11c]
mov eax, 0x3d385c
call fcn.0035571c
dec eax
jne 0x3d33ec
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x124]
mov edx, dword [ebp - 4]
call fcn.00354db0
mov eax, dword [ebp - 0x124]
lea edx, [ebp - 0x120]
call fcn.00358c74
mov edx, dword [ebp - 0x120]
mov eax, 0x3d39b8
call fcn.003550e0
add eax, 7
push eax
mov eax, dword [ebp - 4]
call fcn.00355498
mov ecx, eax
mov eax, dword [ebp - 4]
pop edx
call fcn.00355640
mov eax, dword [ebp - 4]
call fcn.00355498
test eax, eax
jle 0x3d3431
mov eax, dword [ebp - 4]
call fcn.00355498
mov edx, dword [ebp - 4]
cmp word [edx + eax*2 - 2], 0x5c
je 0x3d341e
mov eax, dword [ebp - 4]
call fcn.00355498
mov edx, dword [ebp - 4]
cmp word [edx + eax*2 - 2], 0x2f
jne 0x3d3431
mov eax, dword [ebp - 4]
call fcn.00355498
mov edx, eax
dec edx
lea eax, [ebp - 4]
call fcn.0035576c
lea edx, [ebp - 0x12c]
mov eax, dword [ebp - 4]
call fcn.00392220
mov eax, dword [ebp - 0x12c]
lea edx, [ebp - 0x128]
call fcn.0039a250
mov edx, dword [ebp - 0x128]
lea eax, [ebp - 4]
call fcn.00355478
lea ecx, [ebp - 0x130]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
call fcn.00398514
mov edx, dword [ebp - 0x130]
lea eax, [ebp - 8]
call fcn.0035531c
movzx eax, byte [0x3d39fc]
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x138]
mov edx, dword [ebp - 4]
call fcn.00354db0
mov eax, dword [ebp - 0x138]
push eax
lea eax, [ebp - 0x13c]
mov edx, dword [0x3d80a0]
mov edx, dword [edx]
call fcn.00354db0
mov eax, dword [ebp - 0x13c]
mov edx, 0x3d3a08
pop ecx
call fcn.0035ec80
mov edx, dword [ebp - 0x134]
lea eax, [ebp - 8]
call fcn.00355478
mov eax, dword [ebp - 0x2c]
mov byte [eax], 1
jmp 0x3d3637
lea eax, [ebp - 0x144]
mov edx, dword [ebp - 8]
call fcn.00354db0
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00358c74
mov edx, dword [ebp - 0x140]
mov eax, 0x3d3838
call fcn.003550e0
test eax, eax
jne 0x3d3543
mov edx, dword [ebp - 8]
mov eax, 0x3d3840
call fcn.0035571c
dec eax
jne 0x3d3533
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, 0x3d384c
call fcn.00355504
jmp 0x3d3543
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, 0x3d385c
call fcn.00355504
cmp byte [ebp - 0x25], 0
je 0x3d3637
cmp byte [ebp + 0xc], 0
jne 0x3d3637
push 0
push 0
push 0
push 0
push 0x3d39c0
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x3d3637
xor eax, eax
push ebp
push 0x3d3630
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x420f200
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00355488
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.wininet.dll_InternetOpenUrlW
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x3d3610
push 0x3d39d0
lea eax, [ebp - 0x154]
call fcn.00377074
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.0035e600
push dword [ebp - 0x150]
push dword [0x3d7e94]
push 0x3d39e0
lea eax, [ebp - 0x14c]
mov edx, 4
call fcn.00354e98
mov edx, dword [ebp - 0x14c]
lea eax, [ebp - 0x148]
call fcn.00355478
mov edx, dword [ebp - 0x148]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.00355504
jmp 0x3d3619
mov eax, dword [ebp - 0x4c]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3d3637
mov eax, dword [ebp - 0x48]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
lea ecx, [ebp - 0x158]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
call fcn.00398514
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x24]
call fcn.003552f4
xor eax, eax
mov dword [ebp - 0x30], eax
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3d37d7
lea eax, [ebp - 0x158]
call fcn.003552b8
lea eax, [ebp - 0x154]
mov edx, 3
call fcn.00354b30
lea eax, [ebp - 0x148]
call fcn.003552b8
lea eax, [ebp - 0x144]
mov edx, 5
call fcn.00354b30
lea eax, [ebp - 0x130]
call fcn.003552b8
lea eax, [ebp - 0x12c]
mov edx, 4
call fcn.00354b30
lea eax, [ebp - 0x11c]
call fcn.003552b8
lea eax, [ebp - 0x118]
call fcn.00354b0c
lea eax, [ebp - 0x114]
call fcn.003552b8
lea eax, [ebp - 0x110]
mov edx, 3
call fcn.00354b30
lea eax, [ebp - 0x104]
call fcn.003552b8
lea eax, [ebp - 0x100]
mov edx, 6
call fcn.00354b30
lea eax, [ebp - 0xd8]
call fcn.00356974
lea eax, [ebp - 0xd4]
mov edx, 9
call fcn.00354b30
lea eax, [ebp - 0xb0]
mov edx, 2
call fcn.003552d0
lea eax, [ebp - 0xa8]
mov edx, 6
call fcn.00354b30
lea eax, [ebp - 0x90]
call fcn.003552b8
lea eax, [ebp - 0x8c]
call fcn.00354b0c
lea eax, [ebp - 0x88]
call fcn.003552b8
lea eax, [ebp - 0x84]
mov edx, 7
call fcn.00354b30
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.003552d0
lea eax, [ebp - 0x60]
mov edx, 4
call fcn.00354b30
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00354b30
lea eax, [ebp - 0x14]
call fcn.00356974
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.003552d0
ret