Function at 0x402d20
Capabilities:
Delete file
Get disk information
Get disk size
Print debug messages
Read file on windows
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404749
push eax
mov dword fs:[0], esp
sub esp, 0xa40
mov dword [ebp - 0x2c], ecx
push ebx
push esi
mov ebx, 1
push edi
xor esi, esi
mov edi, 0xffffffff
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x38], ebx
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x94], esi
call fcn.00405ce4
lea ecx, [ebp - 0x10c]
mov dword [ebp - 4], esi
call fcn.00405ce4
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], bl
call fcn.00405ce4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf4]
call fcn.00405ce4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x100]
call fcn.00405ce4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x184]
call fcn.00405ce4
push 0xe720
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 5
call sub.MFC30.DLL_CString::LoadStringA
lea ecx, [ebp - 0xc4]
call fcn.00405ce4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x190]
call fcn.00405ce4
push 0xe70e
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 7
call sub.MFC30.DLL_CString::LoadStringA
cmp dword [ebp + 8], esi
je 0x40469d
cmp dword [ebp + 0xc], esi
je 0x40469d
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
cmp dword [ebp + 0x10], esi
jne 0x402f55
lea ecx, [ebp - 0x160]
call fcn.00405ce4
push 0xe706
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 8
call sub.MFC30.DLL_CString::LoadStringA
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
push ecx
push esi
lea ecx, [ebp - 0x160]
call sub.MFC30.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x50c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov esi, dword [ebp - 0x98]
mov edi, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push 1
mov eax, dword [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x50c]
push ecx
mov ecx, dword [ebp - 0x2c]
call sub.MFC30.DLL_CWnd::MessageBoxA
cmp eax, 1
mov ebx, eax
jne 0x402ec2
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0xa0]
mov al, byte [eax]
push edx
lea ecx, [ebp - 0xa8]
mov byte [section..data], al
lea eax, [ebp - 0xa4]
push eax
push ecx
push section..data
call edi
test eax, eax
je 0x402ec7
xor esi, esi
jmp 0x402ec7
mov esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0xffffffeb
je 0x402e6e
cmp ebx, 1
jne 0x402f35
test esi, esi
jne 0x402f1f
lea eax, [ebp - 0x274]
mov ecx, dword [ebp + 8]
push eax
mov dl, byte [ecx]
push edx
call sub.S32KRNL8.DLL__DiskGetInfo_8
test eax, eax
jne 0x402f03
call fcn.00402cf0
test eax, eax
jne 0x402f03
mov dword [ebp - 0x14], 0xffffffff
jmp 0x402f3c
lea esi, [ebp - 0x274]
lea edi, [ebp - 0x2dc]
mov ecx, 0x15
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x14], 0
jmp 0x402f3c
cmp ebx, 1
jne 0x402f35
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], 0xfffffff4
mov al, byte [eax]
mov byte [ebp - 0xe], al
jmp 0x402f3c
mov dword [ebp - 0x14], 0xffffffeb
mov byte [ebp - 4], 7
call fcn.00402f4a
jmp 0x402fd5
push 0
mov eax, dword [ebp + 8]
push 0x8000080
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x6c], eax
cmp eax, 0xffffffff
jne 0x402f82
mov dword [ebp - 0x14], 0xfffffffe
jmp 0x402fd5
lea eax, [ebp - 0x30c]
lea ecx, [ebp - 0x6c]
push eax
mov edx, dword [ebp + 8]
push ecx
mov eax, dword [ebp - 0x2c]
push edx
mov ecx, dword [eax + 0x1c]
push ecx
call fcn.00405760
add esp, 0x10
mov dword [ebp - 0x84], eax
cmp eax, 0xfffffffe
je 0x402fcc
cmp eax, 0xffffffef
je 0x402fcc
lea esi, [ebp - 0x2dc]
lea edi, [ebp - 0x274]
mov ecx, 0x15
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x14], 0
jmp 0x402fd5
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x14], eax
xor ebx, ebx
cmp dword [ebp - 0x14], ebx
jne 0x403584
xor eax, eax
push 4
mov ax, word [ebp - 0x272]
push 0x1000
imul eax, dword [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x48], eax
cmp eax, ebx
je 0x403576
cmp dword [ebp + 0x10], ebx
je 0x403275
lea esi, [ebp - 0x2dc]
lea edi, [ebp - 0x274]
mov ecx, 0x15
push 0xe720
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x7c], eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x10c]
call sub.MFC30.DLL_CString::LoadStringA
push 0xe721
lea ecx, [ebp - 0xe8]
call sub.MFC30.DLL_CString::LoadStringA
push 0xe722
lea ecx, [ebp - 0xf4]
call sub.MFC30.DLL_CString::LoadStringA
push ebx
lea ecx, [ebp - 0x10c]
call sub.MFC30.DLL_CString::GetBuffer
push ebx
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0x1cc], eax
call sub.MFC30.DLL_CString::GetBuffer
push ebx
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x1c8], eax
call sub.MFC30.DLL_CString::GetBuffer
mov word [ebp - 0x1b0], bx
mov dword [ebp - 0x1c4], eax
lea eax, [ebp - 0x1cc]
mov dword [ebp - 0x1c0], ebx
mov dword [ebp - 0x1bc], ebx
mov dword [ebp - 0x1ac], ebx
mov dword [ebp - 0x1a8], 0x64
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1a4]
lea ecx, [ebp - 0x1cc]
mov dword [eax], ebx
push ecx
mov edx, dword [ebp - 0x2c]
push 0x404a20
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov eax, dword [edx + 0x1c]
push eax
push 0x81
call sub.MFC30.DLL_AfxGetAppState
mov ecx, dword [eax]
mov edx, dword [ecx + 0x60]
push edx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [ebp - 0x1b4], eax
cmp eax, 0xffffffff
jne 0x403146
mov dword [ebp - 0x14], 0x63
mov dword [ebp - 0x38], 1
cmp dword [ebp - 0x48], 0
je 0x40312b
push 0x8000
mov eax, dword [ebp - 0x48]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [ebp - 0x6c], 0xffffffff
je 0x4042a4
mov eax, dword [ebp - 0x6c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
jmp 0x4042aa
mov eax, dword [ebp - 0x308]
lea ecx, [ebp - 0x1cc]
shr eax, 0xa
push eax
push 1
push 0
push ecx
call fcn.00404ca0
add esp, 0x10
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x64], 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x7c]
push 0x1000
mov edx, dword [ebp - 0x6c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4031b0
mov dword [ebp - 0x14], 0xfffffffc
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x5c], eax
jmp 0x40325b
mov eax, 0x1000
sub edx, edx
add dword [ebp - 0x64], eax
add dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x64]
shl eax, 2
lea ecx, [eax + eax*4]
lea eax, [ecx + ecx*4]
div dword [ebp - 0x308]
push eax
mov edx, dword [ebp - 0x1c]
push 0
push 1
push edx
call fcn.00404ca0
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00404900
add esp, 4
test eax, eax
je 0x403240
lea ecx, [ebp - 0x13c]
call fcn.00405ce4
push 0xe72b
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 9
call sub.MFC30.DLL_CString::LoadStringA
push 4
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
mov ecx, dword [ebp - 0x2c]
call sub.MFC30.DLL_CWnd::MessageBoxA
mov dword [ebp - 0x14], 0xffffffeb
mov dword [ebp - 0x5c], 0xffffffff
mov byte [ebp - 4], 7
call fcn.0040326a
jmp 0x40325b
cmp dword [ebp - 0x68], 0x1000
jb 0x403254
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x308], eax
ja 0x40325b
mov dword [ebp - 0x5c], 0xffffffff
cmp dword [ebp - 0x5c], 0
je 0x40317a
jmp 0x40354c
xor esi, esi
push 0xe720
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x50], esi
call sub.MFC30.DLL_CString::LoadStringA
push 0xe723
lea ecx, [ebp - 0xe8]
call sub.MFC30.DLL_CString::LoadStringA
push 0xe722
lea ecx, [ebp - 0xf4]
call sub.MFC30.DLL_CString::LoadStringA
push esi
lea ecx, [ebp - 0x10c]
call sub.MFC30.DLL_CString::GetBuffer
push esi
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0x1cc], eax
call sub.MFC30.DLL_CString::GetBuffer
push esi
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x1c8], eax
call sub.MFC30.DLL_CString::GetBuffer
mov word [ebp - 0x1b0], si
mov dword [ebp - 0x1c4], eax
lea eax, [ebp - 0x1cc]
mov dword [ebp - 0x1c0], esi
mov dword [ebp - 0x1bc], esi
mov dword [ebp - 0x1ac], esi
mov dword [ebp - 0x1a8], 0x64
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1a4]
lea ecx, [ebp - 0x1cc]
mov dword [eax], esi
push ecx
mov edx, dword [ebp - 0x2c]
push 0x404a20
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov eax, dword [edx + 0x1c]
push eax
push 0x81
call sub.MFC30.DLL_AfxGetAppState
mov ecx, dword [eax]
mov edx, dword [ecx + 0x60]
push edx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [ebp - 0x1b4], eax
cmp eax, 0xffffffff
je 0x403106
xor eax, eax
lea ecx, [ebp - 0x1cc]
mov ax, word [ebp - 0x272]
imul eax, dword [ebp - 0x258]
shr eax, 0xa
push eax
push 1
push 0
push ecx
call fcn.00404ca0
add esp, 0x10
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x258], 0
mov dword [ebp - 0x78], ecx
jbe 0x40353f
cmp dword [ebp - 0x50], 0
jne 0x40354c
cmp dword [ebp - 0x1b4], 0
je 0x4033d1
mov eax, dword [ebp - 0x4c]
sub edx, edx
shl eax, 2
lea ecx, [eax + eax*4]
lea eax, [ecx + ecx*4]
div dword [ebp - 0x258]
push eax
mov edx, dword [ebp - 0x1c]
push 0
push 1
push edx
call fcn.00404ca0
add esp, 0x10
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x244], edx
movzx cx, byte [ebp - 0x270]
mov word [ebp - 0x248], cx
lea eax, [ebp - 0x274]
push eax
push 0x25
call sub.S32KRNL8.DLL__DiskBlockDevice_8
cmp eax, 1
mov eax, 0
adc eax, 0xffffffff
mov dword [ebp - 0x50], eax
je 0x40341e
mov dword [ebp - 0x14], 0xfffffffc
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00404900
add esp, 4
test eax, eax
je 0x403516
lea ecx, [ebp - 0x130]
call fcn.00405ce4
push 0xe72b
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xa
call sub.MFC30.DLL_CString::LoadStringA
push 4
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
mov ecx, dword [ebp - 0x2c]
call sub.MFC30.DLL_CWnd::MessageBoxA
cmp eax, 7
jne 0x4034f8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1ac], 0
push eax
mov edx, dword [ecx + 0x1c]
push 0x404a20
push edx
push 0x81
call sub.MFC30.DLL_AfxGetAppState
mov ecx, dword [eax]
mov edx, dword [ecx + 0x60]
push edx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [ebp - 0x1b4], eax
cmp eax, 0xffffffff
je 0x40350d
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov ax, word [ebp - 0x272]
imul eax, dword [ebp - 0x258]
shr eax, 0xa
push eax
push 1
push 0
push ecx
call fcn.00404ca0
add esp, 0x10
mov eax, dword [ebp - 0x4c]
shl eax, 2
sub edx, edx
lea ecx, [eax + eax*4]
lea eax, [ecx + ecx*4]
div dword [ebp - 0x258]
push eax
mov edx, dword [ebp - 0x1c]
push 0
push 1
push edx
call fcn.00404ca0
add esp, 0x10
jmp 0x40350d
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x50], 0xffffffff
mov byte [ebp - 4], 7
call fcn.0040356b
xor ecx, ecx
xor eax, eax
mov ax, word [ebp - 0x272]
mov cl, byte [ebp - 0x270]
imul eax, ecx
add dword [ebp - 0x4c], ecx
add dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x4c]
cmp dword [ebp - 0x258], ecx
ja 0x403399
cmp dword [ebp - 0x50], 0
jne 0x40354c
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x1c], 0
je 0x403584
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x20], 0
jne 0x403584
mov eax, dword [eax + 0x18]
test eax, eax
je 0x403584
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x403584
mov dword [ebp - 0x14], 0xfffffff1
mov dword [ebp - 0x38], 1
cmp dword [ebp - 0x14], 0
jne 0x403114
cmp dword [ebp + 0x14], 0
je 0x403956
lea eax, [ebp - 0x64c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [eax + 1]
push eax
cmp ecx, 1
sbb esi, esi
call dword [sym.imp.KERNEL32.dll_FindClose]
and esi, 0xfffffffe
test esi, esi
jne 0x40364d
lea ecx, [ebp - 0x154]
call fcn.00405ce4
push 0xe707
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0xb
call sub.MFC30.DLL_CString::LoadStringA
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x154]
push eax
push 0
call sub.MFC30.DLL_CString::GetBuffer
push eax
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xa4c]
push 4
push eax
push ecx
mov ecx, dword [ebp - 0x2c]
call sub.MFC30.DLL_CWnd::MessageBoxA
cmp eax, 7
jne 0x40363d
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 7
call fcn.0040367c
jmp 0x403114
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 7
call fcn.0040367c
xor eax, eax
mov ax, word [ebp - 0x272]
imul eax, dword [ebp - 0x258]
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x60], eax
je 0x403687
lea eax, [ebp - 0x2ea]
lea ecx, [ebp - 0x178]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x4036ab
mov byte [ebp - 0x178], 0
push 0
lea eax, [ebp - 0x178]
push 0
mov ecx, dword [ebp + 8]
push 0
push 0
push 0
push 0xc
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp dword [ebp - 0x14], 0
jne 0x403114
push 0
mov eax, dword [ebp + 0xc]
push 0x20
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x70], eax
cmp eax, 0xffffffff
jne 0x4036e2
mov dword [ebp - 0x14], 0xfffffffb
jmp 0x40310d
xor esi, esi
mov eax, dword [ebp - 0x70]
push esi
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 0x48]
push 0xe720
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x74], eax
call sub.MFC30.DLL_CString::LoadStringA
push 0xe725
lea ecx, [ebp - 0xe8]
call sub.MFC30.DLL_CString::LoadStringA
push 0xe722
lea ecx, [ebp - 0xf4]
call sub.MFC30.DLL_CString::LoadStringA
push esi
lea ecx, [ebp - 0x10c]
call sub.MFC30.DLL_CString::GetBuffer
push esi
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0x1cc], eax
call sub.MFC30.DLL_CString::GetBuffer
push esi
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x1c8], eax
call sub.MFC30.DLL_CString::GetBuffer
mov word [ebp - 0x1b0], si
mov dword [ebp - 0x1c4], eax
lea eax, [ebp - 0x1cc]
mov dword [ebp - 0x1c0], esi
mov dword [ebp - 0x1bc], esi
mov dword [ebp - 0x1ac], esi
mov dword [ebp - 0x1a8], 0x64
test byte [ebp - 0x93], 0x10
mov dword [ebp - 0x1c], eax
je 0x4037a7
mov dword [ebp - 0x1b4], esi
jmp 0x403817
lea ecx, [ebp - 0x1a4]
xor eax, eax
lea edx, [ebp - 0x1cc]
mov dword [ecx], eax
push edx
mov dword [ecx + 4], eax
push 0x404a20
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx + 0x1c]
push eax
push 0x81
call sub.MFC30.DLL_AfxGetAppState
mov ecx, dword [eax]
mov edx, dword [ecx + 0x60]
push edx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [ebp - 0x1b4], eax
cmp eax, 0xffffffff
jne 0x4037fd
mov dword [ebp - 0x14], 0x63
jmp 0x403114
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x1cc]
shr eax, 0xa
push eax
push 1
push 0
push ecx
call fcn.00404ca0
add esp, 0x10
mov dword [ebp - 0x58], 0
xor esi, esi
lea eax, [ebp - 0xac]
push esi
push eax
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x58]
cmp eax, 0x1000
jb 0x40383a
mov eax, 0x1000
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x70]
movzx eax, ax
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x403855
mov esi, 1
mov eax, 0x1000
sub edx, edx
add dword [ebp - 0x58], eax
add dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x58]
shl eax, 2
lea ecx, [eax + eax*4]
lea eax, [ecx + ecx*4]
div dword [ebp - 0x60]
push eax
mov edx, dword [ebp - 0x1c]
push 0
push 1
push edx
call fcn.00404ca0
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00404900
add esp, 4
test eax, eax
je 0x4038e2
lea ecx, [ebp - 0x124]
call fcn.00405ce4
push 0xe72b
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0xc
call sub.MFC30.DLL_CString::LoadStringA
push 4
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
mov ecx, dword [ebp - 0x2c]
call sub.MFC30.DLL_CWnd::MessageBoxA
mov dword [ebp - 0x14], 0xffffffeb
mov dword [ebp - 0x54], 0xffffffff
mov byte [ebp - 4], 7
call fcn.0040394b
jmp 0x403913
test esi, esi
je 0x4038fd
mov dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 0x14], 0xfffffffa
mov dword [ebp - 0x38], 1
jmp 0x40390c
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x60], eax
ja 0x40390c
mov dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 0x80], 1
cmp dword [ebp - 0x54], 0
je 0x40381e
cmp dword [ebp - 0x1c], 0
je 0x403114
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x20], 0
jne 0x403114
mov eax, dword [eax + 0x18]
test eax, eax
je 0x403114
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x403114
lea ecx, [ebp - 0xb8]
call fcn.00405ce4
push 0xe708
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xd
call sub.MFC30.DLL_CString::LoadStringA
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
movsx ecx, al
push ecx
mov byte [ebp - 0xd], al
push 0
lea ecx, [ebp - 0xb8]
call sub.MFC30.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x40c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0x40c]
push 1
push eax
push ecx
mov ecx, dword [ebp - 0x2c]
call sub.MFC30.DLL_CWnd::MessageBoxA
cmp eax, 1
je 0x4039c8
mov dword [ebp - 0x14], 0xffffffeb
jmp 0x40428b
lea eax, [ebp - 0x220]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], 1
push eax
mov dl, byte [ecx]
mov dword [ebp - 0x14], 0
push edx
call sub.S32KRNL8.DLL__DiskGetInfo_8
test eax, eax
jne 0x40401b
call fcn.00402cf0
test eax, eax
jne 0x40401b
push 0xe709
lea ecx, [ebp - 0xb8]
call sub.MFC30.DLL_CString::LoadStringA
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
movsx ecx, al
push ecx
mov byte [ebp - 0xd], al
push 0
lea ecx, [ebp - 0xb8]
call sub.MFC30.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x40c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ecx, dword [ebp - 0xc4]
lea edx, [ebp - 0x40c]
push 1
push ecx
push edx
mov ecx, dword [ebp - 0x2c]
call sub.MFC30.DLL_CWnd::MessageBoxA
mov dword [ebp - 0x44], eax
jmp 0x403ffb
push 0
lea ecx, [ebp - 0x10c]
call sub.MFC30.DLL_CString::GetBuffer
push 0xe726
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x1cc], eax
call sub.MFC30.DLL_CString::LoadStringA
push 0xe727
lea ecx, [ebp - 0x100]
call sub.MFC30.DLL_CString::LoadStringA
push 0xe722
lea ecx, [ebp - 0xf4]
call sub.MFC30.DLL_CString::LoadStringA
push 0
lea ecx, [ebp - 0xf4]
call sub.MFC30.DLL_CString::GetBuffer
push 0
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x1c8], eax
call sub.MFC30.DLL_CString::GetBuffer
push 0
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x1c4], eax
call sub.MFC30.DLL_CString::GetBuffer
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1ac], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c0], eax
mov word [ebp - 0x1b0], 0
lea eax, [ebp - 0x1cc]
mov edx, dword [ecx + 0x1c]
push eax
mov dword [ebp - 0x1c], eax
push 0x404a20
push edx
push 0x81
call sub.MFC30.DLL_AfxGetAppState
mov ecx, dword [eax]
mov edx, dword [ecx + 0x60]
push edx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [ebp - 0x1b4], eax
cmp eax, 0xffffffff
jne 0x403b43
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 7
call fcn.00404299
jmp 0x403114
xor eax, eax
lea ecx, [ebp - 0x1cc]
mov ax, word [ebp - 0x21e]
imul eax, dword [ebp - 0x204]
shr eax, 0xa
push eax
push 1
push 0
push ecx
call fcn.00404ca0
add esp, 0x10
xor eax, eax
mov ax, word [ebp - 0x21e]
push 4
shl eax, 7
push 0x1000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x204], 0
mov dword [ebp - 0x34], ecx
jbe 0x403eff
cmp dword [ebp - 0x20], 0
jne 0x403eff
cmp dword [ebp - 0x1b4], 0
je 0x403bdb
mov eax, dword [ebp - 0x24]
sub edx, edx
shl eax, 2
lea ecx, [eax + eax*4]
lea eax, [ecx + ecx*4]
div dword [ebp - 0x204]
push eax
mov edx, dword [ebp - 0x1c]
push 0
push 1
push edx
call fcn.00404ca0
add esp, 0x10
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x204]
jbe 0x403bf5
mov eax, dword [ebp - 0x204]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov word [ebp - 0x1f4], cx
mov edx, dword [ebp - 0x34]
xor esi, esi
mov edi, 0x13
mov ebx, 0xffffffed
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 0x1f0], edx
lea eax, [ebp - 0x220]
push eax
push 0x26
call sub.S32KRNL8.DLL__DiskBlockDevice_8
test eax, eax
mov dword [ebp - 0x20], esi
je 0x403c35
mov dword [ebp - 0x20], edi
cmp dword [ebp - 0x20], esi
je 0x403ca1
cmp dword [ebp - 0x20], edi
je 0x403c48
cmp dword [ebp - 0x20], ebx
jne 0x403d8b
push 0xe70b
lea ecx, [ebp - 0xb8]
call sub.MFC30.DLL_CString::LoadStringA
movsx eax, byte [ebp - 0xd]
push eax
lea ecx, [ebp - 0xb8]
push esi
call sub.MFC30.DLL_CString::GetBuffer
push eax
lea eax, [ebp - 0x40c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0x40c]
push 1
push eax
push ecx
mov ecx, dword [ebp - 0x2c]
call sub.MFC30.DLL_CWnd::MessageBoxA
mov dword [ebp - 0x18], eax
cmp eax, 2
jne 0x403c1d
mov dword [ebp - 0x14], 0xffffffeb
cmp dword [ebp + 0x18], 0
je 0x403de9
cmp dword [ebp - 0x30], 0
je 0x403de9
cmp dword [ebp - 0x20], 0
jne 0x403de9
cmp dword [ebp - 0x1c], 0
je 0x403cf3
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x18], 0
je 0x403cf3
mov eax, dword [ebp - 0x24]
sub edx, edx
shl eax, 2
lea ecx, [eax + eax*4]
lea eax, [ecx + ecx*4]
div dword [ebp - 0x204]
push eax
mov edx, dword [ebp - 0x1c]
push 1
push 2
push edx
call fcn.00404ca0
add esp, 0x10
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x220]
push ecx
mov dword [ebp - 0x1f0], eax
push 0x25
call sub.S32KRNL8.DLL__DiskBlockDevice_8
cmp eax, 1
mov eax, 0
adc eax, 0xffffffff
jne 0x403d40
xor eax, eax
mov esi, dword [ebp - 0x30]
mov ax, word [ebp - 0x21e]
mov edi, dword [ebp - 0x34]
imul eax, dword [ebp - 0x28]
mov ecx, eax
shr ecx, 2
repe cmpsd dword [esi], dword es:[edi]
jne 0x403d3a
mov ecx, eax
and ecx, 3
repe cmpsb byte [esi], byte es:[edi]
je 0x403de9
lea ecx, [ebp - 0xdc]
call fcn.00405ce4
push 0xe71f
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xe
call sub.MFC30.DLL_CString::LoadStringA
push 0x12
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0xdc]
push ecx
mov ecx, dword [ebp - 0x2c]
call sub.MFC30.DLL_CWnd::MessageBoxA
mov eax, dword [ebp - 0x14]
cmp eax, 3
je 0x403d9e
cmp eax, 4
je 0x403dae
cmp eax, 5
je 0x403dd9
jmp 0x403de0
mov dword [ebp - 0x14], 0xfffffffa
mov dword [ebp - 0x38], 1
jmp 0x403ca1
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x14], 0xffffffeb
jmp 0x403de0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x28]
sub dword [ebp - 0x24], eax
xor eax, eax
mov ax, word [ebp - 0x21e]
imul eax, dword [ebp - 0x28]
sub dword [ebp - 0x34], eax
call fcn.00403f51
jmp 0x403eda
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0xd
call fcn.00403f51
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00404900
add esp, 4
test eax, eax
je 0x403eda
lea ecx, [ebp - 0xd0]
call fcn.00405ce4
push 0xe72b
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xf
call sub.MFC30.DLL_CString::LoadStringA
push 4
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0xd0]
push ecx
mov ecx, dword [ebp - 0x2c]
call sub.MFC30.DLL_CWnd::MessageBoxA
cmp eax, 7
jne 0x403ec3
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1ac], 0
push eax
mov edx, dword [ecx + 0x1c]
push 0x404a20
push edx
push 0x81
call sub.MFC30.DLL_AfxGetAppState
mov ecx, dword [eax]
mov edx, dword [ecx + 0x60]
push edx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [ebp - 0x1b4], eax
cmp eax, 0xffffffff
je 0x403ed1
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov ax, word [ebp - 0x21e]
imul eax, dword [ebp - 0x204]
shr eax, 0xa
push eax
push 1
push 0
push ecx
call fcn.00404ca0
add esp, 0x10
mov eax, dword [ebp - 0x24]
shl eax, 2
sub edx, edx
lea ecx, [eax + eax*4]
lea eax, [ecx + ecx*4]
div dword [ebp - 0x204]
push eax
mov edx, dword [ebp - 0x1c]
push 0
push 1
push edx
call fcn.00404ca0
add esp, 0x10
jmp 0x403ed1
mov dword [ebp - 0x14], 0xffffffeb
mov dword [ebp - 0x20], 0xffffffff
mov byte [ebp - 4], 0xd
call fcn.00403f5c
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x204]
add dword [ebp - 0x24], eax
xor eax, eax
mov ax, word [ebp - 0x21e]
imul eax, dword [ebp - 0x28]
add dword [ebp - 0x34], eax
cmp dword [ebp - 0x24], ecx
jb 0x403ba3
cmp dword [ebp - 0x30], 0
je 0x403f16
push 0x8000
mov eax, dword [ebp - 0x30]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [ebp - 0x20], 0
jne 0x403f23
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x1c], 0
je 0x404240
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x20], 0
jne 0x404240
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x404240
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x404240
push 0xe70c
lea ecx, [ebp - 0xb8]
call sub.MFC30.DLL_CString::LoadStringA
movsx eax, byte [ebp - 0xd]
push eax
xor eax, eax
mov ax, word [ebp - 0x272]
imul eax, dword [ebp - 0x258]
cdq
and edx, 0x3ff
lea ecx, [ebp - 0xb8]
add eax, edx
sar eax, 0xa
push eax
push 0
call sub.MFC30.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x40c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ecx, dword [ebp - 0xc4]
lea edx, [ebp - 0x40c]
push 3
push ecx
push edx
mov ecx, dword [ebp - 0x2c]
call sub.MFC30.DLL_CWnd::MessageBoxA
mov dword [ebp - 0x18], eax
cmp eax, 2
jne 0x403fe3
mov dword [ebp - 0x14], 0xffffffeb
jmp 0x404240
cmp dword [ebp - 0x18], 6
jne 0x404222
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x14], 0xfffffff2
mov eax, dword [ebp - 0x44]
cmp eax, 1
je 0x40415f
cmp eax, 2
je 0x40420f
push str.Error__default_case_should_never_happen__COPYDDLG.C_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x14], 0
je 0x40402b
cmp dword [ebp - 0x18], 1
je 0x4039c8
cmp dword [ebp - 0x18], 1
jne 0x404240
cmp dword [ebp - 0x14], 0
jne 0x40422b
mov ax, word [ebp - 0x21e]
cmp word [ebp - 0x272], ax
jne 0x403f67
mov eax, dword [ebp - 0x204]
cmp dword [ebp - 0x258], eax
jne 0x403f67
cmp dword [ebp + 0x10], 0
jne 0x4040b9
mov ax, word [ebp - 0x21a]
cmp word [ebp - 0x26e], ax
jne 0x403f67
mov al, byte [ebp - 0x21c]
cmp byte [ebp - 0x270], al
jne 0x403f67
mov ax, word [ebp - 0x215]
cmp word [ebp - 0x269], ax
jne 0x403f67
mov ax, word [ebp - 0x211]
cmp word [ebp - 0x265], ax
jne 0x403f67
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], pe_nt_image_headers32
mov eax, dword [0x40904c]
push str.MSDMF3.2
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x48]
add eax, 3
push eax
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4040fe
push str.MSDOS5.0
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov al, byte [ebp - 0xd]
mov byte [ebp - 0x40], al
lea eax, [ebp - 0x40]
push eax
call fcn.004054c0
add esp, 4
test eax, eax
jne 0x403a57
push 0xe70a
lea ecx, [ebp - 0xb8]
call sub.MFC30.DLL_CString::LoadStringA
push 4
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0xb8]
push ecx
mov ecx, dword [ebp - 0x2c]
call sub.MFC30.DLL_CWnd::MessageBoxA
mov dword [ebp - 0x18], eax
cmp eax, 7
jne 0x403a57
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x38], 0
jmp 0x404240
push str.SHELL32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push str.SHFormatDrive
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
xor eax, eax
mov ax, word [ebp - 0x272]
imul eax, dword [ebp - 0x258]
shr eax, 0xa
push eax
call fcn.00405720
add esp, 4
mov ecx, dword [ebp + 0xc]
push 1
mov dl, byte [ecx]
push eax
push edx
call fcn.004054a0
add esp, 4
xor ecx, ecx
mov cl, al
mov eax, dword [ebp - 0x2c]
dec ecx
mov edx, dword [eax + 0x1c]
push ecx
push edx
call edi
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp edi, 0xfffffffd
je 0x4041e5
cmp edi, 0xfffffffe
jl 0x4041ce
cmp edi, 0xffffffff
jle 0x4041fc
lea eax, [ebp - 0x220]
mov ecx, dword [ebp + 0xc]
push eax
mov dl, byte [ecx]
push edx
call sub.S32KRNL8.DLL__DiskGetInfo_8
jmp 0x40401b
mov dword [ebp - 0x38], 1
mov eax, 0xffffffee
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
jmp 0x40401b
mov dword [ebp - 0x18], 0xffffffeb
mov dword [ebp - 0x14], 0xffffffeb
jmp 0x40401b
mov dword [ebp - 0x18], 0xffffffeb
mov dword [ebp - 0x14], 0xffffffeb
jmp 0x40401b
mov dword [ebp - 0x18], 1
jmp 0x404240
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x14], 0xffffffee
mov dword [ebp - 0x38], 1
cmp dword [ebp + 0x1c], 0
je 0x404281
push 0xe70d
lea ecx, [ebp - 0xb8]
call sub.MFC30.DLL_CString::LoadStringA
push 4
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0xb8]
push ecx
mov ecx, dword [ebp - 0x2c]
call sub.MFC30.DLL_CWnd::MessageBoxA
mov dword [ebp - 0x18], 1
cmp eax, 6
je 0x404281
mov dword [ebp - 0x18], 2
cmp dword [ebp - 0x18], 1
je 0x4039c8
mov byte [ebp - 4], 7
call fcn.00404299
jmp 0x403114
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x70], 0xffffffff
je 0x4042b6
mov eax, dword [ebp - 0x70]
push eax
call esi
cmp dword [ebp - 0x88], 0
je 0x4042cf
cmp dword [ebp - 0x80], 0
jne 0x4042cf
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x14], 0xffffffeb
jne 0x4042dc
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x14], 0
je 0x40461a
cmp dword [ebp - 0x38], 0
je 0x40461a
push 0x409004
lea ecx, [ebp - 0x118]
call sub.MFC30.DLL_CString::CString_1
push 0x409004
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0x10
call sub.MFC30.DLL_CString::CString_1
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x14], 0xfffffff8
jne 0x404328
push 0xe70f
jmp 0x4045ca
cmp dword [ebp - 0x14], 0xfffffffe
jne 0x404365
push 0xe710
lea ecx, [ebp - 0x118]
call sub.MFC30.DLL_CString::LoadStringA
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x118]
push eax
push 0
call sub.MFC30.DLL_CString::GetBuffer
push eax
lea eax, [ebp - 0x84c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4045f0
cmp dword [ebp - 0x14], 0xfffffffd
jne 0x4043a2
push 0xe711
lea ecx, [ebp - 0x118]
call sub.MFC30.DLL_CString::LoadStringA
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x118]
push eax
push 0
call sub.MFC30.DLL_CString::GetBuffer
push eax
lea eax, [ebp - 0x84c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4045f0
cmp dword [ebp - 0x14], 0xfffffff9
jne 0x4043b2
push 0xe712
jmp 0x4045ca
cmp dword [ebp - 0x14], 0xfffffffb
jne 0x4043ef
push 0xe713
lea ecx, [ebp - 0x118]
call sub.MFC30.DLL_CString::LoadStringA
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x118]
push eax
push 0
call sub.MFC30.DLL_CString::GetBuffer
push eax
lea eax, [ebp - 0x84c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4045f0
cmp dword [ebp - 0x14], 0xfffffffa
jne 0x40442c
push 0xe714
lea ecx, [ebp - 0x118]
call sub.MFC30.DLL_CString::LoadStringA
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x118]
push eax
push 0
call sub.MFC30.DLL_CString::GetBuffer
push eax
lea eax, [ebp - 0x84c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4045f0
cmp dword [ebp - 0x14], 0xfffffff6
jne 0x404469
push 0xe715
lea ecx, [ebp - 0x118]
call sub.MFC30.DLL_CString::LoadStringA
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x118]
push eax
push 0
call sub.MFC30.DLL_CString::GetBuffer
push eax
lea eax, [ebp - 0x84c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4045f0
cmp dword [ebp - 0x14], 0xfffffff7
jne 0x4044a7
push 0xe716
lea ecx, [ebp - 0x118]
call sub.MFC30.DLL_CString::LoadStringA
movsx eax, byte [ebp - 0xe]
push eax
lea ecx, [ebp - 0x118]
push 0
call sub.MFC30.DLL_CString::GetBuffer
push eax
lea eax, [ebp - 0x84c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4045f0
cmp dword [ebp - 0x14], 0xfffffff4
jne 0x4044e5
push 0xe72d
lea ecx, [ebp - 0x118]
call sub.MFC30.DLL_CString::LoadStringA
movsx eax, byte [ebp - 0xe]
push eax
lea ecx, [ebp - 0x118]
push 0
call sub.MFC30.DLL_CString::GetBuffer
push eax
lea eax, [ebp - 0x84c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4045f0
cmp dword [ebp - 0x14], 0xfffffff3
jne 0x404523
push 0xe718
lea ecx, [ebp - 0x118]
call sub.MFC30.DLL_CString::LoadStringA
movsx eax, byte [ebp - 0xe]
push eax
lea ecx, [ebp - 0x118]
push 0
call sub.MFC30.DLL_CString::GetBuffer
push eax
lea eax, [ebp - 0x84c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4045f0
cmp dword [ebp - 0x14], 0xfffffff2
jne 0x404533
push 0xe719
jmp 0x4045ca
cmp dword [ebp - 0x14], 0xfffffff1
jne 0x404543
push 0xe71a
jmp 0x4045ca
cmp dword [ebp - 0x14], 0xfffffff0
jne 0x404550
push 0xe71b
jmp 0x4045ca
cmp dword [ebp - 0x14], 0xffffffef
jne 0x40458a
push 0xe71c
lea ecx, [ebp - 0x118]
call sub.MFC30.DLL_CString::LoadStringA
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x118]
push eax
push 0
call sub.MFC30.DLL_CString::GetBuffer
push eax
lea eax, [ebp - 0x84c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4045f0
cmp dword [ebp - 0x14], 0xffffffec
jne 0x4045c5
push 0xe70b
lea ecx, [ebp - 0x118]
call sub.MFC30.DLL_CString::LoadStringA
movsx eax, byte [ebp - 0xe]
push eax
lea ecx, [ebp - 0x118]
push 0
call sub.MFC30.DLL_CString::GetBuffer
push eax
lea eax, [ebp - 0x84c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4045f0
push 0xe71e
lea ecx, [ebp - 0x148]
call sub.MFC30.DLL_CString::LoadStringA
push 0
lea ecx, [ebp - 0x148]
call sub.MFC30.DLL_CString::GetBuffer
push eax
lea eax, [ebp - 0x84c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x10
mov eax, dword [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x84c]
push ecx
mov ecx, dword [ebp - 0x2c]
call sub.MFC30.DLL_CWnd::MessageBoxA
mov byte [ebp - 4], 0x10
call fcn.00404687
mov byte [ebp - 4], 7
call fcn.00404692
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x90], eax
call fcn.004046fc
mov byte [ebp - 4], 5
call fcn.00404707
mov byte [ebp - 4], 4
call fcn.00404712
mov byte [ebp - 4], 3
call fcn.0040471d
mov byte [ebp - 4], 2
call fcn.00404728
mov byte [ebp - 4], 1
call fcn.00404733
mov byte [ebp - 4], 0
call fcn.0040473e
mov dword [ebp - 4], 0xffffffff
call fcn.00404753
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x8c], eax
call fcn.004046fc
mov byte [ebp - 4], 5
call fcn.00404707
mov byte [ebp - 4], 4
call fcn.00404712
mov byte [ebp - 4], 3
call fcn.0040471d
mov byte [ebp - 4], 2
call fcn.00404728
mov byte [ebp - 4], 1
call fcn.00404733
mov byte [ebp - 4], 0
call fcn.0040473e
mov dword [ebp - 4], 0xffffffff
call fcn.00404753
mov eax, dword [ebp - 0x8c]
jmp 0x404674