Function at 0x40c490
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x41152b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
push 0
lea eax, [esp + 0xc]
push str._b_GVEdit__b__Graph_File_Editor_For_Graphvizversion:_1.02_nGraphviz_version:
push eax
mov esi, ecx
call fcn.00408bb0
add esp, 0xc
mov ecx, dword [esi + 0x94]
mov edx, dword [ecx + 0x18]
push 0
push edx
mov dword [esp + 0x20], 0
call fcn.0040e794
add esp, 4
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00408bb0
add esp, 0xc
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call dword [0x41328c]
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x18], 0
or edx, 0xffffffff
lock xadd dword [ecx], edx
mov edi, dword [0x413284]
jne 0x408fac
mov eax, dword [esp + 0xc]
push eax
call edi
add esp, 4
push 0
lea ecx, [esp + 0x10]
push str.About_GVEdit_n
push ecx
call fcn.00408bb0
lea edx, [esp + 0x14]
push edx
push eax
push esi
mov byte [esp + 0x30], 2
call dword [0x4134bc]
mov eax, dword [esp + 0x24]
add esp, 0x18
mov byte [esp + 0x18], 0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x408fee
mov edx, dword [esp + 0xc]
push edx
call edi
add esp, 4
mov eax, dword [esp + 8]
mov dword [esp + 0x18], 0xffffffff
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40900d
mov edx, dword [esp + 8]
push edx
call edi
add esp, 4
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ecx, dword [0x4274fc]
jmp dword [0x413604]
push 0xffffffffffffffff
push 0x411d37
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov ebp, ecx
mov ecx, dword [0x4274fc]
push eax
call dword [0x413980]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov dword [esp + 0x5c], 0
call dword [0x41323c]
mov edx, dword [eax]
cmp dword [edx + 8], 0
mov eax, dword [esp + 0x1c]
mov edi, dword [0x413284]
sete bl
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40b18a
mov edx, dword [esp + 0x1c]
push edx
call edi
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], 0xffffffff
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40b1a9
mov edx, dword [esp + 0x14]
push edx
call edi
add esp, 4
test bl, bl
je 0x40b23a
push 0
lea eax, [esp + 0x18]
push str.Nothing_to_save_
push eax
call fcn.00408bb0
mov esi, eax
push 0
lea ecx, [esp + 0x2c]
push str.GvEdit
mov ebx, 1
push ecx
mov dword [esp + 0x70], ebx
call fcn.00408bb0
push 0x400
push 0x400
push esi
push eax
push ebp
mov byte [esp + 0x84], 2
call dword [0x41397c]
mov edx, dword [esp + 0x48]
add esp, 0x2c
mov byte [esp + 0x58], bl
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40b217
mov ecx, dword [esp + 0x1c]
push ecx
call edi
add esp, 4
mov edx, dword [esp + 0x14]
mov dword [esp + 0x58], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40b55d
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x40b558
push 0xffffffffffffffff
push 0x413aac
call dword [0x413264]
mov dword [esp + 0x24], eax
push 0
lea edx, [esp + 0x30]
push str.Text_File_._
push edx
mov dword [esp + 0x6c], 3
call fcn.00408bb0
mov esi, eax
push 0
lea eax, [esp + 0x38]
push str.Open_File
push eax
mov byte [esp + 0x78], 4
call fcn.00408bb0
add esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0
push esi
mov dword [ecx], 0
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x2c]
push ebp
push edx
mov byte [esp + 0x74], 5
call dword [0x41398c]
add esp, 0x1c
mov eax, dword [esp + 0x20]
or esi, 0xffffffff
mov byte [esp + 0x58], 7
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x40b2c6
mov edx, dword [esp + 0x20]
push edx
call edi
add esp, 4
mov eax, dword [esp + 0x24]
mov byte [esp + 0x58], 8
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x40b2e1
mov edx, dword [esp + 0x24]
push edx
call edi
add esp, 4
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x58], 9
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x40b2fc
mov edx, dword [esp + 0x1c]
push edx
call edi
add esp, 4
mov eax, dword [esp + 0x18]
cmp dword [eax + 8], 0
je 0x40b549
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
call dword [0x413210]
push ecx
mov eax, esp
lea ecx, [esp + 0x44]
mov byte [esp + 0x5c], 0xa
mov dword [esp + 0x40], esp
mov dword [eax], 0x12
call dword [0x413214]
test al, al
jne 0x40b4c6
mov bl, 0x20
mov byte [esp + 0x38], bl
mov ecx, dword [esp + 0x38]
push ecx
lea ecx, [esp + 0x18]
call dword [0x413218]
mov byte [esp + 0x3c], bl
mov edx, dword [esp + 0x3c]
push edx
lea ecx, [esp + 0x16]
call dword [0x413218]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x44]
call dword [0x41321c]
mov esi, eax
push 0
lea ecx, [esp + 0x38]
push str.Cannot_write_file__1:_n_2.
push ecx
mov byte [esp + 0x64], 0xb
call fcn.00408bb0
add esp, 0xc
mov edi, dword [0x413220]
lea edx, [esp + 0x12]
push edx
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, eax
mov byte [esp + 0x68], 0xc
call edi
lea ecx, [esp + 0x14]
push ecx
push 0
push esi
lea edx, [esp + 0x38]
push edx
mov ecx, eax
mov byte [esp + 0x68], 0xd
call edi
mov esi, eax
push 0
lea eax, [esp + 0x2c]
push 0x413b74
mov bl, 0xe
push eax
mov byte [esp + 0x64], bl
call fcn.00408bb0
add esp, 0xc
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push esi
push eax
push ebp
mov byte [esp + 0x6c], 0xf
mov dword [ecx], 0x400
call dword [0x413970]
mov ecx, dword [esp + 0x3c]
mov esi, dword [0x413284]
add esp, 0x14
mov byte [esp + 0x58], bl
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x40b422
mov eax, dword [esp + 0x28]
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x58], 0xd
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x40b43e
mov eax, dword [esp + 0x2c]
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x58], 0xc
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x40b45a
mov eax, dword [esp + 0x30]
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x58], 0xb
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x40b476
mov eax, dword [esp + 0x34]
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x58], 0xa
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x40b492
mov eax, dword [esp + 0x38]
push eax
call esi
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 9
call dword [0x413224]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x40b55d
mov eax, dword [esp + 0x18]
push eax
call esi
jmp 0x40b55a
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x4c]
call dword [0x413228]
mov ecx, dword [0x4274fc]
lea edx, [esp + 0x38]
mov bl, 0x10
push edx
mov byte [esp + 0x5c], bl
call dword [0x413980]
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x5c], 0x11
call dword [0x41320c]
mov eax, dword [esp + 0x38]
mov byte [esp + 0x58], bl
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x40b516
mov edx, dword [esp + 0x38]
push edx
call edi
add esp, 4
lea ecx, [esp + 0x48]
mov byte [esp + 0x58], 0xa
call dword [0x413230]
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 9
call dword [0x413224]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], esi
lock xadd dword [eax], esi
jne 0x40b55d
mov ecx, dword [esp + 0x18]
push ecx
jmp 0x40b558
mov dword [esp + 0x58], esi
lock xadd dword [eax], esi
jne 0x40b55d
mov edx, dword [esp + 0x18]
push edx
call edi
add esp, 4
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4c
ret
push esi
call fcn.0040b640
mov esi, eax
mov ecx, esi
call fcn.0040d450
mov ecx, esi
pop esi
jmp dword [0x4135fc]
push 0xffffffffffffffff
push 0x411d99
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
call fcn.0040b7c0
test eax, eax
je 0x40b8f9
mov ecx, esi
call fcn.0040b7c0
mov ecx, eax
call fcn.0040dfd0
test al, al
je 0x40b8f9
push 0
lea eax, [esp + 8]
push str.File_saved
push eax
call fcn.00408bb0
add esp, 0xc
push 0x7d0
push eax
mov ecx, esi
mov dword [esp + 0x18], 0
call dword [0x413688]
mov ecx, eax
call dword [0x413684]
mov ecx, dword [esp + 4]
mov dword [esp + 0x10], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x40b8f9
mov eax, dword [esp + 4]
push eax
call dword [0x413284]
add esp, 4
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
push 0xffffffffffffffff
push 0x411d99
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
call fcn.0040b7c0
test eax, eax
je 0x40b999
mov ecx, esi
call fcn.0040b7c0
mov ecx, eax
call fcn.0040dd00
test al, al
je 0x40b999
push 0
lea eax, [esp + 8]
push str.File_saved
push eax
call fcn.00408bb0
add esp, 0xc
push 0x7d0
push eax
mov ecx, esi
mov dword [esp + 0x18], 0
call dword [0x413688]
mov ecx, eax
call dword [0x413684]
mov ecx, dword [esp + 4]
mov dword [esp + 0x10], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x40b999
mov eax, dword [esp + 4]
push eax
call dword [0x413284]
add esp, 4
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
push esi
mov esi, ecx
call fcn.0040b7c0
test eax, eax
je 0x40b9cc
mov ecx, esi
call fcn.0040b7c0
mov ecx, eax
pop esi
jmp dword [0x41368c]
pop esi
ret
push esi
mov esi, ecx
call fcn.0040b7c0
test eax, eax
je 0x40b9ec
mov ecx, esi
call fcn.0040b7c0
mov ecx, eax
pop esi
jmp dword [0x413690]
pop esi
ret
push esi
mov esi, ecx
call fcn.0040b7c0
test eax, eax
je 0x40ba0c
mov ecx, esi
call fcn.0040b7c0
mov ecx, eax
pop esi
jmp dword [0x413694]
pop esi
ret
push esi
mov esi, ecx
call fcn.0040ba10
mov ecx, esi
call fcn.0040b7c0
mov ecx, dword [esi + 0x94]
push eax
call fcn.00403a30
pop esi
ret
push esi
mov esi, ecx
call fcn.0040bb90
mov ecx, esi
pop esi
jmp fcn.0040bd10
push 0xffffffffffffffff
push 0x411f84
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [0x413248]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov esi, dword [0x413264]
push 0xffffffffffffffff
push str..cc
mov dword [esp + 0x58], 0
call esi
mov dword [esp + 0x24], eax
push 0xffffffffffffffff
push str..cxx
mov byte [esp + 0x60], 1
call esi
mov dword [esp + 0x28], eax
push 0xffffffffffffffff
mov bl, 2
push str..cpp
mov byte [esp + 0x68], bl
call esi
add esp, 0x18
mov dword [esp + 0x14], eax
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 3
call fcn.00403e30
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
call fcn.00403e30
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00403e30
mov edx, dword [esp + 0x14]
mov byte [esp + 0x50], bl
or eax, 0xffffffff
lock xadd dword [edx], eax
mov ebp, dword [0x413284]
jne 0x40c9e3
mov ecx, dword [esp + 0x14]
push ecx
call ebp
add esp, 4
mov edx, dword [esp + 0x18]
mov byte [esp + 0x50], 1
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40c9ff
mov ecx, dword [esp + 0x18]
push ecx
call ebp
add esp, 4
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x50], 0
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40ca1b
mov ecx, dword [esp + 0x1c]
push ecx
call ebp
add esp, 4
mov eax, dword [0x413234]
mov dword [esp + 0x14], eax
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [0x413234]
mov dword [esp + 0x18], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [0x413234]
mov dword [esp + 0x1c], eax
mov edx, 1
lock xadd dword [eax], edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x60], 6
call dword [0x4136c4]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x50], 8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40ca8d
mov edx, dword [esp + 0x1c]
push edx
call ebp
add esp, 4
mov eax, dword [esp + 0x18]
mov byte [esp + 0x50], 9
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40caa9
mov edx, dword [esp + 0x18]
push edx
call ebp
add esp, 4
mov eax, dword [esp + 0x14]
mov bl, 0xa
mov byte [esp + 0x50], bl
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40cac6
mov edx, dword [esp + 0x14]
push edx
call ebp
add esp, 4
push 0xffffffffffffffff
push str.XML__.xml_
call esi
add esp, 8
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x54], 0xb
call dword [0x4136c0]
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x50], bl
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x40cb05
mov eax, dword [esp + 0x20]
push eax
call ebp
add esp, 4
mov eax, dword [0x413234]
mov dword [esp + 0x28], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [0x413234]
mov dword [esp + 0x24], eax
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [0x413234]
mov dword [esp + 0x20], eax
mov ecx, 1
lock xadd dword [eax], ecx
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
push 0
lea edx, [esp + 0x30]
push edx
mov dword [eax], 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x40]
push edi
push edx
mov byte [esp + 0x6c], 0xe
call dword [0x41396c]
add esp, 0x1c
mov eax, dword [esp + 0x20]
mov byte [esp + 0x50], 0x10
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40cb89
mov edx, dword [esp + 0x20]
push edx
call ebp
add esp, 4
mov eax, dword [esp + 0x24]
mov byte [esp + 0x50], 0x11
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40cba5
mov edx, dword [esp + 0x24]
push edx
call ebp
add esp, 4
mov eax, dword [esp + 0x28]
mov byte [esp + 0x50], 0x12
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40cbc1
mov edx, dword [esp + 0x28]
push edx
call ebp
add esp, 4
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call dword [0x413288]
mov ecx, edi
call fcn.0040c7d0
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x50], bl
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x40cbf5
mov eax, dword [esp + 0x2c]
push eax
call ebp
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x50], 0
call dword [0x4136bc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x40cc42
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
lea edx, [eax + ecx*4 + 0x14]
mov ecx, dword [eax + 8]
push edx
lea edx, [eax + ecx*4 + 0x14]
push edx
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.00401460
push esi
call dword [0x413200]
add esp, 4
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x44
ret
cmp dword [esp + 8], 0
jne case.default.0x40e4b8
mov eax, dword [esp + 0xc]
cmp eax, 0xf
ja case.default.0x40e4b8
jmp dword [eax*4 + 0x40e578]
mov ecx, dword [esp + 4]
jmp 0x40bb40
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov ecx, dword [esp + 4]
push edx
call fcn.0040bb60
ret
mov ecx, dword [esp + 4]
push 0
call fcn.0040bb60
ret
mov ecx, dword [esp + 4]
jmp 0x40b850
mov ecx, dword [esp + 4]
jmp 0x40c920
mov ecx, dword [esp + 4]
jmp 0x40b870
mov ecx, dword [esp + 4]
jmp 0x40b910
mov ecx, dword [esp + 4]
jmp 0x40b9b0
mov ecx, dword [esp + 4]
jmp 0x40b9d0
mov ecx, dword [esp + 4]
jmp 0x40b9f0
mov ecx, dword [esp + 4]
jmp 0x408f20
mov ecx, dword [esp + 4]
jmp 0x40c490
mov ecx, dword [esp + 4]
jmp 0x409020
mov ecx, dword [esp + 4]
jmp 0x40b120
mov ecx, dword [esp + 4]
call fcn.0040b640
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
test ecx, ecx
je case.default.0x40e4b8
mov dword [ecx], eax
ret
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
push ecx
mov ecx, dword [esp + 8]
call fcn.0040b820
ret