Function at 0x14001d0cc
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2f8
xor ebx, ebx
mov r12, rdx
mov rsi, rcx
mov ebp, 1
cmp rdx, rbx
je 0x14001d112
test byte [rdx], 0x10
je 0x14001d112
mov rax, qword [rdx + 8]
mov dword [rsp + 0x348], ebp
mov qword [rsp + 0x70], rax
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x68], rax
jmp 0x14001d123
mov dword [rsp + 0x348], ebx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x68], rbx
mov r9, qword [0x140117cb8]
cmp r9, rbx
jne 0x14001d49c
lea rcx, [0x1400fcae8]
call qword [sym.imp.KERNEL32.DLL_LoadLibraryW]
xor edi, edi
mov rbx, rax
cmp rax, rdi
jne 0x14001d26f
lea r8, [rsp + 0x30]
lea rdx, [0x1400fcab8]
lea rcx, [0x140117fa0]
xor r9d, r9d
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], bpl
call fcn.14006e854
mov rdx, qword [rsp + 0x30]
lea r8, [rsp + 0xa0]
lea rcx, [rsp + 0x38]
call fcn.1400dceb0
cmp rax, rdi
je 0x14001d24a
mov rcx, qword [rsp + 0x30]
lea r8d, [rdi + 0x5c]
xor edx, edx
call qword [sym.imp.SHLWAPI.DLL_StrRChrW]
cmp rax, rdi
je 0x14001d1b1
mov word [rax], di
cmp word [rsp + 0xcc], 0x2e
je 0x14001d22f
test byte [rsp + 0xa0], 0x10
je 0x14001d22f
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
lea rcx, [rsp + 0xcc]
movsxd rbx, eax
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
movsxd rcx, eax
lea rdx, [rcx + rbx + 0x1e]
lea rcx, [rsp + 0x40]
call fcn.14005a1c4
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0xcc]
lea rdx, [0x1400fca90]
call fcn.1400157b8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_LoadLibraryW]
lea rcx, [rsp + 0x40]
mov rbx, rax
call fcn.140052160
cmp rbx, rdi
jne 0x14001d24a
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
cmp eax, edi
jne 0x14001d1b1
lea rcx, [rsp + 0x30]
call fcn.140052160
mov rcx, qword [rsp + 0x38]
cmp rcx, rdi
je 0x14001d26a
cmp rcx, 0xffffffffffffffff
je 0x14001d26a
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov qword [rsp + 0x38], rdi
lea rdx, [0x1400fca80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fca68]
mov rcx, rbx
mov qword [0x140117cc0], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fca50]
mov rcx, rbx
mov qword [0x140117ce0], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fca38]
mov rcx, rbx
mov qword [fcn.140117cc8], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fca20]
mov rcx, rbx
mov qword [0x140117cd0], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fca00]
mov rcx, rbx
mov qword [0x140117cd8], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fc9e0]
mov rcx, rbx
mov qword [0x140117cf8], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fc9c8]
mov rcx, rbx
mov qword [0x140117d00], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fc9a8]
mov rcx, rbx
mov qword [0x140117d08], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fc990]
mov rcx, rbx
mov qword [0x140117ce8], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fc980]
mov rcx, rbx
mov qword [0x140117cf0], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fc968]
mov rcx, rbx
mov qword [0x140117d10], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fc950]
mov rcx, rbx
mov qword [0x140117d18], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fc938]
mov rcx, rbx
mov qword [0x140117d20], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fc938]
mov rcx, rbx
mov qword [0x140117d28], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fc918]
mov rcx, rbx
mov qword [0x140117d30], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fc900]
mov rcx, rbx
mov qword [0x140117d38], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fc8e8]
mov rcx, rbx
mov qword [0x140117d40], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fc8d0]
mov rcx, rbx
mov qword [0x140117d48], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fc8b8]
mov rcx, rbx
mov qword [0x140117d50], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fc898]
mov qword [0x140117d58], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fc880]
mov rcx, rbx
mov qword [0x140117d68], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fc860]
mov rcx, rbx
mov qword [0x140117d70], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x1400fc850]
mov rcx, rbx
mov qword [0x140117d60], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
xor ebx, ebx
mov r9, rax
mov qword [0x140117cb8], rax
mov rax, qword [0x140117e40]
cmp rax, rbx
jne 0x14001d4e6
cmp qword [0x140117ce0], rbx
je 0x14001d4e6
xor eax, eax
lea rdx, [rsp + 0x80]
lea rcx, [0x140117e40]
xor r8d, r8d
mov dword [rsp + 0x80], ebp
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
call r9
mov rax, qword [0x140117e40]
cmp rsi, 0xffffffffffffffff
je 0x14001d833
cmp rsi, rbx
jne 0x14001d4fc
xor eax, eax
jmp 0x14001d833
lea rax, [rsi + 2]
lea rdx, [rsp + 0x350]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x358], rbx
mov r13, rbx
mov r14, rbx
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x350], ebp
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x340], ebx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
call fcn.14005e4b0
mov edx, 0x7c
mov rcx, rsi
call qword [sym.imp.SHLWAPI.DLL_StrChrW]
mov rdi, rax
cmp rax, rbx
je 0x14001d560
mov word [rax], bx
xor edx, edx
mov rcx, rsi
mov r15, rax
lea r8d, [rdx + 0x23]
call qword [sym.imp.SHLWAPI.DLL_StrRChrW]
mov rbp, rax
mov rax, qword [0x140117ce0]
cmp rdi, rbx
jne 0x14001d58a
cmp rax, rbx
jne 0x14001d6fa
mov ecx, 0x23
cmp cx, word [rsi]
jne 0x14001d5a0
mov r13, qword [0x140117df0]
mov rbp, rsi
jmp 0x14001d5fc
cmp rbp, rbx
je 0x14001d6f1
movzx ebx, word [rbp]
xor eax, eax
xor edx, edx
lea r8d, [rax + 2]
mov rcx, rsi
mov word [rbp], ax
call qword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov word [rbp], bx
xor ebx, ebx
mov r14, rax
mov r13, rax
cmp rdi, rbx
je 0x14001d5de
mov r8, rdi
sub r8, rbp
sar r8, 1
jmp 0x14001d5ea
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
movsxd r8, eax
lea rcx, [rsp + 0x48]
mov rdx, rbp
call fcn.14005a3b8
mov rbp, qword [rsp + 0x48]
mov esi, 2
cmp rdi, rbx
je 0x14001d799
add rdi, rsi
je 0x14001d799
lea rcx, [0x1400fc840]
mov rdx, rdi
call qword [sym.imp.KERNEL32.DLL_lstrcmpiW]
cmp eax, ebx
jne 0x14001d665
mov rdx, rbp
mov rcx, r13
mov rdi, rsi
call qword [sym.imp.USER32.DLL_LoadBitmapW]
mov rbx, rax
xor eax, eax
cmp rbx, rax
je 0x14001d797
lea r8, [rsp + 0x358]
xor edx, edx
mov rcx, rbx
call qword [0x140117cf8]
mov rcx, rbx
call qword [sym.imp.GDI32.DLL_DeleteObject]
jmp 0x14001d797
lea rcx, [0x1400fc830]
mov rdx, rdi
call qword [sym.imp.KERNEL32.DLL_lstrcmpiW]
cmp eax, ebx
jne 0x14001d68b
mov edi, 3
mov dword [rsp + 0x340], 4
jmp 0x14001d6c3
lea rcx, [0x1400fc818]
mov rdx, rdi
call qword [sym.imp.KERNEL32.DLL_lstrcmpiW]
cmp eax, ebx
je 0x14001d6b7
lea rcx, [0x1400fc800]
mov rdx, rdi
call qword [sym.imp.KERNEL32.DLL_lstrcmpiW]
cmp eax, ebx
jne 0x14001d799
mov edi, 0xe
mov dword [rsp + 0x340], esi
mov r9d, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x70]
lea rax, [rsp + 0x340]
mov qword [rsp + 0x28], rax
mov rdx, rbp
mov rcx, r13
mov qword [rsp + 0x20], rbx
call fcn.140067f78
mov rbx, rax
xor eax, eax
jmp 0x14001d75e
cmp rax, rbx
je 0x14001d806
mov rcx, rsi
call fcn.14005ee34
cmp al, bl
je 0x14001d72f
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14001c168
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.140058870
mov qword [rsp + 0x358], rax
jmp 0x14001d806
xor r9d, r9d
mov rdx, rsi
xor ecx, ecx
lea r8d, [r9 + 1]
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.DLL_LoadImageW]
mov rbx, rax
xor eax, eax
cmp rbx, rax
je 0x14001d7f3
lea esi, [rax + 2]
cmp dword [rsp + 0x348], eax
je 0x14001d76d
or qword [r12], rsi
jmp 0x14001d78f
lea rdx, [rsp + 0x358]
mov rcx, rbx
call qword [0x140117d68]
mov rcx, rbx
call qword [sym.imp.USER32.DLL_DestroyIcon]
mov rbx, qword [rsp + 0x358]
mov qword [rsp + 0x358], rbx
xor ebx, ebx
cmp r13, rbx
je 0x14001d7e3
cmp qword [rsp + 0x358], rbx
jne 0x14001d7e3
cmp rdi, rbx
lea r9, [rsp + 0x50]
mov rdx, rbp
cmove rdi, rsi
mov rcx, r13
mov qword [rsp + 0x20], rbx
mov r8, rdi
call fcn.14001c914
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.140058870
mov qword [rsp + 0x358], rax
cmp rax, rbx
jne 0x14001d806
cmp r14, rbx
je 0x14001d806
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_FreeLibrary]
jmp 0x14001d806
lea rdx, [rsp + 0x358]
mov rcx, rsi
call qword [0x140117ce0]
xor ebx, ebx
cmp r15, rbx
je 0x14001d814
mov eax, 0x7c
mov word [r15], ax
mov rbx, qword [rsp + 0x358]
lea rcx, [rsp + 0x50]
call fcn.140052160
lea rcx, [rsp + 0x48]
call fcn.140052160
mov rax, rbx
add rsp, 0x2f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret