Function at 0x401160
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [0x40447c], 0
push 0x2f
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.MSVCR90.dll_strrchr]
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x401194
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x18], eax
jmp 0x40119d
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
push 0x10
call section..text
add esp, 4
mov dword [ebp - 8], eax
push 0x10
call section..text
add esp, 4
mov dword [ebp - 0x10], eax
push str.hvn:N:
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004026f0
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
je 0x4012f6
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
sub edx, 0x3f
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x50], 0x37
ja case.0x4011fc.1
mov eax, dword [ebp - 0x50]
movzx ecx, byte [eax + 0x401648]
jmp dword [ecx*4 + 0x401630]
mov edx, dword [0x404860]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00401850
add esp, 8
mov dword [ebp - 8], eax
jmp 0x4012f1
mov ecx, dword [0x404860]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00401950
add esp, 8
mov dword [ebp - 0x10], eax
jmp 0x4012f1
mov eax, dword [ebp - 0x18]
push eax
call fcn.00401800
add esp, 4
push 0
call dword [sym.imp.MSVCR90.dll_exit]
jmp 0x4012f1
mov dword [0x4044e0], 1
jmp 0x4012f1
cmp dword [0x40485c], 0x3f
jne 0x401280
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00401800
add esp, 4
push 0
call dword [sym.imp.MSVCR90.dll_exit]
jmp 0x4012d3
mov edx, dword [0x40485c]
push edx
call dword [sym.imp.MSVCR90.dll_isprint]
add esp, 4
test eax, eax
je 0x4012b4
mov eax, dword [0x40485c]
push eax
push str.Unknown_option____c._n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0xc
jmp 0x4012d3
mov ecx, dword [0x40485c]
push ecx
push str.Unknown_option_character__x_X._n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0xc
push 1
call dword [sym.imp.MSVCR90.dll_exit]
jmp 0x4012f1
mov edx, dword [ebp - 0x18]
push edx
call fcn.00401800
add esp, 4
push 1
call dword [sym.imp.MSVCR90.dll_exit]
jmp 0x4011b7
mov eax, dword [0x404480]
cmp eax, dword [ebp + 8]
jge 0x401311
mov ecx, dword [0x404480]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx*4]
mov dword [ebp - 4], eax
jmp 0x401318
mov dword [ebp - 4], 0
push 0x401830
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.004025c0
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
call fcn.00402200
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x401608
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.cgraph.dll_agisdirected
add esp, 4
test eax, eax
jne 0x401376
push str._Error:_Graph_is_undirected__Pruning_works_only_with_directed_graphs__n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 8
push 1
call dword [sym.imp.MSVCR90.dll_exit]
push 1
push 0xc
push 0x40412c
push 1
mov edx, dword [ebp - 0x1c]
push edx
call sub.cgraph.dll_aginit
add esp, 0x14
mov dword [ebp - 0xc], 0
jmp 0x40139f
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ecx]
jae 0x4015e1
cmp dword [0x4044e0], 1
jne 0x4013db
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + edx*4]
push eax
push str.Pruning_node__s_n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [edx + eax*4]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call sub.cgraph.dll_agnode
add esp, 0xc
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x401429
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + edx*4]
push eax
push str._Warning:_No_such_node:__s____gracefully_skipping_this_one_n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0xc
jmp 0x4015dc
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 8]
mov dword [edx + 8], 1
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.cgraph.dll_agfstout
add esp, 8
mov dword [ebp - 0x24], eax
jmp 0x401451
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
je 0x401534
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.cgraph.dll_agnxtout
add esp, 8
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
and eax, 3
cmp eax, 2
jne 0x401483
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x54], ecx
jmp 0x40148c
mov edx, dword [ebp - 0x24]
sub edx, 0x20
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x1c]
cmp ecx, dword [ebp - 0x4c]
je 0x40152f
cmp dword [0x4044e0], 1
jne 0x4014ea
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
and eax, 3
cmp eax, 2
jne 0x4014b9
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x58], ecx
jmp 0x4014c2
mov edx, dword [ebp - 0x24]
sub edx, 0x20
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x1c]
push ecx
call sub.cgraph.dll_agnameof
add esp, 4
push eax
push 0x404184
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0xc
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
and eax, 3
cmp eax, 2
jne 0x4014ff
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x5c], ecx
jmp 0x401508
mov edx, dword [ebp - 0x24]
sub edx, 0x20
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00401680
add esp, 8
test eax, eax
jne 0x40152f
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.cgraph.dll_agdelete
add esp, 8
jmp 0x40144b
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 8]
mov dword [eax + 8], 0
mov dword [ebp - 0x48], 0
jmp 0x401553
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x48]
cmp eax, dword [edx]
jae 0x4015dc
push 0x4044e4
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp - 0x48]
mov ecx, dword [edx + eax*4]
mov edx, dword [ecx]
push edx
push 1
mov eax, dword [ebp - 0x1c]
push eax
call sub.cgraph.dll_agattr
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4015b7
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp - 0x48]
mov ecx, dword [edx + eax*4]
mov edx, dword [ecx]
push edx
push str.Couldnt_create_attribute:__s_n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0xc
push 1
call dword [sym.imp.MSVCR90.dll_exit]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x48]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call sub.cgraph.dll_agxset
add esp, 0xc
jmp 0x40154a
jmp 0x401396
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x20
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.cgraph.dll_agwrite
add esp, 8
mov edx, dword [ebp - 0x1c]
push edx
call sub.cgraph.dll_agclose
add esp, 4
jmp 0x40132d
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
push 0
call dword [sym.imp.MSVCR90.dll_exit]
mov esp, ebp
pop ebp
ret