Function at 0x417900
Capabilities:
Delete file

Disassembly:
push ebp
mov eax, 0x17f4c
push edi
push esi
push ebx
call fcn.004f11c8
sub esp, eax
movzx eax, byte [0xdfdfd8]
mov byte [0xdfdfd8], 1
mov byte [esp + 0x3b], al
call fcn.00409a70
mov dword [esp + 4], 0x5055e6
mov dword [esp], str.__tomenet.tmp
call sub.msvcrt.dll_fopen
test eax, eax
je 0x4187e4
mov dword [esp], eax
call sub.msvcrt.dll_fclose
mov eax, dword [0xde84a8]
mov dword [esp], eax
call fcn.004f1330
mov ebx, eax
test eax, eax
je 0x4187cd
mov dword [esp + 4], 0x5055e6
mov dword [esp], str.__tomenet.tmp
call sub.msvcrt.dll_fopen
mov esi, eax
jmp 0x417997
add eax, 8
mov dword [esp + 4], 0x50612e
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.0040af90
mov dword [esp], ebx
call fcn.004f14e0
test eax, eax
jne 0x417980
mov dword [esp], esi
call sub.msvcrt.dll_fclose
mov dword [esp], ebx
call fcn.004f1600
mov dword [esp + 4], 0x5055e4
mov dword [esp], str.__tomenet.tmp
call sub.msvcrt.dll_fopen
mov dword [esp + 0x24], eax
test eax, eax
je 0x4187cd
mov dword [esp + 0x28], 0
xor ebx, ebx
lea ebp, [esp + 0x40]
lea esi, [esi]
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.msvcrt.dll_feof
test eax, eax
jne 0x417cd0
mov eax, dword [esp + 0x24]
mov dword [esp + 4], 0x400
mov dword [esp], ebp
mov dword [esp + 8], eax
call sub.msvcrt.dll_fgets
test eax, eax
je 0x417cd0
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
mov byte [esp + eax + 0x3f], 0
mov dword [esp + 8], 5
mov dword [esp + 4], 0x506d73
mov dword [esp], ebp
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x418128
cmp ebx, 0x63
jg 0x4179e8
mov dword [esp + 4], 0xd67660
mov dword [esp], ebp
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x417a77
mov eax, 0xa
mov dword [0x54b7fc], ebx
cmp ebx, eax
cmovle eax, ebx
mov dword [0x54b7f8], eax
lea esi, [ebx + ebx*4]
lea eax, [esp + 0x840]
mov dword [esp + 4], ebp
shl esi, 4
lea edi, [esp + 0xc3c0]
add eax, esi
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
lea eax, [esp + 0x46c0]
add eax, esi
mov dword [eax], 0x6e206f4e
mov dword [eax + 4], 0x656d61
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x8540]
add eax, esi
mov dword [eax], 0x6f626f6e
mov dword [esp + 0x30], eax
mov dword [eax + 3], 0x79646f
imul eax, ebx, 0xf0
add eax, edi
mov dword [eax + 8], 0x69747069
mov dword [eax], 0x64206f4e
mov dword [eax + 4], 0x72637365
mov dword [eax + 0xb], 0x6e6f69
mov dword [esp + 4], ebp
mov dword [esp], str._s_sound.cfg
mov dword [esp + 0x34], eax
call fcn.00402550
mov dword [esp + 4], 0x400
mov dword [esp + 0xc], eax
mov eax, dword [0xde84a8]
mov dword [esp + 8], eax
lea eax, [esp + 0x440]
mov dword [esp], eax
call fcn.00404e10
lea eax, [esp + 0x440]
mov dword [esp + 4], 0x5055e4
mov dword [esp], eax
call sub.msvcrt.dll_fopen
mov dword [esp + 0x20], eax
test eax, eax
je 0x4179e8
mov dword [esp + 0x3c], ebx
nop
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_feof
test eax, eax
jne 0x417ca8
mov eax, dword [esp + 0x20]
mov dword [esp + 4], 0x400
mov dword [esp], ebp
mov dword [esp + 8], eax
call sub.msvcrt.dll_fgets
test eax, eax
je 0x417ca8
mov dword [esp], ebp
mov esi, ebp
call sub.msvcrt.dll_strlen
mov byte [esp + eax + 0x3f], 0
movzx eax, byte [esp + 0x40]
cmp al, 0x20
jne 0x417bab
lea esi, [esi]
movzx eax, byte [esi + 1]
add esi, 1
cmp al, 0x20
je 0x417ba0
cmp al, 9
je 0x417ba0
mov dword [esp + 4], 0x3d
mov dword [esp], esi
call sub.msvcrt.dll_strchr
mov edi, eax
test eax, eax
je 0x417b50
mov byte [eax], 0
lea ebx, [eax + 1]
jmp 0x417bd3
mov byte [eax], 0
mov dword [esp], esi
call sub.msvcrt.dll_strlen
lea eax, [esi + eax - 1]
movzx edx, byte [eax]
cmp dl, 9
je 0x417bd0
cmp dl, 0x20
je 0x417bd0
movzx eax, byte [edi + 1]
cmp al, 0x20
jne 0x417c03
lea esi, [esi]
movzx eax, byte [ebx + 1]
add ebx, 1
cmp al, 0x20
je 0x417bf8
cmp al, 9
je 0x417bf8
jmp 0x417c13
mov byte [edx], 0
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
lea edx, [ebx + eax - 1]
movzx ecx, byte [edx]
cmp cl, 9
je 0x417c10
cmp cl, 0x20
je 0x417c10
mov dword [esp + 4], 0x506d86
mov edi, eax
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x418320
mov dword [esp + 4], 0x506d8f
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x418340
mov dword [esp + 4], 0x506d96
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x417b50
mov eax, dword [esp + 0x34]
add edi, 1
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_feof
test eax, eax
je 0x417b64
lea esi, [esi]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x3c]
mov dword [esp], eax
add ebx, 1
call sub.msvcrt.dll_fclose
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.msvcrt.dll_feof
test eax, eax
je 0x4179fc
nop
mov eax, dword [esp + 0x24]
lea ebp, [ebx - 1]
mov dword [esp], eax
call sub.msvcrt.dll_fclose
mov dword [esp], str.__tomenet.tmp
call sub.msvcrt.dll_remove
mov dword [esp], str.__tomenethelper.bat
call sub.msvcrt.dll_remove
mov eax, dword [esp + 0x28]
lea esi, [eax - 1]
nop
call fcn.00409190
mov dword [esp + 0x10], str._Audio_Pack_Selector_
xor edi, edi
mov dword [esp + 0xc], 0xf
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0x19
call fcn.00408cb0
mov dword [esp + 0x10], 0x506dd4
mov dword [esp + 0xc], 9
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 1
mov dword [esp], 1
call fcn.00408cb0
mov dword [esp + 0x10], str.Available_sound_packs:
mov dword [esp + 0xc], 0xf
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 3
mov dword [esp], 5
call fcn.00408cb0
mov dword [esp + 0x10], str.Available_music_packs:
mov dword [esp + 0xc], 0xf
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 3
mov dword [esp], 0x2d
call fcn.00408cb0
mov eax, dword [0x54b7fc]
mov edx, dword [0x54b7f8]
mov ecx, eax
sub ecx, edx
cmp ebx, ecx
jg 0x417e0d
jmp 0x417e53
mov dword [esp + 0xc], 1
add edi, 1
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], ecx
mov dword [esp], 0
call fcn.00408cb0
cmp edi, 0xa
je 0x417e53
mov edx, dword [0x54b7f8]
mov eax, dword [0x54b7fc]
mov ecx, edi
sub ecx, edx
add ecx, eax
cmp ecx, ebx
jge 0x417e53
add eax, edi
lea ecx, [esp + 0x840]
sub eax, edx
lea eax, [eax + eax*4]
shl eax, 4
add eax, ecx
lea ecx, [edi + 4]
mov dword [esp + 0x10], eax
cmp edx, edi
jne 0x417dd0
mov dword [esp + 0xc], 0x3b
add edi, 1
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], ecx
mov dword [esp], 0
call fcn.00408cb0
cmp edi, 0xa
jne 0x417df8
mov eax, dword [0x54b7f4]
mov edx, dword [0x54b7f0]
mov ecx, eax
sub ecx, edx
cmp dword [esp + 0x28], ecx
jle 0x417f07
mov dword [esp + 0x20], ebx
xor edi, edi
mov ebx, dword [esp + 0x28]
jmp 0x417ebd
mov dword [esp + 0xc], 1
add edi, 1
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], ecx
mov dword [esp], 0x28
call fcn.00408cb0
cmp edi, 0xa
je 0x417f03
mov edx, dword [0x54b7f0]
mov eax, dword [0x54b7f4]
mov ecx, edi
sub ecx, edx
add ecx, eax
cmp ecx, ebx
jge 0x417f03
add eax, edi
lea ecx, [esp + 0x2780]
sub eax, edx
lea eax, [eax + eax*4]
shl eax, 4
add eax, ecx
lea ecx, [edi + 4]
mov dword [esp + 0x10], eax
cmp edx, edi
jne 0x417e80
mov dword [esp + 0xc], 0x3b
add edi, 1
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], ecx
mov dword [esp], 0x28
call fcn.00408cb0
cmp edi, 0xa
jne 0x417ea8
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x10], str.Selected_SP:
lea edi, [esp + 0x8540]
mov dword [esp + 0xc], 0xf
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0xf
mov dword [esp], 0
call fcn.00408cb0
mov eax, dword [0x54b7fc]
mov dword [esp], str._s__by__s_
lea eax, [eax + eax*4]
shl eax, 4
lea edx, [edi + eax]
lea edi, [esp + 0x46c0]
add eax, edi
mov dword [esp + 8], edx
lea edi, [esp + 0xc3c0]
mov dword [esp + 4], eax
call fcn.00402550
mov dword [esp + 0xc], 0xb
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0xf
mov dword [esp], 0xd
call fcn.00408cb0
mov dword [esp + 0xc], 9
imul eax, dword [0x54b7fc], 0xf0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x10
add eax, edi
mov dword [esp], 0
mov dword [esp + 0x10], eax
call fcn.00408cb0
lea eax, [esp + 0xc3c0]
imul edi, dword [0x54b7fc], 0xf0
add eax, edi
mov dword [esp], eax
call sub.msvcrt.dll_strlen
cmp eax, 0x4f
ja 0x418688
mov dword [esp + 0x10], str.Selected_MP:
lea edi, [esp + 0xa480]
mov dword [esp + 0xc], 0xf
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x14
mov dword [esp], 0
call fcn.00408cb0
mov eax, dword [0x54b7f4]
mov dword [esp], str._s__by__s_
lea eax, [eax + eax*4]
shl eax, 4
lea edx, [edi + eax]
lea edi, [esp + 0x6600]
add eax, edi
mov dword [esp + 8], edx
lea edi, [esp + 0x12180]
mov dword [esp + 4], eax
call fcn.00402550
mov dword [esp + 0xc], 0xb
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x14
mov dword [esp], 0xd
call fcn.00408cb0
mov dword [esp + 0xc], 9
imul eax, dword [0x54b7f4], 0xf0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x15
add eax, edi
mov dword [esp], 0
mov dword [esp + 0x10], eax
call fcn.00408cb0
lea eax, [esp + 0x12180]
imul edi, dword [0x54b7f4], 0xf0
add eax, edi
mov dword [esp], eax
call sub.msvcrt.dll_strlen
cmp eax, 0x4f
ja 0x418711
mov dword [esp], 0
call fcn.004086c0
mov byte [0xdfdfda], 1
call fcn.0040dac0
cmp al, 0x71
je 0x4183a0
jg 0x418360
cmp al, 0x1b
je 0x418470
cmp al, 0x61
je 0x418438
cmp al, 0x14
jne 0x418400
mov dword [esp + 4], 2
mov dword [esp], 0x505e4c
call fcn.004478c0
jmp 0x4180d1
mov dword [esp + 8], 5
mov dword [esp + 4], 0x506da2
mov dword [esp], ebp
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x4179e8
mov edi, dword [esp + 0x28]
cmp edi, 0x63
jg 0x4179e8
mov dword [esp + 4], 0xd67260
mov dword [esp], ebp
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x41817e
mov eax, 0xa
mov dword [0x54b7f4], edi
cmp edi, eax
cmovle eax, edi
mov dword [0x54b7f0], eax
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x2780]
mov dword [esp + 4], ebp
lea esi, [edi + edi*4]
shl esi, 4
add eax, esi
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
lea eax, [esp + 0x6600]
add eax, esi
mov dword [eax], 0x6e206f4e
mov dword [eax + 4], 0x656d61
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xa480]
add eax, esi
mov dword [eax], 0x6f626f6e
mov dword [esp + 0x30], eax
mov dword [eax + 3], 0x79646f
imul eax, edi, 0xf0
lea edi, [esp + 0x12180]
add eax, edi
mov dword [eax + 8], 0x69747069
mov dword [eax], 0x64206f4e
mov dword [eax + 4], 0x72637365
mov dword [eax + 0xb], 0x6e6f69
mov dword [esp + 4], ebp
mov dword [esp], str._smusic.cfg
mov dword [esp + 0x34], eax
call fcn.00402550
mov dword [esp + 4], 0x400
mov dword [esp + 0xc], eax
mov eax, dword [0xde84a8]
mov dword [esp + 8], eax
lea eax, [esp + 0x440]
mov dword [esp], eax
call fcn.00404e10
lea eax, [esp + 0x440]
mov dword [esp + 4], 0x5055e4
mov dword [esp], eax
call sub.msvcrt.dll_fopen
mov dword [esp + 0x20], eax
test eax, eax
je 0x4179e8
mov dword [esp + 0x3c], ebx
lea esi, [esi]
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_feof
test eax, eax
jne 0x4185c9
mov eax, dword [esp + 0x20]
mov dword [esp + 4], 0x400
mov dword [esp], ebp
mov dword [esp + 8], eax
call sub.msvcrt.dll_fgets
test eax, eax
je 0x4185c9
mov dword [esp], ebp
mov esi, ebp
call sub.msvcrt.dll_strlen
mov byte [esp + eax + 0x3f], 0
movzx eax, byte [esp + 0x40]
cmp al, 0x20
jne 0x4182bb
lea esi, [esi]
movzx eax, byte [esi + 1]
add esi, 1
cmp al, 0x20
je 0x4182b0
cmp al, 9
je 0x4182b0
mov dword [esp + 4], 0x3d
mov dword [esp], esi
call sub.msvcrt.dll_strchr
mov edi, eax
test eax, eax
je 0x418260
mov byte [eax], 0
lea ebx, [eax + 1]
jmp 0x4182e3
mov byte [eax], 0
mov dword [esp], esi
call sub.msvcrt.dll_strlen
lea eax, [esi + eax - 1]
movzx edx, byte [eax]
cmp dl, 9
je 0x4182e0
cmp dl, 0x20
je 0x4182e0
movzx eax, byte [edi + 1]
cmp al, 0x20
jne 0x418313
lea esi, [esi]
movzx eax, byte [ebx + 1]
add ebx, 1
cmp al, 0x20
je 0x418308
cmp al, 9
je 0x418308
jmp 0x41853b
mov eax, dword [esp + 0x2c]
add edi, 1
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
jmp 0x417b50
mov eax, dword [esp + 0x30]
add edi, 1
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
jmp 0x417b50
cmp al, 0x73
je 0x4183d0
cmp al, 0x77
jne 0x418400
mov eax, dword [0x54b7f4]
test eax, eax
je 0x417d00
sub eax, 1
mov dword [0x54b7f4], eax
mov eax, dword [0x54b7f0]
test eax, eax
je 0x417d00
sub eax, 1
mov dword [0x54b7f0], eax
jmp 0x417d00
mov eax, dword [0x54b7fc]
test eax, eax
je 0x417d00
sub eax, 1
mov dword [0x54b7fc], eax
mov eax, dword [0x54b7f8]
test eax, eax
je 0x417d00
sub eax, 1
mov dword [0x54b7f8], eax
jmp 0x417d00
mov eax, dword [0x54b7f4]
cmp esi, eax
jle 0x417d00
add eax, 1
mov dword [0x54b7f4], eax
mov eax, dword [0x54b7f0]
cmp eax, 8
jg 0x417d00
add eax, 1
mov dword [0x54b7f0], eax
jmp 0x417d00
call fcn.004075b0
cmp byte [0xde82fc], 0
jne 0x41879a
cmp byte [0x54b7e6], 0
mov byte [0x54c0e0], 1
je 0x417d00
mov byte [0x54c7e8], 1
jmp 0x417d00
mov eax, dword [0x54b7fc]
cmp ebp, eax
jle 0x417d00
add eax, 1
mov dword [0x54b7fc], eax
mov eax, dword [0x54b7f8]
cmp eax, 8
jg 0x417d00
add eax, 1
mov dword [0x54b7f8], eax
jmp 0x417d00
mov eax, dword [0x54b7fc]
mov dword [esp], 0xd67660
lea ebx, [eax + eax*4]
lea eax, [esp + 0x840]
shl ebx, 4
add ebx, eax
mov dword [esp + 4], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x4185e3
mov dword [esp + 4], ebx
lea edi, [esp + 0x840]
mov dword [esp], str.Switched_sound_pack_to__s.
call fcn.00402550
mov dword [esp], eax
call fcn.00412f10
mov eax, dword [0x54b7fc]
mov dword [esp], 0xd67660
lea eax, [eax + eax*4]
shl eax, 4
add eax, edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_strcpy
mov eax, dword [0x54b7f4]
mov dword [esp], 0xd67260
lea ebx, [eax + eax*4]
lea eax, [esp + 0x2780]
shl ebx, 4
add ebx, eax
mov dword [esp + 4], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x41860f
call fcn.0045e760
call fcn.00409b30
call fcn.0046f230
movzx eax, byte [esp + 0x3b]
mov byte [0xdfdfd8], al
call fcn.004541b0
test eax, eax
je 0x4187fb
add esp, 0x17f4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov byte [edx], 0
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
lea edx, [ebx + eax - 1]
movzx ecx, byte [edx]
cmp cl, 9
je 0x418538
cmp cl, 0x20
je 0x418538
mov dword [esp + 4], 0x506d86
mov edi, eax
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x418650
mov dword [esp + 4], 0x506d8f
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x41866c
mov dword [esp + 4], 0x506d96
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x418260
mov eax, dword [esp + 0x34]
add edi, 1
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_feof
test eax, eax
je 0x418274
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x3c]
mov dword [esp], eax
call sub.msvcrt.dll_fclose
add dword [esp + 0x28], 1
jmp 0x4179e8
mov eax, dword [0x54b7f4]
mov dword [esp], 0xd67260
lea ebx, [eax + eax*4]
lea eax, [esp + 0x2780]
shl ebx, 4
add ebx, eax
mov dword [esp + 4], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x418812
mov dword [esp + 4], ebx
lea edi, [esp + 0x2780]
mov dword [esp], str.Switched_music_pack_to__s.
call fcn.00402550
mov dword [esp], eax
call fcn.00412f10
mov eax, dword [0x54b7f4]
mov dword [esp], 0xd67260
lea eax, [eax + eax*4]
shl eax, 4
add eax, edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_strcpy
jmp 0x418504
mov eax, dword [esp + 0x2c]
add edi, 1
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
jmp 0x418260
mov eax, dword [esp + 0x30]
add edi, 1
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
jmp 0x418260
lea eax, [esp + edi + 0xc410]
mov dword [esp + 0xc], 9
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x11
mov dword [esp], 0
call fcn.00408cb0
lea eax, [esp + 0xc3c0]
imul edi, dword [0x54b7fc], 0xf0
add eax, edi
mov dword [esp], eax
call sub.msvcrt.dll_strlen
cmp eax, 0x9f
jbe 0x417fec
lea eax, [esp + edi + 0xc460]
mov dword [esp + 0xc], 9
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x12
mov dword [esp], 0
call fcn.00408cb0
jmp 0x417fec
lea eax, [esp + edi + 0x121d0]
mov dword [esp + 0xc], 9
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x16
mov dword [esp], 0
call fcn.00408cb0
lea eax, [esp + 0x12180]
imul edi, dword [0x54b7f4], 0xf0
add eax, edi
mov dword [esp], eax
call sub.msvcrt.dll_strlen
cmp eax, 0x9f
jbe 0x4180d1
lea eax, [esp + edi + 0x12220]
mov dword [esp + 0xc], 9
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x17
mov dword [esp], 0
call fcn.00408cb0
jmp 0x4180d1
call fcn.0049d880
test al, al
jne 0x418412
cmp byte [0xde8366], 0
jne 0x418412
mov dword [esp + 4], 0
mov dword [esp], 7
call fcn.00406860
jmp 0x418412
mov dword [esp], 0x506d34
call fcn.00412f10
add esp, 0x17f4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x506d0c
call fcn.00412f10
add esp, 0x17f4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x506a00
call fcn.00412f10
add esp, 0x17f4c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00409b30
call fcn.0046f230
movzx eax, byte [esp + 0x3b]
mov byte [0xdfdfd8], al
jmp 0x41852a