Function at 0x6c01b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x73229b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
push 0x80
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0x48], ebp
je 0x6c025a
push ebx
push edi
mov ecx, esi
call fcn.006b6d00
mov dword [esi + 0x64], 8
mov dword [esi + 0x60], ebp
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x54], ebp
mov dword [esi + 0x50], 2
mov ecx, dword [0x7de8fc]
mov edx, dword [0x7c55b0]
mov eax, 2
shl eax, cl
mov ecx, dword [0x7c55b8]
and eax, edx
mov edx, 1
shl edx, cl
mov ecx, dword [0x7c55b4]
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x70], ebp
mov dword [esi + 0x74], ebp
and edx, ecx
or eax, edx
mov dword [esi + 0x68], eax
mov dword [esi], 0x74f7a0
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], ebp
jmp 0x6c025c
xor esi, esi
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push edi
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x1c], 0xe
call fcn.006c05d0
cmp eax, ebp
mov dword [esp + 0x1c], eax
jne 0x6c02a2
cmp esi, ebp
je 0x6c028d
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
push 0x24
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebp
je 0x6c02b8
mov dword [eax + 0xc], ebp
mov dword [eax + 0x18], ebp
jmp 0x6c02ba
xor eax, eax
mov dword [esi + 0x7c], eax
mov eax, dword [ebx + 0x24]
lea edx, [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x84]
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x6c02f5
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
call dword [ecx + 0x20]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x54], edx
jmp 0x6c0304
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + eax*4 + 0x4e8]
mov dword [esp + 0x54], ecx
xor ecx, ecx
mov dword [esp + 0x50], ecx
cmp ecx, 0x3c
jge 0x6c0366
mov eax, dword [ebx + 0x24]
push 0x80000
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov ecx, dword [esi + 0x7c]
mov eax, dword [ebx + 0x24]
mov edx, dword [esp + 0x54]
add ecx, 0x20
mov eax, dword [eax]
push ecx
push ebp
push edx
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x24], eax
call dword [edx + 0x30]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, dword [ebx + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push ecx
call dword [eax + 0x68]
mov ecx, dword [esp + 0x50]
xor ebp, ebp
inc ecx
cmp ecx, 0x3c
mov dword [esp + 0x50], ecx
jge 0x6c03f2
cmp eax, ebp
jne 0x6c030a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x2c]
mov ecx, dword [esi + 0x7c]
mov dword [ecx], eax
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x30]
mov ecx, dword [esi + 0x7c]
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x7c]
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov dword [edx + 8], eax
mov edx, dword [esi]
call dword [edx + 0x18]
mov ecx, dword [esi + 0x7c]
mov dword [ecx + 0x10], eax
mov edx, dword [esi + 0x7c]
mov eax, dword [edx + 0x10]
cmp eax, ebp
je 0x6c03a6
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax + 0x10]
add eax, 0x14
push eax
push ebp
mov edx, dword [ecx]
push ecx
call dword [edx + 0x3c]
cmp eax, ebp
je 0x6c0423
push eax
call fcn.006c20a0
push eax
push str.NiDX8Renderer::CreateRenderedTextureRendererData__FAILED__GetSurfaceLevel____s
call fcn.006e9a00
mov eax, dword [esi + 0x7c]
add esp, 0xc
mov ecx, esi
mov dword [eax + 0x14], ebp
mov edx, dword [esi]
push 1
call dword [edx]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
cmp eax, ebp
je 0x6c0366
push eax
call fcn.006c20a0
push eax
push str.NiDX8RenderedTextureData::CreateDepthStencilSurface__Failed_CreateImageSurface____s
call fcn.006e9a00
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
mov edi, dword [esi + 0x7c]
add edi, 0x18
mov ecx, dword [edi]
cmp ecx, ebp
je 0x6c0440
mov eax, dword [ecx + 4]
dec eax
mov dword [ecx + 4], eax
jne 0x6c043e
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi], ebp
mov ecx, dword [esi + 0x7c]
mov dword [ecx + 0x1c], ebp
mov eax, dword [esi + 8]
add eax, 0x20
mov ecx, dword [eax]
cmp ecx, ebp
je 0x6c045c
lea eax, [ecx + 4]
mov ecx, dword [ecx + 4]
cmp ecx, ebp
jne 0x6c0452
mov ecx, dword [esp + 0x40]
mov dword [eax], esi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret