Function at 0x417ba0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x18
push ebx
xor ebx, ebx
cmp dword [0x462188], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
jle 0x417ec2
push esi
cmp byte [0x462285], bl
je 0x417c30
mov eax, dword [0x462288]
inc eax
cmp eax, 0x3e8
mov dword [0x462288], eax
jle 0x417c1b
mov esi, dword [sym.imp.MSVCR90.dll___iob_func]
push 0x459978
push str._nERROR_in__s_n
mov byte [0x462284], 1
call esi
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
call esi
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fflush]
add esp, 0x10
push 1
call dword [sym.imp.MSVCR90.dll_exit]
call fcn.00413de0
call fcn.0041eaf0
call fcn.004151c0
mov byte [esp + 0x30], bl
jmp 0x417c62
cmp byte [esp + 0x24], bl
je 0x417ec1
push ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [0x462288], ebx
mov byte [0x462169], bl
mov byte [0x462283], bl
call dword [sym.imp.MSVCR90.dll_srand]
add esp, 4
mov dword [0x462194], ebx
mov byte [0x462285], bl
mov byte [0x462284], bl
mov byte [0x462287], bl
mov byte [0x462280], bl
mov byte [0x462282], bl
cmp byte [0x462169], bl
jne 0x417ca8
call fcn.00414be0
cmp byte [0x462169], bl
jne 0x417ca8
cmp byte [0x461130], bl
je 0x417ca8
call fcn.00415420
cmp byte [esp + 0x34], bl
je 0x417cc1
mov dword [0x46219c], ebx
mov dword [0x4621ac], ebx
mov byte [0x462281], 1
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.004276b0
add esp, 0x10
mov byte [0x462286], bl
call fcn.004283e0
cmp byte [0x462169], bl
jne 0x417d02
fld qword [esp + 0x28]
sub esp, 8
fstp qword [esp]
call fcn.00414ed0
add esp, 8
fld qword [0x459970]
sub esp, 8
fstp qword [esp]
call fcn.00427d80
add esp, 8
cmp dword [0x4621ac], ebx
mov dword [esp + 0x18], ebx
jle 0x417d35
lea ecx, [esp + 0x18]
push ecx
call fcn.004285c0
add esp, 4
cmp dword [0x4621ac], ebx
sete byte [esp + 0xb]
cmp dword [0x46219c], ebx
mov dword [esp + 0x1c], ebx
jle 0x417d59
lea edx, [esp + 0x1c]
push edx
call fcn.00427d90
add esp, 4
cmp dword [0x46219c], ebx
sete byte [esp + 0xa]
cmp byte [0x462285], bl
jne 0x417ec1
call fcn.004167a0
cmp dword [0x46219c], ebx
jne 0x417d84
cmp dword [0x4621ac], ebx
jne 0x417d84
mov byte [esp + 0x34], 1
push ebp
push edi
call fcn.00414040
push 2
call fcn.004152f0
mov edi, dword [0x462188]
mov esi, 3
add edi, 0xfffffffe
add esp, 4
cmp esi, edi
jge 0x417dd0
mov ebp, dword [esp + 0x3c]
jmp 0x417db0
call fcn.00415380
push ebp
push eax
call fcn.0041fbf0
add esp, 8
cmp byte [0x462285], bl
jne 0x417ebf
inc esi
cmp esi, edi
jl 0x417db0
jne 0x417ebf
call fcn.00416510
call fcn.00426090
call fcn.00427330
cmp byte [esp + 0x12], bl
je 0x417df1
cmp byte [esp + 0x13], bl
jne 0x417dfb
call fcn.00414000
call fcn.0041b860
cmp byte [esp + 0x12], bl
jne 0x417e41
push ebx
call fcn.004152f0
mov eax, dword [0x46219c]
add esp, 4
xor esi, esi
cmp eax, ebx
jle 0x417e39
call fcn.00415380
push eax
call fcn.00422e60
add esp, 4
cmp byte [0x462285], bl
jne 0x417ebf
mov eax, dword [0x46219c]
inc esi
cmp esi, eax
jl 0x417e15
cmp esi, eax
jne 0x417ebf
cmp byte [esp + 0x13], bl
jne 0x417e87
call fcn.0041eaf0
push 1
call fcn.004152f0
mov eax, dword [0x4621ac]
add esp, 4
xor esi, esi
cmp eax, ebx
jle 0x417e81
call fcn.00415380
push eax
call fcn.004251b0
add esp, 4
cmp byte [0x462285], bl
jne 0x417ebf
mov eax, dword [0x4621ac]
inc esi
cmp esi, eax
jl 0x417e61
cmp esi, eax
jne 0x417ebf
jmp 0x417e8c
mov eax, dword [0x4621ac]
cmp dword [0x46219c], ebx
jg 0x417eac
cmp eax, ebx
jg 0x417eac
mov byte [0x462281], 1
call fcn.00413a30
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x18
ret
call fcn.00427320
test al, al
jne 0x417eba
call fcn.004153c0
call fcn.00413a30
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x18
ret