Function at 0x401e55
Capabilities:
Extract resource via kernel32 functions
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
and byte [ebp - 0x828], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push 0
push 0x3e9
push esi
mov dword [ebp - 0x28], 0x40b7a8
mov dword [ebp - 0x24], 0x40b7a4
mov dword [ebp - 0x20], 0x40b7a0
mov dword [ebp - 0x1c], 0x40b79c
mov dword [ebp - 0x18], 0x40b798
mov dword [ebp - 0x14], 0x40b794
mov dword [ebp - 0x10], 0x40b790
mov dword [ebp - 0xc], 0x40b78c
mov dword [ebp - 8], 0x40b788
mov dword [ebp - 4], str.10th
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [ebp + 0xc]
cmp dword [ebx], 0
jne 0x401f03
lea eax, [ebp - 0x428]
push str.This_package_does_not_contain_any_diskette_images.
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
lea eax, [ebp - 0x428]
pop ecx
push eax
push 0x3ec
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push esi
call fcn.00401dff
pop ecx
push 1
pop eax
jmp 0x4022ad
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
cmp eax, 0xfffffffa
jg 0x402010
cmp eax, 0xfffffffa
je 0x401fd6
cmp eax, 0xffffffee
je 0x401f86
cmp eax, 0xffffffef
je 0x402211
cmp eax, 0xfffffff0
je 0x401f7f
cmp eax, 0xfffffff9
jne 0x40224a
lea eax, [ebp - 0x428]
push str.Not_enough_system_memory_to_unpack_the_floppies.
push eax
call edi
pop ecx
lea eax, [ebp - 0x428]
pop ecx
push eax
push 0x3ea
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push esi
call fcn.00401dff
mov eax, dword [ebx]
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
lea eax, [ebp - 0x428]
push str.This_computer_does_not_have_a_floppy_drive_to_unpack_the_files.
push eax
call edi
jmp 0x40225c
push str.Diskette_write_operation_was_aborted_by_the_user.
jmp 0x401fdb
movsx eax, byte [0x40e678]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [ebp - 0x428]
push str.Please_put_a_formatted_writable_floppy_disk_in_drive__c:_and_continue.
push eax
call edi
movsx eax, byte [0x40e678]
add esp, 0xc
push eax
lea eax, [ebp - 0x828]
push str.Diskette_format_not_recognized._Please_put_a_formatted_writable_floppy_disk_in_drive__c:_and_continue.
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
push 0x3ea
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
jmp 0x402285
push str.The_floppy_disk_size_and_the_image_size_does_not_match.
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
lea eax, [ebp - 0x428]
pop ecx
push eax
push 0x3ea
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push esi
call fcn.00401dff
mov eax, dword [ebx]
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x402285
cmp eax, 0xfffffffb
jl 0x40224a
cmp eax, 0xfffffffc
jle 0x402218
cmp eax, 0xfffffffd
je 0x401f6c
jle 0x40224a
test eax, eax
jl 0x402211
jne 0x40224a
mov eax, dword [ebp + 0x10]
inc dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebx]
cmp eax, ecx
jne 0x4020fa
cmp ecx, 1
jle 0x40205c
push str.All_diskettes_successfully_created.
jmp 0x402061
push str.Diskette_creation_successful.
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextA]
pop ecx
pop ecx
lea eax, [ebp - 0x428]
push eax
push 0x3ea
push esi
call ebx
push 0xfffffffffffffffa
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
push 0xa
push str.LAST_MESSAGE
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4020d9
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4020d9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebp + 0x10], eax
je 0x4020d9
mov edi, 0x3eb
push 5
push edi
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 0x10]
push edi
push esi
call ebx
push str.Finish
push 2
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push esi
call fcn.00401dff
pop ecx
jmp 0x4022a9
cmp ecx, 1
mov eax, 0x40b55c
jg 0x402109
mov eax, 0x40e694
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
push ecx
lea eax, [ebp - 0x428]
push str.This_program_contains__d_floppy_disk_image_s.
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x428]
push eax
push 0x3ec
push esi
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
call esi
mov al, byte [0x40e678]
test al, al
je 0x4021cc
mov ebx, dword [ebx]
cmp ebx, 1
jle 0x402156
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov ecx, dword [ebp + ecx*4 - 0x28]
jmp 0x40215b
mov ecx, 0x40e694
cmp ebx, 1
mov edx, 0x40b524
jg 0x40216a
mov edx, 0x40b520
movsx eax, al
push eax
push ecx
push edx
lea eax, [ebp - 0x428]
push str.Please_insert__s_s_formatted_disk_into_drive__c:_and_press_the_Continue_button.
push eax
call edi
add esp, 0x14
lea eax, [ebp - 0x428]
push eax
push 0x3ea
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x428]
push 0x40b490
push eax
call edi
pop ecx
mov edi, 0x3eb
pop ecx
push 5
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x428]
push eax
push edi
push dword [ebp + 8]
call esi
jmp 0x4022a9
lea eax, [ebp - 0x428]
push str.This_program_could_not_find_a_floppy_drive_on_this_system.
push eax
call edi
pop ecx
lea eax, [ebp - 0x428]
pop ecx
push eax
push 0x3ea
push dword [ebp + 8]
call esi
push 0x40e694
push 0x3eb
push dword [ebp + 8]
call esi
push dword [ebp + 8]
call fcn.00401dff
mov eax, dword [ebx]
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x4022a9
push str.The_floppy_pack_image_is_invalid.
jmp 0x40224f
movsx eax, byte [0x40e678]
push eax
lea eax, [ebp - 0x428]
push str.Please_put_a_formatted_writable_floppy_disk_in_drive__c:_and_continue.
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
push 0x3ea
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
jmp 0x40227f
push str.An_unknown_error_occured_during_the_floppy_unpack_process.
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
lea eax, [ebp - 0x428]
pop ecx
push eax
push 0x3ea
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push esi
call fcn.00401dff
mov eax, dword [ebx]
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cmp dword [ebp + 0x14], 0
je 0x4022a9
cmp byte [ebp - 0x828], 0
lea eax, [ebp - 0x828]
jne 0x40229a
lea eax, [ebp - 0x428]
push 0x10
push 0x40e574
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret