Function at 0x414e30
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ce6d5
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x512f80]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push esi
push edi
mov eax, dword [0x512f80]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
mov esi, ecx
mov edi, edx
push eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x2c], edi
call fcn.00455dd0
add esp, 4
xor ebx, ebx
mov dword [esp + 0xf8], ebx
lea ecx, [esp + 0x50]
push 0x51b294
push ecx
mov ecx, 0x4e228c
call fcn.00408aa0
mov byte [esp + 0x100], 1
push esi
push eax
lea edx, [esp + 0xdc]
push edx
call fcn.00408900
add esp, 0x14
mov byte [esp + 0xf8], 3
cmp dword [esp + 0x68], 0x10
jb 0x414edc
mov eax, dword [esp + 0x54]
push eax
call fcn.004606bf
add esp, 4
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], 0
call fcn.00416cd0
mov byte [esp + 0xf8], 4
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x414f0c
call fcn.00483a80
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
mov dword [esp + 0x70], esi
jbe 0x414f1d
call fcn.00483a80
cmp esi, ebx
je 0x4151a7
cmp esi, dword [edi + 8]
jb 0x414f2f
call fcn.00483a80
mov edi, esi
call fcn.00431e70
cmp dword [esi + 0x18], 0x10
mov ebx, eax
mov dword [esp + 0x30], ebx
jb 0x414f47
mov eax, dword [esi + 4]
jmp 0x414f4a
lea eax, [esi + 4]
push 0x4e27d4
push eax
call fcn.00482a90
add esp, 8
test eax, eax
mov dword [esp + 0x34], eax
je 0x4150b5
push eax
lea edx, [esp + 0x54]
push edx
call fcn.004090b0
mov byte [esp + 0x100], 7
push 0x8000
mov dword [esp + 0x44], 0x8000
mov dword [esp + 0x48], 0
call fcn.00481d2d
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [esp + 0x3c], edi
je 0x41510b
mov byte [esp + 0xf8], 0xb
mov eax, ebx
shr eax, 0xf
test ebx, 0x7fff
je 0x414fba
add eax, 1
xor ebx, ebx
test eax, eax
mov dword [esp + 0x14], ebx
jbe 0x41502b
mov dword [esp + 0x2c], eax
mov esi, dword [esp + 0x30]
sub esi, dword [esp + 0x14]
cmp esi, 0x8000
jbe 0x414fdd
mov esi, 0x8000
mov eax, dword [esp + 0x34]
push eax
push 1
push esi
push edi
call fcn.00483204
add esp, 0x10
cmp eax, 1
je 0x415012
push 0x123
push str..SrcBootStrapperUtil.cpp
push str._fread_m_MallocBlockBuffer.get____uLen__1__pFile_____1_
push ecx
call fcn.0042c7e0
add esp, 4
mov ecx, eax
call fcn.0042ca10
push esi
push edi
push ebx
call fcn.004b7d00
add dword [esp + 0x14], esi
sub dword [esp + 0x2c], 1
mov ebx, eax
jne 0x414fc8
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x34]
push ecx
mov byte [esp + 0x58], 1
call fcn.00482b15
add esp, 4
mov ecx, esi
lea edx, [esp + 0x44]
call fcn.00416d40
mov edx, dword [esp + 0x30]
mov dword [eax], edx
mov dword [eax + 4], ebx
mov byte [esp + 0xf8], 7
push edi
call fcn.00481df0
add esp, 4
mov dword [esp + 0x3c], 0
mov byte [esp + 0xf8], 4
mov dword [esp + 0x50], vtable.ScopeGuardImpl1_int____cdecl___struct__iobuf____struct__iobuf__.0
mov byte [esp + 0xf8], 0xc
lea ecx, [esp + 0x50]
call fcn.00407250
mov byte [esp + 0xf8], 4
mov eax, dword [esp + 0x28]
cmp esi, dword [eax + 8]
mov dword [esp + 0x50], vtable.ScopeGuardImplBase.0
jb 0x4150a9
call fcn.00483a80
mov edi, dword [esp + 0x28]
add esi, 0x1c
jmp 0x414f0c
lea ecx, [esp + 0x74]
push esi
push ecx
mov ecx, str.Could_not_open_file
call fcn.004089d0
add esp, 8
mov bl, 5
mov byte [esp + 0xf8], bl
push eax
lea edx, [esp + 0xa4]
push edx
call fcn.0040e3b0
mov byte [esp + 0xf8], 6
mov dword [esp + 0xa0], vtable.common::CRuntimeError.0
mov byte [esp + 0xf8], bl
push 0x5026f0
lea eax, [esp + 0xa4]
push eax
call fcn.00488a7c
lea ecx, [esp + 0x74]
call fcn.0048163e
mov byte [esp + 0xf8], 8
mov eax, 0x4e2b09
mov dword [esp + 0x74], vtable.common::ICloneableException.0
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], 0
mov byte [esp + 0x84], 0
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x415150
sub eax, edx
push eax
push 0x4e2b09
lea ecx, [esp + 0x88]
call fcn.0040e480
mov byte [esp + 0xf8], 9
mov dword [esp + 0x9c], str.CMallocedBlock__:_malloc_failed
mov byte [esp + 0xf8], 0xa
mov dword [esp + 0x74], vtable.common::CRuntimeError.0
mov byte [esp + 0xf8], 7
push 0x5026f0
lea ecx, [esp + 0x78]
push ecx
call fcn.00488a7c
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x4151d6
push str.Non_null_m_pOwnedObj
push ecx
call fcn.0042c7e0
add esp, 4
push eax
mov eax, 0x107
mov ecx, str.u:p4clients_rel_betaprojectscommonmiscThreadSafeCountedPtr.h
mov edx, str.m_pOwnedObj
call fcn.0042ca40
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0xcc]
push eax
call edx
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x415214
push str.Non_null_m_pOwnedObj
push ecx
call fcn.0042c7e0
add esp, 4
push eax
mov eax, 0x107
mov ecx, str.u:p4clients_rel_betaprojectscommonmiscThreadSafeCountedPtr.h
mov edx, str.m_pOwnedObj
call fcn.0042ca40
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push 0
lea edx, [esp + 0xd0]
push edx
lea edx, [esp + 0x28]
push edx
call eax
mov byte [esp + 0xf8], 0xd
mov ecx, dword [esp + 0x48]
mov esi, dword [ecx]
jmp 0x415240
mov eax, dword [esp + 0x48]
cmp esi, eax
je 0x4152ff
mov ecx, dword [esp + 0x20]
test ecx, ecx
lea ebx, [esi + 0xc]
lea edi, [esi + 0x28]
jne 0x415281
push str.Non_null_m_pOwnedObj
push ecx
call fcn.0042c7e0
add esp, 4
push eax
mov eax, 0x107
mov ecx, str.u:p4clients_rel_betaprojectscommonmiscThreadSafeCountedPtr.h
mov edx, str.m_pOwnedObj
call fcn.0042ca40
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 8
push edi
push ebx
call eax
mov ecx, dword [esp + 0x40]
push ecx
mov byte [esp + 0x18], 1
mov byte [esp + 0x19], 0
call fcn.00416ad0
mov dx, word [esp + 0x14]
mov word [eax], dx
cmp byte [esi + 0x31], 0
je 0x4152b5
call fcn.00483a80
jmp 0x415240
mov eax, dword [esi + 8]
cmp byte [eax + 0x31], 0
jne 0x4152df
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x31], 0
jne 0x415240
lea esp, [esp]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x31], 0
je 0x4152d0
jmp 0x415240
mov eax, dword [esi + 4]
cmp byte [eax + 0x31], 0
jne 0x4152f8
cmp esi, dword [eax + 8]
jne 0x4152f8
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x31], 0
je 0x4152e8
mov esi, eax
jmp 0x415240
mov byte [esp + 0xf8], 4
mov eax, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
xor edi, edi
cmp eax, edi
je 0x415343
push eax
call esi
test eax, eax
jne 0x415343
mov eax, dword [esp + 0x24]
push eax
call fcn.004606bf
mov ecx, dword [esp + 0x24]
add esp, 4
cmp ecx, edi
mov dword [esp + 0x24], edi
je 0x41533f
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esp + 0x20], edi
mov byte [esp + 0xf8], 3
lea eax, [esp + 0x44]
call fcn.00417610
mov byte [esp + 0xf8], 0
cmp dword [esp + 0xe4], 0x10
jb 0x415376
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.004606bf
add esp, 4
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], edi
mov byte [esp + 0xd0], 0
mov dword [esp + 0xf8], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x4153cf
push eax
call esi
test eax, eax
jne 0x4153cf
mov edx, dword [esp + 0x1c]
push edx
call fcn.004606bf
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp ecx, edi
mov dword [esp + 0x1c], edi
je 0x4153cb
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0048162f
mov esp, ebp
pop ebp
ret