Function at 0xd64f50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xe18880
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0xe816ec]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0xe816ec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
cmp dword [ebx + 0xc], eax
jle 0xd65004
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x20]
mov edi, dword [eax + ecx*4]
push 0x12
mov ecx, esi
mov dword [esp + 0x18], edi
call fcn.00d4ba00
mov edx, dword [edi]
mov eax, dword [edx + 0x2c]
mov ecx, edi
call eax
mov edi, eax
push edi
mov ecx, esi
call fcn.00d4ba00
mov eax, dword [esi + 8]
cmp eax, edi
jl 0xd64fea
mov edx, dword [esi + 4]
sub eax, edi
lea ecx, [edx + edi]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
test edx, edx
je 0xd64fea
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 0x28]
jmp 0xd64ff4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
push esi
call edx
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [ebx + 0xc]
jl 0xd64f9b
mov eax, dword [ebx + 0x54]
shr eax, 1
test al, 1
je 0xd65035
mov edi, dword [ebx + 0x28]
push 0x1a
mov ecx, esi
call fcn.00d4ba00
mov ecx, dword [edi + 0x10]
push ecx
mov ecx, esi
call fcn.00d4ba00
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0xd6502f
mov edi, dword [edi]
push edi
call fcn.00d4b880
mov edx, dword [ebx + 0x54]
shr edx, 2
test dl, 1
je 0xd65060
mov eax, dword [ebx + 0x34]
mov edi, dword [ebx + 0x30]
push 0x20
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00d4ba00
mov ecx, dword [esp + 0x18]
push ecx
push edi
mov ecx, esi
call fcn.00d4bbf0
mov edx, dword [ebx + 0x54]
shr edx, 3
test dl, 1
je 0xd6508b
mov eax, dword [ebx + 0x3c]
mov edi, dword [ebx + 0x38]
push 0x28
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00d4ba00
mov ecx, dword [esp + 0x18]
push ecx
push edi
mov ecx, esi
call fcn.00d4bbf0
mov edx, dword [ebx + 0x54]
shr edx, 4
test dl, 1
je 0xd650ea
fld qword [ebx + 0x40]
push 0x31
mov ecx, esi
fstp qword [esp + 0x18]
call fcn.00d4ba00
fld qword [esp + 0x14]
mov eax, 8
fstp qword [esp + 0x14]
cmp dword [esi + 8], eax
setae cl
test cl, cl
je 0xd650c2
mov edx, dword [esi + 4]
jmp 0xd650c6
lea edx, [esp + 0x20]
mov edi, dword [esp + 0x14]
mov dword [edx], edi
mov edi, dword [esp + 0x18]
mov dword [edx + 4], edi
test cl, cl
je 0xd650e0
add dword [esi + 4], eax
add dword [esi + 8], 0xfffffff8
jmp 0xd650ea
lea ecx, [esp + 0x20]
push ecx
call fcn.00d4b880
mov edx, dword [ebx + 0x54]
shr edx, 5
test dl, 1
je 0xd6511d
mov edi, dword [ebx + 0x48]
push 0x3a
mov ecx, esi
call fcn.00d4ba00
mov eax, dword [edi + 0x10]
push eax
mov ecx, esi
call fcn.00d4ba00
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0xd65117
mov edi, dword [edi]
push edi
call fcn.00d4b880
mov ecx, dword [ebx + 0x54]
shr ecx, 6
test cl, 1
je 0xd65150
mov edi, dword [ebx + 0x4c]
push 0x42
mov ecx, esi
call fcn.00d4ba00
mov edx, dword [edi + 0x10]
push edx
mov ecx, esi
call fcn.00d4ba00
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0xd6514a
mov edi, dword [edi]
push edi
call fcn.00d4b880
mov eax, dword [ebx + 4]
add ebx, 4
test eax, eax
je 0xd6516b
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0xd6516b
push esi
push ebx
call fcn.00d45560
add esp, 8
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00da8a41
mov esp, ebp
pop ebp
ret 4