Function at 0x10025640
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042b4f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10057034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push dword [ebp + 8]
mov dword [ebp - 4], 0
call fcn.1000213f
push dword [ebp + 0xc]
lea ecx, [ebx + 0x18]
mov byte [ebp - 4], 1
call fcn.1000213f
push dword [ebp + 0x10]
lea ecx, [ebx + 0x30]
mov byte [ebp - 4], 2
call fcn.1000213f
push dword [ebp + 0x14]
lea ecx, [ebx + 0x48]
mov byte [ebp - 4], 3
call fcn.10001ba9
lea edi, [ebx + 0x60]
mov byte [ebp - 4], 4
mov dword [ebp + 8], edi
push 0x40
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.100024a0
mov esi, eax
lea eax, [ebp + 8]
push eax
push esi
mov dword [ebp + 8], esi
call fcn.100022c5
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 4]
push ecx
call fcn.100022c5
lea eax, [ebp + 8]
push eax
lea eax, [esi + 8]
push eax
call fcn.100022c5
mov word [esi + 0xc], 0x101
add esp, 0x1c
mov dword [edi], esi
push dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 5
push esi
mov esi, dword [ebp + 0x18]
mov eax, dword [esi]
push dword [eax + 4]
call fcn.100020ea
mov ecx, dword [edi]
mov dword [ecx + 4], eax
mov eax, dword [esi + 4]
mov esi, dword [edi]
mov dword [edi + 4], eax
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x10025762
mov ecx, dword [edx]
cmp byte [ecx + 0xd], 0
jne 0x10025742
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10025736
mov dword [esi], edx
mov edx, dword [edi]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x1002575d
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x10025752
mov dword [edx + 8], ecx
jmp 0x10025769
mov dword [esi], esi
mov eax, dword [edi]
mov dword [eax + 8], eax
mov eax, dword [ebp + 0x1c]
lea edi, [ebx + 0x68]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov byte [ebp - 4], 6
mov dword [ebp + 0xc], edx
mov dword [ebp + 8], eax
cmp edx, eax
je 0x100257e7
mov ecx, eax
mov eax, 0x2aaaaaab
sub ecx, edx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xaaaaaaa
ja 0x10025890
lea esi, [eax + eax*2]
shl esi, 3
push esi
call fcn.100024a0
mov dword [edi], eax
mov dword [edi + 4], eax
add eax, esi
mov dword [edi + 8], eax
mov dword [ebp + 0x10], edi
push edi
push dword [edi]
mov byte [ebp - 4], 7
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.10001c9e
add esp, 0x14
mov dword [edi + 4], eax
mov ecx, dword [ebp + 0x20]
lea edi, [ebx + 0x74]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov byte [ebp - 4], 8
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], ecx
cmp eax, ecx
je 0x1002585f
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xaaaaaaa
ja 0x10025890
lea esi, [eax + eax*2]
shl esi, 3
push esi
call fcn.100024a0
mov dword [edi], eax
mov dword [edi + 4], eax
add eax, esi
mov dword [edi + 8], eax
mov dword [ebp + 0x10], edi
push edi
push dword [edi]
mov byte [ebp - 4], 9
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.10002711
add esp, 0x14
mov dword [edi + 4], eax
push dword [ebp + 0x24]
lea ecx, [ebx + 0x80]
mov byte [ebp - 4], 0xa
call fcn.10001046
mov eax, dword [ebp + 0x28]
mov dword [ebx + 0x98], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
call fcn.100020a4
int3