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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6b2a70
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x14
cmp eax, 7
push esi
mov esi, ecx
ja case.0x574368.3
jmp dword [eax*4 + 0x5745d8]
call fcn.00581aa0
test eax, eax
je 0x574388
mov edx, dword [eax]
push 0
push str.Fatal_error:
mov ecx, eax
call dword [edx + 8]
jmp 0x57438d
mov eax, str.Fatal_error:
test eax, eax
jne 0x574396
mov eax, 0x8c55f4
mov ecx, dword [0x6e14e0]
push ebx
push edi
push ecx
push 0
push eax
lea ecx, [esp + 0x3c]
call fcn.00570720
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x34], 0
call fcn.005719c0
add esp, 0xc
mov edi, dword [esp + 0x38]
mov eax, dword [eax]
mov edx, dword [esi]
push edi
push eax
mov ecx, esi
mov byte [esp + 0x30], 1
call dword [edx + 0xc]
mov eax, dword [esp + 0x14]
mov ebx, dword [0x6c74ac]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5743ff
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5743ff
push eax
call ebx
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x574423
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x574423
push eax
call ebx
add esp, 4
call fcn.00581aa0
test eax, eax
je 0x57443c
mov edx, dword [eax]
push 0
push str.Program_aborted.
mov ecx, eax
call dword [edx + 8]
jmp 0x574441
mov eax, str.Program_aborted.
mov edx, dword [esi]
push edi
push eax
mov ecx, esi
call dword [edx + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
jmp dword [0x6c7518]
call fcn.00581aa0
test eax, eax
je 0x57446f
mov edx, dword [eax]
push 0
push str.Error:
mov ecx, eax
call dword [edx + 8]
jmp 0x574474
mov eax, str.Error:
test eax, eax
jne 0x57447d
mov eax, 0x8c55f4
mov ecx, dword [0x6e14e0]
push ecx
push 0
push eax
lea ecx, [esp + 0x10]
call fcn.00570720
mov edx, dword [esp + 0x2c]
lea eax, [esp + 4]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x2c], 2
call fcn.005719c0
add esp, 0xc
mov ecx, dword [esp + 0x30]
mov eax, dword [eax]
mov edx, dword [esi]
push ecx
push eax
mov ecx, esi
mov byte [esp + 0x28], 3
call dword [edx + 0xc]
mov ecx, dword [esp + 0x10]
mov esi, dword [0x6c74ac]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x5744e5
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5744e5
push eax
call esi
add esp, 4
mov edx, dword [esp + 4]
jmp 0x574581
call fcn.00581aa0
test eax, eax
je 0x574507
mov edx, dword [eax]
push 0
push str.Warning:
mov ecx, eax
call dword [edx + 8]
jmp 0x57450c
mov eax, str.Warning:
test eax, eax
jne 0x574515
mov eax, 0x8c55f4
mov ecx, dword [0x6e14e0]
push ecx
push 0
push eax
lea ecx, [esp + 0x14]
call fcn.00570720
mov edx, dword [esp + 0x2c]
lea eax, [esp + 8]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x2c], 4
call fcn.005719c0
add esp, 0xc
mov ecx, dword [esp + 0x30]
mov eax, dword [eax]
mov edx, dword [esi]
push ecx
push eax
mov ecx, esi
mov byte [esp + 0x28], 5
call dword [edx + 0xc]
mov ecx, dword [esp + 0x14]
mov esi, dword [0x6c74ac]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x57457d
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x57457d
push eax
call esi
add esp, 4
mov edx, dword [esp + 8]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je case.0x574368.6
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne case.0x574368.6
push eax
call esi
add esp, 4
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
mov al, byte [0x8de230]
test al, al
je case.0x574368.6
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esi]
push ecx
push edx
mov ecx, esi
call dword [eax + 0xc]
mov ecx, dword [esp + 0x18]
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc