Function at 0x671510
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x671518
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x20], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x671d72
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x671404]
call fcn.00409b50
mov dword [ebp - 0x28], eax
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x671552
sub edx, 0xfffffff8
call fcn.00410b28
mov eax, dword [ebp - 0x28]
mov dword [eax + 0xc], ebx
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x671567
sub edx, 0xffffffec
xor eax, eax
call fcn.004b1378
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax + 0xc]
lea eax, [ebx + 0xe4]
mov edx, dword [ebx + 0xe0]
call fcn.0040bd94
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
xor edx, edx
mov dword [eax + 0x110], edx
mov edx, 0xc
call fcn.00673b64
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax + 0xc]
cmp dword [ebx + 0x80], 0
je 0x6715bf
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x80]
mov eax, ebx
call fcn.00676060
mov eax, dword [ebp - 0x20]
mov byte [eax], 0
call fcn.0042d2b0
fstp qword [ebp - 0x30]
wait
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
lea edx, [ebp - 0xc]
mov eax, dword [0x6bfeb0]
call fcn.0042e298
call fcn.0042d2dc
fstp qword [ebp - 0x38]
wait
push dword [ebp - 0x34]
push dword [ebp - 0x38]
lea edx, [ebp - 0x10]
mov eax, dword [0x6bfeb0]
call fcn.0042e2bc
push dword [ebp - 0xc]
push 0x671d90
push dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040cb94
movzx eax, byte [0x671d94]
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x671da4
mov edx, 0x671db4
mov eax, dword [ebp - 4]
call fcn.00432ee8
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 4]
call fcn.0040bddc
movzx eax, byte [0x671d94]
push eax
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x671da4
mov edx, 0x671dc4
mov eax, dword [ebp - 4]
call fcn.00432ee8
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 4]
call fcn.0040bddc
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov eax, dword [0x6bf744]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x671771
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x1869f
call fcn.00407cd4
lea edx, [ebp - 0x18]
call fcn.0042a094
call fcn.0042d2b0
fstp qword [ebp - 0x40]
wait
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
lea edx, [ebp - 0x14]
mov eax, dword [0x6bfeb0]
call fcn.0042e298
call fcn.0042d2dc
fstp qword [ebp - 0x48]
wait
push dword [ebp - 0x44]
push dword [ebp - 0x48]
lea edx, [ebp - 0x1c]
mov eax, dword [0x6bfeb0]
call fcn.0042e2bc
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
mov eax, 0x1869f
call fcn.00407cd4
lea edx, [ebp - 0x54]
call fcn.0042a094
push dword [ebp - 0x54]
mov eax, 0x1869f
call fcn.00407cd4
lea edx, [ebp - 0x58]
call fcn.0042a094
push dword [ebp - 0x58]
mov eax, 0x1869f
call fcn.00407cd4
lea edx, [ebp - 0x5c]
call fcn.0042a094
push dword [ebp - 0x5c]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
add eax, 0x28
mov edx, 6
call fcn.0040cb94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x671778
lea eax, [ebp - 0x18]
call fcn.0040b9a4
pop eax
jmp eax