Function at 0x47b4d0
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, 0xd8
test r8d, r8d
jle 0x47bdcc
mov qword [rsp + 0x68], r9
mov esi, r8d
mov dword [rsp + 0x38], r8d
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x58], rcx
mov rbx, r9
mov qword [rsp + 0x50], r9
xor r12d, r12d
mov r13, qword [0x00670bd0]
jmp 0x47b52d
add r12d, 1
add rbx, 8
cmp r12d, esi
je 0x47b548
mov rax, qword [r13]
mov rcx, qword [rbx]
call qword [rax + 0xab0]
cmp byte [rax], 0x2e
je 0x47b520
test r12d, r12d
jle 0x47bdcc
movsxd rax, r12d
mov dword [rsp + 0x80], r12d
lea r14, [0x0064054c]
lea rax, [rax*8 + 8]
add rax, qword [rsp + 0x68]
mov dword [rsp + 0xa0], 0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x38]
sub eax, 2
sub eax, r12d
and eax, 0xfffffffe
lea eax, [r12 + rax + 2]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0xa4], eax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x78], rax
lea eax, [r12 + 1]
mov r12, qword [rsp + 0x58]
mov dword [rsp + 0x84], eax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xbc]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xb4]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x50]
mov r9, qword [rsp + 0x78]
mov rcx, r12
mov rdx, qword [rsp + 0x60]
mov r8, qword [rax]
call fcn.00477070
test eax, eax
mov dword [rsp + 0x4c], eax
jne 0x47bac0
mov rcx, qword [rsp + 0xc8]
test byte [rcx + 0xf6], 2
jne 0x47be4c
call fcn.0047ab80
mov r15, rax
mov eax, dword [rax + 0x50]
mov edx, eax
and edx, 0xffffffef
cmp qword [r15 + 8], 0
mov dword [r15 + 0x50], edx
je 0x47bc63
mov eax, dword [rsp + 0x38]
mov esi, dword [rsp + 0x80]
cmp eax, esi
jle 0x47b7e5
mov edi, dword [rsp + 0x84]
cmp eax, edi
jle 0x47be93
mov rbp, qword [rsp + 0x88]
mov ebx, esi
mov rax, qword [r13]
mov rdi, qword [rsp + 0x30]
lea r9, [0x00640492]
mov rdx, qword [rbp - 8]
lea r8, str._after
mov dword [rsp + 0x20], 0
mov rcx, r12
mov qword [rsp + 0x28], rdi
call qword [rax + 0x130]
test eax, eax
jne 0x47bac0
cmp dword [rsp + 0xb8], 0xa
ja case.default.0x47b6e3
mov eax, dword [rsp + 0xb8]
movsxd rax, dword [r14 + rax*4]
add rax, r14
jmp rax
lea rax, [r15 + 0x2c]
lea r9, [r15 + 0x34]
mov qword [rsp + 0x20], rax
mov r8, qword [rbp]
mov rdx, qword [rsp + 0xc8]
mov rcx, r12
call fcn.00477150
test eax, eax
jne 0x47bac0
nop
add ebx, 2
cmp dword [rsp + 0x38], ebx
jle 0x47b7e5
add rbp, 0x10
cmp ebx, dword [rsp + 0x3c]
jne 0x47b692
movsxd rax, dword [rsp + 0xa4]
mov rdx, qword [r13]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rdx + 0x240]
mov rcx, qword [rsi + rax*8]
call qword [rdx + 0xab0]
mov qword [rsp + 0x20], 0
mov r8, rax
lea r9, str.___option_with_no_value__
lea rdx, str.extra_option__
mov rcx, qword [rsp + 0x58]
call rbx
mov dword [rsp + 0x4c], 1
mov eax, dword [rsp + 0x4c]
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [r15 + 0x28]
lea r9, [r15 + 0x30]
mov qword [rsp + 0x20], rax
jmp 0x47b6f2
mov r9, qword [rsp + 0x40]
mov r8, qword [rbp]
mov rcx, r12
mov rdx, qword [rsp + 0xc8]
call fcn.00476f30
test eax, eax
jne 0x47bd79
mov eax, dword [rsp + 0xb4]
test eax, eax
js 0x47bd79
add eax, eax
add ebx, 2
cmp dword [rsp + 0x38], ebx
mov dword [r15 + 0x3c], eax
jg 0x47b71d
mov eax, dword [rsp + 0xa0]
test eax, eax
je 0x47bbf0
cmp qword [rsp + 0x98], r15
je 0x47bdd9
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0x90]
mov rdx, qword [rcx + 0x40]
mov r8, qword [rax]
cmp rdx, r8
je 0x47b847
test byte [r8 + 0xf6], 2
jne 0x47bcaf
mov rax, r8
jmp 0x47b83e
test byte [rax + 0xf6], 2
jne 0x47bcaf
mov rax, qword [rax + 0x40]
cmp rdx, rax
jne 0x47b831
cmp rcx, r8
je 0x47bef3
mov rax, qword [r15 + 8]
test rax, rax
je 0x47b884
cmp qword [rsp + 0x90], rax
je 0x47b874
mov rcx, qword [r15]
mov rdx, qword [rax]
cmp rdx, qword [rcx + 0x40]
je 0x47b874
call fcn.00454670
mov rcx, r15
call fcn.0047a0a0
mov rcx, qword [rsp + 0xc8]
cmp qword [rsp + 0x98], 0
mov rax, qword [rsp + 0x90]
mov qword [r15 + 8], rax
je 0x47bea8
mov rsi, qword [rsp + 0x98]
mov rax, qword [rsi + 0x10]
mov qword [r15 + 0x10], rax
mov qword [rsi + 0x10], r15
lea rdx, str.pack
mov r8, r15
call fcn.00454240
mov qword [rsp + 0x98], r15
jmp 0x47bc05
mov r9, qword [rsp + 0x40]
mov r8, qword [rbp]
mov rcx, r12
mov rdx, qword [rsp + 0xc8]
call fcn.00476f30
test eax, eax
jne 0x47bd26
mov eax, dword [rsp + 0xb4]
test eax, eax
js 0x47bd26
add eax, eax
mov dword [r15 + 0x38], eax
jmp case.default.0x47b6e3
mov edx, dword [rsp + 0x48]
test edx, edx
jne case.default.0x47b6e3
mov r9, qword [rsp + 0xa8]
mov r8, qword [rbp]
mov rcx, r12
mov rdx, qword [rsp + 0x60]
call fcn.00477070
test eax, eax
jne 0x47bac0
mov rcx, qword [rsp + 0xc0]
call fcn.0047ab80
mov qword [rsp + 0x90], rax
mov rax, qword [rax + 0x18]
test rax, rax
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
jne 0x47b973
jmp 0x47bb6a
mov rdx, rax
mov rax, qword [rdx + 0x10]
test rax, rax
jne 0x47b970
mov qword [rsp + 0x98], rdx
mov dword [rsp + 0xa0], 1
jmp case.default.0x47b6e3
mov rax, qword [r13]
lea rdi, [0x006404b1]
mov rcx, qword [rbp]
call qword [rax + 0xab0]
mov ecx, 5
mov rsi, rax
repe cmpsb byte [rsi], byte [rdi]
jne 0x47bb80
and dword [r15 + 0x50], 0xfffffff9
jmp case.default.0x47b6e3
mov rax, qword [r13]
mov r8, qword [rsp + 0x40]
mov rcx, r12
mov rdx, qword [rbp]
call qword [rax + 0x110]
test eax, eax
jne 0x47bac0
mov eax, dword [r15 + 0x50]
mov ecx, dword [rsp + 0xb4]
and eax, 0xfffffff7
test ecx, ecx
mov dword [r15 + 0x50], eax
je case.default.0x47b6e3
or eax, 8
mov dword [r15 + 0x50], eax
jmp case.default.0x47b6e3
mov r8d, dword [rsp + 0x48]
test r8d, r8d
jne case.default.0x47b6e3
mov r9, qword [rsp + 0xa8]
mov r8, qword [rbp]
mov rcx, r12
mov rdx, qword [rsp + 0x60]
call fcn.00477070
test eax, eax
jne 0x47bac0
mov rcx, qword [rsp + 0xc0]
call fcn.0047ab80
mov rsi, qword [rax + 8]
test rsi, rsi
mov qword [rsp + 0x90], rsi
je 0x47bf32
mov rsi, qword [rsi + 0x18]
cmp rsi, rax
mov qword [rsp + 0x98], rsi
mov rcx, qword [rsp + 0x98]
jne 0x47ba83
jmp 0x47bf75
mov rcx, rdx
mov rdx, qword [rcx + 0x10]
cmp rdx, rax
jne 0x47ba80
mov qword [rsp + 0x98], rcx
mov dword [rsp + 0xa0], 1
jmp case.default.0x47b6e3
mov rdx, qword [rbp]
lea r8, [r15 + 0x24]
mov rcx, r12
call fcn.00454900
test eax, eax
je case.default.0x47b6e3
nop dword [rax]
mov dword [rsp + 0x4c], 1
jmp 0x47b776
mov rax, qword [r13]
mov rsi, qword [rsp + 0x70]
lea r9, str.side
mov dword [rsp + 0x20], 1
lea r8, [0x00600020]
mov rcx, r12
mov qword [rsp + 0x28], rsi
mov rdx, qword [rbp]
call qword [rax + 0x130]
test eax, eax
jne 0x47bac0
mov eax, dword [rsp + 0xbc]
mov dword [r15 + 0x20], eax
jmp case.default.0x47b6e3
mov r9d, dword [rsp + 0x48]
test r9d, r9d
jne case.default.0x47b6e3
mov r9, qword [rsp + 0xa8]
mov r8, qword [rbp]
mov rcx, r12
mov rdx, qword [rsp + 0x60]
call fcn.00477070
test eax, eax
jne 0x47bac0
mov rcx, qword [rsp + 0xc0]
call fcn.0047ab80
mov qword [rsp + 0x98], rax
mov rax, qword [rax + 8]
test rax, rax
mov qword [rsp + 0x90], rax
je 0x47bf32
mov dword [rsp + 0xa0], 1
jmp case.default.0x47b6e3
lea rdi, [0x006404b6]
mov ecx, 2
mov rsi, rax
repe cmpsb byte [rsi], byte [rdi]
jne 0x47bbb0
mov eax, dword [r15 + 0x50]
and eax, 0xfffffff9
or eax, 2
mov dword [r15 + 0x50], eax
jmp case.default.0x47b6e3
lea rdi, [0x006404b8]
mov ecx, 2
mov rsi, rax
repe cmpsb byte [rsi], byte [rdi]
je 0x47bc50
lea rdi, [0x006404ba]
mov ecx, 5
mov rsi, rax
repe cmpsb byte [rsi], byte [rdi]
jne 0x47bebc
or dword [r15 + 0x50], 6
jmp case.default.0x47b6e3
mov rax, qword [r15 + 8]
test rax, rax
mov qword [rsp + 0x90], rax
je 0x47bdf2
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x48]
test rax, rax
je 0x47bc1c
mov dword [rax], 1
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x50]
test al, 1
je 0x47bcff
add dword [rsp + 0x48], 1
add qword [rsp + 0x50], 8
mov eax, dword [rsp + 0x48]
cmp eax, dword [rsp + 0x80]
jne 0x47b60c
jmp 0x47b776
mov eax, dword [r15 + 0x50]
and eax, 0xfffffff9
or eax, 4
mov dword [r15 + 0x50], eax
jmp case.default.0x47b6e3
and eax, 0xffffffe1
mov dword [r15 + 0x20], 0
mov dword [r15 + 0x24], 8
mov dword [r15 + 0x2c], 0
mov dword [r15 + 0x28], 0
mov dword [r15 + 0x34], 0
mov dword [r15 + 0x30], 0
mov dword [r15 + 0x3c], 0
mov dword [r15 + 0x38], 0
mov dword [r15 + 0x50], eax
jmp 0x47b666
mov rsi, qword [r8 + 0x58]
mov rax, qword [r13]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rax + 0x240]
mov rcx, qword [rdi]
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 + 0x58]
call rbx
mov dword [rsp + 0x4c], 1
jmp 0x47b776
mov rsi, qword [rsp + 0x90]
or eax, 1
lea rcx, [0x0047a390]
mov dword [rsi + 0x50], eax
mov rax, qword [r13]
mov rdx, rsi
call qword [rax + 0x3b0]
jmp 0x47bc2f
mov rsi, qword [rsp + 0x58]
mov rax, qword [r13]
mov rcx, rsi
call qword [rax + 0x6d8]
mov rax, qword [r13]
mov rcx, qword [rbp]
mov rbx, qword [rax + 0x240]
call qword [rax + 0xab0]
mov qword [rsp + 0x20], 0
mov r8, rax
lea r9, str._:_must_be_positive_screen_distance
lea rdx, str.bad_ipadx_value__
mov rcx, rsi
call rbx
mov dword [rsp + 0x4c], 1
jmp 0x47b776
mov rsi, qword [rsp + 0x58]
mov rax, qword [r13]
mov rcx, rsi
call qword [rax + 0x6d8]
mov rax, qword [r13]
mov rcx, qword [rbp]
mov rbx, qword [rax + 0x240]
call qword [rax + 0xab0]
mov qword [rsp + 0x20], 0
mov r8, rax
lea r9, str._:_must_be_positive_screen_distance
lea rdx, str.bad_ipady_value__
mov rcx, rsi
call rbx
mov dword [rsp + 0x4c], 1
jmp 0x47b776
mov dword [rsp + 0x4c], 0
jmp 0x47b776
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 8]
mov qword [rsp + 0x90], rax
jmp 0x47bc05
cmp qword [rsp + 0x98], r15
je 0x47bdd9
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax + 0x40]
call fcn.0047ab80
mov qword [rsp + 0x90], rax
mov rax, qword [rax + 0x18]
test rax, rax
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
jne 0x47be36
jmp 0x47b802
mov rdx, rax
mov rax, qword [rdx + 0x10]
test rax, rax
jne 0x47be33
mov qword [rsp + 0x98], rdx
jmp 0x47b802
mov rax, qword [r13]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rax + 0x240]
mov rcx, qword [rsi]
call qword [rax + 0xab0]
mov qword [rsp + 0x20], 0
mov r8, rax
lea r9, str._:_its_a_top_level_window
lea rdx, str.cant_pack__
mov rcx, qword [rsp + 0x58]
call rbx
mov dword [rsp + 0x4c], 1
jmp 0x47b776
mov r12d, dword [rsp + 0x80]
mov dword [rsp + 0xa4], r12d
jmp 0x47b72b
mov rsi, rax
mov rax, qword [rax + 0x18]
mov qword [r15 + 0x10], rax
mov qword [rsi + 0x18], r15
jmp 0x47b8b3
mov r10, qword [r13]
lea r9, str._:_must_be_none__x__y__or_both
mov qword [rsp + 0x20], 0
mov r8, rax
lea rdx, str.bad_fill_style__
mov rcx, qword [rsp + 0x58]
call qword [r10 + 0x240]
mov dword [rsp + 0x4c], 1
jmp 0x47b776
mov rax, qword [r13]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rax + 0x240]
mov rcx, qword [rsi]
call qword [rax + 0xab0]
mov qword [rsp + 0x20], 0
mov r8, rax
lea r9, str._inside_itself
lea rdx, str.cant_pack
mov rcx, qword [rsp + 0x58]
call rbx
jmp 0x47bac0
mov rax, qword [r13]
mov rcx, qword [rbp]
mov rbx, qword [rax + 0x240]
call qword [rax + 0xab0]
mov qword [rsp + 0x20], 0
mov r8, rax
lea r9, str.__isnt_packed
lea rdx, str.window__
mov rcx, qword [rsp + 0x58]
call rbx
mov dword [rsp + 0x4c], 1
jmp 0x47b776
mov dword [rsp + 0xa0], 1
mov qword [rsp + 0x98], 0
jmp case.default.0x47b6e3