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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, qword [rdx + 0x48]
mov eax, dword [rcx + 0x54]
mov r12, qword [rcx + 0x10]
movzx r14d, word [rsi + 0x2e]
mov rdi, rcx
movzx ecx, word [rsi + 0x18]
lea r15d, [rcx + r9]
lea r13d, [rax + 1]
mov rbx, rdx
mov rdx, qword [rsi + 0x20]
mov dword [rsp + 0x20], ecx
add eax, r15d
mov rcx, r12
mov dword [rdi + 0x54], eax
mov ebp, r8d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x98], r13d
mov dword [rsp + 0x24], r15d
call fcn.140016e70
mov rcx, qword [rdi]
mov rdx, rax
call fcn.14001b3f0
test rax, rax
mov r9, rax
mov qword [rsp + 0x28], rax
jne 0x140052ddf
mov rax, qword [rdi]
mov byte [rax + 0x51], 1
test r14w, r14w
je 0x140053031
mov r13d, dword [rbx + 8]
mov rax, qword [r12 + 0x30]
movsxd rbx, dword [r12 + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x140052e0d
mov edx, 1
mov rcx, r12
call fcn.1400214c0
test eax, eax
jne 0x140052e4f
add dword [r12 + 0x3c], 1
mov rcx, qword [r12 + 8]
lea rdx, [rbx + rbx*2]
test ebp, ebp
mov eax, 0x6d
mov r8d, 0x6a
cmovne eax, r8d
xor ebx, ebx
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 8], ebx
mov dword [rcx + rdx*8 + 0xc], ebx
mov qword [rcx + rdx*8 + 0x10], rbx
mov byte [rcx + rdx*8 + 1], bl
mov byte [rcx + rdx*8], al
mov dword [rcx + rdx*8 + 4], r13d
jmp 0x140052e51
xor ebx, ebx
mov rax, qword [r12 + 0x30]
movsxd rsi, dword [r12 + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x140052e78
mov edx, 1
mov rcx, r12
call fcn.1400214c0
test eax, eax
je 0x140052e78
mov esi, 1
jmp 0x140052ea6
mov rax, qword [r12 + 8]
add dword [r12 + 0x3c], 1
lea rcx, [rsi + rsi*2]
mov byte [rax + rcx*8], InitCommonControls
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebx
mov dword [rax + rcx*8 + 8], ebx
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov byte [rax + rcx*8 + 1], 0
mov rax, qword [r12 + 0x30]
movsxd rdi, dword [r12 + 0x3c]
cmp dword [rax + 0x60], edi
jg 0x140052ecd
mov edx, 1
mov rcx, r12
call fcn.1400214c0
test eax, eax
je 0x140052ecd
mov edi, 1
jmp 0x140052f13
add dword [r12 + 0x3c], 1
mov rcx, qword [r12 + 8]
lea rdx, [rdi + rdi*2]
test ebp, ebp
mov eax, 0x42
mov r8d, 0x3f
cmovne eax, r8d
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 4], r13d
mov byte [rcx + rdx*8], al
mov eax, dword [rsp + 0x98]
mov dword [rcx + rdx*8 + 8], ebx
mov qword [rcx + rdx*8 + 0x10], rbx
mov byte [rcx + rdx*8 + 1], 0
mov dword [rcx + rdx*8 + 0xc], eax
mov rdx, qword [rsp + 0x38]
movzx r12d, r14w
mov eax, edi
mov rbp, qword [rdx + 8]
mov rcx, qword [rdx]
test rbp, rbp
je 0x140052f64
cmp byte [rcx + 0x51], 0
jne 0x140052f64
test edi, edi
jns 0x140052f3a
mov eax, dword [rdx + 0x3c]
sub eax, 1
cdqe
lea rbx, [rax + rax*2]
movsx edx, byte [rbp + rbx*8 + 1]
mov r8, qword [rbp + rbx*8 + 0x10]
call fcn.1400255f0
mov qword [rbp + rbx*8 + 0x10], 0
mov dword [rbp + rbx*8 + 0x10], r12d
mov byte [rbp + rbx*8 + 1], 0xf2
jmp 0x140052f71
mov r8, r12
mov edx, 0xfffffff2
call fcn.1400255f0
mov rax, qword [rsp + 0x88]
mov r12, qword [rsp + 0x38]
mov dword [rax + 0x14], edi
mov edx, dword [r12 + 0x3c]
cmp edx, esi
jbe 0x140052f99
mov eax, esi
lea rcx, [rax + rax*2]
mov rax, qword [r12 + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [r12 + 0x3c]
mov rax, qword [r12 + 0x30]
xor ebp, ebp
sub ecx, 1
movzx esi, r14w
mov ebx, ebp
test esi, esi
mov dword [rax + 0x64], ecx
jle 0x14005301f
mov r15d, dword [rsp + 0x98]
nop
mov rax, qword [r12 + 0x30]
movsxd rdi, dword [r12 + 0x3c]
cmp dword [rax + 0x60], edi
jg 0x140052fe0
mov edx, 1
mov rcx, r12
call fcn.1400214c0
test eax, eax
jne 0x140053013
mov rcx, qword [r12 + 8]
add dword [r12 + 0x3c], 1
lea rdx, [rdi + rdi*2]
lea eax, [rbx + r15]
mov byte [rcx + rdx*8], 0x2f
mov byte [rcx + rdx*8 + 3], bpl
mov dword [rcx + rdx*8 + 4], r13d
mov dword [rcx + rdx*8 + 8], ebx
mov qword [rcx + rdx*8 + 0x10], rbp
mov dword [rcx + rdx*8 + 0xc], eax
mov byte [rcx + rdx*8 + 1], bpl
add ebx, 1
cmp ebx, esi
jl 0x140052fc0
mov r15d, dword [rsp + 0x24]
mov rsi, qword [rsp + 0x30]
mov r9, qword [rsp + 0x28]
mov r13d, dword [rsp + 0x98]
movzx eax, r14w
mov r14, rax
movsxd rax, r15d
cmp r14d, dword [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov r15d, r14d
jge 0x14005349c
nop
mov rax, qword [rsi + 0x38]
mov rbx, qword [rsp + 0x80]
lea esi, [r15 + r13]
mov rbp, qword [rax + r14*8]
mov rbx, qword [rbx + 0x10]
mov rdx, qword [rbp]
movzx eax, byte [rdx]
cmp al, 0x4f
je 0x1400530d1
cmp al, 0x49
je 0x1400530d1
cmp al, 0x4c
jne 0x1400530f4
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
mov dword [rsp + 0x98], esi
cmp dword [rax + 0x60], edi
jg 0x1400530a0
mov edx, 1
mov rcx, rbx
call fcn.1400214c0
test eax, eax
jne 0x1400530cc
add dword [rbx + 0x3c], 1
mov rax, qword [rbx + 8]
lea rcx, [rdi + rdi*2]
xor edx, edx
mov byte [rax + rcx*8], 0x1a
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov r9d, esi
jmp 0x1400530fc
mov rbx, qword [rsp + 0x80]
mov rdx, qword [rdx + 0x18]
mov r8d, esi
mov rcx, rbx
call fcn.14004b040
mov r9d, eax
mov dword [rsp + 0x98], eax
jmp 0x140053104
mov r9d, dword [rsp + 0x98]
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
mov rdx, rbp
xor r8d, r8d
movzx ecx, word [rdx + 0x1c]
test cl, 4
jne 0x140053174
cmp dword [rdi], 0
je 0x140053129
mov rax, qword [rdx]
test byte [rax + 4], 1
je 0x140053174
mov rax, qword [rdx + 0x30]
test qword [rdi + 0x50], rax
jne 0x140053174
test r8d, r8d
je 0x140053146
bt cx, 0xa
jae 0x140053146
or cx, 0x200
jmp 0x14005314a
or cx, 4
movsxd rax, dword [rdx + 8]
mov word [rdx + 0x1c], cx
test eax, eax
js 0x140053174
mov rcx, rax
mov rax, qword [rdx + 0x20]
imul rcx, rcx, 0x38
mov rdx, rcx
add rdx, qword [rax + 0x20]
add byte [rdx + 0x1e], 0xff
jne 0x140053174
add r8d, 1
jmp 0x140053112
cmp r9d, esi
je 0x14005322b
cmp qword [rsp + 0x38], 1
jne 0x1400531cc
test r13d, r13d
je 0x1400531c7
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x1400531c7
xor ecx, ecx
lea rax, [rbx + 0x88]
nop
cmp dword [rax + 0xc], r13d
je 0x1400531c3
add ecx, 1
add rax, 0x14
cmp ecx, 0xa
jl 0x1400531a0
movzx eax, dl
mov dword [rbx + rax*4 + 0x24], r13d
add byte [rbx + 0x1f], 1
mov r13d, r9d
jmp 0x14005322b
mov byte [rax + 6], 1
mov r13d, r9d
jmp 0x14005322b
mov rax, qword [r12 + 0x30]
movsxd rbx, dword [r12 + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x1400531f4
mov edx, 1
mov rcx, r12
call fcn.1400214c0
test eax, eax
jne 0x14005322b
mov r9d, dword [rsp + 0x98]
mov rax, qword [r12 + 8]
add dword [r12 + 0x3c], 1
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0x20
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r9d
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], 0
mov qword [rax + rcx*8 + 0x10], 0
mov byte [rax + rcx*8 + 1], 0
test word [rbp + 0x1a], 0x101
jne 0x140053472
bt word [rbp + 0x1c], 0xb
mov rax, qword [rbp]
mov rsi, qword [rax + 0x18]
jb 0x14005330b
mov rcx, rsi
nop
movzx eax, byte [rcx]
cmp al, 0x9e
je 0x14005325b
cmp al, 0x9d
jne 0x140053261
mov rcx, qword [rcx + 0x10]
jmp 0x140053250
movzx eax, byte [rcx]
cmp al, 0x9f
jne 0x14005326b
mov al, byte [rcx + 0x36]
cmp al, 0x61
je 0x14005330b
cmp al, 0x83
jbe 0x1400532ae
cmp al, 0x86
jbe 0x14005330b
cmp al, 0x9a
jne 0x1400532ae
bt dword [rcx + 4], 0x14
jb 0x1400532ae
movzx eax, word [rcx + 0x30]
test ax, ax
js 0x14005330b
movsx rax, ax
lea rdx, [rax + rax*2]
mov rax, qword [rcx + 0x40]
mov rcx, qword [rax + 8]
shl rdx, 4
cmp byte [rdx + rcx + 0x28], 0
jne 0x14005330b
mov rax, qword [r12 + 0x30]
movsxd rbx, dword [r12 + 0x3c]
mov edi, dword [rdi + 0xc]
cmp dword [rax + 0x60], ebx
jg 0x1400532d1
mov edx, 1
mov rcx, r12
call fcn.1400214c0
test eax, eax
jne 0x14005330b
mov rcx, qword [r12 + 8]
add dword [r12 + 0x3c], 1
lea rdx, [rbx + rbx*2]
lea eax, [r15 + r13]
mov byte [rcx + rdx*8], 0x4c
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 8], edi
mov dword [rcx + rdx*8 + 0xc], 0
mov qword [rcx + rdx*8 + 0x10], 0
mov dword [rcx + rdx*8 + 4], eax
mov byte [rcx + rdx*8 + 1], 0
mov r9, qword [rsp + 0x28]
test r9, r9
je 0x140053477
test rsi, rsi
movzx r8d, byte [r14 + r9]
mov rax, rsi
je 0x14005334b
mov ecx, dword [rax + 4]
bt ecx, 0xc
jae 0x14005334b
bt ecx, 0x12
jae 0x140053342
mov rax, qword [rax + 0x20]
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
jmp 0x140053346
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140053326
bt dword [rax + 4], 9
jae 0x140053388
xor al, al
test r8b, r8b
je 0x140053360
add al, r8b
cmp al, 0x41
jne 0x140053365
mov byte [r14 + r9], 0x41
movzx edx, byte [r14 + r9]
cmp dl, 0x41
je 0x14005346b
movzx eax, byte [rsi]
cmp al, 0x9e
je 0x140053382
cmp al, 0x9d
jne 0x140053411
mov rsi, qword [rsi + 0x10]
jmp 0x140053373
movzx ecx, byte [rax]
cmp ecx, 0x77
jne 0x1400533a5
mov rax, qword [rax + 0x20]
mov rcx, qword [rax]
mov rcx, qword [rcx + 8]
mov rcx, qword [rcx]
call fcn.140005440
jmp 0x1400533e9
cmp ecx, 0x9c
je 0x1400533bd
cmp ecx, 0x9a
je 0x1400533bd
cmp ecx, 0x9f
jne 0x1400533e6
mov rdx, qword [rax + 0x40]
test rdx, rdx
je 0x1400533e6
movsx rcx, word [rax + 0x30]
test ecx, ecx
jns 0x1400533d3
mov al, 0x44
jmp 0x1400533f1
mov rax, qword [rdx + 8]
lea rcx, [rcx + rcx*2]
shl rcx, 4
movzx eax, byte [rcx + rax + 0x29]
jmp 0x1400533e9
mov al, byte [rax + 1]
test al, al
je 0x140053354
test r8b, r8b
je 0x140053359
cmp al, 0x43
jge 0x140053365
cmp r8b, 0x43
jl 0x140053360
jmp 0x140053365
movzx eax, byte [rsi]
cmp al, 0x9f
jne 0x14005341b
mov al, byte [rsi + 0x36]
movzx ecx, al
sub ecx, 0x61
je 0x14005345f
sub ecx, 0x23
je 0x14005343d
sub ecx, 1
je 0x14005344e
sub ecx, 1
je 0x14005346b
sub ecx, 0x14
jne 0x140053477
cmp word [rsi + 0x30], cx
jge 0x140053477
cmp dl, 0x44
je 0x14005346b
cmp dl, 0x43
jne 0x140053477
mov byte [r14 + r9], 0x41
jmp 0x140053477
cmp dl, 0x45
je 0x14005346b
cmp dl, 0x43
jne 0x140053477
mov byte [r14 + r9], 0x41
jmp 0x140053477
xor eax, eax
cmp dl, 0x42
sete al
test eax, eax
je 0x140053477
mov byte [r14 + r9], 0x41
jmp 0x140053477
mov r9, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
add r15d, 1
add r14, 1
cmp r15d, dword [rsp + 0x20]
jl 0x140053050
mov rcx, qword [rsp + 0xa0]
mov qword [rcx], r9
jmp 0x1400534a7
mov rax, qword [rsp + 0xa0]
mov qword [rax], r9
mov eax, r13d
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret