Function at 0x100107d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10015cb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 8], edi
call fcn.1000fb9e
mov eax, dword [edi + 0x38]
lea esi, [edi + 0x34]
test eax, eax
mov dword [esp + 0x20], 0
je 0x10010874
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 0x80
jb 0x10010874
push 0x80
lea ecx, [esp + 0x10]
push str.Too_many_level_of_include____d_
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x18]
mov edx, dword [edi]
add esp, 0xc
mov ecx, edi
push eax
call dword [edx + 0x3c]
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
push ebx
push ebp
lea ebp, [edi + 0x54]
mov ecx, edi
push ebp
call fcn.10010aa0
mov eax, dword [edi + 0x58]
test eax, eax
je 0x10010a44
mov ecx, dword [esi + 8]
mov ebx, dword [esi + 0xc]
sub ebx, ecx
mov eax, 0x92492493
imul ebx
add edx, ebx
mov edi, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x100109af
mov ebp, dword [esi + 4]
test ebp, ebp
je 0x100108d7
mov ebx, ecx
mov eax, 0x92492493
sub ebx, ebp
imul ebx
add edx, ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
mov ebx, edx
ja 0x100108dc
mov ebx, 1
test ebp, ebp
jne 0x100108e4
xor edx, edx
jmp 0x100108f9
sub ecx, ebp
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea eax, [edx + ebx]
test eax, eax
mov dword [esp + 0x18], eax
jge 0x10010906
xor eax, eax
lea edx, [eax*8]
sub edx, eax
shl edx, 2
push edx
call sub.MFC42.DLL_operatornew
mov ebp, dword [esi + 4]
add esp, 4
cmp ebp, edi
mov dword [esp + 0x1c], eax
mov ebx, eax
je 0x1001093c
push ebp
push ebx
call fcn.100116b0
add ebp, 0x1c
add esp, 8
add ebx, 0x1c
cmp ebp, edi
jne 0x10010928
mov eax, dword [esp + 0x10]
mov ecx, esi
add eax, 0x54
push eax
push 1
push ebx
call fcn.100115c0
mov ecx, dword [esi + 8]
add ebx, 0x1c
push ebx
push ecx
push edi
mov ecx, esi
call fcn.10011580
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, esi
call fcn.10011550
mov eax, dword [esi + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
add esp, 4
lea ecx, [eax*8]
sub ecx, eax
lea edx, [edi + ecx*4]
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.10011520
inc eax
mov dword [esi + 4], edi
lea ecx, [eax*8]
sub ecx, eax
lea edx, [edi + ecx*4]
mov dword [esi + 8], edx
jmp 0x10010a40
mov ebx, ecx
mov eax, 0x92492493
sub ebx, edi
imul ebx
add edx, ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x10010a13
lea edx, [edi + 0x1c]
push edx
push ecx
push edi
mov ecx, esi
call fcn.10011580
mov ebx, dword [esi + 8]
mov eax, 0x92492493
mov ecx, ebx
push ebp
sub ecx, edi
imul ecx
add edx, ecx
mov ecx, 1
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
sub ecx, edx
push ecx
push ebx
mov ecx, esi
call fcn.100115c0
mov edx, dword [esi + 8]
push ebp
push edx
push edi
call fcn.100115f0
add esp, 0xc
jmp 0x10010a3c
push ecx
push ecx
add ecx, 0xffffffe4
push ecx
mov ecx, esi
call fcn.10011580
mov eax, dword [esi + 8]
push eax
add eax, 0xffffffe4
push eax
push edi
call fcn.10011650
lea eax, [edi + 0x1c]
push ebp
push eax
push edi
call fcn.100115f0
add esp, 0x18
add dword [esi + 8], 0x1c
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
pop ebp
pop ebx
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x10010a64
mov eax, dword [esi + 4]
mov edx, dword [edi]
push 0x4000
push eax
mov ecx, edi
call dword [edx + 8]
mov dword [esi + 0x18], eax
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx + 0x30]
lea ecx, [esp + 0xc]
mov dword [edi + 0x9c], 1
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 4