Function at 0x6626bc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, edx
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, eax
mov eax, dword [edi + 8]
mov dword [eax + 0x48], 0xffffffff
lea ecx, [ebp - 0x50]
lea edx, [ebp - 0x10]
mov eax, dword [edi + 4]
call fcn.00561280
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0xc]
add dword [ebp - 0xc], eax
mov eax, dword [edi + 8]
mov cl, 1
lea edx, [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0x3c]
mov ebx, dword [edi + 8]
mov dword [ebx + 0x44], eax
mov eax, dword [edi + 8]
mov edx, dword [eax + 0x44]
mov eax, ebx
call fcn.0065d974
mov dword [ebp - 0x20], eax
mov dl, 1
mov eax, dword [0x541c40]
call fcn.0054ab84
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x6628c1
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 7
mov eax, dword [ebp - 0x14]
call fcn.0054c7fc
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
mov eax, dword [ebp - 0x14]
call fcn.0054b4b8
mov eax, dword [eax + 0x48]
mov edx, 0xff00000f
call fcn.00544a74
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040f364
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0054b4b8
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [edi + 4]
mov si, 0xffc6
call fcn.00407eb8
test al, al
je 0x6627c2
mov eax, dword [edi + 4]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x148]
mov esi, eax
jmp 0x6627c4
xor esi, esi
mov eax, dword [ebp - 0x14]
call fcn.0054b4b8
mov ebx, eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebp - 0x20]
add ecx, dword [eax + 0x18]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.0040f364
mov eax, esi
neg eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push esi
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x48]
mov edx, ebx
mov ebx, dword [eax]
call dword [ebx + 0x48]
mov eax, dword [edi + 4]
mov si, 0xffc6
call fcn.00407eb8
test al, al
je 0x662855
mov eax, dword [edi + 4]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x148]
mov ebx, eax
mov eax, dword [ebp - 0x20]
call fcn.0065bec0
add ebx, eax
mov eax, ebx
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x30]
mov eax, dword [edi + 4]
call fcn.0056114c
jmp 0x662873
mov eax, dword [ebp - 0x20]
call fcn.0065bec0
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x38]
mov eax, dword [edi + 4]
call fcn.0056114c
mov eax, dword [edi + 0xc]
sub dword [ebp - 0x18], eax
test byte [edi + 0x15], 0x40
je 0x662888
mov eax, dword [edi + 0x50]
mov byte [eax + 0x28], 1
jmp 0x66288f
mov eax, dword [edi + 0x50]
mov byte [eax + 0x28], 0
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [edi + 0x50]
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.0065b5cc
mov eax, dword [edi + 0x50]
call fcn.0065bba8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6628c8
mov eax, dword [ebp - 0x14]
call fcn.00407bf8
ret