Function at 0xa70de0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xbddde3
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0xc416ec]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
mov eax, dword [0xc416ec]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x40], ebx
mov esi, dword [edi + 0xc]
mov eax, dword [eax + 0x80]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x28], eax
cmp esi, 1
je 0xa70e53
push 3
push eax
mov esi, edi
mov dword [esp + 0x24], ebx
call fcn.00a5bdc0
jmp 0xa70fd7
mov eax, dword [edi + 0x18]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0xa70e66
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0xa70e6f
mov ecx, dword [ecx + 0x5c]
jmp 0xa70e92
add ecx, 0x38
lea ebx, [esp + 0x14]
lea eax, [esp + 0x24]
call fcn.00a71fa0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov ecx, dword [esp + 0x24]
xor ebx, ebx
cmp ecx, eax
je 0xa70e96
mov ecx, dword [ecx + 0x10]
cmp ecx, ebx
jne 0xa70eb0
mov ecx, dword [esp + 0x28]
push 4
push ecx
mov ecx, dword [ebp + 8]
mov esi, edi
mov dword [esp + 0x24], ebx
call fcn.00a5bdc0
jmp 0xa70fd7
cmp esi, 1
jne 0xa70ecc
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
or dword [edi + 0x28], 0xe
mov dword [edi + 0xc], 2
mov dword [edi + 0x14], ecx
mov dword [edi + 0x10], eax
or dword [edi + 0x28], 0x40
cmp dword [edi + 0x20], ebx
jne 0xa70f00
push 0x130
call fcn.00b68a50
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x40], 2
cmp eax, ebx
je 0xa70ef7
push eax
call fcn.00a53050
jmp 0xa70ef9
xor eax, eax
mov byte [esp + 0x40], bl
mov dword [edi + 0x20], eax
mov ecx, dword [edi + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x2c], ecx
call eax
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0xc]
mov dword [esp + 0x14], ebx
sar eax, 2
mov dword [esp + 0x20], eax
cmp eax, ebx
jbe 0xa70fc6
jmp 0xa70f34
mov ebp, dword [esp + 0x30]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edx*4]
mov ebp, dword [ebp + 8]
mov dword [esp + 0x24], eax
lea ecx, [ebp + 0x18]
lea ebx, [esp + 0x24]
lea eax, [esp + 0x18]
call fcn.00a71fa0
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebp + 0x1c]
je 0xa70f63
mov esi, dword [ecx + 0x10]
jmp 0xa70f65
xor esi, esi
mov eax, ebp
call fcn.00a58a00
test al, al
je 0xa70fb1
mov ebp, dword [esp + 0x2c]
mov eax, ebp
call fcn.00a35f40
mov ebx, eax
cmp esi, ebx
je 0xa70f92
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
push esi
mov ecx, ebx
call fcn.00a4de10
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], eax
jne 0xa70fa4
inc eax
push eax
lea eax, [ebp + 0x18]
call fcn.00a57c30
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov byte [ecx + edx], 1
inc dword [ebp + 0x1c]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x20]
jb 0xa70f30
xor ebx, ebx
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov edx, dword [eax]
push edi
mov dword [esp + 0x20], ebx
call edx
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00b68a41
add esp, 0x34
ret 8