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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007e736
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 8]
push edi
call fcn.1000bfd0
lea eax, [edi + 0x18]
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x18]
push eax
call fcn.1000bfd0
lea eax, [edi + 0x30]
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x30]
push eax
call fcn.10039950
lea eax, [edi + 0x38]
mov byte [ebp - 4], 2
lea ecx, [ebx + 0x38]
push eax
call fcn.1000bfd0
lea eax, [edi + 0x50]
mov byte [ebp - 4], 3
lea ecx, [ebx + 0x50]
push eax
call fcn.1000bfd0
mov eax, dword [edi + 0x68]
lea ecx, [ebx + 0x6c]
mov dword [ebx + 0x68], eax
lea eax, [edi + 0x6c]
push eax
mov byte [ebp - 4], 4
call fcn.1000bfd0
mov eax, dword [edi + 0x84]
lea ecx, [ebx + 0x88]
mov dword [ebx + 0x84], eax
lea eax, [edi + 0x88]
push eax
mov byte [ebp - 4], 5
call fcn.1000bfd0
lea eax, [edi + 0xa0]
mov byte [ebp - 4], 6
lea ecx, [ebx + 0xa0]
push eax
call fcn.1000bfd0
lea esi, [ebx + 0xb8]
mov byte [ebp - 4], 7
push 0x40
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.100568ab
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push eax
mov eax, dword [edi + 0xb8]
mov ecx, esi
mov byte [ebp - 4], 8
push dword [eax + 4]
call fcn.1002ea80
mov ecx, dword [esi]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0xbc]
mov dword [esi + 4], eax
mov esi, dword [esi]
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x1003b940
mov ecx, dword [edx]
cmp byte [ecx + 0xd], 0
jne 0x1003b91c
nop word [eax + eax]
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1003b910
mov dword [esi], edx
mov edx, dword [ebx + 0xb8]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x1003b93b
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x1003b930
mov dword [edx + 8], ecx
jmp 0x1003b94b
mov dword [esi], esi
mov eax, dword [ebx + 0xb8]
mov dword [eax + 8], eax
lea esi, [ebx + 0xc0]
mov byte [ebp - 4], 9
push 0x88
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.100568ab
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push eax
mov eax, dword [edi + 0xc0]
mov ecx, esi
mov byte [ebp - 4], 0xa
push dword [eax + 4]
call fcn.1002e940
mov ecx, dword [esi]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0xc4]
mov dword [esi + 4], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
cmp byte [edx + 0xd], 0
jne 0x1003b9f0
mov ecx, dword [edx]
cmp byte [ecx + 0xd], 0
jne 0x1003b9ce
nop dword [eax + eax]
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1003b9c0
mov eax, dword [esi]
mov dword [eax], edx
mov edx, dword [esi]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x1003b9eb
nop
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x1003b9e0
mov dword [edx + 8], ecx
jmp 0x1003b9f7
mov dword [eax], eax
mov eax, dword [esi]
mov dword [eax + 8], eax
mov dword [ebx + 0xc8], 0
mov dword [ebx + 0xcc], 0
mov dword [ebx + 0xd0], 0
mov eax, dword [edi + 0xcc]
sub eax, dword [edi + 0xc8]
sar eax, 3
mov byte [ebp - 4], 0xb
test eax, eax
je 0x1003bac9
cmp eax, 0x1fffffff
ja 0x1003bc46
lea esi, [eax*8]
test esi, esi
jne 0x1003ba4a
xor eax, eax
jmp 0x1003ba84
cmp esi, 0x1000
jb 0x1003ba7b
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x1003bc4b
push eax
call fcn.100568ab
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1003bc50
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x1003ba84
push esi
call fcn.100568ab
add esp, 4
mov dword [ebx + 0xc8], eax
mov dword [ebx + 0xcc], eax
add eax, esi
mov dword [ebx + 0xd0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebx + 0xc8]
mov esi, dword [eax + 0xcc]
mov eax, dword [eax + 0xc8]
sub esi, eax
push esi
push eax
push edi
call fcn.10058100
add esp, 0xc
sar esi, 3
lea eax, [edi + esi*8]
mov edi, dword [ebp + 8]
mov dword [ebx + 0xcc], eax
lea eax, [edi + 0xd4]
mov byte [ebp - 4], 0xc
lea ecx, [ebx + 0xd4]
push eax
call fcn.10039820
mov eax, dword [edi + 0x10c]
lea esi, [ebx + 0x10c]
mov dword [esi], eax
push 0x38
mov byte [ebp - 4], 0xd
mov dword [ebp + 8], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100568ab
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [edi + 0x124]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x128]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x11c]
sub eax, dword [edi + 0x118]
push dword [esi + 4]
sar eax, 2
push eax
mov byte [ebp - 4], 0xf
call fcn.10042d70
mov eax, dword [edi + 0x110]
mov ecx, esi
push eax
push dword [eax]
call fcn.10030770
lea esi, [ebx + 0x130]
mov dword [esi + 0x24], 0
mov dword [ebp + 8], esi
mov ecx, dword [edi + 0x154]
mov byte [ebp - 4], 0x11
test ecx, ecx
je 0x1003bb8f
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
lea esi, [ebx + 0x158]
mov dword [esi + 0x24], 0
mov dword [ebp + 8], esi
mov ecx, dword [edi + 0x17c]
mov byte [ebp - 4], 0x13
test ecx, ecx
je 0x1003bbb5
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
lea esi, [ebx + 0x180]
mov dword [esi + 0x24], 0
mov dword [ebp + 8], esi
mov ecx, dword [edi + 0x1a4]
mov byte [ebp - 4], 0x15
test ecx, ecx
je 0x1003bbdb
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x1a8]
lea esi, [ebx + 0x1b0]
mov dword [ebx + 0x1a8], eax
mov eax, dword [edi + 0x1ac]
mov dword [ebx + 0x1ac], eax
mov dword [ebp + 8], esi
mov dword [esi + 0x24], 0
mov ecx, dword [edi + 0x1d4]
mov byte [ebp - 4], 0x17
test ecx, ecx
je 0x1003bc19
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [edi + 0x1d8]
mov ecx, dword [ebp - 0xc]
mov byte [ebx + 0x1d8], al
mov eax, dword [edi + 0x1dc]
pop edi
mov dword [ebx + 0x1dc], eax
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.100045b0
call fcn.10004580
call fcn.1005bb75
int3