Function at 0x4dfbb7
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 [0x62f280]
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], 0x62f624
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x68]
and eax, 4
test al, al
je 0x4dfc5a
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x74], 0x62f624
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.0048b459
mov dword [esp + 4], 0
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.0048a853
mov edx, dword [ebp + 8]
mov dword [edx + 8], eax
jmp 0x4dfc6e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.004dc212
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.00431026
test eax, eax
je 0x4dfcad
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov dword [esp], 0x5bc8d4
call fcn.004db500
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004ae2ca
call fcn.004db008
mov eax, 0xffffffff
jmp 0x4e0400
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x68]
and eax, 4
test al, al
je 0x4dfd98
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.004dc255
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.004db475
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.004b4ddc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jns 0x4dfd3f
mov dword [esp], str.unable_to_create_temporary_graph_layer
call fcn.004db500
mov dword [esp], eax
call fcn.004ae2ca
call fcn.004db008
mov eax, 0xffffffff
jmp 0x4e0400
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.004449a8
test eax, eax
je 0x4dfd7e
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov dword [esp], str.unable_to_adjust_shared_permissions_for__s
call fcn.004db500
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004ae2ca
call fcn.004db008
mov eax, 0xffffffff
jmp 0x4e0400
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.004ed6cb
mov dword [ebp - 0x14], eax
jmp 0x4dfde8
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.004db475
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.004db4d6
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.004db4c1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.004ed6cb
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.00583824
mov dword [ebp - 0x24], eax
mov dword [esp + 0xc], 0x4ddad0
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0x4f494446
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00583883
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
imul eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], 0x4ddb7b
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4f49444c
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00583883
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], 0x4ddc37
mov dword [esp + 8], eax
mov dword [esp + 4], 0x43444154
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00583883
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x68]
and eax, 0x20
test al, al
je 0x4dfea6
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
shl eax, 2
mov dword [esp + 0xc], 0x4ddfca
mov dword [esp + 8], eax
mov dword [esp + 4], 0x47444132
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00583883
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x4dfed8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
shl eax, 3
mov dword [esp + 0xc], 0x4de0ca
mov dword [esp + 8], eax
mov dword [esp + 4], 0x47444f32
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00583883
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4dff0a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
shl eax, 2
mov dword [esp + 0xc], 0x4de1ad
mov dword [esp + 8], eax
mov dword [esp + 4], 0x45444745
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00583883
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x68]
and eax, 8
test al, al
je 0x4dff68
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
shl eax, 2
mov dword [esp + 0xc], 0x4de379
mov dword [esp + 8], eax
mov dword [esp + 4], 0x42494458
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00583883
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x74]
add eax, 0xc
mov dword [esp + 0xc], 0x4de591
mov dword [esp + 8], eax
mov dword [esp + 4], 0x42444154
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00583883
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
cmp eax, 1
jle 0x4dff9f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
sub eax, 1
imul eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], 0x4dfb5e
mov dword [esp + 8], eax
mov dword [esp + 4], 0x42415345
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00583883
mov dword [esp + 4], 0x43475048
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004db5c7
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004db59e
call fcn.004dc273
movzx eax, al
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004db59e
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00583878
movzx eax, al
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004db59e
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.004db59e
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x68]
and eax, 2
test al, al
je 0x4e0099
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00583878
mov ebx, eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00583878
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.004db524
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.0048b459
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00583878
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.0044edb5
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.00583986
mov eax, dword [ebp + 8]
add eax, 0x34
mov dword [esp], eax
call fcn.004db6ec
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.0048a820
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x68]
and eax, 4
test al, al
je 0x4e01a0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4e01a0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
cmp eax, 1
jle 0x4e01a0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x64]
add eax, 0x10
mov dword [esp], eax
call fcn.0042bbe2
mov dword [esp], eax
call fcn.004b4201
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.004dc230
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.004dd15a
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.004ed2e6
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.0058384e
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x68]
and eax, 4
test al, al
je 0x4e03f0
mov dword [esp + 4], 0x5bc9a4
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.004db4a5
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 0x4e0239
mov dword [esp], str.unable_to_open_commit_graph_chain_file
call fcn.004db500
mov dword [esp], eax
call fcn.004ae2ca
call fcn.004db008
mov eax, 0xffffffff
jmp 0x4e0400
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4e02cf
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 0x4e0262
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 0x4e02f6
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 0x4e02f6
mov dword [esp], str.failed_to_rename_base_commit_graph_file
call fcn.004db500
mov dword [esp], eax
call fcn.004ae2ca
call fcn.004db008
mov eax, 0xffffffff
jmp 0x4e0400
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.004dc212
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.0042bbc0
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.004b4201
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.004dc230
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 0x4e03bf
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.004db4eb
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x5bc9f8
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 0x4e038c
cmp dword [ebp - 0x3c], 0
je 0x4e03f0
mov dword [esp], str.failed_to_rename_temporary_commit_graph_file
call fcn.004db500
mov dword [esp], eax
call fcn.004ae2ca
call fcn.004db008
mov eax, 0xffffffff
jmp 0x4e0400
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.0042d7cc
mov eax, 0
mov ebx, dword [ebp - 4]
leave
ret