Function at 0x12e8dd30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x130624f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 1
lea eax, [esi + 0x1c]
lea ecx, [esp + 0x18]
push eax
call fcn.12f56170
mov edi, dword [esp + 0x30]
mov ebx, dword [esi + 8]
xor edx, edx
mov ecx, dword [esi + 4]
mov eax, dword [edi]
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], eax
shr eax, 4
div ebx
test ecx, ecx
mov ebp, edx
je 0x12e8dda6
mov eax, dword [ecx + ebp*4]
test eax, eax
je 0x12e8dda2
mov edx, dword [esp + 0x10]
cmp dword [eax + 8], edx
je 0x12e8dd9a
mov eax, dword [eax]
test eax, eax
jne 0x12e8dd89
jmp 0x12e8dda2
test eax, eax
jne 0x12e8de4e
test ecx, ecx
jne 0x12e8ddd2
lea edi, [ebx*4]
push edi
call fcn.12f5c05b
mov edx, eax
mov ecx, edi
mov dword [esi + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [esi + 8], ebx
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x12e8de09
mov eax, dword [esi + 0x18]
push 0x50
lea ecx, [esi + 0x14]
push eax
push ecx
call fcn.12f54aa0
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*4]
shl edx, 4
dec ecx
test ecx, ecx
lea eax, [edx + eax - 0x48]
jl 0x12e8de09
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x50
dec ecx
jne 0x12e8ddfb
mov edi, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
inc ecx
push 1
mov eax, dword [edi]
lea ebx, [edi + 8]
push ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], ecx
call fcn.12e8f590
lea ecx, [edi + 0xc]
push 1
push ecx
call fcn.12e8f5a0
mov edx, dword [esp + 0x20]
mov dword [edi + 4], ebp
mov dword [ebx], edx
mov ecx, dword [esi + 4]
mov eax, edi
add esp, 0x10
mov edx, dword [ecx + ebp*4]
mov dword [edi], edx
mov ecx, dword [esi + 4]
mov dword [ecx + ebp*4], edi
mov edi, dword [esp + 0x30]
mov edx, dword [edi]
mov dword [eax + 0xc], edx
mov ecx, dword [edi + 4]
mov dword [eax + 0x10], ecx
mov dx, word [edi + 0x18]
mov word [eax + 0x24], dx
mov cx, word [edi + 0x1a]
mov word [eax + 0x26], cx
mov edx, dword [edi + 0x1c]
lea ecx, [edi + 8]
mov dword [eax + 0x28], edx
lea edx, [eax + 0x14]
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [edi + 0x20]
mov dword [eax + 0x2c], edx
mov cx, word [edi + 0x34]
mov word [eax + 0x40], cx
mov dx, word [edi + 0x36]
mov word [eax + 0x42], dx
mov ecx, dword [edi + 0x38]
lea edx, [edi + 0x24]
mov dword [eax + 0x44], ecx
lea ecx, [eax + 0x30]
mov esi, dword [edx]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov cx, word [edi + 0x3c]
mov word [eax + 0x48], cx
mov dx, word [edi + 0x3e]
mov word [eax + 0x4a], dx
mov ecx, dword [edi + 0x40]
mov dword [eax + 0x4c], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.12f561d0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4