Function at 0x4520a0
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x4b52b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.winmm.dll_timeGetTime]
mov esi, ecx
call edi
mov dword [esp + 0x18], eax
mov al, byte [esi + 0x7316d]
test al, al
jne 0x45216e
push 0x84
call fcn.004a71d4
add esp, 4
mov dword [esp + 0x20], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x4c], ebx
je 0x4520fc
mov ecx, eax
call fcn.004a5610
jmp 0x4520fe
xor eax, eax
push 0x108
push 0x112
push 0xf4
push 0xc8
mov ecx, eax
mov dword [esp + 0x5c], 0xffffffff
mov dword [0x4c91bc], eax
call fcn.004a5680
mov ecx, dword [0x4c91bc]
push 0x108
push 0x1bc
push 0xf4
push 0x172
call fcn.004a5680
mov dword [esi + 0x72abc], ebx
mov dword [esi + 0x72ac0], ebx
mov byte [esi + 0x733f0], 0
call edi
push ebx
push ebx
push 0x19
push 0x45
mov ecx, esi
mov dword [0x4c9158], eax
call fcn.00446e60
jmp 0x452170
xor ebx, ebx
mov dl, byte [esi + 0x7316d]
inc dl
mov al, dl
mov byte [esi + 0x7316d], dl
cmp al, 0x64
jle 0x45218b
mov byte [esi + 0x7316d], 0x64
cmp dword [esi + 0x72ac0], 1
jne 0x4521d7
mov eax, dword [esi + 0x72578]
mov byte [esi + 0x731c5], 0xa
mov byte [esi + 0x7316d], 0
mov dword [esi + 0x72584], eax
mov ecx, dword [0x4c91bc]
cmp ecx, ebx
je 0x4521be
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0x72ac0], ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
lea eax, [esp + 0x11]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x1a]
push ecx
lea eax, [esp + 0x1a]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esi + 0x38104]
call fcn.004a4ae0
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.00452620
mov al, byte [esi + 0x7316d]
test al, al
jl 0x45222a
cmp al, 6
jge 0x45222e
push ebx
push 0x1df
push 0x27f
push ebx
push ebx
lea ecx, [esi + 0x7f1c]
jmp 0x452257
cmp al, 6
jl 0x45225c
push ebx
push 0x1df
lea edi, [esi + 0x7f1c]
push 0x27f
push ebx
push ebx
mov ecx, edi
call fcn.00402660
push ebx
push 0x1df
push 0x27f
push ebx
push ebx
mov ecx, edi
call fcn.00402660
mov ecx, dword [esi + 0x38228]
mov eax, dword [esi + 0x72578]
cmp ecx, ebx
je 0x452280
push ebx
push ebx
push eax
push 2
push 0x82
push 0xa2
call fcn.0049e020
push ebx
push ebx
push 7
push 0x4bf0f8
push 0xa0
push 0x102
mov ecx, esi
call fcn.00417090
lea edi, [esi + 0x7f1c]
mov ecx, edi
call fcn.00402880
mov ebp, dword [sym.imp.user32.dll_SetRect]
push 0xd2
push 0x1c5
push 0xc3
lea edx, [esp + 0x30]
push 0xb2
push edx
call ebp
push ebx
lea eax, [esp + 0x28]
push 0x4bf0e4
push eax
mov ecx, edi
call fcn.004028e0
mov ecx, edi
call fcn.004028c0
mov ecx, edi
call fcn.00402880
push 0xe6
push 0x1c5
push 0xd7
lea ecx, [esp + 0x40]
push 0xb2
push ecx
call ebp
push ebx
lea edx, [esp + 0x38]
push 0x4bf0c8
push edx
mov ecx, edi
call fcn.004028e0
mov ecx, edi
call fcn.004028c0
mov ax, word [esp + 0x14]
mov cx, word [esp + 0x12]
cmp ax, 0xc8
jl 0x452357
cmp ax, 0x112
jg 0x452357
cmp cx, 0xf4
jl 0x452357
cmp cx, 0x108
jg 0x452357
mov ecx, dword [esi + 0x38248]
mov eax, dword [esi + 0x72578]
cmp ecx, ebx
je 0x45237b
push ebx
push ebx
push eax
push 0x13
jmp 0x45236c
mov ecx, dword [esi + 0x38248]
mov eax, dword [esi + 0x72578]
cmp ecx, ebx
je 0x45237b
push ebx
push ebx
push eax
push 0x12
push 0xf4
push 0xc8
call fcn.0049e020
mov ax, word [esp + 0x14]
cmp ax, 0x172
jl 0x4523b4
cmp ax, 0x1bc
jg 0x4523b4
mov ax, word [esp + 0x12]
cmp ax, 0xf4
jl 0x4523b4
cmp ax, 0x108
jg 0x4523b4
mov ecx, dword [esi + 0x38248]
mov eax, dword [esi + 0x72578]
cmp ecx, ebx
je 0x4523d8
push ebx
push ebx
push eax
push 3
jmp 0x4523c9
mov ecx, dword [esi + 0x38248]
mov eax, dword [esi + 0x72578]
cmp ecx, ebx
je 0x4523d8
push ebx
push ebx
push eax
push 2
push 0xf4
push 0x172
call fcn.0049e020
mov eax, dword [esp + 0x18]
mov ebx, dword [0x4c9158]
mov ecx, eax
sub ecx, ebx
cmp ecx, 0x64
jbe 0x4523fe
mov cl, byte [esi + 0x73599]
inc cl
mov byte [esi + 0x73599], cl
mov dword [0x4c9158], eax
mov al, byte [esi + 0x73599]
mov ebx, 8
cmp al, bl
jl 0x45243d
mov cl, byte [esi + 0x73598]
inc cl
mov al, cl
mov byte [esi + 0x73598], cl
cmp al, bl
jle 0x452436
mov al, byte [esi + 0x73597]
mov byte [esi + 0x73598], 1
inc al
mov byte [esi + 0x73597], al
mov byte [esi + 0x73599], 0
cmp byte [esi + 0x73597], bl
jle 0x45244c
mov byte [esi + 0x73597], 1
movsx ecx, word [esp + 0x12]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
push eax
movsx edx, word [esp + 0x1c]
push ecx
mov ecx, dword [0x4c91bc]
push edx
call fcn.004a56d0
mov ebp, eax
mov al, byte [esp + 0x10]
cmp al, 2
jne 0x4524bc
push 0
push 5
push 0xe
push 0x45
mov ecx, esi
call fcn.00446e60
mov eax, ebp
dec eax
je 0x45251e
dec eax
jne 0x4524bc
mov eax, dword [esi + 0x72578]
mov byte [esi + 0x731c5], 0xa
mov byte [esi + 0x7316d], 0
mov dword [esi + 0x72584], eax
mov ecx, dword [0x4c91bc]
test ecx, ecx
je 0x4524bc
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, esi
call fcn.0045ddd0
mov eax, dword [esp + 0x18]
push 0
movsx ecx, word [esp + 0x16]
movsx edx, word [esp + 0x18]
push 0
add esi, 0x3812c
push eax
push 0
push ecx
mov ecx, dword [esi]
push edx
call fcn.0049e020
mov ecx, edi
call fcn.00401ee0
cmp eax, 0x887601c2
jne 0x45250b
mov edi, 0xd6d8
mov ecx, dword [esi]
test ecx, ecx
je 0x452505
call fcn.0049eb20
add esi, 4
dec edi
jne 0x4524fa
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
push 0x9c4
push ebx
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x4c], 1
je 0x452556
mov ecx, dword [esi + 0x738bc]
push 0x12c
push ecx
mov ecx, eax
call fcn.004a6400
jmp 0x452558
xor eax, eax
mov edx, dword [esi + 0x72f70]
push 0xbd1
lea ecx, [esi + 0x733f1]
push edx
push ecx
mov ecx, eax
mov dword [esp + 0x58], 0xffffffff
mov dword [esi + 0x6eaa4], eax
call fcn.004a66b0
mov ecx, dword [esi + 0x6eaa4]
push 0x7530
call fcn.004a6530
mov edx, dword [esi + 0x72578]
mov ecx, 0x32
mov dword [esi + 0x72584], edx
lea edx, [esi + 0x732ba]
xor eax, eax
mov edi, edx
mov byte [esi + 0x731c5], 1
mov byte [esi + 0x7316d], 0
mov dword [esi + 0x72580], 0xfc94205
mov word [esi + 0x7301a], 0xf1d
rep stosd dword es:[edi], eax
mov edi, 0x4bd8fc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x4c91bc]
test ecx, ecx
je 0x45250b
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret