Function at 0x47acb0
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, 0x98
test r9d, r9d
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0xe8], rdx
mov qword [rsp + 0xf0], r8
mov dword [rsp + 0xf8], r9d
jle 0x47b3cf
cmp dword [rsp + 0xf8], 1
je 0x47b403
lea rax, [rsp + 0x80]
mov r12, qword [0x00670bd0]
lea r13, [rsp + 0x78]
mov r15d, 6
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x100]
mov r9, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xe0]
mov r8, qword [rax]
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax]
call fcn.00477070
test eax, eax
jne 0x47b285
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rcx + 0x40]
mov r8, qword [rax]
cmp rdx, r8
je 0x47ada6
test byte [r8 + 0xf6], 2
jne 0x47b330
mov rax, r8
jmp 0x47ad9d
test byte [rax + 0xf6], 2
jne 0x47b330
mov rax, qword [rax + 0x40]
cmp rdx, rax
jne 0x47ad90
test byte [rcx + 0xf6], 2
jne 0x47b330
cmp rcx, r8
je 0x47b330
call fcn.0047ab80
mov rsi, qword [rsp + 0x100]
mov rbx, rax
mov rax, qword [r12]
mov qword [rsp + 0x68], r12
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xe0]
mov rdx, qword [rsi + 8]
call qword [rax + 0x178]
test eax, eax
jne 0x47b285
mov eax, dword [rbx + 0x50]
mov dword [rbx + 0x20], 0
mov dword [rbx + 0x24], 8
mov dword [rbx + 0x2c], 0
mov dword [rbx + 0x28], 0
mov dword [rbx + 0x34], 0
and eax, 0xfffffff1
mov dword [rbx + 0x30], 0
mov dword [rbx + 0x3c], 0
or eax, 0x10
mov dword [rbx + 0x38], 0
mov dword [rbx + 0x50], eax
mov eax, dword [rsp + 0x7c]
test eax, eax
jle 0x47afa0
lea rax, [rbx + 0x24]
xor r14d, r14d
mov qword [rsp + 0x38], rax
lea rax, [rbx + 0x34]
mov qword [rsp + 0x58], rax
lea rax, [rbx + 0x2c]
mov qword [rsp + 0x60], rax
jmp 0x47af29
cmp edx, 0x62
je 0x47b090
cmp edx, 0x6c
je 0x47b0c3
cmp edx, 0x72
je 0x47b100
cmp edx, 0x65
je 0x47b131
cmp edx, 0x66
je 0x47b165
mov r8d, dword [rsp + 0x78]
cmp r8d, 5
je 0x47b06a
cmp edx, 0x70
je 0x47b1bf
cmp r8d, 1
jle 0x47b24c
cmp edx, 0x66
jne 0x47b24c
movsxd rcx, r8d
lea rdi, [0x00640392]
mov rsi, rax
cmp rcx, 6
cmovg rcx, r15
cmp rcx, rcx
repe cmpsb byte [rsi], byte [rdi]
jne 0x47b24c
add r14d, 1
cmp r14d, dword [rsp + 0x7c]
jge 0x47b389
mov rax, qword [rsp + 0x88]
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xe0]
mov rdx, qword [rax + rbp + 8]
call fcn.00454900
test eax, eax
jne 0x47b285
add r14d, 1
cmp dword [rsp + 0x7c], r14d
jle 0x47afa0
mov rdx, qword [rsp + 0x88]
mov r8, qword [r12]
movsxd rax, r14d
lea rbp, [rax*8]
mov rcx, qword [rdx + rax*8]
mov rdx, r13
call qword [r8 + 0x158]
movsx edx, byte [rax]
cmp edx, 0x74
jne 0x47ae70
movsxd rcx, dword [rsp + 0x78]
mov r9d, 4
lea rdi, [0x0064031c]
mov rsi, rax
cmp rcx, 4
mov r8, rcx
cmovg rcx, r9
cmp rcx, rcx
repe cmpsb byte [rsi], byte [rdi]
jne 0x47b060
add r14d, 1
cmp dword [rsp + 0x7c], r14d
mov dword [rbx + 0x20], 0
jg 0x47af29
nop word [rax + rax]
cmp rbx, qword [rsp + 0xe8]
je 0x47b024
mov rax, qword [rbx + 8]
test rax, rax
je 0x47afd6
cmp qword [rsp + 0xf0], rax
je 0x47afce
mov rcx, qword [rbx]
mov rdx, qword [rax]
cmp rdx, qword [rcx + 0x40]
je 0x47afce
call fcn.00454670
mov rcx, rbx
call fcn.0047a0a0
cmp qword [rsp + 0xe8], 0
mov rax, qword [rsp + 0xf0]
mov qword [rbx + 8], rax
je 0x47b3b6
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax + 0x10]
mov qword [rbx + 0x10], rax
mov rax, qword [rsp + 0xe8]
mov qword [rax + 0x10], rbx
mov rcx, qword [rsp + 0x80]
lea rdx, str.pack
mov r8, rbx
call fcn.00454240
add qword [rsp + 0x100], 0x10
sub dword [rsp + 0xf8], 2
je 0x47b3cf
cmp dword [rsp + 0xf8], 1
je 0x47b40f
mov qword [rsp + 0xe8], rbx
jmp 0x47ad30
cmp r8d, 5
jne 0x47aeb5
lea rdi, str.fillx
mov rsi, rax
mov rcx, r15
repe cmpsb byte [rsi], byte [rdi]
jne 0x47b190
or dword [rbx + 0x50], 2
jmp 0x47af1e
movsxd rcx, dword [rsp + 0x78]
mov r9d, 7
lea rdi, [0x00640320]
mov rsi, rax
cmp rcx, 7
mov r8, rcx
cmovg rcx, r9
cmp rcx, rcx
repe cmpsb byte [rsi], byte [rdi]
jne 0x47b060
mov dword [rbx + 0x20], 1
jmp 0x47af1e
movsxd rcx, dword [rsp + 0x78]
mov esi, 5
lea rdi, [0x00640327]
cmp rcx, 5
mov r8, rcx
cmovg rcx, rsi
mov rsi, rax
cmp rcx, rcx
repe cmpsb byte [rsi], byte [rdi]
jne 0x47b060
mov dword [rbx + 0x20], 2
jmp 0x47af1e
movsxd rcx, dword [rsp + 0x78]
lea rdi, [0x0064032c]
mov rsi, rax
cmp rcx, 6
mov r8, rcx
cmovg rcx, r15
cmp rcx, rcx
repe cmpsb byte [rsi], byte [rdi]
jne 0x47b060
mov dword [rbx + 0x20], 3
jmp 0x47af1e
movsxd rcx, dword [rsp + 0x78]
mov r9d, 7
lea rdi, str.expand
mov rsi, rax
cmp rcx, 7
mov r8, rcx
cmovg rcx, r9
cmp rcx, rcx
repe cmpsb byte [rsi], byte [rdi]
jne 0x47b242
or dword [rbx + 0x50], 8
jmp 0x47af1e
lea rdi, [0x00640339]
mov rsi, rax
mov ecx, 5
repe cmpsb byte [rsi], byte [rdi]
je 0x47b321
mov r8d, dword [rsp + 0x78]
cmp r8d, 5
jne 0x47aeb5
jmp 0x47b06a
lea rdi, str.filly
mov rsi, rax
mov rcx, r15
repe cmpsb byte [rsi], byte [rdi]
jne 0x47b1b0
or dword [rbx + 0x50], 4
jmp 0x47af1e
cmp edx, 0x70
mov r8d, 5
jne 0x47aeb5
lea rdi, str.padx
mov rsi, rax
mov ecx, 5
repe cmpsb byte [rsi], byte [rdi]
jne 0x47b2a0
add r14d, 1
cmp r14d, dword [rsp + 0x7c]
jge 0x47b45d
mov rax, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
lea r9, [rbx + 0x30]
mov rcx, qword [rsp + 0xe0]
mov r8, qword [rax + rbp + 8]
lea rax, [rbx + 0x28]
mov qword [rsp + 0x20], rax
call fcn.00477150
test eax, eax
jne 0x47b285
mov eax, dword [rbx + 0x28]
mov dword [rbx + 0x38], 0
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov dword [rbx + 0x28], eax
mov eax, dword [rbx + 0x30]
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov dword [rbx + 0x30], eax
jmp 0x47af1e
cmp r8d, 5
je 0x47b06a
mov r10, qword [r12]
lea rbx, str.fill__fillx__filly__padx__pady__or_frame
mov qword [rsp + 0x28], 0
lea r9, str._:_should_be_top__bottom__left__right__expand_
mov r8, rax
lea rdx, [0x00640408]
mov qword [rsp + 0x20], rbx
mov rcx, qword [rsp + 0xe0]
call qword [r10 + 0x240]
mov eax, 1
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rdi, str.pady
mov rsi, rax
mov ecx, 5
repe cmpsb byte [rsi], byte [rdi]
jne 0x47b24c
add r14d, 1
cmp r14d, dword [rsp + 0x7c]
jge 0x47b45d
mov rax, qword [rsp + 0x88]
mov r9, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xe0]
mov r8, qword [rax + rbp + 8]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.00477150
test eax, eax
jne 0x47b285
mov eax, dword [rbx + 0x2c]
mov dword [rbx + 0x3c], 0
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov dword [rbx + 0x2c], eax
mov eax, dword [rbx + 0x34]
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov dword [rbx + 0x34], eax
jmp 0x47af1e
or dword [rbx + 0x50], 6
jmp 0x47af1e
mov rax, qword [0x00670bd0]
mov rsi, qword [r8 + 0x58]
mov rdi, qword [rsp + 0x100]
mov rax, qword [rax]
mov rcx, qword [rdi]
mov rbx, qword [rax + 0x240]
call qword [rax + 0xab0]
mov qword [rsp + 0x28], 0
mov r8, rax
mov qword [rsp + 0x20], rsi
lea r9, str._inside
lea rdx, str.cant_pack
mov rcx, qword [rsp + 0xe0]
call rbx
mov eax, 1
jmp 0x47b28a
mov rax, qword [r12]
xor r9d, r9d
lea r8, str.option_must_be_followed_by_anchor_point
lea rdx, str.wrong__args:__frame_
mov rcx, qword [rsp + 0xe0]
call qword [rax + 0x240]
mov eax, 1
jmp 0x47b28a
mov rax, qword [rax + 0x18]
mov qword [rbx + 0x10], rax
mov rax, qword [rsp + 0xf0]
mov qword [rax + 0x18], rbx
jmp 0x47b00d
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x48]
test rax, rax
je 0x47b3e6
mov dword [rax], 1
mov rax, qword [rsp + 0xf0]
mov edx, dword [rax + 0x50]
mov eax, edx
and eax, 1
je 0x47b494
xor eax, eax
jmp 0x47b28a
mov rax, qword [0x00670bd0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x100]
mov rax, qword [rax]
mov rcx, qword [rsi]
mov rbx, qword [rax + 0x240]
call qword [rax + 0xab0]
mov qword [rsp + 0x20], 0
mov r8, rax
lea r9, str.__should_be_followed_by_options
lea rdx, str.wrong__args:_window__
mov rcx, qword [rsp + 0xe0]
call rbx
mov eax, 1
jmp 0x47b28a
mov r10, qword [r12]
mov r8, rax
mov qword [rsp + 0x20], 0
lea r9, str.__option_must_be_followed_by_screen_distance
lea rdx, str.wrong__args:__
mov rcx, qword [rsp + 0xe0]
call qword [r10 + 0x240]
mov eax, 1
jmp 0x47b28a
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xf0]
or edx, 1
lea rcx, [0x0047a390]
mov dword [rax + 0x50], edx
mov rdx, qword [0x00670bd0]
mov r8, qword [rdx]
mov rdx, rax
call qword [r8 + 0x3b0]
mov eax, dword [rsp + 0x38]
jmp 0x47b28a