Function at 0x40123c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x2c], ebx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x28], ebx
lea eax, [0x4132c4]
mov dword [0x4139c4], eax
movzx eax, word [0x41fa5a]
mov dword [ebp - 8], eax
mov dword [0x413294], 1
cmp dword [0x413280], 0
je 0x4012c0
mov edi, dword [0x413280]
shl edi, 2
push edi
call sub.CRTDLL.DLL_malloc
pop ecx
mov dword [ebp - 0x30], eax
or eax, eax
je 0x4012c0
mov dword [ebp - 0x14], 0
jmp 0x4012b6
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword [edx + edi*4], 0
inc dword [ebp - 0x14]
mov eax, dword [0x413280]
cmp dword [ebp - 0x14], eax
jb 0x4012a6
cmp dword [0x413284], 0
je 0x401f4d
mov edi, dword [0x413284]
shl edi, 2
push edi
call sub.CRTDLL.DLL_malloc
pop ecx
mov dword [ebp - 0x34], eax
or eax, eax
je 0x401f4d
mov dword [ebp - 0x14], 0
jmp 0x401301
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
mov dword [edx + edi*4], 0
inc dword [ebp - 0x14]
mov eax, dword [0x413284]
cmp dword [ebp - 0x14], eax
jb 0x4012f1
jmp 0x401f4d
mov dword [ebp - 0xc], 0
jmp 0x4015c6
dec dword [ebp - 8]
mov eax, 0x1c
mul dword [ebp - 0xc]
mov dword [ebp - 0x50], eax
lea eax, [eax + 0x4132c4]
mov dword [0x4139c4], eax
push 4
push 0x4132b4
call fcn.004058df
add esp, 8
or eax, eax
jne 0x40135a
mov ebx, 0x33
mov dword [ebp - 8], 0
jmp 0x4015d6
push 4
push 0x421308
push 0x4132b4
call sub.CRTDLL.DLL_strncmp
add esp, 0xc
or eax, eax
je 0x4013e7
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x2c]
shl edx, 6
lea edi, [edi + edx + 1]
push edi
push 0x42105a
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
add esp, 0xc
push 0x401
push eax
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x10
push 0x42105e
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
add esp, 8
push 0x401
push eax
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x10
mov ebx, 3
mov dword [ebp - 8], 0
jmp 0x4015d6
call fcn.00403afa
mov esi, eax
or eax, eax
je 0x401400
mov ebx, esi
mov dword [ebp - 8], 0
jmp 0x4015d6
push 2
movzx eax, word [0x41fa40]
push eax
call fcn.004063b0
add esp, 8
mov esi, eax
or eax, eax
je 0x40146e
cmp esi, ebx
jle 0x40141e
mov ebx, esi
cmp esi, 1
jle 0x40146e
push 0x4179c8
push 0x41fac8
call fcn.00402e7f
push str.central
push eax
push 0x421062
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
mov edi, eax
push 0x401
push edi
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x28
mov dword [ebp - 8], 0
jmp 0x4015d6
push 3
movzx eax, word [0x41fa42]
push eax
call fcn.004063b0
add esp, 8
mov esi, eax
or eax, eax
je 0x4014dc
cmp esi, ebx
jle 0x40148c
mov ebx, esi
cmp esi, 1
jle 0x4014dc
push 0x4179c8
push 0x41fac8
call fcn.00402e7f
push str.central
push eax
push 0x421063
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
mov edi, eax
push 0x401
push edi
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x28
mov dword [ebp - 8], 0
jmp 0x4015d6
push 0
movzx eax, word [0x41fa44]
push eax
call fcn.004063b0
add esp, 8
mov esi, eax
or eax, eax
je 0x401545
cmp esi, ebx
jle 0x4014fa
mov ebx, esi
cmp esi, 1
jle 0x401545
push 0x4179c8
push 0x41fac8
call fcn.00402e7f
push eax
push 0x421066
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
mov edi, eax
push 0x421
push edi
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x24
mov dword [ebp - 8], 0
jmp 0x4015d6
cmp dword [0x413288], 0
je 0x401561
call fcn.0040226b
or eax, eax
je 0x40155c
inc dword [ebp - 0xc]
jmp 0x4015c6
inc dword [ebp - 0x38]
jmp 0x4015c6
push 0x12d
push dword [0x41fefc]
call sub.USER32.DLL_GetDlgItem
mov dword [ebp - 0x58], eax
push 0x12d
push dword [0x41fefc]
call sub.USER32.DLL_GetDlgItem
push 0x41fac8
push 0xffffffffffffffff
push 0x18f
push eax
call sub.USER32.DLL_SendMessageA
push 0
push eax
push 0x187
mov edi, dword [ebp - 0x58]
push edi
call sub.USER32.DLL_SendMessageA
xor edx, edx
cmp eax, edx
setg dl
mov dword [ebp - 0x54], edx
or edx, edx
je 0x4015c6
call fcn.0040226b
or eax, eax
je 0x4015c3
inc dword [ebp - 0xc]
jmp 0x4015c6
inc dword [ebp - 0x38]
cmp dword [ebp - 8], 0
je 0x4015d6
cmp dword [ebp - 0xc], 0x40
jb 0x40131c
mov eax, dword [0x41f9fc]
mov dword [ebp - 0x48], eax
mov eax, dword [0x41f9d4]
mov dword [ebp - 0x40], eax
mov eax, dword [0x41f9d8]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
jmp 0x401f00
inc dword [ebp - 0x10]
mov eax, 0x1c
mul dword [ebp - 0x14]
mov dword [ebp - 0x50], eax
lea eax, [eax + 0x4132c4]
mov dword [0x4139c4], eax
mov eax, dword [eax]
add eax, dword [0x41fa00]
mov dword [ebp - 4], eax
mov ecx, 0x2000
cdq
idiv ecx
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
sub eax, edx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 4], 0
jge 0x4016e6
push 0x42105e
push dword [0x41f9f0]
push 0x42105b
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
push 0x401
push eax
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x20
mov ebx, 2
cmp dword [ebp - 0x10], 1
jne 0x4016dc
cmp dword [0x41fa00], 0
je 0x4016dc
push 0x421069
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
add esp, 8
push 0x401
push eax
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x10
mov eax, dword [0x41fa00]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [0x41fa00], eax
mov eax, dword [0x4139c4]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov ecx, 0x2000
cdq
idiv ecx
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
sub eax, edx
mov dword [ebp - 0x1c], eax
jmp 0x4016e6
mov ebx, 3
jmp 0x401efd
cmp dword [ebp - 4], 0
jge 0x401729
push 0x42105e
push dword [0x41f9f0]
push 0x42105b
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
push 0x401
push eax
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x20
mov ebx, 3
jmp 0x401efd
mov eax, dword [0x41f9fc]
cmp dword [ebp - 0x1c], eax
je 0x4017c7
push 0
push dword [ebp - 0x1c]
push dword [0x41f9f4]
call sub.CRTDLL.DLL__lseek
mov dword [0x41f9fc], eax
push 0x2000
push dword [0x41f9d0]
push dword [0x41f9f4]
call sub.CRTDLL.DLL__read
add esp, 0x18
mov dword [0x41f9d8], eax
or eax, eax
jg 0x4017ae
push dword [ebp - 0x1c]
push str.lseek
push dword [ebp - 0x10]
push 0x421064
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
add esp, 0x14
push 0x401
push eax
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x10
mov ebx, 3
jmp 0x401efd
mov eax, dword [ebp - 0x18]
add eax, dword [0x41f9d0]
mov dword [0x41f9d4], eax
mov eax, dword [ebp - 0x18]
sub dword [0x41f9d8], eax
jmp 0x4017e9
mov eax, dword [0x41f9d4]
sub eax, dword [0x41f9d0]
sub eax, dword [ebp - 0x18]
add dword [0x41f9d8], eax
mov eax, dword [ebp - 0x18]
add eax, dword [0x41f9d0]
mov dword [0x41f9d4], eax
push 4
push 0x4132b4
call fcn.004058df
add esp, 8
or eax, eax
jne 0x40183c
push dword [ebp - 4]
push 0x4210ec
push dword [ebp - 0x10]
push 0x421064
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
add esp, 0x14
push 0x401
push eax
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x10
mov ebx, 3
jmp 0x401efd
push 4
push 0x42130c
push 0x4132b4
call sub.CRTDLL.DLL_strncmp
add esp, 0xc
or eax, eax
je 0x401a9a
push dword [ebp - 4]
push 0x421067
push dword [ebp - 0x10]
push 0x421064
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
add esp, 0x14
push 0x401
push eax
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x10
mov ebx, 2
cmp dword [ebp - 0x10], 1
jne 0x4018a2
cmp dword [0x41fa00], 0
jne 0x4018b9
cmp dword [0x41fa00], 0
jne 0x401efd
cmp dword [ebp - 0x28], 0
je 0x401efd
push 0x421069
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
push 0x401
push eax
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x18
cmp dword [0x41fa00], 0
je 0x4018fe
mov eax, dword [0x41fa00]
mov dword [ebp - 0x28], eax
mov dword [0x41fa00], 0
jmp 0x401906
mov eax, dword [ebp - 0x28]
mov dword [0x41fa00], eax
mov eax, dword [0x4139c4]
mov eax, dword [eax]
add eax, dword [0x41fa00]
mov dword [ebp - 0x54], eax
mov ecx, 0x2000
cdq
idiv ecx
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x54]
sub eax, edx
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x54], 0
jge 0x401969
push 0x42105e
push dword [0x41f9f0]
push 0x42105b
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
push 1
push eax
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x20
mov eax, 3
jmp 0x402266
mov eax, dword [0x41f9fc]
cmp dword [ebp - 0x5c], eax
je 0x4019cd
push 0
push dword [ebp - 0x5c]
push dword [0x41f9f4]
call sub.CRTDLL.DLL__lseek
mov dword [0x41f9fc], eax
push 0x2000
push dword [0x41f9d0]
push dword [0x41f9f4]
call sub.CRTDLL.DLL__read
add esp, 0x18
mov dword [0x41f9d8], eax
or eax, eax
jg 0x4019b4
mov eax, 0x33
jmp 0x402266
mov eax, dword [ebp - 0x58]
add eax, dword [0x41f9d0]
mov dword [0x41f9d4], eax
mov eax, dword [ebp - 0x58]
sub dword [0x41f9d8], eax
jmp 0x4019ef
mov eax, dword [0x41f9d4]
sub eax, dword [0x41f9d0]
sub eax, dword [ebp - 0x58]
add dword [0x41f9d8], eax
mov eax, dword [ebp - 0x58]
add eax, dword [0x41f9d0]
mov dword [0x41f9d4], eax
push 4
push 0x4132b4
call fcn.004058df
add esp, 8
or eax, eax
jne 0x401a42
push dword [ebp - 4]
push 0x4210ec
push dword [ebp - 0x10]
push 0x421064
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
add esp, 0x14
push 0x401
push eax
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x10
mov ebx, 3
jmp 0x401efd
push 4
push 0x42130c
push 0x4132b4
call sub.CRTDLL.DLL_strncmp
add esp, 0xc
or eax, eax
je 0x401a9a
push dword [ebp - 4]
push 0x421067
push dword [ebp - 0x10]
push 0x421064
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
add esp, 0x14
push 0x401
push eax
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x10
mov ebx, 3
jmp 0x401efd
call fcn.00403cc8
mov esi, eax
or eax, eax
je 0x401ad7
push dword [ebp - 0x10]
push 0x421068
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
push 0x421
push eax
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x1c
mov ebx, esi
jmp 0x401efd
push 2
movzx eax, word [0x41fa24]
push eax
call fcn.004063b0
add esp, 8
mov esi, eax
or eax, eax
je 0x401b3e
cmp esi, ebx
jle 0x401af5
mov ebx, esi
cmp esi, 1
jle 0x401b3e
push 0x4179c8
push 0x41fac8
call fcn.00402e7f
push str.local
push eax
push 0x421062
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
mov edi, eax
push 0x401
push edi
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x28
jmp 0x401efd
cmp dword [0x41fa04], 0
je 0x401b5d
push dword [0x41fa04]
call sub.CRTDLL.DLL_free
pop ecx
mov dword [0x41fa04], 0
push 3
movzx eax, word [0x41fa26]
push eax
call fcn.004063b0
add esp, 8
mov esi, eax
or eax, eax
je 0x401bc4
cmp esi, ebx
jle 0x401b7b
mov ebx, esi
cmp esi, 1
jle 0x401bc4
push 0x4179c8
push 0x41fac8
call fcn.00402e7f
push str.local
push eax
push 0x421063
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
mov edi, eax
push 0x401
push edi
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x28
jmp 0x401efd
mov eax, dword [0x4139c4]
test byte [eax + 0x18], 1
je 0x401c99
push dword [0x41321c]
call fcn.004071b2
pop ecx
mov esi, eax
or eax, eax
je 0x401c99
cmp esi, 1
jne 0x401c54
cmp dword [0x413258], 0
je 0x401c00
cmp dword [0x41324c], 0
jne 0x401c4c
cmp dword [0x413258], 0
jne 0x401c12
cmp dword [0x41324c], 0
jne 0x401c4c
push 0x4179c8
push 0x41fac8
call fcn.00402e7f
push eax
push 0x421073
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
mov edi, eax
push 0x401
push edi
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x24
inc dword [ebp - 0x3c]
jmp 0x401efd
cmp esi, ebx
jle 0x401c5a
mov ebx, esi
push 0x4179c8
push 0x41fac8
call fcn.00402e7f
push eax
push 0x421072
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
mov edi, eax
push 0x401
push edi
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x24
jmp 0x401efd
cmp dword [0x413258], 0
jne 0x401dfa
cmp dword [0x413228], 0
jne 0x401dfa
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
push dword [ebp - 0x20]
call fcn.00408939
pop ecx
mov esi, eax
cmp eax, 1
jle 0x401d61
cmp esi, 0x4d
je 0x401efd
cmp esi, 0x4e
jne 0x401d45
push 0x4179c8
push 0x41fac8
call fcn.00402e7f
add esp, 8
cmp dword [0x413254], 0
je 0x401d09
lea edi, str.hard_disk
mov dword [ebp - 0x54], edi
jmp 0x401d12
lea edi, [0x4210da]
mov dword [ebp - 0x54], edi
push dword [ebp - 0x54]
push eax
push 0x42106a
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
mov edi, eax
push 0x401
push edi
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x20
jmp 0x401efd
cmp esi, 2
jle 0x401efd
cmp ebx, 2
jge 0x401efd
mov ebx, 2
jmp 0x401efd
push 0x41fac8
call fcn.00406310
pop ecx
mov dword [ebp - 0x54], eax
mov edi, eax
cmp edi, 0xffffffff
je 0x401d81
or edi, edi
je 0x401d95
cmp edi, 1
je 0x401db4
jmp 0x401de1
cmp dword [0x413230], 0
je 0x401de1
cmp dword [ebp - 0x20], 0
jne 0x401de1
jmp 0x401efd
cmp dword [0x413244], 0
jne 0x401efd
cmp dword [0x413248], 0
jne 0x401de1
mov dword [ebp - 0x24], 1
jmp 0x401de1
cmp dword [0x413244], 0
jne 0x401dcc
cmp dword [0x413260], 0
je 0x401dd1
cmp dword [ebp - 0x20], 0
jne 0x401dd1
jmp 0x401efd
cmp dword [0x413248], 0
jne 0x401de1
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x24], 0
je 0x401dfa
push 0x41fac8
call fcn.0040bdd1
pop ecx
or eax, eax
je 0x401efd
mov dword [0x41fa98], 0
call fcn.004025db
mov esi, eax
or eax, eax
je 0x401e48
cmp esi, ebx
jle 0x401e15
mov ebx, esi
cmp dword [0x41fa98], 1
jg 0x401e23
cmp ebx, 0x50
jne 0x401e48
cmp dword [ebp - 0x30], 0
je 0x401e32
push dword [ebp - 0x30]
call sub.CRTDLL.DLL_free
pop ecx
cmp dword [ebp - 0x34], 0
je 0x401e41
push dword [ebp - 0x34]
call sub.CRTDLL.DLL_free
pop ecx
mov eax, ebx
jmp 0x402266
or esi, esi
je 0x401e59
cmp dword [0x41feec], 0
je 0x401efd
push 0x41ff04
push 0x41fac8
call sub.CRTDLL.DLL_strstr
add esp, 8
or eax, eax
je 0x401ea8
lea ecx, [0x41ff04]
or eax, 0xffffffff
inc eax
cmp byte [ecx + eax], 0
jne 0x401e78
mov dword [ebp - 0x54], eax
push 0x41ff04
push 0x41fac8
call sub.CRTDLL.DLL_strstr
add esp, 8
mov edi, dword [ebp - 0x54]
lea edi, [edi + eax + 1]
push edi
push 0x420014
call fcn.00411ab4
jmp 0x401eb7
push 0x41fac8
push 0x420014
call fcn.00411ab4
push 0x12d
push dword [0x41fefc]
call sub.USER32.DLL_GetDlgItem
mov dword [ebp - 0x54], eax
push 0x12d
push dword [0x41fefc]
call sub.USER32.DLL_GetDlgItem
push 0x420014
push 0xffffffffffffffff
push 0x18f
push eax
call sub.USER32.DLL_SendMessageA
push 0
push eax
push 0x182
mov edi, dword [ebp - 0x54]
push edi
call sub.USER32.DLL_SendMessageA
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x14], eax
jb 0x4015fa
push 0
push dword [ebp - 0x48]
push dword [0x41f9f4]
call sub.CRTDLL.DLL__lseek
mov dword [0x41f9fc], eax
push 0x2000
push dword [0x41f9d0]
push dword [0x41f9f4]
call sub.CRTDLL.DLL__read
add esp, 0x18
mov eax, dword [ebp - 0x40]
mov dword [0x41f9d4], eax
mov eax, dword [ebp - 0x44]
mov dword [0x41f9d8], eax
inc dword [ebp - 0x2c]
cmp dword [ebp - 8], 0
jne 0x401310
call fcn.00407ede
cmp dword [ebp - 0x30], 0
je 0x401fc8
mov dword [ebp - 0x14], 0
jmp 0x401fb5
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
cmp dword [esi + edi*4], 0
jne 0x401fb2
mov edi, dword [ebp - 0x14]
mov esi, dword [0x4132ac]
push dword [esi + edi*4]
push 0x42105c
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
push 1
push eax
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x1c
cmp ebx, 1
jg 0x401fb2
mov ebx, 0xb
inc dword [ebp - 0x14]
mov eax, dword [0x413280]
cmp dword [ebp - 0x14], eax
jb 0x401f6b
push dword [ebp - 0x30]
call sub.CRTDLL.DLL_free
pop ecx
cmp dword [ebp - 0x34], 0
je 0x40202d
mov dword [ebp - 0x14], 0
jmp 0x40201a
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x34]
cmp dword [esi + edi*4], 0
jne 0x402017
mov edi, dword [ebp - 0x14]
mov esi, dword [0x4132b0]
push dword [esi + edi*4]
push 0x42105d
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
push 0x401
push eax
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x1c
inc dword [ebp - 0x14]
mov eax, dword [0x413284]
cmp dword [ebp - 0x14], eax
jb 0x401fd7
push dword [ebp - 0x34]
call sub.CRTDLL.DLL_free
pop ecx
cmp dword [0x413258], 0
je 0x402214
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
cmp dword [0x41324c], 2
jge 0x4021d7
or ebx, ebx
je 0x402098
push dword [0x41f9f0]
cmp ebx, 1
jne 0x402067
lea esi, str.warning_
jmp 0x40206d
lea esi, [0x4210da]
push esi
push 0x42106f
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
push 0
push eax
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x20
jmp 0x40214f
cmp dword [ebp - 0x50], 0
jne 0x4020ce
push dword [0x41f9f0]
push 0x421070
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
push 0
push eax
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x1c
jmp 0x40214f
cmp dword [0x413288], 0
je 0x40210c
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x3c]
jne 0x40210c
push dword [0x41f9f0]
push 0x421076
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
push 0
push eax
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x1c
jmp 0x40214f
cmp dword [ebp - 0x50], 1
jne 0x40211a
lea esi, [0x4210da]
jmp 0x402120
lea esi, [0x4210cf]
push esi
push dword [ebp - 0x50]
push dword [0x41f9f0]
push 0x421077
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
push 0
push eax
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x24
cmp dword [ebp - 0x38], 0
je 0x402192
cmp dword [ebp - 0x38], 1
jne 0x402163
lea esi, [0x4210da]
jmp 0x402169
lea esi, [0x4210cf]
push esi
push dword [ebp - 0x38]
push 0x421078
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
push 0
push eax
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x20
cmp dword [ebp - 0x3c], 0
je 0x402214
cmp dword [ebp - 0x3c], 1
jne 0x4021a6
lea esi, [0x4210da]
jmp 0x4021ac
lea esi, [0x4210cf]
push esi
push dword [ebp - 0x3c]
push 0x421074
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
push 0
push eax
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x20
jmp 0x402214
cmp dword [0x41324c], 0
jne 0x402214
or ebx, ebx
jne 0x402214
cmp dword [ebp - 0x50], ebx
jne 0x402214
push dword [0x41f9f0]
push 0x421070
push 0x4139c8
call sub.CRTDLL.DLL_sprintf
push 0
push eax
push 0x4139c8
push 0x413218
call dword [0x41fc00]
add esp, 0x1c
cmp dword [ebp - 0x10], 0
jne 0x402233
cmp ebx, 1
jg 0x402233
cmp dword [ebp - 0x38], 0
je 0x40222c
mov ebx, 0x51
jmp 0x402264
mov ebx, 0xb
jmp 0x402264
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x10], eax
jne 0x402247
cmp ebx, 1
jg 0x402247
mov ebx, 0x52
jmp 0x402264
cmp dword [ebp - 0x38], 0
je 0x402259
cmp ebx, 1
jg 0x402259
mov ebx, 0x51
jmp 0x402264
cmp dword [ebp - 0x3c], 0
je 0x402264
or ebx, ebx
jne 0x402264
inc ebx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret