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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100a2c91
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x10]
sub esp, 0x214
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 0x1004849f
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 + 0x110]
push 0x34
push eax
call fcn.1009d8a4
mov ecx, dword [esi + 0x6c]
push ebx
push ebx
push ebp
push ebp
mov dword [esp + 0x40], ecx
lea edx, [esp + 0x24]
push ebp
mov ecx, 0x1d6
push 0x14
mov dword [esp + 0x110], edx
push 0x3c
mov eax, 0x3f
mov edx, 0x7b
mov edi, 0x1ea
mov dword [esp + 0x38], ecx
push ebx
push ebx
lea ecx, [esp + 0x60]
mov dword [esp + 0x250], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x120], ebx
mov dword [esp + 0x22c], ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], 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 + 0x60], esp
push 0x100c5900
call sub.mfc42.dll_CString::CString_1
mov edi, dword [esp + 0x260]
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 + 0x12c]
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 + 0x60], esp
push 0x100c5900
call sub.mfc42.dll_CString::CString_1
mov ecx, edi
call ebp
push eax
lea ecx, [esp + 0x160]
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 + 0x60], esp
push 0x100c5900
call sub.mfc42.dll_CString::CString_1
mov ecx, edi
call ebp
push eax
lea ecx, [esp + 0x194]
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 + 0x60], esp
push 0x100c5900
call sub.mfc42.dll_CString::CString_1
mov ecx, edi
call ebp
push eax
lea ecx, [esp + 0x1c8]
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 + 0x40], esp
push 0x100c6b64
call sub.mfc42.dll_CString::CString_1
mov edi, 1
lea ecx, [esp + 0x100]
push edi
push ecx
lea ecx, [esi + 0x17e0]
call dword [sym.imp.exstage.dll_public:_int___thiscall_CxDXCButton::Create_struct__DIRECT_BUTTON_DESC___int__class_CString__int_]
lea ecx, [esp + 0xa4]
call dword [sym.imp.exstage.dll_public:_void___thiscall_CxDXCAniSurface::constructor_void_]
mov ebp, dword [esp + 0x244]
mov eax, 0x1e
lea edx, [esp + 0x14]
mov dword [esp + 0x9c], edi
mov dword [esp + 0xe0], edi
mov ecx, 0x10
mov edi, 0x1c
mov dword [esp + 0x18], eax
push 1
mov dword [esp + 0x9c], edx
mov dword [esp + 0x20], ecx
push 2
lea eax, [esp + 0xa0]
mov edx, 0x9f
mov dword [esp + 0x2c], 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 + 0x23c], 1
mov dword [esp + 0xe8], 0xffff
mov dword [esp + 0xb0], 0x100c6b70
mov dword [esp + 0xf4], ebp
mov dword [esp + 0xec], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x98], ecx
call edi
mov edx, 0x47
mov eax, 0x1e
mov ecx, 0x3b
mov dword [esp + 0x24], edx
push 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
push 2
lea edx, [esp + 0xa0]
mov eax, 0x9f
lea ecx, [esi + 0x1d8]
push ebx
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x90], ecx
call edi
mov eax, 0x1e
mov ecx, 0x68
mov dword [esp + 0x18], eax
mov eax, 0x9f
mov dword [esp + 0x20], eax
push 1
mov dword [esp + 0x20], ecx
push 2
lea eax, [esp + 0xa0]
mov edx, 0x74
lea ecx, [esi + 0x2f4]
push ebx
push eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x64], ecx
call edi
mov eax, 0x1e
mov ecx, 0x93
mov edx, 0x9f
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov eax, edx
lea ecx, [esi + 0x410]
push 1
mov dword [esp + 0x28], edx
push 2
mov dword [esp + 0x28], eax
mov dword [esp + 0x64], ecx
push ebx
lea edx, [esp + 0xa4]
push edx
call edi
mov eax, 0x1e
mov ecx, 0xc0
mov dword [esp + 0x18], eax
mov eax, 0x9f
mov dword [esp + 0x20], eax
push 1
mov dword [esp + 0x20], ecx
push 2
lea eax, [esp + 0xa0]
mov edx, 0xcc
lea ecx, [esi + 0x52c]
push ebx
push eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x74], ecx
call edi
mov edx, 0xf9
mov eax, 0x1e
mov ecx, 0xed
mov dword [esp + 0x24], edx
push 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
push 2
lea edx, [esp + 0xa0]
mov eax, 0x9f
lea ecx, [esi + 0x648]
push ebx
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x7c], ecx
call edi
mov eax, 0x1e
mov ecx, 0x117
mov dword [esp + 0x18], eax
mov eax, 0x9f
mov dword [esp + 0x20], eax
push 1
mov dword [esp + 0x20], ecx
push 2
lea eax, [esp + 0xa0]
mov edx, 0x123
lea ecx, [esi + 0x764]
push ebx
push eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x84], ecx
call edi
mov edx, 0x14f
mov eax, 0x1e
mov ecx, 0x143
mov dword [esp + 0x24], edx
push 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
push 2
lea edx, [esp + 0xa0]
mov eax, 0x9f
lea ecx, [esi + 0x880]
push ebx
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x60], ecx
call edi
mov eax, 0x1e
mov ecx, 0x170
mov dword [esp + 0x18], eax
mov eax, 0x9f
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
push 1
mov edx, 0x17c
lea ecx, [esi + 0x99c]
push 2
lea eax, [esp + 0xa0]
push ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x6c], ecx
push eax
call edi
mov edx, 0x1a7
mov eax, 0x1e
mov ecx, 0x19b
mov dword [esp + 0x24], edx
push 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
push 2
lea edx, [esp + 0xa0]
mov eax, 0x9f
lea ecx, [esi + 0xab8]
push ebx
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x80], ecx
call edi
mov eax, 0x57
mov ecx, 0x24
mov dword [esp + 0x18], eax
mov eax, 0x9f
mov dword [esp + 0x20], eax
push 1
push 2
lea eax, [esp + 0xa0]
mov edx, 0x34
mov dword [esp + 0x24], ecx
push ebx
push eax
lea ecx, [esi + 0xbd4]
mov dword [esp + 0x34], edx
call edi
mov ecx, 0x4f
mov eax, 0x57
mov dword [esp + 0x1c], ecx
push 1
push 2
lea ecx, [esp + 0xa0]
mov dword [esp + 0x20], eax
push ebx
mov edx, 0x61
mov eax, 0x9f
push ecx
lea ecx, [esi + 0xcf0]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
call edi
mov edx, 0x8c
mov eax, 0x57
mov ecx, 0x7c
mov dword [esp + 0x24], edx
push 1
mov dword [esp + 0x1c], eax
push 2
lea edx, [esp + 0xa0]
mov dword [esp + 0x24], ecx
mov eax, 0x9f
push ebx
push edx
lea ecx, [esi + 0xe0c]
mov dword [esp + 0x30], eax
call edi
mov eax, 0x57
mov ecx, 0xa7
mov dword [esp + 0x18], eax
mov eax, 0x9f
mov dword [esp + 0x20], eax
push 1
push 2
lea eax, [esp + 0xa0]
mov edx, 0xb8
mov dword [esp + 0x24], ecx
push ebx
push eax
lea ecx, [esi + 0xf28]
mov dword [esp + 0x34], edx
call edi
mov eax, 0x57
mov ecx, 0xd4
mov edx, 0xe4
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
push 1
push 2
lea ecx, [esp + 0xa0]
push ebx
mov eax, 0x9f
push ecx
lea ecx, [esi + 0x1044]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
call edi
mov edx, pe_nt_image_headers32
mov eax, 0x57
mov ecx, 0x101
mov dword [esp + 0x24], edx
push 1
mov dword [esp + 0x1c], eax
push 2
lea edx, [esp + 0xa0]
mov dword [esp + 0x24], ecx
mov eax, 0x9f
push ebx
push edx
lea ecx, [esi + 0x1160]
mov dword [esp + 0x30], eax
call edi
mov eax, 0x57
mov ecx, 0x12b
mov dword [esp + 0x18], eax
mov eax, 0x9f
mov dword [esp + 0x20], eax
push 1
push 2
lea eax, [esp + 0xa0]
mov edx, 0x13a
mov dword [esp + 0x24], ecx
push ebx
push eax
lea ecx, [esi + 0x127c]
mov dword [esp + 0x34], edx
call edi
mov ecx, 0x157
mov eax, 0x57
mov dword [esp + 0x1c], ecx
push 1
push 2
lea ecx, [esp + 0xa0]
mov dword [esp + 0x20], eax
push ebx
mov edx, 0x166
mov eax, 0x9f
push ecx
lea ecx, [esi + 0x1398]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
call edi
mov edx, 0x193
mov eax, 0x57
mov ecx, 0x184
mov dword [esp + 0x24], edx
push 1
mov dword [esp + 0x1c], eax
push 2
lea edx, [esp + 0xa0]
mov dword [esp + 0x24], ecx
mov eax, 0x9f
push ebx
push edx
lea ecx, [esi + 0x14b4]
mov dword [esp + 0x30], eax
call edi
mov eax, 0x57
mov ecx, 0x1af
mov dword [esp + 0x18], eax
mov edx, 0x1be
mov eax, 0x9f
push 1
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
push 2
lea eax, [esp + 0xa0]
push ebx
push eax
lea ecx, [esi + 0x15d0]
call edi
push ebx
push 1
push 1
mov ecx, 0x20
push ebx
mov edx, 0xa0
push ebx
mov eax, 0x14
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x254]
push ebx
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x254]
push ebp
mov dword [esp + 0x34], eax
push 0xa
add esi, 0x16ec
push ecx
lea eax, [esp + 0x38]
mov edi, 0x1be
push edx
push eax
mov ecx, esi
mov dword [esp + 0x50], 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], 0x8c
mov dword [esp + 0x4c], 0x19e
call dword [edx + 0xcc]
mov edx, dword [esi]
lea eax, [esp + 0xe8]
push eax
push ebx
mov ecx, esi
mov byte [esp + 0xf0], 5
mov word [esp + 0xf2], bx
mov dword [esp + 0xf4], ebx
call dword [edx + 0xd0]
mov edi, dword [sym.imp.exstage.dll_public:_class_CString___thiscall_CxDXCStatic::SetText_class_CString__]
xor esi, esi
lea ecx, [esp + 0x10]
call sub.mfc42.dll_CString::CString_2
lea ebp, [esi + 1]
mov byte [esp + 0x22c], 2
push ebp
push 0x140
push ebx
call dword [sym.imp.message.dll_char_const____cdecl_MESSAGEGetString_int__int_]
add esp, 8
lea ecx, [esp + 0x14]
push eax
push ecx
call sub.mfc42.dll_CString::Format
add esp, 0xc
cmp esi, 9
ja case.default.0x1004833b
jmp dword [esi*4 + 0x100484bc]
mov ecx, dword [esp + 0x88]
lea edx, [esp + 0x10]
lea eax, [esp + 0x78]
push edx
push eax
call edi
lea ecx, [esp + 0x78]
jmp 0x10048446
lea ecx, [esp + 0x10]
lea edx, [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x84]
push edx
call edi
lea ecx, [esp + 0x90]
jmp 0x10048446
lea eax, [esp + 0x10]
lea ecx, [esp + 0x7c]
push eax
push ecx
mov ecx, dword [esp + 0x5c]
call edi
lea ecx, [esp + 0x7c]
jmp 0x10048446
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x10]
lea eax, [esp + 0x8c]
push edx
push eax
call edi
lea ecx, [esp + 0x8c]
jmp 0x10048446
lea ecx, [esp + 0x10]
lea edx, [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x68]
push edx
call edi
lea ecx, [esp + 0x84]
jmp 0x10048446
lea eax, [esp + 0x10]
lea ecx, [esp + 0x4c]
push eax
push ecx
mov ecx, dword [esp + 0x74]
call edi
lea ecx, [esp + 0x4c]
jmp 0x10048446
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x10]
lea eax, [esp + 0x94]
push edx
push eax
call edi
lea ecx, [esp + 0x94]
jmp 0x10048446
lea ecx, [esp + 0x10]
lea edx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x54]
push edx
call edi
lea ecx, [esp + 0x58]
jmp 0x10048446
lea eax, [esp + 0x10]
lea ecx, [esp + 0x68]
push eax
push ecx
mov ecx, dword [esp + 0x68]
call edi
lea ecx, [esp + 0x68]
jmp 0x10048446
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x10]
lea eax, [esp + 0x38]
push edx
push eax
call edi
lea ecx, [esp + 0x38]
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x22c], 1
call sub.mfc42.dll_CString::CString
mov esi, ebp
cmp esi, 0xa
jl 0x10048300
mov esi, dword [sym.imp.exstage.dll_public_virtual:_void___thiscall_CxDXCAniSurface::destructor_void_]
lea ecx, [esp + 0xa4]
mov byte [esp + 0x22c], bl
call esi
push esi
push 5
lea ecx, [esp + 0x10c]
push 0x34
push ecx
mov dword [esp + 0x23c], 0xffffffff
call fcn.1009d7b0
mov eax, 1
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x220
ret 0x14