Function at 0x4e60db
Capabilities:
Contain obfuscated stackstrings
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x94
mov dword [ebp - 0x44], 0
mov eax, dword [0x61cf40]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x48], 0x61d2e4
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x68]
and eax, 4
test al, al
je 0x4e617e
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x74], 0x61d2e4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_info_commit_graphs_tmp_graph_XXXXXX
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.00492911
mov dword [esp + 4], 0
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.00491d0b
mov edx, dword [ebp + 8]
mov dword [edx + 8], eax
jmp 0x4e6192
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.004e2736
mov edx, dword [ebp + 8]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.004389fe
test eax, eax
je 0x4e61d1
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov dword [esp], 0x5bad14
call fcn.004e1a24
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004b5782
call fcn.004e152c
mov eax, 0xffffffff
jmp 0x4e6924
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x68]
and eax, 4
test al, al
je 0x4e62bc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.004e2779
mov dword [ebp - 0x20], eax
mov dword [esp + 0xc], 0x124
mov dword [esp + 8], 1
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.004e1999
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp + 4], 0x124
mov dword [esp], eax
call fcn.004bb378
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jns 0x4e6263
mov dword [esp], str.unable_to_create_temporary_graph_layer
call fcn.004e1a24
mov dword [esp], eax
call fcn.004b5782
call fcn.004e152c
mov eax, 0xffffffff
jmp 0x4e6924
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.0044d488
test eax, eax
je 0x4e62a2
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov dword [esp], str.unable_to_adjust_shared_permissions_for__s
call fcn.004e1a24
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004b5782
call fcn.004e152c
mov eax, 0xffffffff
jmp 0x4e6924
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.004ef8af
mov dword [ebp - 0x14], eax
jmp 0x4e630c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0xc], 0x124
mov dword [esp + 8], 1
mov dword [esp + 4], eax
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.004e1999
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.004e19fa
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.004e19e5
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.004ef8af
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.00583548
mov dword [ebp - 0x24], eax
mov dword [esp + 0xc], 0x4e3ff4
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0x4f494446
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.005835a7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
imul eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], 0x4e409f
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4f49444c
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.005835a7
mov eax, dword [ebp - 0x1c]
lea edx, [eax + 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
imul eax, edx
mov dword [esp + 0xc], 0x4e415b
mov dword [esp + 8], eax
mov dword [esp + 4], 0x43444154
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.005835a7
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x68]
and eax, 0x20
test al, al
je 0x4e63ca
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
shl eax, 2
mov dword [esp + 0xc], 0x4e44ee
mov dword [esp + 8], eax
mov dword [esp + 4], 0x47444132
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.005835a7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x4e63fc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
shl eax, 3
mov dword [esp + 0xc], 0x4e45ee
mov dword [esp + 8], eax
mov dword [esp + 4], 0x47444f32
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.005835a7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4e642e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
shl eax, 2
mov dword [esp + 0xc], 0x4e46d1
mov dword [esp + 8], eax
mov dword [esp + 4], 0x45444745
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.005835a7
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x68]
and eax, 8
test al, al
je 0x4e648c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
shl eax, 2
mov dword [esp + 0xc], 0x4e489d
mov dword [esp + 8], eax
mov dword [esp + 4], 0x42494458
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.005835a7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x74]
add eax, 0xc
mov dword [esp + 0xc], 0x4e4ab5
mov dword [esp + 8], eax
mov dword [esp + 4], 0x42444154
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.005835a7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
cmp eax, 1
jle 0x4e64c3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
sub eax, 1
imul eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], 0x4e6082
mov dword [esp + 8], eax
mov dword [esp + 4], 0x42415345
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.005835a7
mov dword [esp + 4], 0x43475048
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004e1aeb
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004e1ac2
call fcn.004e2797
movzx eax, al
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004e1ac2
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.0058359c
movzx eax, al
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004e1ac2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
sub eax, 1
movzx eax, al
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004e1ac2
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x68]
and eax, 2
test al, al
je 0x4e65bd
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.0058359c
mov ebx, eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.0058359c
mov dword [esp + 8], eax
mov dword [esp + 4], str.Writing_out_commit_graph_in__d_passes
mov dword [esp], str.Writing_out_commit_graph_in__d_pass
call fcn.004e1a48
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.00492911
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.0058359c
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
imul eax, edx
mov edx, 0
mov ecx, dword [ebp - 0x48]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
call fcn.004564c5
mov edx, dword [ebp + 8]
mov dword [edx + 0x34], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.005836aa
mov eax, dword [ebp + 8]
add eax, 0x34
mov dword [esp], eax
call fcn.004e1c10
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.00491cd8
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x68]
and eax, 4
test al, al
je 0x4e66c4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4e66c4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
cmp eax, 1
jle 0x4e66c4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x64]
add eax, 0x10
mov dword [esp], eax
call fcn.00431daa
mov dword [esp], eax
call fcn.004ba79d
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x64]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x28]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004e2754
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
add eax, 0x3ffffffe
shl eax, 2
add eax, edx
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x5c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
add eax, 0x3ffffffe
shl eax, 2
add eax, edx
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
add eax, 0x3ffffffe
shl eax, 2
add edx, eax
mov eax, dword [ebp - 0x2c]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x5c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
add eax, 0x3ffffffe
shl eax, 2
add edx, eax
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.004e367e
mov dword [esp + 0xc], 6
mov dword [esp + 8], 8
lea eax, [ebp - 0x70]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004ef4ca
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00583572
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x68]
and eax, 4
test al, al
je 0x4e6914
mov dword [esp + 4], 0x5bade4
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.004e19c9
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.cygwin1.dll_close
cmp dword [ebp - 0x30], 0
jne 0x4e675d
mov dword [esp], str.unable_to_open_commit_graph_chain_file
call fcn.004e1a24
mov dword [esp], eax
call fcn.004b5782
call fcn.004e152c
mov eax, 0xffffffff
jmp 0x4e6924
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4e67f3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
sub eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
cmp eax, 1
jle 0x4e6786
sub dword [ebp - 0x18], 1
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp - 0x18]
shl eax, 2
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 0x38]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
je 0x4e681a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 0x38]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygwin1.dll_rename
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x4e681a
mov dword [esp], str.failed_to_rename_base_commit_graph_file
call fcn.004e1a24
mov dword [esp], eax
call fcn.004b5782
call fcn.004e152c
mov eax, 0xffffffff
jmp 0x4e6924
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.004e2736
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sub.cygwin1.dll_unlink
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sub.cygwin1.dll_free
lea eax, [ebp - 0x70]
mov dword [esp], eax
call fcn.00431d88
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x5c]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x50]
add edx, 0x3fffffff
shl edx, 2
lea ebx, [ecx + edx]
mov dword [esp], eax
call fcn.004ba79d
mov dword [ebx], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x5c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
add eax, 0x3fffffff
shl eax, 2
add eax, edx
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004e2754
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
add eax, 0x3fffffff
shl eax, 2
add edx, eax
mov eax, dword [ebp - 0x40]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x40]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygwin1.dll_rename
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0xc], 0
jmp 0x4e68e3
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x5c]
mov eax, dword [ebp - 0xc]
shl eax, 2
add eax, edx
mov ebx, dword [eax]
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.004e1a0f
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x5bae38
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
add dword [ebp - 0xc], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
cmp dword [ebp - 0xc], eax
jb 0x4e68b0
cmp dword [ebp - 0x3c], 0
je 0x4e6914
mov dword [esp], str.failed_to_rename_temporary_commit_graph_file
call fcn.004e1a24
mov dword [esp], eax
call fcn.004b5782
call fcn.004e152c
mov eax, 0xffffffff
jmp 0x4e6924
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.00434fa0
mov eax, 0
mov ebx, dword [ebp - 4]
leave
ret