Function at 0x411720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x583a40
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5e9db0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x14]
push eax
call fcn.00434070
push 0x5afbc8
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3c], 0
call fcn.00401d50
mov ebx, eax
push 0x5aff34
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 1
call fcn.00401d50
mov dword [esp + 0x10], eax
push 0x5b0844
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 2
call fcn.00401d50
push ebx
mov byte [esp + 0x3c], 3
mov edx, dword [esp + 0x14]
push edx
lea esi, [edi + 0xb70c8]
push esi
push eax
lea ecx, [edi + 0x16c]
push ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x30], ecx
push eax
mov ecx, 7
call fcn.00438b00
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4117ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411811
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411836
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, edi
call fcn.00419dc0
lea edx, [esp + 0x18]
push edx
push str.StartDownloadButton
mov ecx, edi
mov dword [esp + 0x20], 0
call fcn.0046ff48
test eax, eax
jne 0x411a72
cmp dword [esp + 0x18], eax
je 0x411a72
push str.disabled
lea ebx, [esp + 0x2c]
call fcn.00406e90
mov byte [esp + 0x38], 4
mov eax, dword [eax]
test eax, eax
je 0x411889
mov ecx, dword [eax]
jmp 0x41188b
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea edi, [esp + 0x10]
push edi
push 0
push ecx
push eax
mov eax, dword [edx + 0x24]
call eax
lea edi, [esp + 0x28]
mov ebx, eax
mov byte [esp + 0x38], 0
call fcn.00406f20
test ebx, ebx
je 0x411989
push 0x5afbc8
lea ecx, [esp + 0x24]
call fcn.00401d50
mov edi, eax
push 0x5aff34
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 5
call fcn.00401d50
mov ebx, eax
push 0x5b0880
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 6
call fcn.00401d50
mov ecx, dword [esp + 0x1c]
push edi
push ebx
push esi
push eax
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, 1
mov byte [esp + 0x50], 7
call fcn.00438b00
mov byte [esp + 0x38], 6
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411931
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411956
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41197b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push 0
push str.Error_setting_attribute
call fcn.0046cef0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x114]
push eax
call edx
test eax, eax
je 0x411a72
push 0x5afbc8
lea ecx, [esp + 0x24]
call fcn.00401d50
mov edi, eax
push 0x5aff34
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 8
call fcn.00401d50
mov ebx, eax
push 0x5b08b8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 9
call fcn.00401d50
push edi
push ebx
push esi
push eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, 1
mov byte [esp + 0x50], 0xa
call fcn.00438b00
mov byte [esp + 0x38], 9
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411a1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 8
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411a3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411a64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push 0
push str.Error_loading_next_page
call fcn.0046cef0
push 0x5afbc8
lea ecx, [esp + 0x24]
call fcn.00401d50
mov edi, eax
push 0x5aff34
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 0xb
call fcn.00401d50
mov ebx, eax
push 0x5b08f0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 0xc
call fcn.00401d50
mov ecx, dword [esp + 0x1c]
push edi
push ebx
push esi
push eax
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, 7
mov byte [esp + 0x50], 0xd
call fcn.00438b00
mov byte [esp + 0x38], 0xc
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411aec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0xb
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411b11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411b36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411b5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4