Function at 0x14000b630
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
sub rsp, 0x4c0
mov rax, qword [0x140074c00]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov rbx, rcx
call fcn.140019784
cmp qword [rbx + 0xb0], 0
je 0x14000b9a2
mov qword [rsp + 0x4e8], rdi
call fcn.140019784
mov rdx, qword [rbx + 0xb0]
mov rdi, qword [rax + 0x18]
mov r8d, 5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rdi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000b99a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x14000b99a
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x4d8], rbp
mov qword [rsp + 0x4e0], rsi
lea rsi, [rax + 0x1c]
xor eax, eax
mov qword [rsp + 0x4b8], r12
mov rdi, rsi
lea r9, [rsp + 0x20]
lea r8d, [rax + 4]
repne scasw ax, word [rdi]
mov qword [rsp + 0x4b0], r13
not rcx
dec rcx
mov ebp, ecx
mov r12, rcx
mov rcx, rsi
lea rdx, [rbp + rbp]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, [rsp + 0x292]
xor r13d, r13d
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x290], r13w
call fcn.14003ea70
lea rcx, [rsp + 0x82]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x80], r13w
call fcn.14003ea70
lea rcx, [rsp + 0x290]
call fcn.140008340
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x290]
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp ecx, 6
jle 0x14000b7ce
lea eax, [rcx - 6]
mov edx, 0x82
lea rdi, [rsp + 0x80]
movsxd rcx, eax
lea rax, [rsp + 0x80]
add rcx, rcx
sub rcx, rax
lea r8, [rsp + rcx + 0x290]
lea rax, [rdx + 0x7fffff7c]
test rax, rax
je 0x14000b7bf
movzx eax, word [r8 + rdi]
test ax, ax
je 0x14000b7bf
mov word [rdi], ax
add rdi, 2
sub rdx, 1
jne 0x14000b792
sub rdi, 2
mov word [rdi], r13w
jmp 0x14000b821
test rdx, rdx
jne 0x14000b7c8
sub rdi, 2
mov word [rdi], r13w
jmp 0x14000b821
lea rdi, [rsp + 0x290]
lea rax, [rsp + 0x80]
mov edx, 0x82
sub rdi, rax
lea rcx, [rsp + 0x80]
nop
lea rax, [rdx + 0x7fffff7c]
test rax, rax
je 0x14000b814
movzx eax, word [rdi + rcx]
test ax, ax
je 0x14000b814
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14000b7f0
jmp 0x14000b819
test rdx, rdx
jne 0x14000b81d
sub rcx, 2
mov word [rcx], r13w
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_CharUpperW]
mov edi, 0x104
lea rax, [rsp + 0x80]
mov rcx, rdi
nop
cmp word [rax], r13w
je 0x14000b852
add rax, 2
sub rcx, 1
jne 0x14000b840
jmp 0x14000b8b0
test rcx, rcx
je 0x14000b8b0
mov rdx, rdi
sub rdx, rcx
mov rcx, rdi
sub rcx, rdx
lea rax, [rsp + rdx*2 + 0x80]
je 0x14000b8a8
lea r9, [0x140061440]
lea rdx, [rcx + rdx + 0x7ffffefb]
sub r9, rax
nop
test rdx, rdx
je 0x14000b8a3
movzx r8d, word [r9 + rax]
test r8w, r8w
je 0x14000b8a3
mov word [rax], r8w
add rax, 2
dec rdx
sub rcx, 1
jne 0x14000b880
jmp 0x14000b8a8
test rcx, rcx
jne 0x14000b8ac
sub rax, 2
mov word [rax], r13w
lea rdx, [rsp + 0x80]
lea rcx, str.DoModal_classname___s
call fcn.140005be0
test r12d, r12d
mov r12, qword [rsp + 0x4b8]
je 0x14000b8e6
lea r8, [rbp + rbp]
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.14003f7f0
mov rbp, qword [rsp + 0x4d8]
lea rdx, [rsp + 0x80]
mov rcx, rsi
sub rdx, rsi
nop dword [rax]
lea rax, [rdi + 0x7ffffefa]
test rax, rax
je 0x14000b924
movzx eax, word [rdx + rcx]
test ax, ax
je 0x14000b924
mov word [rcx], ax
add rcx, 2
sub rdi, 1
jne 0x14000b900
jmp 0x14000b929
test rdi, rdi
jne 0x14000b92d
sub rcx, 2
xor eax, eax
mov word [rcx], r13w
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
call fcn.140019784
mov rcx, qword [rax + 0x10]
lea r8, [rsp + 0x30]
lea rdx, str.32770
call qword [sym.imp.USER32.dll_GetClassInfoW]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x70], rsi
call fcn.140020824
mov r13, qword [rsp + 0x4b0]
mov rsi, qword [rsp + 0x4e0]
mov rdi, qword [rsp + 0x4e8]
mov rcx, rbx
call fcn.140015924
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.14003d6d0
add rsp, 0x4c0
pop rbx
ret