Function at 0x4708c0
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, 0x58
movzx eax, word [r8 + 0x24]
mov rdi, qword [rsp + 0xc0]
and ax, 0x380
mov r14, rcx
mov r12, rdx
cmp ax, 0x180
mov rsi, r8
mov r13, r9
je 0x470910
xor r12d, r12d
mov eax, r12d
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [r8 + 0xe0]
mov r15, qword [rax + 0xd8]
test r15, r15
je 0x4708f3
mov rcx, qword [r8 + 0xf0]
lea rbx, [r15 + 0x10]
mov rdx, r8
mov rax, qword [rcx + 8]
mov rax, qword [rax + 0x360]
call qword [rax + 0x248]
mov dword [rsp + 0x40], eax
mov rax, qword [r12 + 0x28]
mov qword [rsp + 0x20], rax
mov eax, dword [r15]
lea rdx, [rax + rax*2]
shl rdx, 4
add rdx, rbx
cmp rbx, rdx
jae 0x471030
lea rdx, [r14 + 8]
mov rbp, rbx
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0x28], rdx
nop dword [rax + rax]
cmp dword [rbp + 0x14], 4
je 0x470ed4
test byte [rbp + 0x23], 1
jne 0x470d47
cmp qword [rbp], 0
je 0x470d47
test byte [rsi + 0x22], 0x10
mov rdx, qword [rdi]
je 0x4709b1
test rdx, rdx
je 0x470fb0
mov eax, dword [rbp + 0x10]
lea rax, [rax + rax*2]
lea rax, [rdx + rax*8]
cmp rax, qword [rdi + 0x10]
mov qword [rdi + 8], rax
jae 0x4709d1
mov edx, dword [rbp + 0x18]
lea ecx, [rdx + 8]
cmp qword [rax], rcx
je 0x4709e8
lea rcx, str..._.._.._src_binutils_2.30_bfd_elf_eh_frame.c
mov edx, 0x5ec
call fcn.0040e320
mov eax, dword [rbp + 0x18]
lea ecx, [rax + 8]
mov rdx, rdi
call r13
test eax, eax
sete al
movzx eax, al
test eax, eax
je 0x470d44
mov rax, qword [rsp + 0xa8]
test byte [rax], 1
je 0x470a5f
movzx eax, byte [rbp + 0x20]
and eax, 0x70
jne 0x471013
test byte [rbp + 0x23], 8
jne 0x470a5f
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x144], 0
mov eax, dword [0x00518630]
cmp eax, 9
jg 0x4710ae
mov rax, qword [rsp + 0xa8]
mov r8, rsi
mov rdx, r14
lea rcx, str._P:_FDE_encoding_in__B__A__prevents_.eh_frame_hdr_table_being_created._n
mov rax, qword [rax + 0x20]
call qword [rax + 0x58]
add dword [0x00518630], 1
and byte [rbp + 0x23], 0xfd
mov r10, qword [rbp]
mov rax, qword [rsp + 0x20]
add dword [rax + 0x140], 1
movzx eax, byte [r10 + 0x23]
test al, 2
je 0x470d40
test byte [r10 + 0xa], 0x40
mov r12, qword [r10]
jne 0x471020
and eax, 0xfffffffd
test r12, r12
mov qword [r10], rsi
mov byte [r10 + 0x23], al
je 0x470d40
cmp byte [r12 + 0x50], 0xff
lea rax, [r12 + 0x40]
mov qword [rsp + 0x30], rax
je 0x470ba0
mov eax, dword [r12 + 0x40]
lea rdx, [rax + rax*2]
mov rax, qword [rdi]
mov qword [r12 + 0x40], 0
lea rax, [rax + rdx*8]
mov rdx, qword [r14 + 0xf0]
cmp byte [rdx + 4], 2
je 0x4710a5
mov r8d, dword [rax + 9]
mov eax, r8d
cmp rax, qword [rdi + 0x28]
jae 0x470b05
shl rax, 5
add rax, qword [rdi + 0x18]
movzx edx, byte [rax + 0x14]
shr dl, 4
test dl, dl
je 0x471118
sub r8d, dword [rdi + 0x30]
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax + r8*8]
movzx eax, byte [rcx + 0x18]
sub eax, 6
cmp al, 1
ja 0x470b2f
nop dword [rax]
mov rcx, qword [rcx + 0x28]
movzx eax, byte [rcx + 0x18]
sub eax, 6
cmp al, 1
jbe 0x470b20
mov rdx, qword [rsp + 0xa8]
xor r8d, r8d
mov qword [r12 + 0x40], rcx
mov qword [rsp + 0x38], r10
call fcn.0045f0b0
mov r10, qword [rsp + 0x38]
test eax, eax
je 0x470ba0
mov rax, qword [rsp + 0xa8]
test byte [rax], 1
je 0x470ba0
test byte [r12 + 0x50], 0x70
jne 0x470ba0
mov rax, qword [r14 + 8]
mov qword [rsp + 0x38], r10
mov r8, rsi
mov rcx, r14
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rax + 0x360]
call qword [rax + 0x250]
mov r10, qword [rsp + 0x38]
test eax, eax
je 0x470ba0
or byte [r10 + 0xa], 0xc
nop dword [rax]
xor r8d, r8d
mov edx, 4
mov qword [rsp + 0x48], r10
mov rcx, r12
call fcn.004bcdb0
lea rcx, [r12 + 8]
mov edx, 1
mov r8d, eax
call fcn.004bcdb0
lea r9, [r12 + 0xa]
mov rcx, r9
mov qword [rsp + 0x38], r9
mov dword [rsp + 0x44], eax
call sub.msvcrt.dll_strlen
mov r9, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x44]
lea rdx, [rax + 1]
mov rcx, r9
call fcn.004bcdb0
lea rcx, [r12 + 0x20]
mov edx, 8
mov r8d, eax
call fcn.004bcdb0
lea rcx, [r12 + 0x28]
mov edx, 8
mov r8d, eax
call fcn.004bcdb0
lea rcx, [r12 + 0x30]
mov edx, 8
mov r8d, eax
call fcn.004bcdb0
lea rcx, [r12 + 0x38]
mov edx, 8
mov r8d, eax
call fcn.004bcdb0
mov rcx, qword [rsp + 0x30]
mov edx, 8
mov r8d, eax
call fcn.004bcdb0
mov edx, 8
mov r8d, eax
mov rax, qword [r12 + 0x48]
mov rcx, qword [rax]
add rcx, 0x68
call fcn.004bcdb0
lea rcx, [r12 + 0x50]
mov edx, 1
mov r8d, eax
call fcn.004bcdb0
lea rcx, [r12 + 0x51]
mov edx, 1
mov r8d, eax
call fcn.004bcdb0
lea rcx, [r12 + 0x52]
mov edx, 1
mov r8d, eax
call fcn.004bcdb0
lea rcx, [r12 + 0x53]
mov edx, 1
mov r8d, eax
call fcn.004bcdb0
movzx edx, byte [r12 + 0x53]
lea rcx, [r12 + 0x55]
mov r8d, eax
mov eax, 0x32
cmp rdx, 0x32
cmova rdx, rax
call fcn.004bcdb0
mov r10, qword [rsp + 0x48]
mov r8d, eax
mov dword [r12 + 4], eax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x138]
test rcx, rcx
je 0x47105a
mov r9d, 1
mov rdx, r12
mov qword [rsp + 0x30], r10
call fcn.004bc990
mov r10, qword [rsp + 0x30]
test rax, rax
je 0x470d40
mov rdx, qword [rax]
test rdx, rdx
je 0x4710d9
movzx eax, byte [r10 + 0xa]
or byte [r10 + 0x23], 2
or eax, 0x40
mov byte [r10 + 0xa], al
mov rdx, qword [rdx + 0x48]
test al, 2
mov qword [r10], rdx
je 0x470d39
or byte [rdx + 0xa], 2
mov r10, rdx
nop dword [rax]
mov qword [rbp], r10
mov eax, dword [r15]
lea r8, [rax + rax*2]
add rbp, 0x30
shl r8, 4
add r8, rbx
cmp r8, rbp
ja 0x470980
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x470d83
call sub.msvcrt.dll_free
mov eax, dword [r15]
mov qword [r15 + 8], 0
lea r8, [rax + rax*2]
shl r8, 4
add r8, rbx
xor r12d, r12d
xor r10d, r10d
cmp rbx, r8
mov r13d, 1
mov r15d, 4
jae 0x47103d
nop
movzx r9d, byte [rbx + 0x23]
test r9b, 2
jne 0x470e3c
mov r11d, dword [rbx + 0x14]
mov ebp, dword [rbx + 0x18]
cmp r11d, 4
je 0x470f00
test r9b, 1
je 0x470f20
movzx edx, byte [rbx + 0xa]
mov ecx, edx
and ecx, 0x10
cmp cl, 1
sbb eax, eax
and eax, 4
sub eax, 8
cmp cl, 1
sbb ecx, ecx
and ecx, 0xfffffffc
lea ecx, [r10 + rcx + 7]
and ecx, eax
cmp ecx, ebp
mov dword [rbx + 0x1c], ecx
je 0x470e20
shr r9b, 2
mov ebp, ecx
mov r12d, 1
mov eax, r9d
and eax, 1
and edx, 0x20
je 0x470f90
lea r9d, [rax + 1]
add r11d, r9d
mov eax, r9d
jmp 0x470e33
mov eax, r9d
shr al, 2
and eax, 1
and r9d, 1
jne 0x471172
add r11d, eax
mov r10d, ebp
add r10d, r11d
add rbx, 0x30
cmp rbx, r8
jb 0x470da0
add r10d, 3
and r12d, 1
and r10d, 0xfffffffc
mov rax, qword [rsi + 0x38]
mov qword [rsi + 0x38], r10
cmp rax, r10
mov qword [rsi + 0x40], rax
jne 0x470e6f
test r12b, r12b
je 0x4708f3
mov rbp, qword [rdi + 0x28]
xor r12d, r12d
mov rbx, qword [rdi + 0x18]
mov rax, qword [rsi + 0xe0]
shl rbp, 5
add rbp, rbx
add rbx, 0x20
cmp rbp, rbx
mov r13d, dword [rax + 0x88]
ja 0x470ead
jmp 0x470fa0
add rbx, 0x20
cmp rbp, rbx
jbe 0x470f70
cmp byte [rbx + 0x14], 1
ja 0x470ea0
cmp r13d, dword [rbx + 0x18]
jne 0x470ea0
mov rcx, qword [rbx]
mov rdx, rsi
call fcn.0046ed20
test rax, rax
je 0x470ea0
add qword [rbx], rax
mov r12d, 1
jmp 0x470ea0
cmp qword [rsi + 0x108], 0
setne al
lea edx, [rax + rax]
movzx eax, byte [rbp + 0x23]
and eax, 0xfffffffd
or eax, edx
mov byte [rbp + 0x23], al
mov eax, dword [r15]
jmp 0x470d47
add r10d, 3
and r10d, 0xfffffffc
cmp r10d, ebp
mov dword [rbx + 0x1c], r10d
cmovne r12d, r13d
jmp 0x470e39
movzx ecx, byte [rbx + 0x20]
mov eax, ecx
and eax, 0x60
cmp al, 0x60
je 0x471004
mov edx, dword [rsp + 0x40]
call fcn.0046ecd0
cmp eax, 4
cmovb eax, r15d
mov ecx, eax
neg ecx
lea edx, [r10 + rax - 1]
and edx, ecx
cmp edx, ebp
mov dword [rbx + 0x1c], edx
je 0x470e20
shr r9b, 2
mov ebp, edx
mov r12d, 1
mov eax, r9d
and eax, 1
jmp 0x470e33
test r12d, r12d
je 0x470fa0
mov rax, qword [r14 + 0xf0]
mov rdx, qword [rdi + 0x18]
mov qword [rax + 0xa8], rdx
jmp 0x4708f6
add r11d, eax
jmp 0x470e33
mov r12d, 1
jmp 0x4708f6
movzx r9d, byte [rbp + 0x20]
mov eax, r9d
and eax, 0x60
cmp al, 0x60
je 0x471050
mov edx, dword [rsp + 0x40]
movzx ecx, r9b
call fcn.0046ecd0
mov edx, eax
mov r8, rdx
mov eax, dword [rbp + 0x18]
shr r9b, 3
mov rcx, qword [rsp + 0x28]
and r9d, 1
lea rdx, [rdx + rax + 8]
add rdx, qword [rsi + 0xb0]
call fcn.0046ef60
test rax, rax
setne al
movzx eax, al
jmp 0x4709f6
mov ecx, 0xfffffffc
mov eax, 4
jmp 0x470f45
cmp al, 0x50
je 0x470a1e
jmp 0x470a5f
mov r10, r12
jmp 0x470d40
mov rcx, qword [r15 + 8]
test rcx, rcx
jne 0x470d68
xor r10d, r10d
xor r12d, r12d
jmp 0x470e55
xor edx, edx
xor r8d, r8d
jmp 0x470fd5
mov ecx, 1
mov qword [rsp + 0x30], r10
lea r9, [sub.msvcrt.dll_free]
lea r8, [0x0046ebe0]
lea rdx, [0x0046ead0]
call fcn.004bc670
mov r10, qword [rsp + 0x30]
mov rcx, rax
mov rax, qword [rsp + 0x20]
test rcx, rcx
mov qword [rax + 0x138], rcx
je 0x470d40
mov r8d, dword [r12 + 4]
jmp 0x470cf0
mov r8d, dword [rax + 0xc]
jmp 0x470ae5
cmp eax, 0xa
jne 0x470a5f
mov rax, qword [rsp + 0xa8]
lea rcx, str._P:_Further_warnings_about_FDE_encoding_preventing_.eh_frame_hdr_generation_dropped._n
mov rax, qword [rax + 0x20]
call qword [rax + 0x58]
add dword [0x00518630], 1
jmp 0x470a5f
mov ecx, 0x88
mov qword [rsp + 0x38], rax
call sub.msvcrt.dll_malloc
mov r10, qword [rsp + 0x30]
test rax, rax
je 0x470d40
mov rdx, r12
mov r8d, 0x88
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov r9, qword [rsp + 0x38]
mov qword [r9], rax
mov rdx, qword [rax + 0x48]
jmp 0x470d39
mov edx, dword [rax + 0x18]
mov rcx, r14
mov qword [rsp + 0x38], r10
mov dword [rsp + 0x44], r8d
call fcn.0044bb20
mov r10, qword [rsp + 0x38]
test rax, rax
je 0x470d40
mov rdx, qword [rax + 0xc8]
test rdx, rdx
cmove rdx, rax
cmp qword [rdx + 0x68], 0
je 0x470d40
mov byte [r12 + 9], 1
mov r8d, dword [rsp + 0x44]
mov eax, dword [r14 + 0x3c]
mov dword [r12 + 0x44], r8d
mov dword [r12 + 0x40], eax
jmp 0x470b52
movzx edx, byte [rbx + 0xa]
jmp 0x470e06