Function at 0x402950
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [0x40679c], 0x4067a4
mov dword [0x4067a0], 0x4067a5
mov dword [0x40677c], 1
push 0x406774
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00402cf0
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [0x406794], 0
je 0x4029b9
mov edx, dword [0x4067a0]
push edx
push str.digraph__s_n
mov eax, dword [0x406798]
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0xc
mov dword [ebp - 4], 0x403700
jmp 0x4029dc
mov ecx, dword [0x4067a0]
push ecx
push str.graph__s_n
mov edx, dword [0x406798]
push edx
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0xc
mov dword [ebp - 4], 0x403760
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x10
ja case.default.0x4029f8
mov edx, dword [ebp - 0x14]
jmp dword [edx*4 + 0x402ca0]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x40678c]
push ecx
mov edx, dword [0x406790]
push edx
mov eax, dword [0x406778]
push eax
mov ecx, dword [0x406774]
push ecx
call fcn.00401540
add esp, 0x14
jmp case.default.0x4029f8
mov edx, dword [ebp - 4]
push edx
mov eax, dword [0x406774]
push eax
call fcn.004010c0
add esp, 8
jmp case.default.0x4029f8
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [0x406774]
push edx
call section..text
add esp, 8
jmp case.default.0x4029f8
cmp dword [0x406778], 2
jne 0x402a78
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x406774]
push ecx
call fcn.004019a0
add esp, 8
jmp 0x402a91
mov edx, dword [ebp - 4]
push edx
mov eax, dword [0x406778]
push eax
mov ecx, dword [0x406774]
push ecx
call fcn.004018c0
add esp, 0xc
jmp case.default.0x4029f8
mov edx, dword [ebp - 4]
push edx
mov eax, dword [0x406774]
push eax
call fcn.00401db0
add esp, 8
jmp case.default.0x4029f8
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [0x406778]
push edx
mov eax, dword [0x406774]
push eax
call fcn.00401ea0
add esp, 0xc
jmp case.default.0x4029f8
cmp dword [0x406780], 0
jne 0x402af8
cmp dword [0x406784], 0
jne 0x402af8
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [0x406778]
push edx
mov eax, dword [0x406774]
push eax
call fcn.004012a0
add esp, 0xc
jmp 0x402b1f
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [0x406784]
push edx
mov eax, dword [0x406780]
push eax
mov ecx, dword [0x406778]
push ecx
mov edx, dword [0x406774]
push edx
call fcn.00401390
add esp, 0x14
jmp case.default.0x4029f8
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x406778]
push ecx
mov edx, dword [0x406774]
push edx
call fcn.00401460
add esp, 0xc
jmp case.default.0x4029f8
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x406778]
push ecx
mov edx, dword [0x406774]
push edx
call fcn.00402090
add esp, 0xc
jmp case.default.0x4029f8
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x406774]
push ecx
call fcn.00401a00
add esp, 8
jmp case.default.0x4029f8
mov edx, dword [ebp - 4]
push edx
mov eax, dword [0x406774]
push eax
call fcn.00401050
add esp, 8
jmp case.default.0x4029f8
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [0x406778]
push edx
mov eax, dword [0x406774]
push eax
call fcn.00401f30
add esp, 0xc
jmp case.default.0x4029f8
mov ecx, dword [0x406774]
push ecx
call fcn.00402230
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 1
jmp 0x402bd3
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x40677c]
jg 0x402c00
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00402420
add esp, 8
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x40677c]
je 0x402bfe
call fcn.004037c0
jmp 0x402bca
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004028b0
add esp, 4
mov edx, dword [ebp - 4]
push edx
mov eax, dword [0x406778]
push eax
mov ecx, dword [0x406774]
push ecx
call fcn.00401f30
add esp, 0xc
jmp case.default.0x4029f8
mov edx, dword [ebp - 4]
push edx
mov eax, dword [0x406778]
push eax
mov ecx, dword [0x406774]
push ecx
call fcn.00401240
add esp, 0xc
jmp case.default.0x4029f8
mov edx, dword [ebp - 4]
push edx
mov eax, dword [0x406774]
push eax
call fcn.00401d30
add esp, 8
jmp case.default.0x4029f8
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [0x406774]
push edx
call fcn.00401140
add esp, 8
jmp case.default.0x4029f8
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x406774]
push ecx
call fcn.004011b0
add esp, 8
push 0x406624
mov edx, dword [0x406798]
push edx
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 8
push 0
call dword [sym.imp.MSVCR90.dll_exit]
mov esp, ebp
pop ebp
ret