Function at 0x442940
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov edx, 0x479
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3cc
mov dword [ebp - 0x374], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.USER32.dll_GetDlgItem
mov dword [ebp - 0x378], eax
sub esp, 8
test eax, eax
je 0x442a91
mov dword [esp], eax
mov ecx, 0x14b
xor esi, esi
mov dword [esp + 4], ecx
xor ebx, ebx
xor edi, edi
mov dword [esp + 0xc], esi
xor esi, esi
mov dword [esp + 8], ebx
mov ebx, 1
call fcn.0044e1c5
sub esp, 0x10
mov eax, str.Auto
mov dword [esp + 4], eax
mov dword [esp], 5
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x378]
mov dword [esp], edx
call fcn.0042bc60
mov dword [esp + 0xc], edi
mov ecx, 0x151
xor edi, edi
mov dword [esp + 8], esi
mov dword [ebp - 0x380], ebx
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x378]
mov dword [esp], eax
call fcn.0044e1c5
sub esp, 0x10
call fcn.00447850
mov dword [ebp - 0x37c], eax
mov ebx, dword [eax + 0x1000]
cmp ebx, 0
jle 0x442a91
mov esi, eax
jmp 0x442a1a
cmp ecx, 0x20
je 0x442a2f
inc edi
add esi, 0x10
cmp ebx, edi
jle 0x442a91
mov ecx, dword [esi + 8]
cmp ecx, 0x10
sete al
cmp ecx, 0x18
sete dl
or eax, edx
test al, 1
je 0x442a0d
mov dword [esp], 5
mov ebx, str._li_bit
mov dword [esp + 4], ebx
xor ebx, ebx
call dword [sym.imp.mameplib.dll_lang_message]
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x28]
mov dword [esp], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call sub.msvcrt.dll_sprintf
mov dword [esp + 4], ebx
lea eax, [ebp - 0x28]
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x378]
mov dword [esp], ecx
call fcn.0042bf20
inc eax
je 0x443c13
mov eax, dword [ebp - 0x37c]
inc edi
add esi, 0x10
mov ebx, dword [eax + 0x1000]
cmp ebx, edi
jg 0x442a1a
mov esi, 0x47c
mov dword [esp + 4], esi
mov edi, dword [ebp - 0x374]
mov dword [esp], edi
call sub.USER32.dll_GetDlgItem
sub esp, 8
test eax, eax
mov edi, eax
je 0x442b95
mov dword [esp], eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0xc], ecx
mov ebx, 0x14b
mov esi, str.Auto
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov ebx, 0x151
call fcn.0044e1c5
sub esp, 0x10
mov dword [esp + 4], esi
xor esi, esi
mov dword [esp], 5
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.0042bc60
xor ecx, ecx
mov edx, 1
xor eax, eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [ebp - 0x388], edx
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.0044e1c5
sub esp, 0x10
call fcn.00447850
mov dword [ebp - 0x384], eax
mov edx, dword [eax + 0x1000]
cmp edx, 0
jle 0x442b95
mov ebx, eax
jmp 0x442b46
inc esi
add ebx, 0x10
cmp edx, esi
jle 0x442b95
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x442b3e
mov dword [esp + 8], eax
lea ecx, [ebp - 0x28]
mov eax, str._li_Hz
mov dword [esp], ecx
mov dword [esp + 4], eax
call sub.msvcrt.dll_sprintf
mov dword [esp], edi
xor eax, eax
lea edx, [ebp - 0x28]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.0042bf20
inc eax
je 0x443d3c
mov eax, dword [ebp - 0x384]
inc esi
add ebx, 0x10
mov edx, dword [eax + 0x1000]
cmp edx, esi
jg 0x442b46
mov dword [esp], 0
xor edx, edx
mov esi, 0x403
mov eax, dword [ebp - 0x374]
call fcn.004409a0
mov dword [esp + 4], esi
mov edi, dword [ebp - 0x374]
mov dword [esp], edi
call sub.USER32.dll_GetDlgItem
sub esp, 8
test eax, eax
mov ebx, eax
je 0x442c41
mov dword [esp], ebx
mov eax, str.11025
mov esi, str.44100
mov dword [esp + 4], eax
mov edi, str.48000
call fcn.0042bc60
mov dword [esp], ebx
mov ecx, str.22050
mov dword [esp + 4], ecx
call fcn.0042bc60
mov dword [esp], ebx
mov edx, str.24000
mov dword [esp + 4], edx
call fcn.0042bc60
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0042bc60
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.0042bc60
mov dword [esp], ebx
xor eax, eax
mov ecx, 3
mov dword [esp + 0xc], eax
mov edx, 0x14e
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
call fcn.0044e1c5
sub esp, 0x10
mov edi, 0x3f1
mov dword [esp + 4], edi
mov ebx, dword [ebp - 0x374]
mov dword [esp], ebx
call sub.USER32.dll_GetDlgItem
sub esp, 8
test eax, eax
mov ebx, eax
je 0x442dfd
mov dword [esp], 5
mov edx, str.Draw_every_frame
mov esi, str.Skip_1_of_12_frames
mov dword [esp + 4], edx
mov edi, str.Skip_2_of_12_frames
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042bc60
mov dword [esp + 4], esi
mov esi, str.Skip_6_of_12_frames
mov dword [esp], 5
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042bc60
mov dword [esp + 4], edi
mov edi, str.Skip_7_of_12_frames
mov dword [esp], 5
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042bc60
mov dword [esp], 5
mov eax, str.Skip_3_of_12_frames
mov dword [esp + 4], eax
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042bc60
mov dword [esp], 5
mov ecx, str.Skip_4_of_12_frames
mov dword [esp + 4], ecx
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042bc60
mov dword [esp], 5
mov edx, str.Skip_5_of_12_frames
mov dword [esp + 4], edx
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042bc60
mov dword [esp + 4], esi
mov esi, str.Skip_11_of_12_frames
mov dword [esp], 5
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042bc60
mov dword [esp + 4], edi
mov dword [esp], 5
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042bc60
mov dword [esp], 5
mov eax, str.Skip_8_of_12_frames
mov dword [esp + 4], eax
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042bc60
mov dword [esp], 5
mov ecx, str.Skip_9_of_12_frames
mov dword [esp + 4], ecx
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042bc60
mov dword [esp], 5
mov edx, str.Skip_10_of_12_frames
mov dword [esp + 4], edx
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042bc60
mov dword [esp + 4], esi
mov dword [esp], 5
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042bc60
mov ecx, 0x3f2
mov dword [esp + 4], ecx
mov ebx, dword [ebp - 0x374]
mov dword [esp], ebx
call sub.USER32.dll_GetDlgItem
sub esp, 8
test eax, eax
mov ebx, eax
je 0x442eed
mov dword [esp], 5
mov eax, str.Default
mov esi, str.None
mov dword [esp + 4], eax
mov edi, str.Auto_clockwise
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042bc60
mov dword [esp], 5
mov ecx, str.Clockwise
mov dword [esp + 4], ecx
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042bc60
mov dword [esp], 5
mov edx, str.Anti_clockwise
mov dword [esp + 4], edx
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042bc60
mov dword [esp + 4], esi
mov dword [esp], 5
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042bc60
mov dword [esp + 4], edi
mov dword [esp], 5
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042bc60
mov dword [esp], 5
mov eax, str.Auto_anti_clockwise
mov dword [esp + 4], eax
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042bc60
mov edi, 0x3f3
mov dword [esp + 4], edi
mov ebx, dword [ebp - 0x374]
mov dword [esp], ebx
call sub.USER32.dll_GetDlgItem
sub esp, 8
test eax, eax
mov esi, eax
je 0x442f57
call fcn.004478e0
mov dword [esp], esi
xor ecx, ecx
mov edi, eax
mov dword [esp + 8], ecx
xor eax, eax
mov edx, 0x14b
mov dword [esp + 0xc], eax
xor ebx, ebx
mov dword [esp + 4], edx
call fcn.0044e1c5
sub esp, 0x10
cmp ebx, edi
jge 0x442f57
mov dword [esp], ebx
call fcn.00447910
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
inc ebx
mov dword [esp], esi
call fcn.0042bdc0
cmp ebx, edi
jl 0x442f3a
mov ebx, 0x465
mov dword [esp + 4], ebx
mov esi, dword [ebp - 0x374]
mov dword [esp], esi
call sub.USER32.dll_GetDlgItem
mov dword [ebp - 0x38c], eax
sub esp, 8
test eax, eax
je 0x4430c6
mov dword [esp], 5
mov esi, str.Standard
lea edi, [ebp - 0x368]
mov dword [esp + 4], esi
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38c]
mov dword [esp], eax
call fcn.0042bc60
call fcn.00414130
mov dword [esp + 8], eax
mov ecx, str._s.
mov dword [esp + 4], ecx
mov dword [esp], edi
call sub.msvcrt.dll_sprintf
mov dword [esp], edi
lea edx, [ebp - 0x168]
mov dword [esp + 4], edx
call sub.KERNEL32.dll_FindFirstFileA
mov dword [ebp - 0x390], eax
sub esp, 8
inc eax
jne 0x443013
jmp 0x4430c6
lea ecx, [ebp - 0x168]
mov dword [esp + 4], ecx
mov esi, dword [ebp - 0x390]
mov dword [esp], esi
call sub.KERNEL32.dll_FindNextFileA
sub esp, 8
test eax, eax
je 0x4430b5
lea ecx, [ebp - 0x13c]
mov edi, 0x2e
lea edx, [ebp - 0x268]
mov dword [esp + 4], ecx
lea ebx, [ebp - 0x268]
mov dword [esp], edx
call sub.msvcrt.dll_strcpy
mov dword [esp + 4], edi
mov dword [esp], ebx
call sub.msvcrt.dll_strrchr
test eax, eax
je 0x442ff0
cld
mov ecx, 5
mov edi, str..cfg
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x442ff0
mov byte [eax], 0
mov ebx, str.Standard
lea eax, [ebp - 0x268]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.mameplib.dll_mame_stricmp]
test eax, eax
je 0x442ff0
lea edi, [ebp - 0x268]
mov dword [esp + 4], edi
mov edx, dword [ebp - 0x38c]
mov dword [esp], edx
call fcn.0042bc60
lea ecx, [ebp - 0x168]
mov dword [esp + 4], ecx
mov esi, dword [ebp - 0x390]
mov dword [esp], esi
call sub.KERNEL32.dll_FindNextFileA
sub esp, 8
test eax, eax
jne 0x443013
mov eax, dword [ebp - 0x390]
mov dword [esp], eax
call sub.KERNEL32.dll_FindClose
sub esp, 4
xor esi, esi
xor edi, edi
mov edx, 0x4d9
mov dword [ebp - 0x394], esi
mov dword [ebp - 0x398], edi
mov dword [esp + 4], edx
mov ebx, dword [ebp - 0x374]
mov dword [esp], ebx
call sub.USER32.dll_GetDlgItem
sub esp, 8
test eax, eax
mov esi, eax
je 0x4434be
mov dword [esp], esi
mov edx, 4
xor ebx, ebx
mov dword [esp + 0xc], edx
mov eax, 0x1036
mov edi, 0xe
mov dword [esp + 8], ebx
mov ebx, 0x64
mov dword [esp + 4], eax
call fcn.0044e1c5
mov dword [ebp - 0x238], edi
sub esp, 0x10
mov ecx, str.Joystick
mov dword [esp + 4], ecx
mov edi, 0x1061
mov dword [esp], 5
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], eax
call fcn.00429af0
mov dword [ebp - 0x22c], eax
mov dword [esp], eax
call sub.KERNEL32.dll_lstrlenW
mov dword [ebp - 0x228], eax
xor edx, edx
sub esp, 4
mov dword [ebp - 0x230], ebx
xor eax, eax
lea ebx, [ebp - 0x238]
mov dword [ebp - 0x224], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 4], edi
mov edi, 1
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.0044e1c5
sub esp, 0x10
mov ecx, str.Axis
mov dword [esp + 4], ecx
mov dword [esp], 5
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], eax
call fcn.00429af0
mov dword [ebp - 0x22c], eax
mov dword [esp], eax
call sub.KERNEL32.dll_lstrlenW
mov dword [ebp - 0x228], eax
sub esp, 4
mov ecx, 0x1061
mov edx, 1
mov eax, 0x64
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x230], eax
mov dword [esp + 4], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov edi, 0x46
mov dword [esp], esi
call fcn.0044e1c5
sub esp, 0x10
mov edx, str.JoystickId
mov dword [esp + 4], edx
mov dword [esp], 5
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], eax
call fcn.00429af0
mov dword [ebp - 0x22c], eax
mov dword [esp], eax
call sub.KERNEL32.dll_lstrlenW
mov dword [ebp - 0x228], eax
sub esp, 4
mov ecx, 2
mov dword [ebp - 0x230], edi
mov edx, 0x1061
mov eax, 2
mov dword [ebp - 0x224], eax
mov edi, 3
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp], esi
call fcn.0044e1c5
sub esp, 0x10
mov eax, str.AxisId
mov dword [esp + 4], eax
mov dword [esp], 5
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], eax
call fcn.00429af0
mov dword [ebp - 0x22c], eax
mov dword [esp], eax
call sub.KERNEL32.dll_lstrlenW
mov dword [ebp - 0x228], eax
sub esp, 4
mov ecx, 0x32
mov dword [ebp - 0x230], ecx
mov edx, 3
mov dword [ebp - 0x224], edi
lea edi, [ebp - 0x268]
mov dword [esp + 0xc], ebx
mov ebx, 0x1061
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.0044e1c5
sub esp, 0x10
call dword [0x45d890]
cld
mov eax, dword [ebp - 0x394]
mov ecx, 0xa
rep stosd dword es:[edi], eax
mov ecx, 1
lea edi, [ebp - 0x368]
mov dword [ebp - 0x268], ecx
call fcn.004117a0
cmp eax, dword [ebp - 0x394]
jle 0x4434be
mov ecx, dword [ebp - 0x394]
xor ebx, ebx
mov eax, dword [ebp - 0x398]
mov dword [ebp - 0x264], eax
mov dword [esp], ecx
call fcn.004117b0
mov dword [esp], eax
call fcn.00429af0
mov dword [ebp - 0x254], eax
mov dword [esp], eax
call sub.KERNEL32.dll_lstrlenW
mov dword [ebp - 0x250], eax
sub esp, 4
jmp 0x443491
mov dword [esp], esi
lea ecx, [ebp - 0x268]
xor edx, edx
mov dword [esp + 0xc], ecx
mov eax, 0x104d
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.0044e1c5
sub esp, 0x10
mov ecx, 1
mov dword [ebp - 0x210], ecx
mov dword [esp + 4], ebx
mov edx, dword [ebp - 0x394]
mov dword [esp], edx
call fcn.004117f0
mov dword [esp], eax
call fcn.00429af0
mov dword [ebp - 0x204], eax
lea eax, [ebp - 0x218]
mov edx, 0x1074
mov dword [esp + 0xc], eax
mov ecx, dword [ebp - 0x398]
mov dword [esp + 4], edx
mov dword [esp], esi
mov dword [esp + 8], ecx
call fcn.0044e1c5
mov eax, dword [ebp - 0x394]
sub esp, 0x10
mov ecx, 0x465400
mov dword [esp + 4], ecx
mov dword [esp], edi
mov dword [esp + 8], eax
call sub.msvcrt.dll_sprintf
mov edx, 2
mov dword [ebp - 0x1e0], edx
mov dword [esp], edi
call fcn.00429af0
mov dword [ebp - 0x1d4], eax
lea eax, [ebp - 0x1e8]
mov edx, 0x1074
mov dword [esp + 0xc], eax
mov ecx, dword [ebp - 0x398]
mov dword [esp + 4], edx
mov dword [esp], esi
mov dword [esp + 8], ecx
call fcn.0044e1c5
sub esp, 0x10
mov eax, 0x465400
mov dword [esp + 8], ebx
inc ebx
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.msvcrt.dll_sprintf
mov ecx, 3
mov dword [ebp - 0x1b0], ecx
mov dword [esp], edi
call fcn.00429af0
mov dword [ebp - 0x1a4], eax
lea edx, [ebp - 0x1b8]
mov ecx, 0x1074
mov dword [esp + 0xc], edx
mov eax, dword [ebp - 0x398]
mov dword [esp + 8], eax
inc eax
mov dword [ebp - 0x398], eax
mov dword [esp + 4], ecx
mov dword [esp], esi
call fcn.0044e1c5
mov edx, dword [ebp - 0x398]
sub esp, 0x10
mov dword [ebp - 0x264], edx
mov eax, dword [ebp - 0x394]
mov dword [esp], eax
call fcn.004117d0
cmp eax, ebx
jg 0x443354
inc dword [ebp - 0x394]
call fcn.004117a0
cmp eax, dword [ebp - 0x394]
jg 0x443314
mov edi, 0x4b4
mov dword [esp + 4], edi
mov esi, dword [ebp - 0x374]
mov dword [esp], esi
call sub.USER32.dll_GetDlgItem
sub esp, 8
test eax, eax
mov edi, eax
je 0x443515
mov eax, dword [0x4a8c18]
test eax, eax
je 0x443515
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x443515
xor esi, esi
xor ebx, ebx
mov ecx, dword [ebx + eax + 8]
mov dword [esp], edi
add esi, 0xc
add ebx, 0xc
mov dword [esp + 4], ecx
call fcn.0042bc60
mov eax, dword [0x4a8c18]
mov edx, dword [esi + eax + 4]
test edx, edx
jne 0x4434f2
xor eax, eax
mov dword [ebp - 0x39c], eax
lea esi, [esi]
mov edi, dword [ebp - 0x39c]
mov dword [esp], edi
call fcn.00412710
mov ecx, dword [ebp - 0x39c]
mov edi, eax
add ecx, 0x52f
mov dword [esp + 4], ecx
mov esi, dword [ebp - 0x374]
mov dword [esp], esi
call sub.USER32.dll_GetDlgItem
mov dword [ebp - 0x3a0], eax
sub esp, 8
test eax, eax
setne bl
xor edx, edx
test edi, edi
setne dl
test ebx, edx
je 0x4435b0
mov eax, dword [edi + 0xc]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x4435b0
xor esi, esi
xor ebx, ebx
lea esi, [esi]
lea edi, [edi]
mov ecx, dword [ebx + eax + 8]
add esi, 0xc
add ebx, 0xc
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x3a0]
mov dword [esp], eax
call fcn.0042bc60
mov eax, dword [edi + 0xc]
mov edx, dword [esi + eax + 4]
test edx, edx
jne 0x443580
mov esi, esi
lea edi, [edi]
inc dword [ebp - 0x39c]
cmp dword [ebp - 0x39c], 7
jle 0x443520
mov edi, 0x4c6
mov dword [esp + 4], edi
mov esi, dword [ebp - 0x374]
mov dword [esp], esi
call sub.USER32.dll_GetDlgItem
sub esp, 8
test eax, eax
mov esi, eax
je 0x443636
xor ebx, ebx
mov ecx, dword [ebx*8 + 0x45e280]
mov dword [esp], 5
mov dword [esp + 4], ecx
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.0042bdc0
mov eax, dword [ebx*8 + 0x45e284]
mov edx, 0x151
mov dword [esp + 8], ebx
inc ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.0044e1c5
sub esp, 0x10
cmp ebx, 1
jbe 0x4435e5
mov esi, 0x4a7
mov dword [esp + 4], esi
mov ebx, dword [ebp - 0x374]
mov dword [esp], ebx
call sub.USER32.dll_GetDlgItem
sub esp, 8
test eax, eax
mov ebx, eax
je 0x4436ba
mov dword [esp], eax
mov edx, 0x4659f8
mov edi, 0x4659fa
mov dword [esp + 4], edx
mov esi, 0x465528
call fcn.0042bc60
mov dword [esp + 4], edi
mov edi, 0x14e
mov dword [esp], ebx
call fcn.0042bc60
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0042bc60
mov dword [esp], ebx
mov ecx, 0x465526
mov dword [esp + 4], ecx
call fcn.0042bc60
mov dword [esp + 4], edi
xor eax, eax
xor edx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp], ebx
call fcn.0044e1c5
sub esp, 0x10
mov eax, 0x4a1
mov dword [esp + 4], eax
mov ebx, dword [ebp - 0x374]
mov dword [esp], ebx
call sub.USER32.dll_GetDlgItem
sub esp, 8
test eax, eax
mov ebx, eax
je 0x44371c
mov dword [esp], ebx
mov eax, str.Direct3D_9
xor edi, edi
mov dword [esp + 4], eax
xor esi, esi
call fcn.0042bc60
mov dword [esp], ebx
mov edx, str.Direct3D_8
mov dword [esp + 4], edx
call fcn.0042bc60
mov dword [esp + 0xc], edi
mov ecx, 0x14e
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], ebx
call fcn.0044e1c5
sub esp, 0x10
mov ecx, 0x471
mov dword [esp + 4], ecx
mov ebx, dword [ebp - 0x374]
mov dword [esp], ebx
call sub.USER32.dll_GetDlgItem
sub esp, 8
test eax, eax
mov esi, eax
je 0x44378f
xor ebx, ebx
mov eax, dword [ebx*8 + 0x45e290]
mov dword [esp], 5
mov edi, 0x151
mov dword [esp + 4], eax
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.0042bdc0
mov edx, dword [ebx*8 + 0x45e294]
mov dword [esp + 8], ebx
inc ebx
mov dword [esp + 0xc], edx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0044e1c5
sub esp, 0x10
cmp ebx, 2
jbe 0x44373e
mov ebx, 0x4a5
mov dword [esp + 4], ebx
mov esi, dword [ebp - 0x374]
mov dword [esp], esi
call sub.USER32.dll_GetDlgItem
sub esp, 8
test eax, eax
mov ebx, eax
je 0x443827
mov dword [esp], eax
mov edx, str.None
mov edi, 0x4659f8
mov dword [esp + 4], edx
mov esi, 0x465528
call fcn.0042bc60
mov dword [esp + 4], edi
mov edi, 1
mov dword [esp], ebx
call fcn.0042bc60
mov dword [esp], ebx
mov ecx, 0x4659fa
mov dword [esp + 4], ecx
call fcn.0042bc60
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0042bc60
mov dword [esp], ebx
mov eax, 0x465526
mov dword [esp + 4], eax
call fcn.0042bc60
mov dword [esp + 8], edi
xor edx, edx
mov ecx, 0x14e
mov dword [esp + 0xc], edx
mov dword [esp + 4], ecx
mov dword [esp], ebx
call fcn.0044e1c5
sub esp, 0x10
mov eax, 0x4d2
mov ebx, 0x4d3
mov dword [esp + 4], eax
mov esi, dword [ebp - 0x374]
mov dword [esp], esi
call sub.USER32.dll_GetDlgItem
sub esp, 8
mov esi, eax
mov dword [esp + 4], ebx
mov edi, dword [ebp - 0x374]
mov dword [esp], edi
call sub.USER32.dll_GetDlgItem
sub esp, 8
mov edx, 0x4d4
mov edi, eax
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x374]
mov dword [esp], ecx
call sub.USER32.dll_GetDlgItem
mov dword [ebp - 0x3a4], eax
sub esp, 8
mov eax, 0x4d5
mov dword [esp + 4], eax
mov ebx, dword [ebp - 0x374]
mov dword [esp], ebx
call sub.USER32.dll_GetDlgItem
mov dword [ebp - 0x3a8], eax
sub esp, 8
mov edx, 0x4d6
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x374]
mov dword [esp], ecx
call sub.USER32.dll_GetDlgItem
mov dword [ebp - 0x3ac], eax
sub esp, 8
mov eax, 0x4d7
mov dword [esp + 4], eax
mov ebx, dword [ebp - 0x374]
mov dword [esp], ebx
call sub.USER32.dll_GetDlgItem
mov dword [ebp - 0x3b0], eax
sub esp, 8
test esi, esi
je 0x443936
xor ebx, ebx
mov eax, dword [ebx*8 + 0x45e2c0]
mov dword [esp], 5
mov dword [esp + 4], eax
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.0042bdc0
mov edx, dword [ebx*8 + 0x45e2c4]
mov ecx, 0x151
mov dword [esp + 8], ebx
inc ebx
mov dword [esp + 0xc], edx
mov dword [esp + 4], ecx
mov dword [esp], esi
call fcn.0044e1c5
sub esp, 0x10
cmp ebx, 3
jbe 0x4438e5
test edi, edi
je 0x44398d
xor ebx, ebx
mov edx, dword [ebx*8 + 0x45e2c0]
mov dword [esp], 5
mov esi, 0x151
mov dword [esp + 4], edx
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.0042bdc0
mov ecx, dword [ebx*8 + 0x45e2c4]
mov dword [esp + 8], ebx
inc ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.0044e1c5
sub esp, 0x10
cmp ebx, 3
jbe 0x44393c
mov edi, dword [ebp - 0x3a4]
test edi, edi
je 0x4439f6
xor ebx, ebx
mov edi, dword [ebx*8 + 0x45e2c0]
mov dword [esp], 5
mov esi, 0x151
mov dword [esp + 4], edi
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x3a4]
mov dword [esp], edx
call fcn.0042bdc0
mov ecx, dword [ebx*8 + 0x45e2c4]
mov dword [esp + 8], ebx
inc ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x3a4]
mov dword [esp], eax
call fcn.0044e1c5
sub esp, 0x10
cmp ebx, 3
jbe 0x443999
mov ebx, dword [ebp - 0x3a8]
test ebx, ebx
je 0x443a5f
xor ebx, ebx
mov edi, dword [ebx*8 + 0x45e2c0]
mov dword [esp], 5
mov esi, 0x151
mov dword [esp + 4], edi
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x3a8]
mov dword [esp], edx
call fcn.0042bdc0
mov ecx, dword [ebx*8 + 0x45e2c4]
mov dword [esp + 8], ebx
inc ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x3a8]
mov dword [esp], eax
call fcn.0044e1c5
sub esp, 0x10
cmp ebx, 3
jbe 0x443a02
mov ebx, dword [ebp - 0x3ac]
test ebx, ebx
je 0x443ac8
xor ebx, ebx
mov edi, dword [ebx*8 + 0x45e2c0]
mov dword [esp], 5
mov esi, 0x151
mov dword [esp + 4], edi
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x3ac]
mov dword [esp], edx
call fcn.0042bdc0
mov ecx, dword [ebx*8 + 0x45e2c4]
mov dword [esp + 8], ebx
inc ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x3ac]
mov dword [esp], eax
call fcn.0044e1c5
sub esp, 0x10
cmp ebx, 3
jbe 0x443a6b
mov ebx, dword [ebp - 0x3b0]
test ebx, ebx
je 0x443b31
xor ebx, ebx
mov edi, dword [ebx*8 + 0x45e2c0]
mov dword [esp], 5
mov esi, 0x151
mov dword [esp + 4], edi
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x3b0]
mov dword [esp], edx
call fcn.0042bdc0
mov ecx, dword [ebx*8 + 0x45e2c4]
mov dword [esp + 8], ebx
inc ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x3b0]
mov dword [esp], eax
call fcn.0044e1c5
sub esp, 0x10
cmp ebx, 3
jbe 0x443ad4
mov eax, 0x519
mov dword [esp + 4], eax
mov ebx, dword [ebp - 0x374]
mov dword [esp], ebx
call sub.USER32.dll_GetDlgItem
sub esp, 8
test eax, eax
mov ebx, eax
je 0x443b84
mov dword [esp], eax
mov edx, 0x465a12
mov esi, 0x465a14
mov dword [esp + 4], edx
call fcn.0042bc60
mov dword [esp], ebx
mov ecx, 0x465a18
mov dword [esp + 4], ecx
call fcn.0042bc60
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0042bc60
mov ebx, 0x547
mov dword [esp + 4], ebx
mov edi, dword [ebp - 0x374]
mov dword [esp], edi
call sub.USER32.dll_GetDlgItem
sub esp, 8
test eax, eax
mov esi, eax
je 0x443c01
mov dword [esp], 5
mov eax, str.None
mov ebx, 1
mov dword [esp + 4], eax
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0042bc60
jmp 0x443bf4
mov dword [esp], ebx
inc ebx
call dword [sym.imp.mameplib.dll_scale_desc]
mov dword [esp], 5
mov dword [esp + 4], eax
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0042bc60
mov dword [esp], ebx
call dword [sym.imp.mameplib.dll_scale_name]
test eax, eax
jne 0x443bcd
call dword [0x45d8a0]
test eax, eax
jne 0x443c69
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea ecx, [ebp - 0x28]
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x380]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x378]
mov dword [esp], eax
call fcn.0042bdc0
mov ebx, dword [esi + 8]
mov edx, 0x151
mov dword [esp + 0xc], ebx
mov ecx, dword [ebp - 0x380]
mov dword [esp + 8], ecx
inc ecx
mov dword [ebp - 0x380], ecx
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x378]
mov dword [esp], eax
call fcn.0044e1c5
sub esp, 0x10
jmp 0x442a7d
call fcn.004129c0
test eax, eax
je 0x443d96
call fcn.004117a0
mov esi, 8
cmp eax, 7
mov dword [ebp - 0x3b8], esi
jle 0x443d86
xor edx, edx
mov ecx, dword [ebp - 0x3b8]
mov dword [ebp - 0x3b4], edx
cmp dword [ebp - 0x3b4], ecx
jge 0x443c0b
lea edi, [ebp - 0x370]
mov eax, dword [ebp - 0x3b4]
add eax, 0x51e
mov dword [esp + 4], eax
mov ebx, dword [ebp - 0x374]
mov dword [esp], ebx
xor ebx, ebx
call sub.USER32.dll_GetDlgItem
sub esp, 8
test eax, eax
mov esi, eax
jne 0x443d13
jmp 0x443d1c
mov dword [esp], 5
mov ecx, str.ID:_d
inc ebx
mov dword [esp + 4], ecx
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp + 8], ebx
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_sprintf
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0042bc60
call fcn.004117a0
cmp eax, ebx
jg 0x443ce0
inc dword [ebp - 0x3b4]
mov esi, dword [ebp - 0x3b8]
cmp dword [ebp - 0x3b4], esi
jl 0x443caf
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea ecx, [ebp - 0x28]
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x388]
mov dword [esp], edi
mov dword [esp + 4], edx
call fcn.0042bdc0
mov eax, dword [ebx + 0xc]
mov edx, 0x151
mov dword [esp + 0xc], eax
mov ecx, dword [ebp - 0x388]
mov dword [esp + 8], ecx
inc ecx
mov dword [ebp - 0x388], ecx
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.0044e1c5
sub esp, 0x10
jmp 0x442b81
call fcn.004117a0
mov dword [ebp - 0x3b8], eax
jmp 0x443c8f
call dword [0x45d890]
jmp 0x443c76