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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100a2501
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x10]
sub esp, 0x1dc
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov ebp, 1
push ebx
push ebp
mov esi, ecx
push eax
call dword [sym.imp.exstage.dll_public:_int___thiscall_CxDXCDialog::Create_struct__DIRECT_DIALOG_DESC___int__int_]
test eax, eax
je 0x1004562c
mov ecx, dword [sym.imp.exstage.dll_public_virtual:_void___thiscall_CxDXCAniSurface::destructor_void_]
mov edx, dword [sym.imp.exstage.dll_public:_void___thiscall_CxDXCAniSurface::constructor_void_]
push ecx
push edx
push 5
lea eax, [esp + 0xd8]
push 0x34
push eax
call fcn.1009d8a4
mov ecx, dword [esi + 0x6c]
push ebx
push ebx
push ebp
push ebp
mov dword [esp + 0x44], ecx
lea edx, [esp + 0x28]
push ebp
mov ecx, 0x9c
push 0x14
mov dword [esp + 0xd8], edx
push 0x3c
mov eax, 0x3f
mov edx, 0x7b
mov edi, 0xb0
mov dword [esp + 0x3c], ecx
push ebx
push ebx
lea ecx, [esp + 0x60]
mov dword [esp + 0x218], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0xe8], ebx
mov dword [esp + 0x1f4], ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x54], ebp
call fcn.100106b0
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
push ecx
mov dword [ecx + 0xc], eax
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x100c5900
call sub.mfc42.dll_CString::CString_1
mov edi, dword [esp + 0x228]
mov ebp, dword [sym.imp.exstage.dll_public:_class_CxFXSurface____thiscall_CRLEManager::GetSurface_class_CString_]
mov ecx, edi
call ebp
push eax
lea ecx, [esp + 0xf4]
call dword [sym.imp.exstage.dll_public:_int___thiscall_CxDXCAniSurface::Create_class_CxFXSurface___class_CRect__int__int__int__unsigned_long_int__unsigned_long_int_]
push ebx
push ebx
push 1
push 1
push 1
push 0x28
push 0x3c
push 0x14
push ebx
lea ecx, [esp + 0x60]
call fcn.100106b0
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
push ecx
mov dword [ecx + 0xc], eax
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x100c5900
call sub.mfc42.dll_CString::CString_1
mov ecx, edi
call ebp
push eax
lea ecx, [esp + 0x128]
call dword [sym.imp.exstage.dll_public:_int___thiscall_CxDXCAniSurface::Create_class_CxFXSurface___class_CRect__int__int__int__unsigned_long_int__unsigned_long_int_]
push ebx
push ebx
push 1
push 1
push 1
push 0x14
push 0x3c
push ebx
push ebx
lea ecx, [esp + 0x60]
call fcn.100106b0
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
push ecx
mov dword [ecx + 0xc], eax
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x100c5900
call sub.mfc42.dll_CString::CString_1
mov ecx, edi
call ebp
push eax
lea ecx, [esp + 0x15c]
call dword [sym.imp.exstage.dll_public:_int___thiscall_CxDXCAniSurface::Create_class_CxFXSurface___class_CRect__int__int__int__unsigned_long_int__unsigned_long_int_]
push ebx
push ebx
push 1
push 1
push 1
push 0x14
push 0x3c
push ebx
push ebx
lea ecx, [esp + 0x60]
call fcn.100106b0
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
push ecx
mov dword [ecx + 0xc], eax
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x100c5900
call sub.mfc42.dll_CString::CString_1
mov ecx, edi
call ebp
push eax
lea ecx, [esp + 0x190]
call dword [sym.imp.exstage.dll_public:_int___thiscall_CxDXCAniSurface::Create_class_CxFXSurface___class_CRect__int__int__int__unsigned_long_int__unsigned_long_int_]
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x100c6b64
call sub.mfc42.dll_CString::CString_1
mov edi, 1
lea ecx, [esp + 0xc8]
push edi
push ecx
lea ecx, [esi + 0x858]
call dword [sym.imp.exstage.dll_public:_int___thiscall_CxDXCButton::Create_struct__DIRECT_BUTTON_DESC___int__class_CString__int_]
lea ecx, [esp + 0x7c]
call dword [sym.imp.exstage.dll_public:_void___thiscall_CxDXCAniSurface::constructor_void_]
mov ebp, dword [esp + 0x20c]
mov eax, 0x1e
lea edx, [esp + 0x18]
mov dword [esp + 0x74], edi
mov dword [esp + 0xb8], edi
mov ecx, 0x10
mov edi, 0x1c
mov dword [esp + 0x1c], eax
push 1
mov dword [esp + 0x74], edx
mov dword [esp + 0x24], ecx
push 2
lea eax, [esp + 0x78]
mov edx, 0x9f
mov dword [esp + 0x30], edi
mov edi, dword [sym.imp.exstage.dll_public:_int___thiscall_CxDXCStatic::Create_struct__DIRECT_STATIC_DESC___int__int__int_]
lea ecx, [esi + 0xbc]
push ebx
push eax
mov byte [esp + 0x204], 1
mov dword [esp + 0xc0], 0xffff
mov dword [esp + 0x88], 0x100c6b70
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc4], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x5c], ecx
call edi
mov edx, 0x47
mov eax, 0x1e
mov ecx, 0x3b
mov dword [esp + 0x28], edx
push 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
push 2
lea edx, [esp + 0x78]
mov eax, 0x9f
lea ecx, [esi + 0x1d8]
push ebx
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x64], ecx
call edi
mov eax, 0x1e
mov ecx, 0x68
mov dword [esp + 0x1c], eax
mov eax, 0x9f
mov dword [esp + 0x24], eax
push 1
mov dword [esp + 0x24], ecx
push 2
lea eax, [esp + 0x78]
mov edx, 0x74
lea ecx, [esi + 0x2f4]
push ebx
push eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x6c], ecx
call edi
mov ecx, 0x24
mov eax, 0x57
mov dword [esp + 0x20], ecx
push 1
mov dword [esp + 0x20], eax
push 2
lea ecx, [esp + 0x78]
mov edx, 0x34
mov eax, 0x9f
push ebx
push ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
lea ecx, [esi + 0x410]
call edi
mov edx, 0x61
mov eax, 0x57
mov ecx, 0x4f
mov dword [esp + 0x28], edx
push 1
mov dword [esp + 0x20], eax
push 2
lea edx, [esp + 0x78]
mov dword [esp + 0x28], ecx
mov eax, 0x9f
push ebx
push edx
lea ecx, [esi + 0x52c]
mov dword [esp + 0x34], eax
call edi
mov eax, 0x57
mov ecx, 0x7c
mov dword [esp + 0x1c], eax
mov eax, 0x9f
mov dword [esp + 0x24], eax
push 1
push 2
lea eax, [esp + 0x78]
mov edx, 0x8c
mov dword [esp + 0x28], ecx
push ebx
push eax
lea ecx, [esi + 0x648]
mov dword [esp + 0x38], edx
call edi
push ebx
push 1
push 1
mov ecx, 0x20
push ebx
mov edx, 0xa0
push ebx
mov eax, 0x14
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x21c]
push ebx
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x21c]
push ebp
mov dword [esp + 0x38], eax
push 0xa
add esi, 0x764
push ecx
lea eax, [esp + 0x3c]
mov edi, 0x8c
push edx
push eax
mov ecx, esi
mov dword [esp + 0x54], edi
call fcn.10097290
mov edx, dword [esi]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], 0x6c
call dword [edx + 0xcc]
mov edx, dword [esi]
lea eax, [esp + 0x60]
push eax
push ebx
mov ecx, esi
mov byte [esp + 0x68], 5
mov word [esp + 0x6a], bx
mov dword [esp + 0x6c], ebx
call dword [edx + 0xd0]
mov ebp, dword [sym.imp.message.dll_char_const____cdecl_MESSAGEGetString_int__int_]
xor esi, esi
lea ecx, [esp + 0x14]
call sub.mfc42.dll_CString::CString_2
lea edi, [esi + 1]
mov byte [esp + 0x1f4], 2
push edi
push 0x140
push ebx
call ebp
add esp, 8
lea ecx, [esp + 0x18]
push eax
push ecx
call sub.mfc42.dll_CString::Format
add esp, 0xc
sub esi, ebx
je 0x100455be
dec esi
je 0x100455a4
dec esi
jne 0x100455db
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x14]
lea eax, [esp + 0x50]
push edx
push eax
call dword [sym.imp.exstage.dll_public:_class_CString___thiscall_CxDXCStatic::SetText_class_CString__]
lea ecx, [esp + 0x50]
jmp 0x100455d6
lea ecx, [esp + 0x14]
lea edx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
call dword [sym.imp.exstage.dll_public:_class_CString___thiscall_CxDXCStatic::SetText_class_CString__]
lea ecx, [esp + 0x58]
jmp 0x100455d6
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, dword [esp + 0x54]
call dword [sym.imp.exstage.dll_public:_class_CString___thiscall_CxDXCStatic::SetText_class_CString__]
lea ecx, [esp + 0x10]
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1f4], 1
call sub.mfc42.dll_CString::CString
mov esi, edi
cmp esi, 3
jl 0x10045552
mov esi, dword [sym.imp.exstage.dll_public_virtual:_void___thiscall_CxDXCAniSurface::destructor_void_]
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1f4], bl
call esi
push esi
push 5
lea edx, [esp + 0xd4]
push 0x34
push edx
mov dword [esp + 0x204], 0xffffffff
call fcn.1009d7b0
mov eax, 1
mov ecx, dword [esp + 0x1ec]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1e8
ret 0x14