Function at 0x2bbf93030
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
mov rsi, qword [0x2bc041fd0]
mov rax, qword [rsi]
mov r13, rcx
mov r12, rdx
mov ebp, r8d
mov rbx, r9
cmp r8d, 1
jle 0x2bbf930f0
xor edx, edx
mov rcx, qword [r9 + 8]
call qword [rax + 0x1468]
cmp byte [rax], 0x2e
je 0x2bbf934f0
mov rax, qword [rsi]
cmp ebp, 2
je 0x2bbf930f0
lea r15, [rsp + 0x40]
lea r14, [0x2bc02513d]
xor ecx, ecx
mov rdx, qword [rbx + 8]
mov r9d, 8
mov qword [rsp + 0x30], r15
lea r8, [0x2bc0254a0]
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], r14
call qword [rax + 0x990]
mov edi, eax
test eax, eax
jne 0x2bbf93128
mov rax, qword [rsi]
xor edx, edx
mov rcx, qword [rbx + 0x10]
call qword [rax + 0x1468]
cmp dword [rsp + 0x40], 5
mov r14, rax
ja case.default.0x2bbf930e5
mov eax, dword [rsp + 0x40]
lea rdx, [0x2bc025394]
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
mov rax, qword [rsi]
lea r9, str.option_arg__arg_..._
mov r8, rbx
mov rcx, r12
mov edx, 1
call qword [rax + 0x850]
mov edi, 1
mov eax, edi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi]
mov rdx, qword [rbx + 8]
mov r9d, 8
mov rcx, r12
mov qword [rsp + 0x30], r15
lea r8, [0x2bc025460]
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], r14
call qword [rax + 0x990]
jmp 0x2bbf9310b
cmp ebp, 3
je 0x2bbf935f0
mov rax, qword [rsi]
lea r9, [0x2bc02533e]
mov r8, rbx
mov rcx, r12
mov edx, 2
call qword [rax + 0x850]
jmp 0x2bbf9310b
cmp byte [r14], 0x2e
je 0x2bbf93670
mov rax, qword [rsi]
mov rdx, r14
lea rcx, str.bad_argument___s_:_must_be_name_of_window
mov rbx, qword [rax + 0x768]
call qword [rax + 0x1220]
mov rcx, r12
mov rdx, rax
call rbx
mov rax, qword [rsi]
lea r9, [0x2bc025332]
mov rcx, r12
mov qword [rsp + 0x20], 0
lea r8, [0x2bc0251ae]
lea rdx, [0x2bc0250fb]
call qword [rax + 0x730]
jmp 0x2bbf9310b
cmp ebp, 3
jne 0x2bbf93169
mov r8, qword [rbx + 0x10]
lea r9, [rsp + 0x48]
mov rdx, r13
mov rcx, r12
call sym.tcl9tk90.dll_TkGetWindowFromObj
test eax, eax
jne 0x2bbf9310b
mov rcx, qword [rsp + 0x48]
call sym.GetPacker
cmp qword [rax + 8], 0
mov rbx, rax
mov rax, qword [rsi]
je 0x2bbf936f4
call qword [rax + 0x1c8]
mov rbp, rax
mov rax, qword [rsi]
mov r14, qword [rax + 0xf80]
mov rax, qword [rbx + 8]
mov rcx, qword [rax]
call sym.tcl9tk90.dll_Tk_NewWindowObj
mov rdx, 0xffffffffffffffff
lea rcx, [0x2bc025345]
mov r13, rax
mov rax, qword [rsi]
call qword [rax + 0x1d0]
mov r9, r13
mov rdx, rbp
xor ecx, ecx
mov r8, rax
call r14
mov rax, qword [rsi]
mov ecx, dword [rbx + 0x24]
mov r14, qword [rax + 0xf80]
mov r13, qword [rax + 0x1d0]
call sym.tcl9tk90.dll_Tk_NameOfAnchor
mov rdx, 0xffffffffffffffff
mov rcx, rax
call r13
mov rdx, 0xffffffffffffffff
lea rcx, [0x2bc025349]
mov r13, rax
mov rax, qword [rsi]
call qword [rax + 0x1d0]
mov r9, r13
mov rdx, rbp
xor ecx, ecx
mov r8, rax
call r14
mov ecx, dword [rbx + 0x50]
mov rax, qword [rsi]
shr ecx, 3
mov r14, qword [rax + 0xf80]
and ecx, 1
call qword [rax + 0xf50]
mov rdx, 0xffffffffffffffff
lea rcx, [0x2bc025351]
mov r13, rax
mov rax, qword [rsi]
call qword [rax + 0x1d0]
mov r9, r13
mov rdx, rbp
xor ecx, ecx
mov r8, rax
call r14
mov eax, dword [rbx + 0x50]
and eax, 6
cmp eax, 4
je 0x2bbf93768
jg 0x2bbf936ce
test eax, eax
je 0x2bbf9374b
mov rax, qword [rsi]
mov rdx, 0xffffffffffffffff
lea rcx, [0x2bc02535f]
mov r14, qword [rax + 0xf80]
call qword [rax + 0x1d0]
mov rdx, 0xffffffffffffffff
lea rcx, [0x2bc025359]
mov r13, rax
mov rax, qword [rsi]
call qword [rax + 0x1d0]
mov r9, r13
mov rdx, rbp
xor ecx, ecx
mov r8, rax
call r14
mov r9d, dword [rbx + 0x38]
mov rcx, rbp
lea rdx, str._ipadx
mov r8d, r9d
shr r8d, 0x1f
add r8d, r9d
sar r8d, 1
call sym.TkAppendPadAmount
mov r9d, dword [rbx + 0x3c]
mov rcx, rbp
lea rdx, str._ipady
mov r8d, r9d
shr r8d, 0x1f
add r8d, r9d
sar r8d, 1
call sym.TkAppendPadAmount
mov r9d, dword [rbx + 0x28]
mov r8d, dword [rbx + 0x30]
mov rcx, rbp
lea rdx, [0x2bc025371]
call sym.TkAppendPadAmount
mov r9d, dword [rbx + 0x2c]
mov r8d, dword [rbx + 0x34]
mov rcx, rbp
lea rdx, [0x2bc025377]
call sym.TkAppendPadAmount
mov rax, qword [rsi]
mov ecx, dword [rbx + 0x20]
lea rdx, [0x2bc025520]
mov r13, qword [rax + 0xf80]
mov rcx, qword [rdx + rcx*8]
mov rdx, 0xffffffffffffffff
call qword [rax + 0x1d0]
mov rdx, 0xffffffffffffffff
lea rcx, [0x2bc02537d]
mov rbx, rax
mov rax, qword [rsi]
call qword [rax + 0x1d0]
mov rdx, rbp
xor ecx, ecx
mov r9, rbx
mov r8, rax
call r13
mov rax, qword [rsi]
mov rdx, rbp
mov rcx, r12
call qword [rax + 0x768]
jmp case.default.0x2bbf930e5
mov esi, 2
lea r15, [rsp + 0x48]
nop word [rax + rax]
mov r8, qword [rbx + rsi*8]
mov r9, r15
mov rdx, r13
mov rcx, r12
call sym.tcl9tk90.dll_TkGetWindowFromObj
test eax, eax
jne 0x2bbf934b8
mov rcx, qword [rsp + 0x48]
call sym.GetPacker
mov r14, rax
test rax, rax
je 0x2bbf934b8
cmp qword [rax + 8], 0
je 0x2bbf934b8
mov rcx, qword [rsp + 0x48]
xor edx, edx
xor r8d, r8d
call sym.tcl9tk90.dll_Tk_ManageGeometry
mov rax, qword [r14 + 8]
mov rcx, qword [r14]
mov rdx, qword [rax]
cmp rdx, qword [rcx + 0x40]
je 0x2bbf934a3
call sym.tcl9tk90.dll_Tk_UnmaintainGeometry
mov rcx, r14
call sym.Unlink_2
mov rcx, qword [r14]
call sym.tcl9tk90.dll_Tk_UnmapWindow
nop dword [rax + rax]
add rsi, 1
cmp ebp, esi
jg 0x2bbf93450
jmp case.default.0x2bbf930e5
cmp ebp, 4
jle 0x2bbf93518
mov rax, qword [rsi]
lea r9, str.window__boolean_
mov r8, rbx
mov rcx, r12
mov edx, 2
call qword [rax + 0x850]
jmp 0x2bbf9310b
lea r9, [rbx + 8]
lea r8d, [rbp - 1]
mov rdx, r13
mov rcx, r12
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.ConfigureContent_1
mov r8, qword [rbx + 0x10]
lea r9, [rsp + 0x48]
mov rdx, r13
mov rcx, r12
call sym.tcl9tk90.dll_TkGetWindowFromObj
test eax, eax
jne 0x2bbf9310b
mov rcx, qword [rsp + 0x48]
call sym.GetPacker
mov r13, rax
cmp ebp, 3
je 0x2bbf936a2
mov rax, qword [rsi]
mov rdx, qword [rbx + 0x18]
lea r9, [rsp + 0x44]
mov rcx, r12
mov r8d, 4
call qword [rax + 0x1528]
test eax, eax
jne 0x2bbf9310b
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x2bbf9368a
cmp qword [r13 + 0x18], 0
je 0x2bbf93742
mov rdx, qword [rsp + 0x48]
lea r8, [0x2bc0250a5]
mov rcx, r12
call sym.TkSetGeometryContainer
test eax, eax
jne 0x2bbf9310b
mov eax, dword [r13 + 0x50]
or eax, 0x40
and eax, 0xffffffdf
mov dword [r13 + 0x50], eax
mov rax, qword [r13 + 0x48]
test rax, rax
je 0x2bbf935bd
mov dword [rax], 1
mov eax, dword [r13 + 0x50]
test al, 1
jne case.default.0x2bbf930e5
or eax, 1
mov rdx, r13
lea rcx, [sym.ArrangePacking]
mov dword [r13 + 0x50], eax
mov rax, qword [rsi]
call qword [rax + 0x3b0]
jmp case.default.0x2bbf930e5
mov r8, qword [rbx + 0x10]
lea r9, [rsp + 0x48]
mov rdx, r13
mov rcx, r12
call sym.tcl9tk90.dll_TkGetWindowFromObj
test eax, eax
jne 0x2bbf9310b
mov rax, qword [rsi]
call qword [rax + 0x1c8]
mov rcx, qword [rsp + 0x48]
mov r13, rax
call sym.GetPacker
mov rbx, qword [rax + 0x18]
test rbx, rbx
je 0x2bbf93655
nop dword [rax + rax]
mov rcx, qword [rbx]
mov rax, qword [rsi]
mov rbp, qword [rax + 0x170]
call sym.tcl9tk90.dll_Tk_NewWindowObj
mov rdx, r13
xor ecx, ecx
mov r8, rax
call rbp
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x2bbf93630
mov rax, qword [rsi]
mov rdx, r13
mov rcx, r12
call qword [rax + 0x768]
jmp case.default.0x2bbf930e5
lea r9, [rbx + 0x10]
lea r8d, [rbp - 2]
mov rdx, r13
mov rcx, r12
call sym.ConfigureContent_1
mov edi, eax
jmp case.default.0x2bbf930e5
mov eax, dword [r13 + 0x50]
test al, 0x40
jne 0x2bbf93785
or eax, 0x20
mov dword [r13 + 0x50], eax
jmp case.default.0x2bbf930e5
mov ecx, dword [r13 + 0x50]
mov rax, qword [rsi]
xor edi, edi
shr ecx, 5
mov rbx, qword [rax + 0x768]
xor ecx, 1
and ecx, 1
call qword [rax + 0xf50]
mov rcx, r12
mov rdx, rax
call rbx
jmp case.default.0x2bbf930e5
cmp eax, 6
jne 0x2bbf93369
mov rax, qword [rsi]
mov rdx, 0xffffffffffffffff
lea rcx, str.both
mov r14, qword [rax + 0xf80]
jmp 0x2bbf9333b
mov rbx, qword [rax + 0x768]
mov rdx, r14
lea rcx, str.window___s__isnt_packed
call qword [rax + 0x1220]
mov rcx, r12
mov rdx, rax
call rbx
mov rax, qword [rsi]
lea r9, str.NOT_PACKED
mov rcx, r12
mov qword [rsp + 0x20], 0
lea r8, str.PACK
lea rdx, [0x2bc0250fb]
call qword [rax + 0x730]
jmp 0x2bbf9310b
mov eax, dword [r13 + 0x50]
jmp 0x2bbf935a7
mov rax, qword [rsi]
mov rdx, 0xffffffffffffffff
lea rcx, [0x2bc025168]
mov r14, qword [rax + 0xf80]
jmp 0x2bbf9333b
mov rax, qword [rsi]
mov rdx, 0xffffffffffffffff
lea rcx, [0x2bc025361]
mov r14, qword [rax + 0xf80]
jmp 0x2bbf9333b
mov rcx, qword [rsp + 0x48]
lea rdx, [0x2bc0250a5]
call sym.TkFreeGeometryContainer
mov eax, dword [r13 + 0x50]
and eax, 0xffffffbf
jmp 0x2bbf93696