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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51560e
mov eax, dword fs:[0]
push eax
sub esp, 0x50
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 dword [ebp - 0x34], ebx
mov dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x18]
not eax
test al, 1
je 0x470671
push 0x534020
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
push 0x533f74
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], 1
push dword [eax - 0xc]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax - 0xc]
push eax
lea eax, [ebp + 8]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
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
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
mov edi, eax
test edi, edi
je case.0x4709b0.3
push 0x12
lea edx, [ebx + 8]
mov ecx, esi
push edx
call sub.mfc140u.dll_CArchive::Read
mov ax, word [ebx + 0x16]
sub ax, word [ebx + 0x12]
mov cx, word [ebx + 0x14]
sub cx, word [ebx + 0x10]
movzx esi, ax
mov eax, dword [ebx + 4]
movzx edx, cx
movsx edx, dx
push edx
mov ecx, dword [eax + 4]
add ecx, 4
mov dword [ebp - 0x2c], edx
add ecx, ebx
mov eax, dword [ecx]
call dword [eax + 0x70]
mov eax, dword [ebx + 4]
movsx esi, si
push esi
mov dword [ebp - 0x5c], 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]
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]
movsx eax, byte [ebx + 0xa]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00475360
mov dword [ebp - 0x30], eax
movsx ecx, byte [ebx + 0x18]
lea eax, [ebp - 0x54]
push ecx
push eax
mov dword [ebp - 4], 3
call fcn.00475360
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 4
push edi
push eax
call fcn.00475460
mov ebx, eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 5
push esi
push eax
call fcn.00475360
mov edi, eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 6
push eax
call fcn.00475360
add esp, 0x28
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 8
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [esi]
mov dword [ebp - 0x10], 2
push dword [eax - 0xc]
push eax
push 2
lea eax, [ebp - 0x14]
push 0x533ef8
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x14]
push 3
push 0x533f00
mov dword [ebp - 0x10], 6
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
push edi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0045edd0
add esp, 0x20
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 0xb
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [esi]
push 3
push 0x533fd0
mov dword [ebp - 0x10], 0xe
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
push ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0045edd0
add esp, 0x20
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 0xd
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [esi]
push 5
push str._Byte
mov dword [ebp - 0x10], 0x1e
push dword [eax - 0xc]
push eax
lea eax, [ebp + 8]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xe
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp + 8]
push 2
push 0x533ef8
mov dword [ebp - 0x10], 0x3e
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
push dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0045edd0
add esp, 0x20
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 0x10
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [esi]
push 2
push 0x533ef8
mov dword [ebp - 0x10], 0x7e
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
push dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0045edd0
add esp, 0x20
mov esi, dword [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x11
mov eax, dword [esi + 4]
lea ecx, [esi + 0x84]
add ecx, dword [eax + 4]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
movsx eax, byte [esi + 0x18]
add eax, 0xfffffff8
cmp eax, 0x18
ja case.0x4709b0.3
movzx eax, byte [eax + 0x470a14]
jmp dword [eax*4 + 0x470a0c]
movsx eax, byte [esi + 0xa]
dec eax
cmp eax, 9
ja case.0x4709b0.3
movzx eax, byte [eax + 0x470a38]
jmp dword [eax*4 + 0x470a30]
mov eax, dword [esi + 4]
push dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 0x70]
mov eax, dword [esi + 4]
push dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 0x74]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
movsx eax, byte [esi + 0x18]
add ecx, 4
add ecx, esi
push eax
mov edx, dword [ecx]
call dword [edx + 0x78]
mov eax, 1
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