Function at 0x4bdcf8
Capabilities:
Create http request
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x23
push 0
push 0
dec ecx
jne 0x4bdd01
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x38], ecx
mov byte [ebp - 0x31], dl
mov dword [ebp - 0x30], eax
xor eax, eax
push ebp
push 0x4beb8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x3c], 0x80004005
mov eax, dword [ebp - 0x38]
mov byte [eax], 0
xor ecx, ecx
push ebp
push 0x4beb29
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x30]
mov edx, dword [edx]
call fcn.00405318
mov byte [ebp - 0x3d], 0
mov edx, dword [ebp - 0x10]
mov eax, 0x4bebac
call fcn.0040585c
test eax, eax
jle 0x4bdd9b
xor eax, eax
push ebp
push 0x4bdd91
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.004bc2b0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004094c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bdd9b
cmp byte [0x4cbf14], 0
jne 0x4bddb1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4beb33
xor eax, eax
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00405318
mov edx, dword [ebp - 0xc]
mov eax, 0x4bebb8
call fcn.0040585c
dec eax
je 0x4bde05
mov edx, dword [ebp - 0xc]
mov eax, 0x4bebc4
call fcn.0040585c
dec eax
je 0x4bde05
mov edx, dword [ebp - 0xc]
mov eax, 0x4bebd0
call fcn.0040585c
dec eax
je 0x4bde05
mov edx, dword [ebp - 0xc]
mov eax, 0x4bebe0
call fcn.0040585c
dec eax
jne 0x4bde45
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4bde11
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x78]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4bebf0
call fcn.0040585c
mov edx, eax
inc edx
mov ecx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00405778
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x74]
call fcn.004097bc
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0xc]
call fcn.00405318
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0xc]
call fcn.004094c0
mov edx, dword [ebp - 0x7c]
mov eax, 0x4bebfc
call fcn.0040585c
test eax, eax
jne 0x4bde93
mov edx, dword [ebp - 0xc]
mov eax, 0x4bec08
call fcn.0040585c
dec eax
jne 0x4bde83
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, 0x4bec14
call fcn.00405598
jmp 0x4bde93
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, 0x4bec24
call fcn.00405598
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0xc]
call fcn.004094c0
mov edx, dword [ebp - 0x80]
mov eax, 0x4bec34
call fcn.0040585c
dec eax
je 0x4bdf22
cmp byte [ebp + 8], 0
je 0x4bdf22
lea eax, [ebp - 0x8c]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4bebfc
call fcn.0040585c
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00405778
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.004094c0
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
mov edx, 0x4bec44
call fcn.00405598
mov edx, dword [ebp - 0x84]
mov cl, 1
mov eax, 0x80000000
call fcn.0044d8b8
test al, al
je 0x4bdf22
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4beb33
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004b6670
test al, al
jne 0x4bdf43
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00405318
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x14]
call fcn.004096a8
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x14]
call fcn.00405318
mov byte [ebp - 0x3e], 1
cmp dword [ebp - 0x14], 0
je 0x4bdfb8
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4bdf75
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x4bdfb8
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x48], 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x48]
movzx eax, byte [eax + edx - 1]
cmp al, 0x61
jb 0x4bdf96
cmp al, 0x7a
jbe 0x4bdfb0
cmp al, 0x30
jb 0x4bdf9e
cmp al, 0x39
jbe 0x4bdfb0
cmp al, 0x2e
je 0x4bdfb0
cmp al, 0x2d
je 0x4bdfb0
cmp al, 0x5f
je 0x4bdfb0
mov byte [ebp - 0x3e], 0
jmp 0x4bdfb8
inc dword [ebp - 0x48]
dec dword [ebp - 0x68]
jne 0x4bdf83
cmp byte [ebp - 0x3e], 0
je 0x4be076
xor eax, eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.00405318
mov edx, dword [ebp - 0xc]
mov eax, 0x4bec60
call fcn.0040585c
dec eax
jne 0x4bdfe6
mov al, 1
jmp 0x4be01b
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4bdff2
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x94]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00405778
mov eax, dword [ebp - 0x94]
mov edx, 0x4bec60
call fcn.004056a8
sete al
test al, al
je 0x4be025
mov byte [ebp - 0x3e], 0
jmp 0x4be076
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00405318
jmp 0x4be05f
inc dword [ebp - 0x48]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4be041
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4bec60
call fcn.0040585c
mov edx, eax
inc edx
mov ecx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00405778
mov edx, dword [ebp - 0xc]
mov eax, 0x4bec60
call fcn.0040585c
test eax, eax
jg 0x4be032
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x10]
call fcn.004094c0
mov edx, dword [ebp - 0x98]
mov eax, 0x4bec6c
call fcn.0040585c
dec eax
jne 0x4be113
cmp byte [ebp - 0x3e], 0
je 0x4be113
cmp dword [ebp - 0x44], 1
jne 0x4be113
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x10]
call fcn.004094c0
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4be0ba
sub ebx, 4
mov ebx, dword [ebx]
push 0x4bec7c
lea eax, [ebp - 0xa0]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bec60
call fcn.0040585c
mov edx, eax
inc edx
mov ecx, ebx
mov eax, dword [ebp - 0x24]
call fcn.00405778
push dword [ebp - 0xa0]
push 0x4bec7c
lea eax, [ebp - 0x9c]
mov edx, 3
call fcn.00405614
mov eax, dword [ebp - 0x9c]
mov edx, 0x4bec88
call fcn.0040585c
test eax, eax
jne 0x4be113
mov byte [ebp - 0x3d], 1
xor ecx, ecx
push ebp
push 0x4beb15
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov edx, dword [ebp - 0x10]
mov eax, 0x4bebb8
call fcn.0040585c
dec eax
je 0x4be161
mov edx, dword [ebp - 0x10]
mov eax, 0x4bebc4
call fcn.0040585c
dec eax
je 0x4be161
mov edx, dword [ebp - 0x10]
mov eax, 0x4bebd0
call fcn.0040585c
dec eax
je 0x4be161
mov edx, dword [ebp - 0xc]
mov eax, 0x4bebe0
call fcn.0040585c
dec eax
jne 0x4be1ad
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4be16d
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0xa8]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x4bebf0
call fcn.0040585c
mov edx, eax
inc edx
mov ecx, ebx
mov eax, dword [ebp - 0x10]
call fcn.00405778
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa4]
call fcn.004097bc
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 0x10]
call fcn.00405318
cmp byte [ebp - 0x3d], 0
jne 0x4be1bc
movzx eax, byte [ebp - 0x3e]
xor al, 1
mov byte [ebp - 0x3d], al
cmp byte [ebp - 0x3e], 0
je 0x4be1d2
cmp dword [ebp - 0x44], 0
jle 0x4be1d2
cmp byte [ebp - 0x3d], 0
je 0x4be5ac
push 0
lea eax, [ebp - 0xac]
push eax
mov ecx, 0x4becb4
mov edx, dword [0x4cbe78]
mov eax, 0x80000001
call fcn.0044c504
cmp dword [ebp - 0xac], 0
jne 0x4be5ac
mov byte [ebp - 0x3f], 0
cmp byte [ebp - 0x31], 0
je 0x4be5ac
cmp byte [ebp - 0x3f], 0
jne 0x4be5ac
mov dl, 1
mov eax, dword [0x41d250]
call fcn.00404258
mov dword [ebp - 0x4c], eax
xor eax, eax
push ebp
push 0x4be5a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0xf003f
mov dl, 1
mov eax, dword [0x4282d4]
call fcn.00428418
mov dword [ebp - 0x50], eax
xor eax, eax
push ebp
push 0x4be588
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 0x50]
call fcn.004284b0
lea eax, [ebp - 0xb0]
mov ecx, 0x4becc4
mov edx, dword [0x4cbe78]
call fcn.00405598
mov edx, dword [ebp - 0xb0]
mov cl, 1
mov eax, dword [ebp - 0x50]
call fcn.00428518
test al, al
je 0x4be572
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
call fcn.00428ad4
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0xb4]
call fcn.00409670
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x4becdc
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x4be2e4
mov edx, 0x4becdc
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4bed0c
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
je 0x4be30b
mov edx, 0x4bed0c
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x48]
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00405318
push 0x800
call fcn.00407148
pop ecx
mov dword [ebp - 0x54], eax
xor eax, eax
push ebp
push 0x4be56b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4be4d7
inc eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0xc0]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0xbc]
call fcn.004094c0
mov eax, dword [ebp - 0xbc]
push eax
lea edx, [ebp - 0xc8]
mov eax, dword [0x4cc6a0]
call fcn.00418718
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc4]
call fcn.004094c0
mov eax, dword [ebp - 0xc4]
pop edx
call fcn.0040585c
test eax, eax
jne 0x4be4cb
push 0
lea eax, [ebp - 0xcc]
push eax
push 0x4bed3c
lea ecx, [ebp - 0xd4]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0xd4]
push 0x4bed4c
lea eax, [ebp - 0xd0]
mov edx, 3
call fcn.00405614
mov edx, dword [ebp - 0xd0]
xor ecx, ecx
mov eax, 0x80000000
call fcn.0044c504
cmp dword [ebp - 0xcc], 0
je 0x4be4cb
xor eax, eax
push ebp
push 0x4be4c1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0xec]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xec]
lea edx, [ebp - 0xe8]
call fcn.004186bc
lea eax, [ebp - 0xe8]
lea edx, [ebp - 0xd8]
call fcn.004188a8
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0x20]
mov ecx, 0x4bed5c
call fcn.00407060
mov ecx, 0x400
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 8]
call fcn.00406484
push 0x400
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x4be499
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x54]
call fcn.004054a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4be4d7
cmp dword [ebp - 0x58], 0x80004005
jne 0x4be4ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4be4cb
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x54]
call fcn.004054a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4be4cb
inc dword [ebp - 0x48]
dec dword [ebp - 0x68]
jne 0x4be34e
mov edx, dword [ebp - 0x10]
mov eax, 0x4bed74
call fcn.0040585c
test eax, eax
jne 0x4be51a
mov edx, dword [ebp - 0x10]
mov eax, 0x4bec08
call fcn.0040585c
dec eax
jne 0x4be50a
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, 0x4bec14
call fcn.00405598
jmp 0x4be51a
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, 0x4bec24
call fcn.00405598
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.00405318
xor eax, eax
mov dword [ebp - 0x3c], eax
call fcn.00404c38
call fcn.00404c38
call fcn.00404c38
call fcn.00404c38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4beb33
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be58f
mov eax, dword [ebp - 0x50]
call fcn.00404288
ret
mov byte [ebp - 0x40], 0
cmp byte [ebp - 0x3d], 0
jne 0x4be7e6
cmp byte [ebp - 0x3e], 0
je 0x4be647
cmp dword [ebp - 0x44], 1
jl 0x4be647
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00405318
lea edx, [ebp - 0xf0]
mov eax, dword [ebp - 0xc]
call fcn.004094c0
mov edx, dword [ebp - 0xf0]
mov eax, 0x4bed74
call fcn.0040585c
dec eax
jle 0x4be603
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.00405318
jmp 0x4be635
mov edx, dword [ebp - 0x10]
mov eax, 0x4bec08
call fcn.0040585c
dec eax
jne 0x4be625
lea eax, [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov edx, 0x4bec14
call fcn.00405598
jmp 0x4be635
lea eax, [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov edx, 0x4bec24
call fcn.00405598
call fcn.00404c38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4beb33
cmp byte [ebp - 0x40], 0
jne 0x4be7e6
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00405318
lea eax, [ebp - 8]
call fcn.00405280
mov byte [ebp - 0x40], 1
lea edx, [ebp - 0xf4]
mov eax, dword [ebp - 0xc]
call fcn.004094c0
mov edx, dword [ebp - 0xf4]
mov eax, 0x4bec24
call fcn.0040585c
dec eax
je 0x4be6bb
mov edx, dword [ebp - 0xc]
mov eax, 0x4bec08
call fcn.0040585c
dec eax
jne 0x4be6ab
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, 0x4bec14
call fcn.00405598
jmp 0x4be6bb
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, 0x4bec24
call fcn.00405598
cmp byte [ebp + 8], 0
je 0x4be6e5
cmp byte [ebp - 0x3e], 0
je 0x4be6dc
cmp dword [ebp - 0x44], 0
jle 0x4be6dc
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00405318
mov byte [ebp - 0x40], 0
mov byte [ebp - 0x31], 0
jmp 0x4be7e6
push 0
push 0
push 0
push 0
push 0x4bed78
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x4be7e6
xor eax, eax
push ebp
push 0x4be7df
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x420f200
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405710
push eax
mov eax, dword [ebp - 0x5c]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x4be789
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x2ee7
je 0x4be7c8
mov eax, dword [0x4cbe88]
mov dword [ebp - 0x6c], eax
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x6c]
call fcn.0040e69c
push 0x4bed88
push dword [ebp - 0x28]
push dword [0x4cbf20]
push 0x4bed98
push dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 5
call fcn.00405614
mov byte [ebp - 0x31], 0
mov byte [ebp - 0x40], 0
jmp 0x4be7c8
xor eax, eax
push ebp
push 0x4be7c1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00405318
mov byte [ebp - 0x31], 0
mov byte [ebp - 0x40], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be7c8
mov eax, dword [ebp - 0x60]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be7e6
mov eax, dword [ebp - 0x5c]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4beb1f
movzx eax, byte [ebp - 0x40]
or al, byte [ebp - 0x3d]
je 0x4be998
lea edx, [ebp - 0xf8]
mov eax, dword [ebp - 0x10]
call fcn.004097bc
cmp dword [ebp - 0xf8], 0
je 0x4be998
push 0
lea eax, [ebp - 0xfc]
push eax
mov ecx, 0x4becb4
mov edx, dword [0x4cbe78]
mov eax, 0x80000001
call fcn.0044c504
mov eax, dword [ebp - 0xfc]
mov edx, 0x4bedb0
call fcn.004056a8
jne 0x4be998
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x10]
call fcn.004094c0
mov edx, dword [ebp - 0x100]
mov eax, 0x4bec24
call fcn.0040585c
dec eax
jne 0x4be8ad
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4be87c
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x104]
mov eax, dword [ebp - 0x10]
call fcn.004094c0
mov edx, dword [ebp - 0x104]
mov eax, 0x4bec24
call fcn.0040585c
mov edx, eax
add edx, 7
mov ecx, ebx
mov eax, dword [ebp - 0x10]
call fcn.00405778
mov edx, dword [ebp - 0x10]
mov eax, edx
test eax, eax
je 0x4be8bb
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x4be908
mov eax, edx
test eax, eax
je 0x4be8ca
sub eax, 4
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
cmp byte [ecx + eax - 1], 0x5c
jne 0x4be8d8
mov al, 1
jmp 0x4be8ee
mov eax, edx
test eax, eax
je 0x4be8e3
sub eax, 4
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
cmp byte [ecx + eax - 1], 0x2f
sete al
test al, al
je 0x4be908
mov eax, edx
test eax, eax
je 0x4be8fd
sub eax, 4
mov eax, dword [eax]
mov edx, eax
dec edx
lea eax, [ebp - 0x10]
call fcn.004059a0
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 0x10]
call fcn.004b802c
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x10]
call fcn.00405318
movzx eax, byte [0x4bedb4]
push eax
lea eax, [ebp - 0x10c]
push eax
mov ecx, 0x4bedc0
mov edx, 0x4bedcc
mov eax, dword [ebp - 0x10]
call fcn.0040ed1c
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 0x10]
call fcn.00405318
movzx eax, byte [0x4bedb4]
push eax
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x4bedd8
mov eax, dword [0x4cbf10]
call fcn.0040ed1c
lea edx, [ebp - 0x110]
mov eax, dword [ebp - 4]
call fcn.004b8160
mov edx, dword [ebp - 0x110]
lea eax, [ebp - 4]
call fcn.00405318
mov eax, dword [ebp - 0x38]
mov byte [eax], 1
jmp 0x4beaf3
lea edx, [ebp - 0x114]
mov eax, dword [ebp - 4]
call fcn.004094c0
mov edx, dword [ebp - 0x114]
mov eax, 0x4bebfc
call fcn.0040585c
test eax, eax
jne 0x4be9ec
mov edx, dword [ebp - 4]
mov eax, 0x4bec08
call fcn.0040585c
dec eax
jne 0x4be9dc
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x4bec14
call fcn.00405598
jmp 0x4be9ec
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x4bec24
call fcn.00405598
cmp byte [ebp - 0x31], 0
je 0x4beaf3
cmp byte [ebp + 8], 0
jne 0x4beaf3
push 0
push 0
push 0
push 0
push 0x4bed78
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x4beaf3
xor eax, eax
push ebp
push 0x4beaec
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x420f200
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405710
push eax
mov eax, dword [ebp - 0x5c]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x60], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x60], 0
jne 0x4beacc
mov eax, dword [ebp - 0x64]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x11c]
call fcn.00409a64
mov ecx, dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
mov edx, 0x4bede8
call fcn.00405598
mov eax, dword [ebp - 0x118]
call fcn.00405710
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [0x4cbe88]
mov dword [ebp - 0x70], eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x70]
call fcn.0040e69c
push 0x4bed88
push dword [ebp - 0x2c]
push dword [0x4cbf20]
push 0x4bed98
push dword [ebp - 4]
lea eax, [ebp - 4]
mov edx, 5
call fcn.00405614
jmp 0x4bead5
mov eax, dword [ebp - 0x60]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4beaf3
mov eax, dword [ebp - 0x5c]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 4]
call fcn.004b8160
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x30]
call fcn.004052d4
xor eax, eax
mov dword [ebp - 0x3c], eax
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4beb95
lea eax, [ebp - 0x120]
mov edx, 0xe
call fcn.004052a4
lea eax, [ebp - 0xd8]
call fcn.0040701c
lea eax, [ebp - 0xd4]
mov edx, 0x19
call fcn.004052a4
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.004052a4
lea eax, [ebp - 0x20]
call fcn.0040701c
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.004052a4
ret