Function at 0x412330
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x596662
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x602c90]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x2c]
push eax
call fcn.0043eb70
push 0x5c232c
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 0
call fcn.00401d80
mov ebx, eax
push 0x5c25c8
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 1
call fcn.00401d80
mov dword [esp + 0x14], eax
push 0x5c34c4
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 2
call fcn.00401d80
push ebx
mov byte [esp + 0x54], 3
mov edx, dword [esp + 0x18]
push edx
lea esi, [edi + 0x2fd88]
push esi
push eax
lea ecx, [edi + 0x170]
push ecx
lea eax, [esp + 0x40]
mov dword [esp + 0x30], ecx
push eax
mov ecx, 7
call fcn.00444e10
mov byte [esp + 0x50], 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 0x4123fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 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 0x412421
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 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 0x412446
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.0041beb0
lea edx, [esp + 0x18]
push edx
push str.StartDownloadButton
mov ecx, edi
mov dword [esp + 0x20], 0
call fcn.00483bcc
test eax, eax
jne 0x412682
cmp dword [esp + 0x18], eax
je 0x412682
push 0x5c34f4
lea ebx, [esp + 0x2c]
call fcn.00405560
mov byte [esp + 0x50], 4
mov eax, dword [eax]
test eax, eax
je 0x412499
mov ecx, dword [eax]
jmp 0x41249b
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea edi, [esp + 0x14]
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 + 0x50], 0
call fcn.004055f0
test ebx, ebx
je 0x412599
push 0x5c232c
lea ecx, [esp + 0x24]
call fcn.00401d80
mov edi, eax
push 0x5c25c8
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 5
call fcn.00401d80
mov ebx, eax
push 0x5c3500
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 6
call fcn.00401d80
mov ecx, dword [esp + 0x1c]
push edi
push ebx
push esi
push eax
push ecx
lea edx, [esp + 0x40]
push edx
mov ecx, 1
mov byte [esp + 0x68], 7
call fcn.00444e10
mov byte [esp + 0x50], 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 0x412541
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 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 0x412566
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 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 0x41258b
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.0047cbe9
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x114]
push eax
call edx
test eax, eax
je 0x412682
push 0x5c232c
lea ecx, [esp + 0x24]
call fcn.00401d80
mov edi, eax
push 0x5c25c8
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 8
call fcn.00401d80
mov ebx, eax
push 0x5c3538
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 9
call fcn.00401d80
push edi
push ebx
push esi
push eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, 1
mov byte [esp + 0x68], 0xa
call fcn.00444e10
mov byte [esp + 0x50], 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 0x41262a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 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 0x41264f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 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 0x412674
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.0047cbe9
push 0x5c232c
lea ecx, [esp + 0x24]
call fcn.00401d80
mov edi, eax
push 0x5c25c8
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 0xb
call fcn.00401d80
mov ebx, eax
push 0x5c3570
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 0xc
call fcn.00401d80
mov ecx, dword [esp + 0x1c]
push edi
push ebx
push esi
push eax
push ecx
lea edx, [esp + 0x40]
push edx
mov ecx, 7
mov byte [esp + 0x68], 0xd
call fcn.00444e10
mov byte [esp + 0x50], 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 0x4126fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 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 0x412721
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 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 0x412746
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [esp + 0x34]
mov dword [esp + 0x50], 0xf
call fcn.00421170
mov byte [esp + 0x50], 0xe
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41277c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4127a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4