Function at 0x488d20
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 0x488d70
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 0x488d53
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 0x489490
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 0x489334
test byte [rbp + 0x23], 1
jne 0x4891a7
cmp qword [rbp], 0
je 0x4891a7
test byte [rsi + 0x22], 0x10
mov rdx, qword [rdi]
je 0x488e11
test rdx, rdx
je 0x489410
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 0x488e31
mov edx, dword [rbp + 0x18]
lea ecx, [rdx + 8]
cmp qword [rax], rcx
je 0x488e48
lea rcx, str..._.._.._src_binutils_2.30_bfd_elf_eh_frame.c
mov edx, 0x5ec
call fcn.004240b0
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 0x4891a4
mov rax, qword [rsp + 0xa8]
test byte [rax], 1
je 0x488ebf
movzx eax, byte [rbp + 0x20]
and eax, 0x70
jne 0x489473
test byte [rbp + 0x23], 8
jne 0x488ebf
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x144], 0
mov eax, dword [0x005336f0]
cmp eax, 9
jg 0x48950e
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 [0x005336f0], 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 0x4891a0
test byte [r10 + 0xa], 0x40
mov r12, qword [r10]
jne 0x489480
and eax, 0xfffffffd
test r12, r12
mov qword [r10], rsi
mov byte [r10 + 0x23], al
je 0x4891a0
cmp byte [r12 + 0x50], 0xff
lea rax, [r12 + 0x40]
mov qword [rsp + 0x30], rax
je 0x489000
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 0x489505
mov r8d, dword [rax + 9]
mov eax, r8d
cmp rax, qword [rdi + 0x28]
jae 0x488f65
shl rax, 5
add rax, qword [rdi + 0x18]
movzx edx, byte [rax + 0x14]
shr dl, 4
test dl, dl
je 0x489578
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 0x488f8f
nop dword [rax]
mov rcx, qword [rcx + 0x28]
movzx eax, byte [rcx + 0x18]
sub eax, 6
cmp al, 1
jbe 0x488f80
mov rdx, qword [rsp + 0xa8]
xor r8d, r8d
mov qword [r12 + 0x40], rcx
mov qword [rsp + 0x38], r10
call fcn.00477510
mov r10, qword [rsp + 0x38]
test eax, eax
je 0x489000
mov rax, qword [rsp + 0xa8]
test byte [rax], 1
je 0x489000
test byte [r12 + 0x50], 0x70
jne 0x489000
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 0x489000
or byte [r10 + 0xa], 0xc
nop dword [rax]
xor r8d, r8d
mov edx, 4
mov qword [rsp + 0x48], r10
mov rcx, r12
call fcn.004cfcc0
lea rcx, [r12 + 8]
mov edx, 1
mov r8d, eax
call fcn.004cfcc0
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.004cfcc0
lea rcx, [r12 + 0x20]
mov edx, 8
mov r8d, eax
call fcn.004cfcc0
lea rcx, [r12 + 0x28]
mov edx, 8
mov r8d, eax
call fcn.004cfcc0
lea rcx, [r12 + 0x30]
mov edx, 8
mov r8d, eax
call fcn.004cfcc0
lea rcx, [r12 + 0x38]
mov edx, 8
mov r8d, eax
call fcn.004cfcc0
mov rcx, qword [rsp + 0x30]
mov edx, 8
mov r8d, eax
call fcn.004cfcc0
mov edx, 8
mov r8d, eax
mov rax, qword [r12 + 0x48]
mov rcx, qword [rax]
add rcx, 0x68
call fcn.004cfcc0
lea rcx, [r12 + 0x50]
mov edx, 1
mov r8d, eax
call fcn.004cfcc0
lea rcx, [r12 + 0x51]
mov edx, 1
mov r8d, eax
call fcn.004cfcc0
lea rcx, [r12 + 0x52]
mov edx, 1
mov r8d, eax
call fcn.004cfcc0
lea rcx, [r12 + 0x53]
mov edx, 1
mov r8d, eax
call fcn.004cfcc0
movzx edx, byte [r12 + 0x53]
lea rcx, [r12 + 0x55]
mov r8d, eax
mov eax, 0x32
cmp rdx, 0x32
cmova rdx, rax
call fcn.004cfcc0
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 0x4894ba
mov r9d, 1
mov rdx, r12
mov qword [rsp + 0x30], r10
call fcn.004cf8a0
mov r10, qword [rsp + 0x30]
test rax, rax
je 0x4891a0
mov rdx, qword [rax]
test rdx, rdx
je 0x489539
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 0x489199
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 0x488de0
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x4891e3
call fcn.004d4f88
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 0x48949d
nop
movzx r9d, byte [rbx + 0x23]
test r9b, 2
jne 0x48929c
mov r11d, dword [rbx + 0x14]
mov ebp, dword [rbx + 0x18]
cmp r11d, 4
je 0x489360
test r9b, 1
je 0x489380
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 0x489280
shr r9b, 2
mov ebp, ecx
mov r12d, 1
mov eax, r9d
and eax, 1
and edx, 0x20
je 0x4893f0
lea r9d, [rax + 1]
add r11d, r9d
mov eax, r9d
jmp 0x489293
mov eax, r9d
shr al, 2
and eax, 1
and r9d, 1
jne 0x4895d2
add r11d, eax
mov r10d, ebp
add r10d, r11d
add rbx, 0x30
cmp rbx, r8
jb 0x489200
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 0x4892cf
test r12b, r12b
je 0x488d53
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 0x48930d
jmp 0x489400
add rbx, 0x20
cmp rbp, rbx
jbe 0x4893d0
cmp byte [rbx + 0x14], 1
ja 0x489300
cmp r13d, dword [rbx + 0x18]
jne 0x489300
mov rcx, qword [rbx]
mov rdx, rsi
call fcn.00487180
test rax, rax
je 0x489300
add qword [rbx], rax
mov r12d, 1
jmp 0x489300
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 0x4891a7
add r10d, 3
and r10d, 0xfffffffc
cmp r10d, ebp
mov dword [rbx + 0x1c], r10d
cmovne r12d, r13d
jmp 0x489299
movzx ecx, byte [rbx + 0x20]
mov eax, ecx
and eax, 0x60
cmp al, 0x60
je 0x489464
mov edx, dword [rsp + 0x40]
call fcn.00487130
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 0x489280
shr r9b, 2
mov ebp, edx
mov r12d, 1
mov eax, r9d
and eax, 1
jmp 0x489293
test r12d, r12d
je 0x489400
mov rax, qword [r14 + 0xf0]
mov rdx, qword [rdi + 0x18]
mov qword [rax + 0xa8], rdx
jmp 0x488d56
add r11d, eax
jmp 0x489293
mov r12d, 1
jmp 0x488d56
movzx r9d, byte [rbp + 0x20]
mov eax, r9d
and eax, 0x60
cmp al, 0x60
je 0x4894b0
mov edx, dword [rsp + 0x40]
movzx ecx, r9b
call fcn.00487130
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.004873c0
test rax, rax
setne al
movzx eax, al
jmp 0x488e56
mov ecx, 0xfffffffc
mov eax, 4
jmp 0x4893a5
cmp al, 0x50
je 0x488e7e
jmp 0x488ebf
mov r10, r12
jmp 0x4891a0
mov rcx, qword [r15 + 8]
test rcx, rcx
jne 0x4891c8
xor r10d, r10d
xor r12d, r12d
jmp 0x4892b5
xor edx, edx
xor r8d, r8d
jmp 0x489435
mov ecx, 1
mov qword [rsp + 0x30], r10
lea r9, [fcn.004d4f88]
lea r8, [0x00487040]
lea rdx, [0x00486f30]
call fcn.004cf580
mov r10, qword [rsp + 0x30]
mov rcx, rax
mov rax, qword [rsp + 0x20]
test rcx, rcx
mov qword [rax + 0x138], rcx
je 0x4891a0
mov r8d, dword [r12 + 4]
jmp 0x489150
mov r8d, dword [rax + 0xc]
jmp 0x488f45
cmp eax, 0xa
jne 0x488ebf
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 [0x005336f0], 1
jmp 0x488ebf
mov ecx, 0x88
mov qword [rsp + 0x38], rax
call sub.msvcrt.dll_malloc
mov r10, qword [rsp + 0x30]
test rax, rax
je 0x4891a0
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 0x489199
mov edx, dword [rax + 0x18]
mov rcx, r14
mov qword [rsp + 0x38], r10
mov dword [rsp + 0x44], r8d
call fcn.00463f80
mov r10, qword [rsp + 0x38]
test rax, rax
je 0x4891a0
mov rdx, qword [rax + 0xc8]
test rdx, rdx
cmove rdx, rax
cmp qword [rdx + 0x68], 0
je 0x4891a0
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 0x488fb2
movzx edx, byte [rbx + 0xa]
jmp 0x489266