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

Disassembly:
lea r12, [rsp - 0x38]
cmp r12, qword [r14 + 0x10]
jbe 0x494bf4
push rbp
mov rbp, rsp
sub rsp, 0xb0
movq qword [rsp + 0xa8], xmm15
mov byte [rsp + 0x33], 0
cmp qword [rax + 8], 0
je 0x4949d6
cmp ebx, 1
je 0x4949d6
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x68], rcx
mov rcx, qword [rax + 8]
mov rax, rcx
call sym.github.com_rodrigocfd_windigo_win.BeginDeferWindowPos
mov qword [rsp + 0x58], rax
movups xmmword [rsp + 0x70], xmm15
lea rcx, [sym.github.com_rodrigocfd_windigo_ui.__ResizerChildren_.resizeChildren.deferwrap1]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x70]
mov qword [rsp + 0xa8], rcx
mov byte [rsp + 0x33], 1
mov rcx, qword [rsp + 0xc0]
mov rdx, qword [rcx + 8]
mov qword [rsp + 0x60], rdx
mov rbx, qword [rsp + 0x68]
xor esi, esi
jmp 0x494a46
add rsp, 0xb0
pop rbp
ret
mov dword [rsp + 0x40], edi
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rcx + 0x20]
call rcx
mov rbx, rax
xor ecx, ecx
mov edi, dword [rsp + 0x38]
mov esi, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
mov r9d, dword [rsp + 0x40]
mov r10d, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x58]
call sym.github.com_rodrigocfd_windigo_win.HDWP.DeferWindowPos
mov rsi, qword [rsp + 0x50]
inc rsi
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x58]
mov rcx, rdx
mov rdx, qword [rsp + 0x60]
cmp rsi, rdx
jge 0x494bbf
mov rdi, qword [rcx + 8]
cmp rsi, rdi
jae 0x494bda
mov rdi, qword [rcx]
lea r8, [rsi + rsi*4]
mov r9, qword [rdi + r8*8]
mov qword [rsp + 0x80], r9
lea r9, [rdi + r8*8]
lea r9, [r9 + 8]
movups xmm0, xmmword [r9]
movups xmmword [rsp + 0x88], xmm0
lea rdi, [rdi + r8*8]
lea rdi, [rdi + 0x18]
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x98], xmm0
movzx edi, byte [rsp + 0xa0]
nop
cmp dil, 1
jne 0x494ac0
cmp byte [rsp + 0xa1], 1
jne 0x494ac0
cmp dil, 1
mov r8d, 5
jmp 0x494aec
cmp dil, 2
jne 0x494ae2
cmp byte [rsp + 0xa1], 2
jne 0x494adc
cmp dil, 1
mov r8d, 6
jmp 0x494aec
cmp dil, 1
jmp 0x494ae6
cmp dil, 1
mov r8d, 4
nop
mov r9d, dword [rsp + 0x90]
nop
movzx r10d, bx
nop
nop
nop
jne 0x494b0e
mov r11d, dword [rcx + 0x18]
mov r12d, r10d
sub r10d, r11d
add r10d, r9d
jmp 0x494b14
mov r12d, r10d
mov r10d, r9d
movzx r11d, byte [rsp + 0xa1]
mov r13d, dword [rsp + 0x94]
mov dword [rsp + 0x34], r13d
mov r15, rbx
shr ebx, 0x10
cmp r11b, 1
jne 0x494b50
mov dword [rsp + 0x4c], ebx
mov r15d, dword [rcx + 0x1c]
sub ebx, r15d
add ebx, r13d
mov r15, qword [rsp + 0x68]
mov r13d, ebx
mov ebx, dword [rsp + 0x4c]
mov r15d, dword [rsp + 0x98]
mov dword [rsp + 0x48], r15d
sub r15d, r9d
cmp dil, 2
jne 0x494b77
mov edi, dword [rcx + 0x18]
sub r12d, edi
mov edi, dword [rsp + 0x48]
lea r15d, [rdi + r12]
sub r15d, r9d
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x44], r15d
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x38], r10d
mov edi, dword [rsp + 0x9c]
mov r9d, dword [rsp + 0x34]
mov r12d, edi
sub edi, r9d
cmp r11b, 2
jne 0x4949df
mov r11d, dword [rcx + 0x1c]
sub ebx, r11d
lea edi, [r12 + rbx]
sub edi, r9d
jmp 0x4949df
mov byte [rsp + 0x33], 0
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rdx]
call rax
add rsp, 0xb0
pop rbp
ret
mov rax, rsi
mov rcx, rdi
call sym.runtime.panicIndex
nop
call sym.runtime.deferreturn
add rsp, 0xb0
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp sym.github.com_rodrigocfd_windigo_ui.__ResizerChildren_.resizeChildren