Function at 0x6381d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a6d58
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x71a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x44]
lea ecx, [ebx + 0x44]
call dword [eax + 0x1c]
mov edx, dword [ebx + 0x44]
lea ecx, [ebx + 0x44]
mov esi, eax
call dword [edx + 0xc]
imul esi, eax
lea ecx, [ebx + 0x44]
mov eax, dword [ebx + 0x2c]
shr esi, 3
imul eax, esi
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x44]
call dword [eax + 0x1c]
mov edx, dword [ebx + 0x44]
lea ecx, [ebx + 0x44]
mov esi, eax
call dword [edx + 0xc]
mov edi, dword [ebx + 0x30]
imul esi, eax
mov eax, dword [ebx + 0x84]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x8c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x94]
push 1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push 0
push eax
shr esi, 3
push 3
imul edi, esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x638276
xor al, al
jmp 0x6383c8
cmp eax, 1
jne 0x63828b
mov ecx, ebx
call fcn.00638800
test al, al
jne 0x63829f
jmp 0x6383c6
cmp eax, 2
jne 0x63829f
mov ecx, ebx
call fcn.006388d0
test al, al
je 0x6383c6
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x40]
call eax
test al, al
je 0x6382be
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
call dword [eax]
sub eax, dword [ebx + 0x3c]
mov dword [ebx + 0x40], eax
jmp 0x6383c6
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
mov ecx, ebx
call fcn.00638ac0
test al, al
je 0x6383c6
mov eax, dword [ebx + 0x10]
mov esi, dword [ebp - 0x20]
shr eax, 1
cmp esi, eax
jae 0x6382f5
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x6382f5
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x6c], 0
mov eax, dword [ebx + 0x68]
add eax, esi
js 0x638327
lea eax, [ebx + 0xa0]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00610530
mov eax, dword [ebx + 0x68]
add eax, esi
mov dword [ebx + 0x34], eax
cmp eax, edi
jbe 0x63831f
sub eax, edi
add eax, dword [ebp - 0x24]
mov dword [ebx + 0x34], eax
lea ecx, [ebp - 0x3c]
call fcn.006105a0
mov ecx, dword [ebx + 0x64]
test ecx, ecx
jne 0x63833b
mov eax, dword [ebx + 0x10]
shr eax, 1
cmp esi, eax
jb 0x6383c6
cmp ecx, 1
jne 0x638349
mov eax, dword [ebx + 0x10]
shr eax, 1
cmp esi, eax
jae 0x6383c6
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov esi, eax
cmp esi, 0xffffffff
je 0x63826f
lea eax, [ebx + 0xa8]
push eax
lea ecx, [ebp - 0x30]
call fcn.00610530
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x24]
test eax, eax
jle 0x63838c
cmp dword [ebx + 0x28], eax
jl 0x63838c
lea ecx, [ebp - 0x30]
xor bl, bl
call fcn.006105a0
mov al, bl
jmp 0x6383c8
mov ecx, ebx
call fcn.00638560
test al, al
jne 0x6383a5
lea ecx, [ebp - 0x30]
mov bl, 1
call fcn.006105a0
mov al, bl
jmp 0x6383c8
lea ecx, [ebp - 0x30]
call fcn.006105a0
cmp dword [ebx + 0x64], 0
jne 0x6383bf
mov dword [ebx + 0x6c], esi
mov dword [ebx + 0x64], 1
jmp 0x6383c6
mov dword [ebx + 0x64], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066bc45
mov esp, ebp
pop ebp
ret