Function at 0x744f44
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x745415
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x745223
cmp dword [ebp - 8], 1
jne 0x744fbb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov edx, dword [eax]
call dword [edx + 0xc]
dec eax
jle 0x744fbb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x468]
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x468]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x745266
cmp dword [ebp - 8], 2
jne 0x745008
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
mov edx, dword [eax]
call dword [edx + 0xc]
dec eax
jle 0x745008
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x46c]
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
jmp 0x745266
xor eax, eax
push ebp
push 0x7451a8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
call fcn.00625f50
mov byte [eax + 0x30], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 0xc]
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov edx, dword [eax]
call dword [edx + 0x110]
cmp ebx, eax
jg 0x7450b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 8]
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov edx, dword [eax]
call dword [edx + 0x114]
cmp ebx, eax
jg 0x7450b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, dword [eax]
call dword [edx + 0xd0]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov edx, dword [eax]
call dword [edx + 0xd0]
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x28]
jmp 0x745188
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 0xc]
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov edx, dword [eax]
call dword [edx + 0x114]
imul ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 8]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov edx, dword [eax]
call dword [edx + 0x110]
imul esi, eax
cmp ebx, esi
jle 0x74514b
push 0xffffffffffffffff
push 5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov edx, dword [eax]
call dword [edx + 0x110]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov edx, dword [eax]
call dword [edx + 0xd0]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
call fcn.00625f50
pop edx
pop ecx
call fcn.005e0ec0
jmp 0x745188
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov edx, dword [eax]
call dword [edx + 0x114]
push eax
push 5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov edx, dword [eax]
call dword [edx + 0xd0]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
call fcn.00625f50
or ecx, 0xffffffff
pop edx
call fcn.005e0ec0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7451af
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
call fcn.00625f50
mov byte [eax + 0x30], 1
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, dword [eax]
call dword [edx + 0xd0]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov edx, dword [eax]
call dword [edx + 0xd0]
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x470], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x458], 0xffffffff
jne 0x7452a3
mov eax, dword [ebp - 4]
add eax, 0x460
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [ebp - 4]
lea ecx, [edx + 0x45c]
mov edx, dword [ebp - 4]
add edx, 0x458
call fcn.005e12b0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x2f4]
mov byte [ebx + 0x49c], 1
cmp byte [ebp - 9], 0
je 0x74531b
mov eax, ebx
call fcn.0081ba24
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, ebx
call fcn.0061c19c
mov eax, dword [ebp - 4]
fld qword [eax + 0x3e8]
fcomp dword [0x745428]
fnstsw ax
sahf
jbe 0x7452f9
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3e8]
mov dword [ebp - 0x18], edx
mov edx, dword [eax + 0x3ec]
mov dword [ebp - 0x14], edx
jmp 0x745305
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x40590000
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
call fcn.0082212c
jmp 0x745329
push 0x40590000
push 0
mov eax, ebx
call fcn.0061c19c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov edx, dword [eax]
call dword [edx + 0x88]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x2fc]
cmp byte [ebx + 0x57], 0
je 0x7453ae
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 0xc]
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 0xc]
cmp ebx, eax
je 0x7453ae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov edx, dword [eax]
call dword [edx + 0xd0]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov edx, dword [eax]
call dword [edx + 0xd0]
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov edx, dword [eax]
call dword [edx + 0x88]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x465], 0
je 0x7453ff
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x2f4]
mov eax, ebx
call fcn.0061d608
fadd dword [0x74542c]
fcomp qword [ebx + 0x3f0]
fnstsw ax
sahf
jb 0x7453ed
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
xor edx, edx
call fcn.00629bc0
jmp 0x7453ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov dx, 0x4c9
call fcn.00629bc0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.007474ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x74541f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret