Function at 0x436dc0
Capabilities:
Access peb ldr_data
Get file size
Get ntdll base address
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ccefb
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x512f80]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x512f80]
xor eax, esp
push eax
lea eax, [esp + 0x104]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x114]
mov esi, ecx
xor ebx, ebx
mov dword [esi], vtable.common::CMultiFieldBlob.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea edi, [esi + 0x18]
mov dword [esi + 0x10], 5
mov dword [esi + 0x14], ebx
mov dword [esp + 0x90], esi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esp + 0x10c], ebx
mov eax, dword [esp + 0x118]
cmp eax, ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], bl
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], 0x50
mov word [esi + 0x80], bx
je 0x436ea5
cmp eax, 1
je 0x436ea5
push str.Valid_m_eMemoryMappedFileAccessMode
push ecx
call fcn.0042c7e0
add esp, 4
push eax
mov eax, 0x43f
mov ecx, str.......CommonMiscMultiFieldBlob.cpp
mov edx, str.m_MemoryMappedFileAccessMode__eReadOnly__m_MemoryMappedFileAccessMode__eReadWrite
call fcn.0042ca40
cmp dword [esi + 0x48], ebx
jne 0x436ed6
cmp dword [esp + 0x11c], ebx
je 0x436ed6
push str.Cannot_request_uMinSizeOfTemporaryGrowthArea_in_ReadOnly_mode
push ecx
call fcn.0042c7e0
add esp, 4
push eax
mov eax, 0x449
mov ecx, str.......CommonMiscMultiFieldBlob.cpp
mov edx, str.____m_MemoryMappedFileAccessMode__eReadOnly____uMinSizeOfTemporaryGrowthArea__0___
call fcn.0042ca40
push ebx
mov ecx, edi
call fcn.0043c0d0
mov eax, dword [esp + 0x118]
cmp eax, 1
jne 0x436f04
mov dword [esp + 0x18], 0xc0000000
mov dword [esp + 0x48], 4
mov dword [esp + 0x44], 2
jmp 0x436f3f
cmp eax, ebx
je 0x436f27
push 0x459
push str.......CommonMiscMultiFieldBlob.cpp
push str.eMemoryMappedFileAccessMode__eReadOnly
push ecx
call fcn.0042c7e0
add esp, 4
mov ecx, eax
call fcn.0042ca10
mov dword [esp + 0x18], closesocket
mov dword [esp + 0x48], 2
mov dword [esp + 0x44], 4
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x80]
push ecx
mov edx, ebp
mov byte [esp + 0x1f], bl
call fcn.0043c870
mov byte [esp + 0x114], 1
lea edx, [esp + 0x9c]
push esi
push edx
call fcn.0043c8d0
add esp, 0x10
mov byte [esp + 0x10c], 2
mov eax, ebp
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x436f90
sub eax, edi
push eax
push ebp
lea ecx, [esp + 0x24]
call fcn.0040e480
mov byte [esp + 0x10c], 3
lea eax, [esp + 0x1c]
call fcn.00431e40
mov byte [esp + 0x16], al
mov byte [esp + 0x10c], 2
cmp dword [esp + 0x34], 0x10
jb 0x436fd7
mov eax, dword [esp + 0x20]
push eax
call fcn.004606bf
add esp, 4
mov ecx, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push 0x80
push 3
push ebx
push ebx
push ecx
push ebp
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call edi
cmp byte [esp + 0x16], bl
mov dword [esi + 0x3c], eax
je 0x4370e3
cmp eax, 0xffffffff
jne 0x4370e3
push 0x3e
mov esi, 0xf
push str.CMultiFieldBlob_mem_mapped_file_:_Failed_to_open_existing_file
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0040e480
mov byte [esp + 0x10c], 4
push ebx
push 2
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0xb0]
push eax
call fcn.00431600
mov byte [esp + 0x10c], 6
mov edi, 0x10
cmp dword [esp + 0x34], edi
jb 0x437073
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004606bf
add esp, 4
cmp dword [esp + 0xe8], edi
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jae 0x437096
lea edx, [esp + 0xd4]
mov eax, edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4370a7
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.0040e480
mov byte [esp + 0x10c], 7
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.00436850
push 0x502c28
lea ecx, [esp + 0x54]
push ecx
call fcn.00488a7c
cmp eax, 0xffffffff
mov dword [esp + 0x4c], ebx
je 0x43726b
push ebx
push eax
mov byte [esp + 0x1e], 1
mov byte [esp + 0x88], 1
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [esi + 0x2c], ebx
mov dword [esi + 0x40], eax
mov dword [esi + 0x28], eax
je 0x43712f
push 0x494
push str.......CommonMiscMultiFieldBlob.cpp
push str.m_uSizeOfUnusedAreaAfterEndOfBlob__0
push ecx
call fcn.0042c7e0
add esp, 4
mov ecx, eax
call fcn.0042ca10
mov eax, dword [esi + 0x40]
cmp eax, 0xffffffff
je 0x43724d
mov edi, 0xa
cmp eax, edi
jb 0x43724d
mov ecx, dword [esi + 0x3c]
push ebx
lea edx, [esp + 0x1c]
push edx
push edi
lea eax, [esp + 0x44]
push eax
push ecx
mov byte [esp + 0x4c], 1
mov byte [esp + 0x4d], 0x50
mov dword [esp + 0x4e], edi
mov dword [esp + 0x52], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43722f
cmp dword [esp + 0x18], edi
jne 0x43722f
cmp byte [esp + 0x38], 1
je 0x4371a7
push str.CMultiFieldBlob_pSerialized_:_Invalid_BinaryFormatCode
lea edx, [esp + 0x54]
push edx
call fcn.004368b0
push 0x502c70
lea eax, [esp + 0x54]
push eax
call fcn.00488a7c
mov ecx, dword [esp + 0x3a]
mov edx, dword [esp + 0x3e]
mov eax, dword [esi + 0x40]
lea edi, [edx + ecx]
mov ebp, eax
sub ebp, edi
jns 0x4371d9
push str.CMultiFieldBlob_mem_mapped_file_:_Bad_blob_header
lea eax, [esp + 0x54]
push eax
call fcn.004368b0
push 0x502c70
lea ecx, [esp + 0x54]
push ecx
call fcn.00488a7c
cmp dword [esi + 0x28], eax
je 0x4371fd
push 0x4d7
push str.......CommonMiscMultiFieldBlob.cpp
push str.m_uSizeOfBlobBufferIncludingUnusedAreaAtEnd__m_uSizeOfExistingFile
push ecx
call fcn.0042c7e0
add esp, 4
mov ecx, eax
call fcn.0042ca10
cmp dword [esi + 0x48], 1
mov dword [esi + 0x2c], ebp
jne 0x4372f8
mov eax, dword [esp + 0x11c]
sub eax, ebp
cmp eax, ebx
mov dword [esi + 0x48], 3
jle 0x4372f8
add dword [esi + 0x28], eax
add eax, ebp
mov dword [esi + 0x2c], eax
jmp 0x4372f8
push str.CMultiFieldBlob_mem_mapped_file_:_Failed_to_read_blob_header
lea edx, [esp + 0x54]
push edx
call fcn.004368b0
push 0x502c70
lea eax, [esp + 0x54]
push eax
call fcn.00488a7c
push str.CMultiFieldBlob_mem_mapped_file_:_Existing_file_too_short_or_long_to_be_a_blob
lea ecx, [esp + 0x54]
push ecx
call fcn.004368b0
push 0x502c70
lea edx, [esp + 0x54]
push edx
call fcn.00488a7c
cmp dword [esp + 0x118], 1
mov byte [esp + 0x16], bl
je 0x43729f
push str.CMultiFieldBlob_mem_mapped_file_:_File_does_not_exist_and_eReadOnly_specified
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x88], 1
call fcn.004368b0
push 0x502c70
lea ecx, [esp + 0x54]
push ecx
call fcn.00488a7c
mov edx, dword [esp + 0x18]
push ebx
push 0x80
push 1
push ebx
push ebx
push edx
push ebp
mov byte [esp + 0x33], 1
call edi
cmp eax, 0xffffffff
mov dword [esi + 0x3c], eax
jne 0x4372e4
push str.CMultiFieldBlob_mem_mapped_file_:_File_does_not_exist_and_failed_to_create_new_file
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x88], 1
call fcn.004368b0
push 0x502c70
lea ecx, [esp + 0x54]
push ecx
call fcn.00488a7c
mov eax, dword [esp + 0x11c]
mov edi, dword [esp + 0x4c]
mov dword [esi + 0x2c], eax
add eax, 0xa
mov dword [esi + 0x28], eax
mov edx, dword [esi + 0x28]
mov eax, dword [esp + 0x48]
mov ecx, dword [esi + 0x3c]
push ebx
push edx
push ebx
push eax
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [esi + 0x44], eax
jne 0x437333
push str.CMultiFieldBlob_mem_mapped_file_:_Failed_to_open_file
lea edx, [esp + 0x54]
push edx
call fcn.00423cc0
push 0x502938
lea eax, [esp + 0x54]
push eax
call fcn.00488a7c
mov ecx, dword [esp + 0x44]
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [esi + 0x14], eax
jne 0x437367
push str.CMultiFieldBlob_mem_mapped_file_:_Failed_to_MapViewOfFile
lea edx, [esp + 0x54]
push edx
call fcn.00423cc0
push 0x502938
lea eax, [esp + 0x54]
push eax
call fcn.00488a7c
cmp byte [esp + 0x16], bl
je 0x437383
push edi
push esi
call fcn.00438c70
cmp dword [esi + 0x48], 3
jne 0x4373e6
mov dword [esi + 0x48], 1
jmp 0x4373e6
mov ecx, dword [0x51b360]
cmp cl, 1
jne 0x4373a4
cmp ch, 0x50
jne 0x4373a4
cmp dword [0x51b362], 0xa
jne 0x4373a4
cmp dword [0x51b366], ebx
je 0x4373cd
push str.sc_EmptyBlobHeader_not_corrupted
push ecx
call fcn.0042c7e0
add esp, 4
push eax
mov eax, 0x56c
mov ecx, str.......CommonMiscMultiFieldBlob.cpp
mov edx, str.sc_EmptyBlobHeader.m_u8BinaryFormatCode__sc_u8CurrentBinaryFormatCode__sc_EmptyBlobHeader.m_u8PreprocessedFormatCode__ePlaintext__sc_EmptyBlobHeader.m_uSizeOfSerializedBlob__sizeof__TBlobHeader____sc_EmptyBlobHeader.m_uSizeOfSpareCapacity__0
call fcn.0042ca40
mov ecx, dword [0x51b360]
mov eax, dword [esi + 0x14]
mov dword [eax], ecx
mov ecx, dword [0x51b364]
mov dword [eax + 4], ecx
mov dx, word [0x51b368]
mov word [eax + 8], dx
call fcn.004232f0
mov edi, eax
call fcn.00423350
add edi, eax
mov eax, dword [esi + 0x28]
sub eax, dword [esi + 0x2c]
cmp eax, edi
je 0x43741d
push 0x57a
push str.......CommonMiscMultiFieldBlob.cpp
push str.m_uSizeOfBlobBufferIncludingUnusedAreaAtEnd___m_uSizeOfUnusedAreaAfterEndOfBlob__GetSizeOfSerializedBlobInBlobHeader____GetSizeOfSpareCapacityInBlobHeader__
push ecx
call fcn.0042c7e0
add esp, 4
mov ecx, eax
call fcn.0042ca10
mov byte [esp + 0x98], 1
mov byte [esp + 0x80], 1
mov byte [esp + 0x10c], 1
lea ecx, [esp + 0x94]
push ecx
call fcn.0043c420
mov byte [esp + 0x10c], bl
lea edx, [esp + 0x7c]
push edx
call fcn.0043c3c0
mov dword [esp + 0x10c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.0048162f
add esp, 0xfc
ret 0xc