Function at 0x45ff10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x45ff18
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x46053b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xe4]
test eax, eax
je 0x460513
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0xc]
dec eax
test eax, eax
jl 0x460505
inc eax
mov dword [ebp - 8], eax
xor ebx, ebx
mov dl, 1
mov eax, dword [0x453140]
call fcn.004533c4
mov esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov dword [eax + 0x24c], esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xe4]
mov edx, ebx
call fcn.00451460
mov edx, dword [0x453140]
call fcn.00402ff8
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
test ebx, ebx
jne 0x460004
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x24c]
cmp dword [eax + 0x2c], 0
jle 0x460004
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x228], 0
je 0x460004
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x100]
xor ecx, ecx
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x24c]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [eax + 0x100]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x22c]
call fcn.004102a4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x24c]
cmp byte [eax + 0x41], 2
jne 0x460023
mov edx, dword [ebp + 8]
call fcn.00402e68
jmp 0x4604fb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov esi, dword [eax + 0x24c]
cmp word [esi + 0x22], 0
jbe 0x460063
mov eax, dword [ebp + 8]
cmp dword [esi + 0x3c], 0
jne 0x460063
lea ecx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, ebx
call fcn.0045a8cc
mov eax, dword [ebp - 0x10]
call fcn.00452b84
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, esi
call fcn.00453e2c
mov byte [ebp - 1], 1
mov byte [ebp - 3], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x258], 0
je 0x460104
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x24c]
cmp byte [eax + 0x42], 0
je 0x460104
mov byte [ebp - 3], 1
mov byte [ebp - 2], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov esi, dword [eax + 0x24c]
mov byte [esi + 0x42], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp word [eax + 0x1f2], 0
je 0x4600eb
lea eax, [ebp - 2]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x34]
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x38]
lea eax, [ebp - 0x14]
call fcn.00403e30
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov esi, dword [eax - 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov eax, dword [esi + 0x1f4]
call dword [esi + 0x1f0]
cmp byte [ebp - 2], 0
jne 0x460437
mov eax, dword [ebp + 8]
inc dword [eax - 4]
mov byte [ebp - 1], 0
jmp 0x460437
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x460437
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x460437
inc eax
mov dword [ebp - 0xc], eax
xor esi, esi
push ebp
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.0045fd84
pop ecx
test al, al
je 0x46042d
mov byte [ebp - 3], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x178], 0
jne 0x4601fa
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x179], 0
jne 0x4601fa
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x1a9], 1
je 0x4601fa
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x258], 0
jne 0x4601fa
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x1a9], 0
je 0x4601c2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x1a9], 2
jne 0x4603e7
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.0045276c
fstp qword [ebp - 0x24]
wait
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, ebx
call fcn.0045a7f4
fcomp qword [ebp - 0x24]
fnstsw ax
sahf
jae 0x4603e7
mov byte [ebp - 2], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x258], 0
je 0x460259
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp word [eax + 0x1f2], 0
je 0x460259
lea eax, [ebp - 2]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edi, dword [eax + 0x24c]
mov ecx, dword [edi + 0x34]
mov eax, dword [ebp + 8]
mov edx, dword [edi + 0x38]
lea eax, [ebp - 0x28]
call fcn.00403e30
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov eax, dword [ebp + 8]
mov edi, dword [eax - 8]
mov eax, dword [edi + 0x1f4]
call dword [edi + 0x1f0]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x258], 0
je 0x460274
cmp byte [ebp - 2], 0
jne 0x460274
mov eax, dword [ebp + 8]
inc dword [eax - 4]
cmp byte [ebp - 2], 0
jne 0x4603d1
mov byte [ebp - 1], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x258], 0
je 0x4602c0
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x2c]
call fcn.004525e8
test al, al
jne 0x4602c0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x258], 0
jne 0x460437
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x24c]
call fcn.00402e68
mov dl, 1
mov eax, dword [0x453140]
call fcn.004533c4
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov dword [edx + 0x24c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp word [eax + 0x202], 0
je 0x460327
push ebx
mov eax, dword [ebp + 8]
mov edi, dword [eax - 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
xor ecx, ecx
mov eax, dword [edi + 0x204]
call dword [edi + 0x200]
xor eax, eax
push ebp
push 0x460391
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00462258
test al, al
je 0x460368
mov eax, dword [ebp + 8]
push eax
mov eax, esi
call fcn.0045fb08
pop ecx
jmp 0x460387
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x24c]
call fcn.00402e68
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
xor edx, edx
mov dword [eax + 0x24c], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4603bf
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
jmp 0x460437
mov byte [ebp - 1], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
jmp 0x460437
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x1a5], 0
je 0x460417
lea ecx, [ebp - 0x34]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov byte [ebp - 1], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
jmp 0x460437
inc esi
dec dword [ebp - 0xc]
jne 0x460137
cmp byte [ebp - 1], 0
je 0x4604db
cmp byte [ebp - 3], 0
je 0x460472
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp word [eax + 0x202], 0
je 0x460472
push ebx
mov eax, dword [ebp + 8]
mov esi, dword [eax - 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov cl, 1
mov eax, dword [esi + 0x204]
call dword [esi + 0x200]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, ebx
call fcn.00462e24
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [eax + 0x24c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x240]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [eax + 0x24c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x244]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x248]
inc word [eax + 0xe]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x248]
inc word [eax + 0xc]
jmp 0x4604fb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x258], 0
je 0x4604fb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x24c]
call fcn.00402e68
inc ebx
dec dword [ebp - 8]
jne 0x45ff5a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
xor edx, edx
mov dword [eax + 0x24c], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460542
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00403b88
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00403b88
ret