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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x168
mov rax, qword [sym.imp.libssp_0.dll___stack_chk_guard]
mov r12, rcx
mov rbx, rdx
mov qword [rsp + 0x88], r8
mov esi, r9d
mov rcx, qword [rax]
mov qword [rsp + 0x158], rcx
xor ecx, ecx
mov rdx, r12
lea rcx, str._s_pack_multi_pack_index
mov qword [rsp + 0xc8], 0
call fcn.004751e0
mov rcx, rax
mov qword [rsp + 0x90], rax
call fcn.00466d40
mov dword [rsp + 0x9c], eax
test eax, eax
jne 0x516dfe
test rbx, rbx
je 0x516650
mov qword [rsp + 0xe0], rbx
mov dword [rsp + 0xd8], 0
mov ecx, dword [rbx + 0x28]
mov rax, rcx
shl rcx, 5
mov dword [rsp + 0xdc], eax
mov qword [rsp + 0xd0], 0
call fcn.004996e0
mov rcx, qword [rsp + 0xe0]
mov qword [rsp + 0xd0], rax
mov r8, rax
test rcx, rcx
je 0x515afb
mov r11d, dword [rcx + 0x28]
test r11d, r11d
je 0x515afb
mov edx, dword [rsp + 0xd8]
mov rax, rcx
xor edi, edi
mov rcx, r8
nop dword [rax + rax]
mov r9d, dword [rsp + 0xdc]
lea r8d, [rdx + 1]
cmp r8d, r9d
jbe 0x515a99
lea edx, [r9 + r9*2 + 0x30]
shr edx, 1
cmp edx, r8d
cmovb rdx, r8
mov dword [rsp + 0xdc], edx
shl rdx, 5
call fcn.00499790
mov edx, dword [rsp + 0xd8]
mov qword [rsp + 0xd0], rax
mov rcx, rax
mov rax, qword [rsp + 0xe0]
shl rdx, 5
mov rax, qword [rax + 0x60]
lea rbx, [rcx + rdx]
mov edx, edi
mov dword [rbx], edi
mov rcx, qword [rax + rdx*8]
add edi, 1
call fcn.004996c0
mov r9d, dword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0xe0]
mov rdx, r9
shl r9, 5
add r9, rcx
add edx, 1
and byte [r9 + 0x18], 0xfe
mov qword [r9 + 0x10], 0
mov dword [rsp + 0xd8], edx
cmp dword [rax + 0x28], edi
ja 0x515a50
mov dword [rsp + 0xf0], 0
and esi, 1
mov dword [rsp + 0xa0], esi
jne 0x516628
mov qword [rsp + 0xe8], 0
lea r8, [rsp + 0xd0]
lea rdx, [0x005170e0]
mov rcx, r12
call fcn.0042c890
lea rcx, [rsp + 0xe8]
call fcn.00436fb0
mov eax, dword [rsp + 0xd8]
mov r15, qword [rsp + 0xe0]
mov dword [rsp + 0x48], eax
test r15, r15
je 0x516c3f
mov ecx, dword [r15 + 0x28]
mov rdi, qword [rsp + 0xd0]
mov dword [rsp + 0x50], ecx
mov qword [rsp + 0x58], rdi
cmp eax, ecx
jne 0x515b8a
cmp qword [rsp + 0x88], 0
je 0x516abe
mov edi, dword [rsp + 0x50]
mov esi, dword [rsp + 0x48]
cmp edi, esi
jae 0x515d70
lea edx, [rsi - 1]
mov ecx, edi
mov rbx, qword [rsp + 0x58]
sub edx, edi
mov rax, rcx
add rdx, rcx
shl rax, 5
shl rdx, 5
add rax, rbx
lea r8, [rbx + rdx + 0x20]
xor edx, edx
nop
mov rcx, qword [rax + 0x10]
add rax, 0x20
add edx, dword [rcx + 0x48]
cmp r8, rax
jne 0x515bc0
cmp edx, 0xc80
jbe 0x515d70
imul rdx, rdx, 0x51eb851f
shr rdx, 0x26
mov eax, edx
mov r14, rdx
lea r13, [rax*8]
sub r13, rax
shl r13, 3
mov rcx, r13
call fcn.004996e0
mov rcx, r13
mov r12, rax
call fcn.004996e0
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x98], 0
nop dword [rax]
mov rax, qword [rsp + 0x30]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x70], eax
test r15, r15
jne 0x5164d0
mov ecx, dword [rsp + 0x48]
xor r13d, r13d
cmp dword [rsp + 0x50], ecx
jae 0x515ec8
mov eax, dword [rsp + 0x68]
mov ebp, dword [rsp + 0x50]
mov qword [rsp + 0x78], r15
sub eax, 1
mov dword [rsp + 0x68], eax
nop dword [rax + rax]
xor edi, edi
cmp qword [rsp + 0x30], 0
mov esi, ebp
je 0x515c98
mov rcx, qword [rsp + 0x58]
mov rax, rsi
mov edx, dword [rsp + 0x68]
shl rax, 5
mov rcx, qword [rcx + rax + 0x10]
call fcn.0042b9c0
mov edi, eax
shl rsi, 5
add rsi, qword [rsp + 0x58]
mov edx, dword [rsp + 0x70]
mov rcx, qword [rsi + 0x10]
call fcn.0042b9c0
cmp eax, edi
jbe 0x515d8d
lea ebx, [rax + r13]
sub ebx, edi
sub edi, r13d
mov dword [rsp + 0x38], ebx
mov ebx, r13d
jmp 0x515d2a
lea rax, [r13*8]
mov r9, qword [rsi + 0x10]
mov r8d, r15d
sub rax, r13
lea r13, [r12 + rax*8]
mov rdx, r9
mov qword [rsp + 0x80], r9
mov rcx, r13
call fcn.0042d650
mov r9, qword [rsp + 0x80]
test eax, eax
js 0x516600
mov rax, qword [r9 + 0x60]
mov dword [r13 + 0x20], ebp
mov edx, r15d
mov rcx, r9
mov qword [r13 + 0x28], rax
call fcn.0042d820
mov qword [r13 + 0x30], rax
cmp dword [rsp + 0x38], ebx
je 0x515d88
lea r15d, [rdi + rbx]
mov r13d, ebx
add ebx, 1
cmp ebx, r14d
jbe 0x515cd0
lea r14d, [r14 + r14*2 + 0x30]
mov rcx, r12
shr r14d, 1
cmp ebx, r14d
cmovae r14d, ebx
mov eax, r14d
lea rdx, [rax*8]
sub rdx, rax
shl rdx, 3
call fcn.00499790
mov r12, rax
jmp 0x515cd0
mov r13d, 0x380
mov r14d, 0x10
jmp 0x515bfb
mov r13d, dword [rsp + 0x38]
add ebp, 1
cmp ebp, dword [rsp + 0x48]
jb 0x515c70
mov r15, qword [rsp + 0x78]
mov edx, r13d
cmp r13d, 1
ja 0x5165c8
test r13d, r13d
je 0x515ec8
mov dword [rsp + 0x38], r13d
mov edi, dword [rsp + 0x60]
mov rsi, r12
xor ebx, ebx
mov rcx, qword [rsp + 0x40]
mov ebp, dword [rsp + 0x98]
jmp 0x515e1c
lea rax, [rbp*8]
movdqu xmm0, xmmword [rsi]
sub rax, rbp
mov ebp, r13d
lea rax, [rcx + rax*8]
movups xmmword [rax], xmm0
movdqu xmm1, xmmword [rsi + 0x10]
movups xmmword [rax + 0x10], xmm1
movdqu xmm2, xmmword [rsi + 0x20]
movups xmmword [rax + 0x20], xmm2
mov rdx, qword [rsi + 0x30]
mov qword [rax + 0x30], rdx
add ebx, 1
add rsi, 0x38
cmp dword [rsp + 0x38], ebx
jbe 0x515eb8
test ebx, ebx
je 0x515e79
lea edx, [rbx - 1]
lea rax, [rdx*8]
sub rax, rdx
lea rdx, [r12 + rax*8]
mov rax, qword [0x005ab240]
mov r8, qword [rdx + 8]
mov rax, qword [rax]
mov rax, qword [rax + 0xc8]
cmp qword [rax + 0x10], 0x20
mov rax, qword [rdx]
je 0x5164a0
xor r8, qword [rsi + 8]
xor rax, qword [rsi]
or r8, rax
jne 0x515e6d
mov eax, dword [rsi + 0x10]
cmp dword [rdx + 0x10], eax
je 0x5164c9
mov edx, 1
xor edx, 1
test edx, edx
jne 0x515e0b
lea r13d, [rbp + 1]
cmp r13d, edi
jbe 0x515dd8
lea edi, [rdi + rdi*2 + 0x30]
shr edi, 1
cmp r13d, edi
cmovae edi, r13d
mov eax, edi
lea rdx, [rax*8]
sub rdx, rax
shl rdx, 3
call fcn.00499790
mov rcx, rax
jmp 0x515dd8
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x98], ebp
add qword [rsp + 0x30], 1
mov rax, qword [rsp + 0x30]
cmp rax, 0x100
jne 0x515c30
mov rcx, r12
call fcn.004c9260
mov ecx, dword [rsp + 0x98]
test ecx, ecx
je 0x516cb1
sub ecx, 1
mov rdi, qword [rsp + 0x40]
xor r11d, r11d
xor ebx, ebx
lea rdx, [rcx*8]
mov r10d, 0xffffffff
mov r9d, 1
sub rdx, rcx
lea rax, [rdi + 0x30]
mov ecx, 0x80000000
lea r8, [rdi + rdx*8 + 0x68]
nop dword [rax + rax]
mov rdx, qword [rax]
cmp rdx, rcx
jb 0x515f42
add ebx, 1
cmp rdx, r10
cmova r11d, r9d
add rax, 0x38
cmp r8, rax
jne 0x515f30
mov dword [rsp + 0x78], r11d
mov dword [rsp + 0x58], ebx
mov edx, dword [rsp + 0xd8]
mov r12, rdx
cmp edx, 1
ja 0x516a66
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x51601b
mov eax, dword [rax + 8]
test eax, eax
je 0x51601b
xor ebx, ebx
xor r14d, r14d
lea rsi, [0x0059c812]
xor r13d, r13d
lea rdi, str.did_not_see_pack_file__s_to_drop
test r12d, r12d
je 0x51601b
mov dword [rsp + 0x30], ebx
mov r15, qword [rsp + 0x88]
jmp 0x515fc9
or byte [rbp + 0x18], 1
add r14d, 1
add r13d, 1
cmp r12d, r13d
jbe 0x516c7a
mov eax, dword [r15 + 8]
cmp r14d, eax
jae 0x51600a
movsxd rax, r14d
mov ebp, r13d
shl rax, 4
add rax, qword [r15]
shl rbp, 5
add rbp, qword [rsp + 0xd0]
mov rbx, qword [rax]
mov rcx, qword [rbp + 8]
mov rdx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x515fb0
jg 0x516c15
and byte [rbp + 0x18], 0xfe
add r13d, 1
jmp 0x515fbc
mov dword [rsp + 0x48], r12d
mov ebx, dword [rsp + 0x30]
test ebx, ebx
jne 0x516c88
mov ecx, r12d
shl rcx, 2
call fcn.004996e0
mov ebx, dword [rsp + 0xd8]
mov qword [rsp + 0x80], rax
test ebx, ebx
je 0x516cc6
mov rdi, qword [rsp + 0xd0]
xor ebx, ebx
xor edx, edx
mov r8, rax
jmp 0x516067
mov dword [rcx], 0xffffffff
mov eax, dword [rsp + 0xd8]
add edx, 1
add ebx, 1
cmp eax, edx
jbe 0x516090
mov eax, edx
shl rax, 5
add rax, rdi
mov ecx, dword [rax]
lea rcx, [r8 + rcx*4]
test byte [rax + 0x18], 1
jne 0x516050
mov eax, edx
add edx, 1
sub eax, ebx
mov dword [rcx], eax
mov eax, dword [rsp + 0xd8]
cmp eax, edx
ja 0x516067
test eax, eax
je 0x516cc6
sub eax, 1
xor ebp, ebp
shl rax, 5
lea rsi, [rdi + rax + 0x20]
nop word cs:[rax + rax]
mov eax, ebp
test byte [rdi + 0x18], 1
jne 0x5160c8
mov rcx, qword [rdi + 8]
call sub.msvcrt.dll_strlen
lea eax, [rbp + rax + 1]
movsxd rbp, eax
add rdi, 0x20
cmp rsi, rdi
jne 0x5160b0
test al, 3
je 0x5160ed
mov eax, ebp
sar eax, 0x1f
shr eax, 0x1e
lea edx, [rbp + rax]
and edx, 3
sub eax, edx
lea ebp, [rbp + rax + 4]
movsxd rbp, ebp
mov rdi, qword [rsp + 0x90]
xor r9d, r9d
lea rax, [rsp + 0xc0]
mov r8d, 1
mov rcx, rax
mov qword [rsp + 0xa8], rax
mov rdx, rdi
call fcn.00428f00
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x14]
mov rdx, qword [rax + 0x38]
call fcn.004e70b0
mov rcx, rdi
mov r12, rax
call fcn.004c9260
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x51614a
call fcn.00515150
mov esi, dword [rsp + 0xd8]
mov edi, dword [rsp + 0x78]
mov r8d, 4
mov rcx, r12
mov dword [rsp + 0xbc], 0x5844494d
sub esi, ebx
lea rbx, [rsp + 0xbc]
lea r15d, [rdi + 4]
mov rdx, rbx
mov dword [rsp + 0xa4], r15d
call fcn.004e6f20
lea rax, [rsp + 0x154]
mov r10d, 0x101
mov r8d, 4
mov rdx, rax
mov rcx, r12
mov qword [rsp + 0x90], rax
mov word [rsp + 0x154], r10w
mov byte [rsp + 0x156], r15b
mov byte [rsp + 0x157], 0
call fcn.004e6f20
mov rdx, rbx
mov rcx, r12
mov r8d, 4
bswap esi
mov dword [rsp + 0xbc], esi
call fcn.004e6f20
lea eax, [rdi + 5]
mov ecx, edi
movabs rdx, 0x4f494446504e414d
mov qword [rsp + 0x100], rdx
cdqe
movabs rdx, 0x4f4f46464f49444c
mov qword [rsp + 0x108], rdx
mov rdx, qword [0x005ab240]
lea rsi, [rax + rax*2 + 3]
shl rsi, 2
mov rdx, qword [rdx]
lea rax, [rsi + rbp]
mov ebp, dword [rsp + 0x98]
mov rdi, rsi
mov qword [rsp + 0x128], rax
add rax, 0x400
mov rdx, qword [rdx + 0xc8]
mov qword [rsp + 0x130], rax
mov r11, qword [rdx + 0x10]
imul r11, rbp
add rax, r11
lea rdx, [rax + rbp*8]
mov qword [rsp + 0x138], rax
mov eax, 4
mov qword [rsp + 0x140], rdx
test ecx, ecx
jne 0x516a41
mov r13d, 1
mov qword [rsp + 0x30], rdi
mov r15d, dword [rsp + 0xa4]
mov r14d, 0xc
mov dword [rsp + rax*4 + 0x100], 0
mov rdi, r13
jmp 0x5162b8
add rdi, 1
mov rax, qword [rsp + rdi*8 + 0x118]
cmp rax, rsi
jb 0x516dc6
mov rsi, rax
test sil, 3
jne 0x516d81
mov r8d, 4
mov rdx, rbx
mov rcx, r12
add r14, 0xc
mov eax, dword [rsp + rdi*4 + 0xfc]
lea r13, [rsp + 0x100]
bswap eax
mov dword [rsp + 0xbc], eax
call fcn.004e6f20
mov rdx, rbx
mov rcx, r12
mov rax, rsi
mov r8d, 4
shr rax, 0x20
bswap eax
mov dword [rsp + 0xbc], eax
call fcn.004e6f20
mov r8d, 4
mov rdx, rbx
mov eax, esi
mov rcx, r12
bswap eax
mov dword [rsp + 0xbc], eax
call fcn.004e6f20
cmp r15d, edi
jae 0x5162a0
mov r9d, dword [rsp + 0xa0]
mov rdi, qword [rsp + 0x30]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x50], r13
test r9d, r9d
jne 0x516a8d
mov rcx, qword [rsp + 0x40]
lea rax, [rbp*8]
mov r15d, 1
mov r9d, 0x504e414d
sub rax, rbp
lea rsi, [rcx + rax*8]
mov eax, dword [rsp + 0x78]
add eax, 3
add rax, 2
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x98]
sub eax, 1
mov dword [rsp + 0x88], eax
lea rax, [rax*8 + 8]
mov qword [rsp + 0x30], rax
nop dword [rax + rax]
cmp rdi, qword [rsp + 0x38]
jne 0x516d9c
cmp r9d, 0x4f49444c
je 0x516960
ja 0x516720
cmp r9d, 0x4c4f4646
jne 0x5166b0
mov edx, dword [rsp + 0x58]
test edx, edx
je 0x516468
cmp qword [rsp + 0x40], rsi
jae 0x516d0c
mov edi, dword [rsp + 0x58]
mov r14, qword [rsp + 0x40]
xor ebp, ebp
jmp 0x516409
cmp rsi, r14
jbe 0x516d0c
mov r13, qword [r14 + 0x30]
add r14, 0x38
mov rax, r13
shr rax, 0x1f
je 0x516400
mov rax, r13
mov r8d, 4
mov rdx, rbx
mov rcx, r12
shr rax, 0x20
add rbp, 8
bswap eax
mov dword [rsp + 0xbc], eax
call fcn.004e6f20
mov r8d, 4
mov rdx, rbx
mov rcx, r12
bswap r13d
mov dword [rsp + 0xbc], r13d
call fcn.004e6f20
sub edi, 1
jne 0x516400
add qword [rsp + 0x38], rbp
nop dword [rax]
mov rcx, qword [rsp + 0xc8]
mov rdx, r15
add r15, 1
call fcn.00436d50
cmp qword [rsp + 0x48], r15
je 0x516ba7
mov rax, qword [rsp + 0x50]
mov rdi, qword [rsp + r15*8 + 0x118]
mov r9d, dword [rax + r15*4 - 4]
jmp 0x5163a8
xor r8, qword [rsi + 8]
xor rax, qword [rsi]
or r8, rax
jne 0x515e6d
mov rax, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x18]
xor rax, qword [rsi + 0x10]
xor rdx, qword [rsi + 0x18]
or rdx, rax
jne 0x515e6d
xor edx, edx
jmp 0x515e72
test rax, rax
je 0x5165e8
lea edx, [rax - 1]
mov rax, qword [r15 + 0x40]
mov esi, dword [rax + rdx*4]
bswap esi
mov dword [rsp + 0x78], esi
mov rcx, qword [rsp + 0x30]
mov r13d, dword [rsp + 0x78]
mov ebx, dword [rax + rcx*4]
bswap ebx
cmp ebx, r13d
jbe 0x515c46
mov edi, r13d
mov dword [rsp + 0x38], ebx
xor ebp, ebp
mov esi, 1
shl rdi, 3
jmp 0x516554
add esi, 1
cmp esi, r14d
jbe 0x51654c
lea r14d, [r14 + r14*2 + 0x30]
mov rcx, r12
shr r14d, 1
cmp esi, r14d
cmovae r14d, esi
mov eax, r14d
lea rdx, [rax*8]
sub rdx, rax
shl rdx, 3
call fcn.00499790
mov r12, rax
add rbp, 0x38
add rdi, 8
cmp dword [r15 + 0x2c], r13d
jbe 0x51658f
lea rbx, [r12 + rbp]
mov r8d, r13d
mov rdx, r15
mov rcx, rbx
call fcn.00515920
mov rax, qword [r15 + 0x50]
mov edx, r13d
mov rcx, r15
mov eax, dword [rax + rdi]
bswap eax
mov dword [rbx + 0x20], eax
call fcn.00515060
mov qword [rbx + 0x28], 0
mov qword [rbx + 0x30], rax
add r13d, 1
cmp dword [rsp + 0x38], r13d
jne 0x516518
mov ebx, dword [rsp + 0x38]
sub ebx, dword [rsp + 0x78]
mov edx, ebx
mov ecx, dword [rsp + 0x48]
mov r13, rdx
cmp dword [rsp + 0x50], ecx
jb 0x515c57
cmp rdx, 1
jbe 0x515db5
nop dword [rax + rax]
lea r9, [0x005151d0]
mov r8d, 0x38
mov rcx, r12
call fcn.00472570
jmp 0x515db5
mov dword [rsp + 0x78], 0
mov rax, qword [r15 + 0x40]
jmp 0x5164e9
mov dword [rsp + 0x30], r15d
call fcn.00426640
mov r8d, dword [rsp + 0x30]
lea rcx, [0x0059c812]
test eax, eax
je 0x516690
mov edx, r8d
call fcn.00494770
nop word [rax + rax]
call fcn.00426640
lea rcx, [0x0059c812]
test eax, eax
je 0x516c59
xor edx, edx
call fcn.00436dc0
mov qword [rsp + 0xe8], rax
jmp 0x515b22
mov edx, 1
mov rcx, r12
call fcn.00515240
mov dword [rsp + 0xd8], 0
mov qword [rsp + 0xe0], rax
mov rbx, rax
test rax, rax
jne 0x5159ee
mov ecx, 0x200
mov eax, 0x10
jmp 0x5159f8
lea rcx, str.failed_to_locate_object__d_in_packfile
call fcn.0056e6a8
mov r8d, dword [rsp + 0x30]
mov rcx, rax
jmp 0x51661a
cmp r9d, 0x4f494446
jne 0x516de6
mov rdi, qword [rsp + 0x40]
xor r13d, r13d
xor ebp, ebp
jmp 0x5166df
movzx eax, byte [rdi]
cmp eax, ebp
jne 0x5166e4
add r13d, 1
add rdi, 0x38
cmp rsi, rdi
ja 0x5166d0
mov r8d, 4
mov rdx, rbx
mov rcx, r12
add ebp, 1
mov eax, r13d
bswap eax
mov dword [rsp + 0xbc], eax
call fcn.004e6f20
cmp ebp, 0x100
jne 0x5166df
add qword [rsp + 0x38], 0x400
jmp 0x516468
cmp r9d, 0x4f4f4646
jne 0x516810
mov r8d, dword [rsp + 0x98]
mov r14, qword [rsp + 0x40]
xor edi, edi
xor ebp, ebp
test r8d, r8d
je 0x516468
mov qword [rsp + 0x60], r15
mov r13, r14
mov r15d, dword [rsp + 0x78]
mov qword [rsp + 0x68], rsi
mov rsi, qword [rsp + 0x80]
jmp 0x51679b
shr rcx, 0x1f
jne 0x516908
mov r8d, 4
mov rdx, rbx
mov rcx, r12
add rdi, 8
bswap eax
mov dword [rsp + 0xbc], eax
call fcn.004e6f20
cmp qword [rsp + 0x30], rdi
je 0x516940
mov r14, r13
mov eax, dword [r13 + 0x20]
add r13, 0x38
mov rdx, rax
mov eax, dword [rsi + rax*4]
cmp eax, 0xffffffff
je 0x516ce1
mov rcx, r12
mov r8d, 4
mov rdx, rbx
bswap eax
mov dword [rsp + 0xbc], eax
call fcn.004e6f20
mov rax, qword [r13 - 8]
mov rcx, rax
test r15d, r15d
jne 0x516768
shr rcx, 0x20
je 0x516772
mov rcx, r14
mov r14, rax
call fcn.00427370
mov qword [rsp + 0x20], r14
lea r8, str.object__s_requires_a_large_offset___I64x__but_the_MIDX_is_not_writing_large_offsets_
mov edx, 0x2ed
mov r9, rax
lea rcx, str.midx.c
call fcn.00494ad0
nop dword [rax]
cmp r9d, 0x504e414d
jne 0x516de6
mov r14d, dword [rsp + 0xd8]
mov rax, qword [rsp + 0xd0]
test r14d, r14d
je 0x516468
mov qword [rsp + 0x60], r15
mov rdi, rax
xor ebp, ebp
xor r13d, r13d
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rbx
mov rbx, rax
test byte [rbx + 0x18], 1
jne 0x51689c
mov r15, qword [rbx + 8]
test r13d, r13d
je 0x51687f
lea eax, [r13 - 1]
mov rcx, r15
shl rax, 5
mov rsi, qword [rdi + rax + 8]
mov rdx, rsi
call sub.msvcrt.dll_strcmp
test eax, eax
jle 0x516d24
mov rcx, r15
call sub.msvcrt.dll_strlen
mov rdx, r15
mov rcx, r12
lea rsi, [rax + 1]
mov r8d, esi
add rbp, rsi
call fcn.004e6f20
add r13d, 1
add rbx, 0x20
cmp r14d, r13d
jne 0x516850
mov eax, ebp
mov rcx, rbp
mov rdi, rbp
mov ebp, 4
and eax, 3
mov r15, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
sub ebp, eax
mov rbx, qword [rsp + 0x70]
cmp ebp, 4
je 0x51694f
mov rax, qword [rsp + 0x90]
mov r8d, ebp
mov rcx, r12
mov dword [rax], 0
mov rdx, rax
call fcn.004e6f20
add rdi, qword [rsp + 0x38]
lea rax, [rdi + rbp]
mov qword [rsp + 0x38], rax
jmp 0x516468
lea r14d, [rbp + 1]
mov r8d, 4
mov rdx, rbx
mov rcx, r12
or ebp, 0x80000000
add rdi, 8
bswap ebp
mov dword [rsp + 0xbc], ebp
mov ebp, r14d
call fcn.004e6f20
cmp qword [rsp + 0x30], rdi
jne 0x51679b
nop
mov r15, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x30]
add qword [rsp + 0x38], rcx
jmp 0x516468
mov rax, qword [0x005ab240]
mov ecx, dword [rsp + 0x98]
mov rax, qword [rax]
mov rax, qword [rax + 0xc8]
mov rax, qword [rax + 0x10]
movzx r14d, al
test ecx, ecx
je 0x516468
mov r10, qword [rsp + 0x40]
xor ebp, ebp
movzx eax, al
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], rsi
xor edi, edi
mov esi, dword [rsp + 0x88]
mov qword [rsp + 0x70], rbx
mov r15, r10
mov ebx, ebp
mov rbp, rax
jmp 0x5169f1
mov r8d, 0x14
mov rdx, r13
mov rcx, r15
call sub.msvcrt.dll_memcmp
test eax, eax
jns 0x516d44
mov rdx, r15
mov r8d, r14d
mov rcx, r12
add rdi, rbp
call fcn.004e6f20
add ebx, 1
mov r15, r13
cmp ebx, dword [rsp + 0x98]
je 0x516a28
lea r13, [r15 + 0x38]
cmp esi, ebx
jbe 0x5169d1
mov rax, qword [0x005ab240]
mov rax, qword [rax]
mov rax, qword [rax + 0xc8]
cmp qword [rax + 0x10], 0x20
jne 0x5169b8
mov r8d, 0x20
mov rdx, r13
mov rcx, r15
call sub.msvcrt.dll_memcmp
jmp 0x5169c9
add qword [rsp + 0x38], rdi
mov r15, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
jmp 0x516468
mov dword [rsp + 0x110], 0x4c4f4646
mov eax, dword [rsp + 0x58]
lea rax, [rdx + rax*8]
mov qword [rsp + 0x148], rax
mov eax, 5
jmp 0x516276
mov rcx, qword [rsp + 0xd0]
lea r9, [0x00515050]
mov r8d, 0x20
call fcn.00472570
mov r12d, dword [rsp + 0xd8]
jmp 0x515f67
movsxd r13, dword [rsp + 0xa4]
call fcn.00426640
lea rcx, [0x0059c812]
test eax, eax
je 0x516ccd
mov rdx, r13
call fcn.00436dc0
mov qword [rsp + 0xc8], rax
jmp 0x516355
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x80], 0
nop dword [rax + rax]
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x516b46
mov rax, qword [rsp + 0x58]
xor esi, esi
nop word [rax + rax]
mov ebx, esi
shl rbx, 5
add rax, rbx
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x516b24
call fcn.0042bba0
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + rbx + 0x10]
call fcn.004c9260
mov rax, qword [rsp + 0xd0]
add rax, rbx
mov rcx, qword [rax + 8]
add esi, 1
call fcn.004c9260
mov rax, qword [rsp + 0xd0]
cmp dword [rsp + 0xd8], esi
ja 0x516af0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.004c9260
mov rcx, qword [rsp + 0x40]
call fcn.004c9260
mov rcx, qword [rsp + 0x80]
call fcn.004c9260
mov rcx, qword [rsp + 0x90]
call fcn.004c9260
mov rax, qword [sym.imp.libssp_0.dll___stack_chk_guard]
mov rcx, qword [rsp + 0x158]
xor rcx, qword [rax]
jne 0x516e3c
mov eax, dword [rsp + 0x9c]
add rsp, 0x168
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0xc8]
call fcn.00436fb0
movsxd rax, dword [rsp + 0xa4]
mov rax, qword [rsp + rax*8 + 0x120]
cmp rax, qword [rsp + 0x38]
jne 0x516e1a
mov r8d, 6
xor edx, edx
mov rcx, r12
call fcn.004e6da0
mov rcx, qword [rsp + 0xa8]
call fcn.00429220
mov eax, dword [rsp + 0xd8]
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x58], rax
jmp 0x516ad8
call fcn.00426640
mov rcx, rsi
test eax, eax
je 0x516c6d
mov rdx, rbx
add r14d, 1
call fcn.00494950
add dword [rsp + 0x30], 1
mov r12d, dword [rsp + 0xd8]
jmp 0x515fbc
mov rax, qword [rsp + 0xd0]
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x58], rax
jmp 0x515b8a
lea rcx, str.Adding_packfiles_to_multi_pack_index
call fcn.0056e6a8
mov rcx, rax
jmp 0x51663c
mov rcx, rdi
call fcn.0056e6a8
mov rcx, rax
jmp 0x516c21
mov dword [rsp + 0x48], r12d
mov ebx, dword [rsp + 0x30]
jmp 0x516013
mov rax, qword [rsp + 0xd0]
mov dword [rsp + 0x9c], 1
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x58], rax
jmp 0x516ad8
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x58], 0
jmp 0x515f54
xor ebp, ebp
jmp 0x5160ed
lea rcx, str.Writing_chunks_to_multi_pack_index
call fcn.0056e6a8
mov rcx, rax
jmp 0x516aa9
mov rcx, r14
mov r14d, edx
call fcn.00427370
mov dword [rsp + 0x20], r14d
lea r8, str.object__s_is_in_an_expired_pack_with_int_id__d
mov edx, 0x2e4
mov r9, rax
lea rcx, str.midx.c
call fcn.00494ad0
lea r8, str.too_many_large_offset_objects
mov edx, 0x304
lea rcx, str.midx.c
call fcn.00494ad0
mov qword [rsp + 0x20], r15
mov r9, rsi
lea r8, str.incorrect_pack_file_order:__s_before__s
mov edx, 0x28d
lea rcx, str.midx.c
call fcn.00494ad0
mov rcx, r13
mov qword [rsp + 0x30], r15
call fcn.00427370
mov r10, qword [rsp + 0x30]
mov rbx, rax
mov rcx, r10
call fcn.00427370
mov qword [rsp + 0x20], rbx
lea r8, str.OIDs_not_in_order:__s____s
mov edx, 0x2cc
mov r9, rax
lea rcx, str.midx.c
call fcn.00494ad0
mov r9, rsi
lea r8, str.chunk_offset__I64u_is_not_properly_aligned
mov edx, 0x3c2
lea rcx, str.midx.c
call fcn.00494ad0
mov rax, qword [rsp + 0x38]
mov dword [rsp + 0x28], r9d
mov r9, rdi
lea r8, str.incorrect_chunk_offset___I64u____I64u__for_chunk_id__x
mov edx, 0x3d1
lea rcx, str.midx.c
mov qword [rsp + 0x20], rax
call fcn.00494ad0
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, str.incorrect_chunk_offsets:__I64u_before__I64u
mov edx, 0x3bd
lea rcx, str.midx.c
call fcn.00494ad0
lea r8, str.trying_to_write_unknown_chunk_id__x
mov edx, 0x3ec
lea rcx, str.midx.c
call fcn.00494ad0
lea rcx, str.unable_to_create_leading_directories_of__s
call fcn.00515120
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.00494800
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x38]
lea r8, str.incorrect_final_offset__I64u____I64u
mov edx, 0x3f5
lea rcx, str.midx.c
call fcn.00494ad0
call sub.libssp_0.dll___stack_chk_fail
nop
nop word cs:[rax + rax]
nop dword [rax]