Function at 0x14001e2a0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x310
mov r9, qword [0x14012cd68]
mov r12, rdx
mov rsi, rcx
cmp r9, 0xffffffffffffffff
jne 0x14001e2d1
xor eax, eax
jmp 0x14001ec1e
xor ebx, ebx
mov ebp, 1
cmp rdx, rbx
je 0x14001e300
test byte [rdx], 0x10
je 0x14001e300
mov rax, qword [rdx + 8]
mov dword [rsp + 0x368], ebp
mov qword [rsp + 0x78], rax
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x80], rax
jmp 0x14001e314
mov dword [rsp + 0x368], ebx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbx
mov r13d, 0x2e
cmp r9, rbx
jne 0x14001e83e
lea rcx, [0x140110e80]
call qword [sym.imp.KERNEL32.DLL_LoadLibraryW]
xor edi, edi
mov rbx, rax
cmp rax, rdi
jne 0x14001e48a
lea rcx, [rsp + 0x90]
lea rdx, [0x140110e50]
lea r8d, [r13 - 2]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
call fcn.1400f4550
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x90]
lea rcx, [0x14012d0c0]
xor r9d, r9d
mov byte [rsp + 0x20], bpl
call fcn.140075fb4
mov rdx, qword [rsp + 0x38]
lea r8, [rsp + 0xc0]
lea rcx, [rsp + 0x40]
call fcn.1400f2c8c
cmp rax, rdi
je 0x14001e453
mov rcx, qword [rsp + 0x38]
lea r8d, [r13 + 0x2e]
xor edx, edx
call qword [sym.imp.SHLWAPI.DLL_StrRChrW]
cmp rax, rdi
je 0x14001e3ba
mov word [rax], di
cmp word [rsp + 0xec], r13w
je 0x14001e438
test byte [rsp + 0xc0], 0x10
je 0x14001e438
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
lea rcx, [rsp + 0xec]
movsxd rbx, eax
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
movsxd rcx, eax
lea rdx, [rcx + rbx + 0x1e]
lea rcx, [rsp + 0x58]
call fcn.14005fa8c
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0xec]
lea rdx, [0x140110e28]
call fcn.1400164f8
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.DLL_LoadLibraryW]
lea rcx, [rsp + 0x58]
mov rbx, rax
call fcn.140057768
cmp rbx, rdi
jne 0x14001e453
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
cmp eax, edi
jne 0x14001e3ba
lea rcx, [rsp + 0x38]
call fcn.140057768
mov rcx, qword [rsp + 0x40]
cmp rcx, rdi
je 0x14001e473
cmp rcx, 0xffffffffffffffff
je 0x14001e473
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov qword [rsp + 0x40], rdi
cmp rbx, rdi
jne 0x14001e48a
or qword [0x14012cd68], 0xffffffffffffffff
jmp 0x14001e2ca
lea rdx, [0x140110e18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110e00]
mov rcx, rbx
mov qword [0x14012cd70], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110de8]
mov rcx, rbx
mov qword [0x14012cd88], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110dd0]
mov rcx, rbx
mov qword [fcn.14012cd78], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110db8]
mov rcx, rbx
mov qword [0x14012ce08], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110d98]
mov rcx, rbx
mov qword [0x14012cd80], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110d78]
mov rcx, rbx
mov qword [0x14012cdd0], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110d60]
mov rcx, rbx
mov qword [0x14012cdd8], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110d40]
mov rcx, rbx
mov qword [0x14012cde0], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110d28]
mov rcx, rbx
mov qword [0x14012cda0], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110d18]
mov rcx, rbx
mov qword [0x14012cda8], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110d00]
mov rcx, rbx
mov qword [0x14012cde8], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110ce8]
mov rcx, rbx
mov qword [0x14012cdf0], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110cd0]
mov rcx, rbx
mov qword [0x14012cdf8], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110cb8]
mov rcx, rbx
mov qword [0x14012ce00], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110c98]
mov rcx, rbx
mov qword [0x14012ce10], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110c80]
mov rcx, rbx
mov qword [0x14012ce18], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110c68]
mov rcx, rbx
mov qword [0x14012ce20], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110c50]
mov rcx, rbx
mov qword [0x14012ce28], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110c38]
mov rcx, rbx
mov qword [0x14012ce30], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110c18]
mov qword [0x14012ce38], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110c00]
mov rcx, rbx
mov qword [0x14012ce50], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110be0]
mov rcx, rbx
mov qword [0x14012ce58], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110bc0]
mov rcx, rbx
mov qword [0x14012ce40], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110ba0]
mov rcx, rbx
mov qword [0x14012ce48], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110b80]
mov rcx, rbx
mov qword [0x14012cd90], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110b58]
mov rcx, rbx
mov qword [0x14012cd98], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110b40]
mov rcx, rbx
mov qword [0x14012cdb0], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110b28]
mov rcx, rbx
mov qword [0x14012cdb8], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110b10]
mov rcx, rbx
mov qword [0x14012cdc0], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110af8]
mov rcx, rbx
mov qword [0x14012cdc8], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110ae0]
mov rcx, rbx
mov qword [0x14012ce60], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110ac0]
mov rcx, rbx
mov qword [0x14012ce68], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110aa0]
mov rcx, rbx
mov qword [0x14012ce70], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110a88]
mov rcx, rbx
mov qword [0x14012ce78], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110a68]
mov rcx, rbx
mov qword [0x14012ce80], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110a50]
mov rcx, rbx
mov qword [0x14012ce88], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110a38]
mov rcx, rbx
mov qword [0x14012ce90], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110a28]
mov rcx, rbx
mov qword [0x14012ce98], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110a10]
mov rcx, rbx
mov qword [0x14012cea0], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x140110a00]
mov qword [0x14012cea8], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
xor ebx, ebx
mov r9, rax
mov qword [0x14012cd68], rax
mov rax, qword [0x14012cf78]
cmp rax, rbx
jne 0x14001e888
cmp qword [0x14012cd88], rbx
je 0x14001e888
xor eax, eax
lea rdx, [rsp + 0x90]
lea rcx, [0x14012cf78]
xor r8d, r8d
mov dword [rsp + 0x90], ebp
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rax
call r9
mov rax, qword [0x14012cf78]
lea rcx, [rsi - 1]
cmp rcx, 0xfffffffffffffffe
jae 0x14001ec1e
lea rax, [rsi + 2]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x30], rbx
mov r13, rbx
mov r14, rbx
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x360], ebx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
call fcn.140064074
mov edx, 0x7c
mov rcx, rsi
call qword [sym.imp.SHLWAPI.DLL_StrChrW]
mov rdi, rax
cmp rax, rbx
je 0x14001e8f7
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 ecx, 0x23
mov rbp, rax
mov rax, qword [0x14012cd88]
cmp cx, word [rsi]
je 0x14001e930
cmp rdi, rbx
jne 0x14001e92b
cmp rax, rbx
jne 0x14001eaae
cmp cx, word [rsi]
jne 0x14001e941
mov r13, qword [0x14012cf28]
mov rbp, rsi
mov esi, 2
jmp 0x14001e9a9
cmp rbp, rbx
je 0x14001eaa5
movzx ebx, word [rbp]
xor eax, eax
mov rcx, rsi
mov word [rbp], ax
call fcn.14001ae54
mov esi, 2
mov r8d, esi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov word [rbp], bx
xor ebx, ebx
mov r14, rax
mov r13, rax
cmp rdi, rbx
je 0x14001e98b
mov r8, rdi
sub r8, rbp
sar r8, 1
jmp 0x14001e997
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
movsxd r8, eax
lea rcx, [rsp + 0x48]
mov rdx, rbp
call fcn.14005fc80
mov rbp, qword [rsp + 0x48]
cmp rdi, rbx
je 0x14001eb53
add rdi, rsi
je 0x14001eb53
movzx eax, word [rdi]
neg ax
sbb rcx, rcx
and rcx, rdi
mov rdi, rcx
cmp rcx, rbx
je 0x14001eb53
call fcn.140059d8c
cmp al, bl
je 0x14001ea15
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 0x14001ea0e
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rbx
call qword [0x14012cdd0]
mov rcx, rbx
call qword [sym.imp.GDI32.DLL_DeleteObject]
xor ebx, ebx
jmp 0x14001eb53
mov rcx, rdi
call fcn.140059d4c
cmp al, bl
je 0x14001ea33
mov edi, 3
mov dword [rsp + 0x360], 0x14
jmp 0x14001ea4f
mov rcx, rdi
call fcn.140059cf8
cmp al, bl
je 0x14001eb53
mov edi, 0xe
mov dword [rsp + 0x360], esi
mov r9d, dword [rsp + 0x80]
mov r8d, dword [rsp + 0x78]
lea rax, [rsp + 0x360]
mov qword [rsp + 0x28], rax
mov rdx, rbp
mov rcx, r13
mov qword [rsp + 0x20], rbx
call fcn.14006ded8
bt dword [rsp + 0x360], 8
mov rbx, rax
jae 0x14001eb26
mov qword [rsp + 0x30], rax
xor eax, eax
cmp rbx, rax
je 0x14001eb4c
or qword [r12], 4
jmp 0x14001eb41
cmp rax, rbx
je 0x14001ebf4
mov rcx, rsi
call fcn.1400649f8
cmp al, bl
je 0x14001eae3
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14001d35c
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
xor r8d, r8d
call fcn.14005de04
mov qword [rsp + 0x30], rax
jmp 0x14001ebf4
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 0x14001ebaa
lea esi, [rax + 2]
cmp dword [rsp + 0x368], eax
je 0x14001eb2a
or qword [r12], rsi
mov qword [rsp + 0x30], rbx
jmp 0x14001eb41
xor eax, eax
jmp 0x14001eb12
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [0x14012ce50]
mov rcx, rbx
call qword [sym.imp.USER32.DLL_DestroyIcon]
xor ebx, ebx
cmp qword [rsp + 0x30], rbx
jne 0x14001eb53
jmp 0x14001eb4e
xor ebx, ebx
mov qword [rsp + 0x30], rbx
cmp r13, rbx
je 0x14001eb9a
cmp qword [rsp + 0x30], rbx
jne 0x14001eb9a
cmp rdi, rbx
lea r9, [rsp + 0x60]
mov rdx, rbp
cmove rdi, rsi
mov rcx, r13
mov qword [rsp + 0x20], rbx
mov r8, rdi
call fcn.14001dae4
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
xor r8d, r8d
call fcn.14005de04
mov qword [rsp + 0x30], rax
cmp rax, rbx
jne 0x14001ebf4
cmp r14, rbx
je 0x14001ebf4
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_FreeLibrary]
jmp 0x14001ebf4
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [0x14012cd88]
xor ebx, ebx
cmp qword [rsp + 0x30], rbx
je 0x14001ebf4
cmp r12, rbx
je 0x14001ebf4
lea r8d, [rbx + 0x2e]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.SHLWAPI.DLL_StrRChrW]
cmp rax, rbx
je 0x14001ebf4
lea rcx, [rax + 2]
lea rdx, [0x1401109f8]
call qword [sym.imp.KERNEL32.DLL_lstrcmpiW]
cmp eax, ebx
jne 0x14001ebf4
or qword [r12], 4
cmp r15, rbx
je 0x14001ec02
mov eax, 0x7c
mov word [r15], ax
mov rbx, qword [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140057768
lea rcx, [rsp + 0x48]
call fcn.140057768
mov rax, rbx
mov rbx, qword [rsp + 0x350]
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret