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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51469c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x584f80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
mov edi, dword [ebp + 8]
push edi
call dword [eax + 4]
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 4]
mov dword [ecx + ebx + 0x14], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
cmp dword [eax + ebx + 0x14], 0
jne 0x46b1b0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x400
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push 0x400
mov esi, eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
movsx ecx, byte [ebx + 8]
add esp, 0xc
push ecx
push esi
mov ecx, edi
call sub.mfc140u.dll_CArchive::Read
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__19]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__20]
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
lea ecx, [ebp - 0x2c]
mov esi, eax
call sub.mfc140u.dll_CByteArray::CByteArray
push 0
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call sub.mfc140u.dll_CByteArray::SetSize
push esi
push dword [ebp - 0x28]
mov ecx, edi
call sub.mfc140u.dll_CArchive::Read
movzx ecx, word [ebx + 0x14]
sub cx, word [ebx + 0x10]
movzx edx, cx
movzx ecx, word [ebx + 0x16]
sub cx, word [ebx + 0x12]
movzx esi, cx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x10], eax
movsx edi, dx
push edi
mov ecx, dword [ecx + 4]
add ecx, 4
add ecx, ebx
mov eax, dword [ecx]
call dword [eax + 0x70]
mov eax, dword [ebx + 4]
movsx esi, si
push esi
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, ebx
mov eax, dword [ecx]
call dword [eax + 0x74]
mov eax, dword [ebx + 4]
push esi
push edi
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, ebx
mov eax, dword [ecx]
call dword [eax + 0x80]
mov al, byte [ebx + 0x18]
cmp al, 0x18
jne 0x46b2ae
cmp byte [ebx + 0xa], 0xa
jne 0x46b2e5
push dword [ebp - 0x10]
mov eax, dword [ebx]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call dword [eax + 0x10]
jmp 0x46b362
cmp al, 0x20
jne 0x46b2cb
cmp byte [ebx + 0xa], 0xa
jne 0x46b2e5
push dword [ebp - 0x10]
mov eax, dword [ebx]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call dword [eax + 0x14]
jmp 0x46b362
cmp al, 0x10
jne 0x46b2e5
cmp byte [ebx + 0xa], 0xa
jne 0x46b2e5
push dword [ebp - 0x10]
mov eax, dword [ebx]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
jmp 0x46b362
cmp al, 0x18
jne 0x46b2ff
cmp byte [ebx + 0xa], 2
jne 0x46b319
push dword [ebp - 0x10]
mov eax, dword [ebx]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call dword [eax + 0x1c]
jmp 0x46b362
cmp al, 0x20
jne 0x46b319
cmp byte [ebx + 0xa], 2
jne 0x46b319
push dword [ebp - 0x10]
mov eax, dword [ebx]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call dword [eax + 0x20]
jmp 0x46b362
cmp al, 0x10
jne 0x46b333
cmp byte [ebx + 0xa], 2
jne 0x46b333
push dword [ebp - 0x10]
mov eax, dword [ebx]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call dword [eax + 0x24]
jmp 0x46b362
cmp al, 8
jne 0x46b39a
mov cl, byte [ebx + 0xa]
cmp cl, 9
jne 0x46b34f
push dword [ebp - 0x10]
mov eax, dword [ebx]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
jmp 0x46b362
cmp cl, 1
jne 0x46b39a
push dword [ebp - 0x10]
mov eax, dword [ebx]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call dword [eax + 0x2c]
test byte [ebx + 0x19], 0x20
je 0x46b37b
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, ebx
mov eax, dword [ecx]
call dword [eax + 0xe0]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
movsx eax, byte [ebx + 0x18]
add ecx, 4
add ecx, ebx
push eax
mov edx, dword [ecx]
call dword [edx + 0x78]
mov esi, 1
jmp 0x46b462
cmp al, 0x18
je 0x46b3fd
push 0x5347f8
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x10]
push edx
mov byte [ebp - 4], 2
mov ecx, dword [ecx + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x20]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0045edd0
push 0x1f4
push eax
mov byte [ebp - 4], 4
call fcn.00462610
add esp, 0x14
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x18]
jmp 0x46b45a
push 0x53482c
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x18]
push edx
mov byte [ebp - 4], 5
mov ecx, dword [ecx + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x20]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0045edd0
push 0x1f4
push eax
mov byte [ebp - 4], 7
call fcn.00462610
add esp, 0x14
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
xor esi, esi
lea ecx, [ebp - 0x2c]
call fcn.0050526f
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4