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

Disassembly:
push 0xffffffffffffffff
push 0x437988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push esi
push edi
mov ebp, ecx
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], esi
call fcn.0042f0b3
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 1
call fcn.00429f72
mov edi, vtable.CFileException.0
mov dword [esp + 0x28], edi
call fcn.0042df63
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0xffffffff
call fcn.00403340
lea eax, [esp + 0x28]
push eax
push esi
mov esi, dword [esp + 0x54]
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], 3
call fcn.0042f34b
test eax, eax
je 0x412038
lea ecx, [esp + 0x18]
call fcn.0042efab
mov edi, eax
lea ecx, [edi + 1]
push ecx
call fcn.00429fca
add esp, 4
mov esi, eax
push edi
push esi
lea ecx, [esp + 0x20]
call fcn.0042edc6
lea ecx, [esp + 0x18]
mov byte [esi + edi], 0
call fcn.0042f051
push esi
lea ecx, [esp + 0x14]
call fcn.004048f0
push esi
mov byte [esp + 0x48], 4
call fcn.00429fcf
mov eax, dword [esp + 0x14]
add esp, 4
push 0
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00401260
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [esi], eax
call fcn.00411740
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x44], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411fc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x44], 1
mov dword [esp + 0x28], vtable.CFileException.0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411fec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 0
call fcn.0042f0f2
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412020
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x3c
ret 4
mov eax, dword [esp + 0x30]
cmp eax, 2
jne 0x412050
push 0x43cc3c
call fcn.00405a70
add esp, 4
jmp 0x41205e
push eax
push 0x43cc14
call fcn.00405ad0
add esp, 8
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x44], 1
mov dword [esp + 0x28], edi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412085
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 0
call fcn.0042f0f2
lea eax, [esi - 0x10]
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4120b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebp
add esp, 0x3c
ret 4