Function at 0x4099d0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c3366
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb48
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
cmp eax, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x9c], ebx
je 0x40a6a7
mov eax, dword [ebx + 0x24]
cmp dword [eax - 8], esi
jne 0x409a39
push esi
push esi
push 0x617cf4
call sub.etinfo.dll_unsigned_short_int_const____cdecl_mgLoadLocateString_unsigned_short_int_const__
add esp, 4
push eax
call sub.mfc42u.dll_AfxMessageBox_1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x15], 0
call sub.mfc42u.dll_CString::CString_3
mov eax, dword [ebx + 0x1dc]
mov dword [ebp - 4], esi
cmp eax, esi
jle 0x409a84
lea edi, [ebx + 0x190]
push esi
mov ecx, edi
call fcn.004f8150
test eax, eax
je 0x409a6b
mov ecx, dword [eax + 0x48]
test ecx, ecx
jne 0x409a78
mov eax, dword [ebx + 0x1dc]
inc esi
cmp esi, eax
jl 0x409a58
jmp 0x409a84
add eax, 0xc
lea ecx, [ebp - 0x2c]
push eax
call sub.mfc42u.dll_CString::operator_2
mov eax, dword [ebx + 0x1dc]
inc esi
cmp esi, eax
jge 0x409ace
mov edi, dword [sym.imp.msvcrt.dll_wcscmp]
push esi
lea ecx, [ebx + 0x190]
call fcn.004f8150
test eax, eax
je 0x409abd
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x409abd
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x2c]
push eax
push ecx
call edi
add esp, 8
test eax, eax
jne 0x409aca
mov eax, dword [ebx + 0x1dc]
inc esi
cmp esi, eax
jl 0x409a95
jmp 0x409ace
mov byte [ebp - 0x15], 1
lea edx, [ebp - 0xb54]
push edx
push 0x100
call dword [sym.imp.kernel32.dll_GetTempPathW]
push 0
lea ecx, [ebp - 0x30c]
call fcn.004a3570
lea edi, [ebx + 0x2e0]
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.004dfab0
mov ecx, dword [eax + 0x18]
push 0xffffffffffffffff
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x270]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x268]
mov esi, eax
inc eax
push eax
mov dword [ebp - 0x30], edx
call fcn.004e5b10
mov dl, byte [ebp - 0x15]
mov eax, dword [ebp - 0x26c]
fld qword [ebp - 0x34]
test dl, dl
fstp qword [eax + esi*8]
sete cl
lea edx, [ebp - 0x284]
mov byte [ebp - 0x25c], cl
push edx
mov ecx, edi
mov byte [ebp - 0x25b], 0
call fcn.004e3ae0
mov eax, dword [ebx + 0xb20]
lea esi, [ebx + 0xb18]
test eax, eax
mov dword [ebp - 0x14], 0
jle 0x409b89
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x409b7e
mov edx, dword [ecx]
push 1
call dword [edx + 0x28]
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 8]
inc eax
cmp eax, ecx
mov dword [ebp - 0x14], eax
jl 0x409b6a
push 0xa
push 0
mov ecx, esi
call fcn.0046d900
lea ecx, [ebp - 0x30c]
call sub.mfc42u.dll_CDialog::DoModal
cmp eax, 1
je 0x409c4e
lea eax, [ebp - 0x160]
mov dword [ebp - 0x160], 0x5e29ac
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x15c]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x409bd2
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x160], 0x5e262c
mov byte [ebp - 4], 9
call fcn.00408050
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 8
call sub.mfc42u.dll_CComboBox::CComboBox
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 7
call sub.mfc42u.dll_CComboBox::CComboBox
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 6
call fcn.0046b4d0
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 5
call fcn.0040a9d0
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 4
call fcn.0040ac60
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 3
call fcn.0040a7f0
mov byte [ebp - 4], 2
jmp 0x40a67e
xor esi, esi
mov dword [ebp - 0x4c], 0x5e2984
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
mov ecx, edi
mov byte [ebp - 4], 0xc
call fcn.004dfab0
mov ecx, dword [eax + 0x18]
push 4
mov dword [ebp - 0x34], ecx
push esi
mov edx, dword [eax + 0x1c]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
call fcn.004e5b10
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x44]
push eax
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.0040c860
mov eax, dword [ebp - 0x194]
mov ecx, dword [ebp - 0x184]
fild dword [ebp - 0x18c]
lea eax, [eax + eax*2]
mov edi, 1
mov dword [ebp - 0x5c], ecx
fmul qword [0x5e27e0]
lea eax, [eax + eax*4]
shl eax, 2
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x188]
fstp qword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x268]
cmp eax, edi
jle 0x409d24
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x4c]
call fcn.004e5b10
mov edx, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x48]
cmp edx, esi
je 0x409e17
mov edi, dword [ecx]
add ecx, 8
mov dword [eax], edi
mov edi, dword [ecx - 4]
mov dword [eax + 4], edi
add eax, 8
dec edx
jne 0x409d0c
jmp 0x409e17
mov ecx, dword [ebp - 0x48]
cmp ecx, esi
jne 0x409d4a
push 8
call sub.mfc42u.dll_operatornew
add esp, 4
xor edx, edx
mov dword [ebp - 0x48], eax
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edi
jmp 0x409e17
mov edi, dword [ebp - 0x40]
cmp edi, 1
jl 0x409d77
mov eax, dword [ebp - 0x44]
cmp eax, 1
jge 0x409d6b
mov edx, 1
sub edx, eax
lea eax, [ecx + eax*8]
push edx
push eax
call fcn.0049df10
mov dword [ebp - 0x44], 1
jmp 0x409e17
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x409da2
mov eax, dword [ebp - 0x44]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x409d96
mov eax, 4
jmp 0x409da2
cmp eax, 0x400
jle 0x409da2
mov eax, 0x400
add eax, edi
cmp eax, 1
mov dword [ebp - 0x14], eax
jg 0x409db3
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp - 0x14]
lea edx, [ecx*8]
push edx
call sub.mfc42u.dll_operatornew
mov ecx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
shl ecx, 3
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, 1
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
sub edx, ecx
lea eax, [eax + ecx*8]
push edx
push eax
call fcn.0049df10
mov ecx, dword [ebp - 0x48]
push ecx
call sub.mfc42u.dll_operatordelete
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], eax
xor esi, esi
mov eax, dword [ebp - 0x64]
mov edx, dword [ebx + 0x1cc]
xor ecx, ecx
cmp eax, 0x3c
mov dword [ebp - 0x334], eax
mov eax, dword [ebx + 0x170]
setge cl
mov dword [ebp - 0x330], ecx
mov dword [ebp - 0x33c], 0x66666666
mov dword [ebp - 0x338], 0x3fee6666
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x98], eax
mov dword [ebx + 0x170], esi
call sub.mfc42u.dll_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.mfc42u.dll_CCmdTarget::BeginWaitCursor
mov ecx, ebx
mov byte [ebp - 4], 0xd
call fcn.0045f330
mov ecx, ebx
call fcn.004474f0
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x28], esi
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x1dc]
cmp ecx, eax
jge 0x40a4ff
lea esi, [ebx + 0x190]
mov edx, ecx
push edx
mov ecx, esi
call fcn.004f8150
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x40a4c0
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x40a4c0
mov ecx, eax
fld dword [ecx + 0xf0]
fcomp dword [0x5e29e8]
fnstsw ax
test ah, 0x41
je 0x40a4c0
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
mov dword [ebx + 0x1cc], edx
call fcn.004f46e0
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xf
push ecx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea edi, [ebx + 0x2e0]
je 0x409f2f
mov edx, dword [ebp - 0x24]
push 1
push edx
mov ecx, edi
call fcn.004d96e0
mov ecx, edi
call fcn.004dfab0
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 2
mov ecx, esi
call fcn.004f8360
test eax, eax
je 0x409f36
jmp 0x40a4b4
mov ecx, edi
call fcn.004dae00
mov ecx, ebx
call fcn.0045f330
mov ecx, dword [ebp - 0x1c]
push 0
push ecx
mov ecx, edi
call fcn.004df060
push edi
mov ecx, esi
call fcn.004fa9b0
lea edx, [ebx + 0xa4c]
mov ecx, edi
push edx
call fcn.004e3cc0
xor esi, esi
cmp eax, esi
jle 0x40a4b4
mov ecx, ebx
call fcn.0045f420
mov ecx, 0x626af0
call fcn.0042fc20
cmp dword [ebx + 0x800], esi
je 0x409f96
push 1
push 1
mov ecx, ebx
call fcn.00437f20
test al, al
je 0x40a4b4
mov dword [ebp - 0x14c], 0x5e2934
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x144], esi
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0x10
call fcn.0040af20
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x11
call fcn.0040afa0
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x12
call fcn.0040abe0
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0x13
call fcn.0040b330
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x14
call fcn.0040b6d0
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x15
call fcn.0040bae0
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 0x16
mov byte [ebp - 0xa4], 1
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0x40590000
call fcn.004b6ca0
xor eax, eax
mov dword [ebp - 0x78], 0x5e2838
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], eax
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x18
mov eax, dword [esi + 0xc4]
mov ecx, dword [esi + 0xc0]
push eax
push ecx
mov ecx, edi
call fcn.004df0e0
mov ecx, ebx
call fcn.00403590
test eax, eax
jne 0x40a081
lea edx, [ebp - 0x110]
push edx
jmp 0x40a088
lea eax, [ebp - 0x110]
push eax
mov ecx, ebx
call fcn.004037e0
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x14c]
call fcn.00403a00
mov eax, dword [ebp - 0x70]
xor ecx, ecx
cmp eax, ecx
jne 0x40a174
mov dword [ebp - 0x78], 0x5e2838
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 0x19
cmp edx, ecx
je 0x40a0d4
mov eax, edx
mov esi, ecx
dec ecx
test esi, esi
je 0x40a0cb
add eax, 4
jmp 0x40a0bf
push edx
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [ebp - 0x32c]
mov dword [ebp - 0x78], 0x5e262c
mov byte [ebp - 4], 0x16
call fcn.0042bd50
lea esi, [ebp - 0xd4]
mov dword [ebp - 0xd4], 0x5e2970
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0xd0]
mov byte [ebp - 4], 0x20
test eax, eax
je 0x40a129
mov ecx, dword [ebp - 0xcc]
mov edx, ecx
dec ecx
test edx, edx
je 0x40a11d
add eax, 8
jmp 0x40a111
mov eax, dword [esi + 4]
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [ebp - 0xe8]
mov dword [esi], 0x5e262c
mov byte [ebp - 4], 0x1e
call fcn.0040b880
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0x1d
call fcn.0040b4b0
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x1c
call fcn.0040ac00
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x1b
call fcn.0040b120
mov byte [ebp - 4], 0x1a
jmp 0x40a49a
mov dword [ebp - 0x8c], 0x5e27fc
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x84], ecx
cmp eax, 1
mov byte [ebp - 4], 0x21
jle 0x40a1e5
mov eax, dword [0x61e46c]
cmp eax, 1
jg 0x40a1ac
cmp dword [0x61e470], 1
jle 0x40a1e5
lea ecx, [ebp - 0x8c]
lea edx, [ebp - 0x78]
push ecx
push edx
push eax
call fcn.004097e0
mov ecx, dword [ebp - 0x178]
mov edx, dword [ebp - 0x17c]
add esp, 0xc
lea eax, [ebp - 0xfc]
push eax
mov eax, dword [ebp - 0x190]
push ecx
push edx
lea ecx, [ebp - 0x8c]
push eax
push ecx
jmp 0x40a1f9
lea edx, [ebp - 0xfc]
lea eax, [ebp - 0x8c]
push edx
push 0
push 0
push 1
push eax
call fcn.004057b0
mov edx, dword [ebp - 0x20]
add esp, 0x14
lea ecx, [ebp - 0x954]
lea eax, [ebp - 0xb54]
push ecx
push edx
push 0x617ce8
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
cmp dword [ebp - 0x268], 1
jg 0x40a23f
mov esi, dword [ebp - 0x48]
mov ecx, edi
call fcn.004dfab0
mov ecx, dword [eax + 0x18]
mov dword [esi], ecx
mov edx, dword [eax + 0x1c]
mov dword [esi + 4], edx
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x14c]
lea ecx, [ebp - 0x954]
push eax
lea edx, [ebp - 0x78]
push ecx
push edx
lea eax, [ebp - 0x64]
push 0
push eax
push 0
push 1
mov ecx, ebx
call fcn.00405f50
mov ecx, dword [esi + 0x160]
mov dword [ebp - 0x344], ecx
mov edx, dword [esi + 0x164]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x340], edx
call sub.mfc42u.dll_CString::CString_3
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x22
test eax, eax
jne 0x40a2b0
mov ecx, dword [ebx + 0x1ec]
mov eax, dword [esi + 0xc]
push eax
mov edx, dword [ecx]
lea ecx, [ebp - 0x14]
mov eax, dword [edx + 0x1c]
push eax
push 0x617cd8
push ecx
call sub.mfc42u.dll_CString::Format_1
add esp, 0x10
jmp 0x40a2e9
lea edx, [ebp - 0x94]
mov ecx, esi
push edx
call fcn.004f6ec0
mov eax, dword [eax]
mov ecx, dword [esi + 0xc]
push eax
push ecx
lea edx, [ebp - 0x14]
push 0x617cc8
push edx
mov byte [ebp - 4], 0x23
call sub.mfc42u.dll_CString::Format_1
add esp, 0x10
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x22
call sub.mfc42u.dll_CString::CString
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.msvcrt.dll_wcscpy]
lea ecx, [ebp - 0x54c]
push eax
push ecx
call edi
lea edx, [ebp - 0x954]
lea eax, [ebp - 0x754]
push edx
push eax
call edi
add esp, 0x10
mov ecx, ebx
call fcn.00436b70
test eax, eax
je 0x40a31d
mov eax, dword [eax + 0x20]
push eax
mov ecx, 0x10a
sub esp, 0x428
lea esi, [ebp - 0x754]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0045bc50
add esp, 0x42c
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
inc eax
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x20], eax
call sub.mfc42u.dll_CString::CString
mov dword [ebp - 0x8c], 0x5e27fc
mov edx, dword [ebp - 0x88]
mov byte [ebp - 4], 0x24
test edx, edx
je 0x40a391
mov ecx, dword [ebp - 0x84]
mov eax, edx
mov esi, ecx
dec ecx
test esi, esi
je 0x40a388
add eax, 4
jmp 0x40a37c
push edx
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [ebp - 0x8c], 0x5e262c
mov dword [ebp - 0x78], 0x5e2838
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 0x25
test ecx, ecx
je 0x40a3c7
mov edx, dword [ebp - 0x70]
mov eax, ecx
mov esi, edx
dec edx
test esi, esi
je 0x40a3be
add eax, 4
jmp 0x40a3b2
push ecx
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [ebp - 0x32c]
mov dword [ebp - 0x78], 0x5e262c
mov byte [ebp - 4], 0x16
call fcn.0042bd50
lea esi, [ebp - 0xd4]
mov dword [ebp - 0xd4], 0x5e2970
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0xd0]
mov byte [ebp - 4], 0x2c
test eax, eax
je 0x40a41c
mov ecx, dword [ebp - 0xcc]
mov edx, ecx
dec ecx
test edx, edx
je 0x40a410
add eax, 8
jmp 0x40a404
mov eax, dword [esi + 4]
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea eax, [ebp - 0xe8]
mov dword [esi], 0x5e262c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xe8], 0x5e2860
mov eax, dword [ebp - 0xe4]
mov byte [ebp - 4], 0x2d
test eax, eax
je 0x40a45f
mov ecx, dword [ebp - 0xe0]
push ecx
push eax
call fcn.0040ce80
mov edx, dword [ebp - 0xe4]
push edx
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0xe8], 0x5e262c
mov byte [ebp - 4], 0x29
call fcn.0040b4b0
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x28
call fcn.0040ac00
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x27
call fcn.0040b120
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x138]
call fcn.0040af40
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0xf
call fcn.0040aec0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xe
call sub.mfc42u.dll_CString::CString
inc dword [ebp - 0x28]
jmp 0x409e89
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x20]
mov dword [ebx + 0x170], eax
mov eax, dword [ebp + 8]
cmp ecx, eax
mov dword [ebp - 4], 0xd
je 0x40a53f
push 1
push 0
push 0
push 0
push 0x617bcc
push 0x617bb8
call sub.etinfo.dll_unsigned_short_int_const____cdecl_mgLoadLocateString_unsigned_short_int_const__
add esp, 4
push eax
call fcn.0046c660
add esp, 0x18
mov edx, dword [ebp - 0x90]
push 0
push edx
mov ecx, ebx
call fcn.0043db90
mov byte [ebp - 4], 0xc
call sub.mfc42u.dll_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.mfc42u.dll_CCmdTarget::EndWaitCursor
lea eax, [ebp - 0x4c]
mov edi, 0x5e2984
mov dword [ebp + 8], eax
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 0x2f
test eax, eax
je 0x40a582
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e262c
mov dword [ebp - 0x4c], esi
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x160], 0x5e29ac
mov dword [ebp + 8], ecx
mov eax, dword [ebp - 0x15c]
mov byte [ebp - 4], 0x39
test eax, eax
je 0x40a5b4
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea edx, [ebp - 0x168]
mov dword [ebp - 0x160], esi
mov dword [ebp + 8], edx
mov dword [ebp - 0x168], 0x5e2918
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x3a
call sub.mfc42u.dll_CMenu::DestroyMenu
lea ecx, [ebp - 0x1d4]
mov dword [ebp - 0x168], esi
mov byte [ebp - 4], 0x36
call sub.mfc42u.dll_CComboBox::CComboBox
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 0x35
call sub.mfc42u.dll_CComboBox::CComboBox
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x34
call fcn.0046b4d0
lea eax, [ebp - 0x270]
mov dword [ebp - 0x270], edi
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x26c]
mov byte [ebp - 4], 0x3b
test eax, eax
je 0x40a635
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [ebp - 0x284]
mov dword [ebp - 0x270], esi
mov dword [ebp + 8], ecx
mov dword [ebp - 0x284], 0x5e2998
mov eax, dword [ebp - 0x280]
mov byte [ebp - 4], 0x3c
test eax, eax
je 0x40a665
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x284], esi
mov byte [ebp - 4], 0x31
call fcn.0040a7f0
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x2ac]
call fcn.0040ac00
lea ecx, [ebp - 0x30c]
mov byte [ebp - 4], 0
call fcn.005c0d94
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call sub.mfc42u.dll_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4