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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x60
mov eax, dword [rcx + 0x50]
mov r13, qword [rdx + 0x18]
xor r14d, r14d
mov dword [rsp + 0x44], eax
add eax, 1
mov ebp, r8d
mov dword [rsp + 0x40], eax
add eax, 1
mov rsi, rdx
mov dword [rcx + 0x50], eax
mov r9, qword [rdx + 0x30]
mov rax, qword [rcx]
test r9, r9
mov rdi, rcx
mov r12d, 0xfff0bdc0
je 0x140055122
mov ecx, dword [rax + 0x28]
mov r12d, r14d
test ecx, ecx
jle 0x140055122
mov rax, qword [rax + 0x20]
add rax, 0x18
cmp qword [rax], r9
je 0x140055122
add r12d, 1
add rax, 0x20
cmp r12d, ecx
jl 0x140055110
mov rbx, qword [rdi + 0x10]
test rbx, rbx
jne 0x1400551b7
mov rcx, rdi
call fcn.140019700
test rax, rax
mov rbx, rax
mov qword [rdi + 0x10], rax
je 0x1400551a1
movsxd rsi, dword [rax + 0x3c]
mov rax, qword [rax + 0x30]
cmp dword [rax + 0x60], esi
jg 0x140055161
mov edx, 1
mov rcx, rbx
call fcn.1400214c0
test eax, eax
jne 0x140055199
mov rax, qword [rbx + 8]
add dword [rbx + 0x3c], 1
lea rcx, [rsi + rsi*2]
mov rsi, qword [rsp + 0xa8]
mov byte [rax + rcx*8], 0x9e
mov byte [rax + rcx*8 + 3], r14b
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r14
mov byte [rax + rcx*8 + 1], r14b
jmp 0x1400551a1
mov rsi, qword [rsp + 0xa8]
cmp qword [rdi + 0x1b8], r14
jne 0x1400551ae
mov byte [rdi + 0x23], 1
test rbx, rbx
je 0x1400559cb
test ebp, ebp
mov qword [rsp + 0x58], r15
js 0x1400551c9
mov dword [rsp + 0xa0], ebp
jmp 0x1400551d3
mov eax, dword [rsi + 0x50]
mov dword [rsp + 0xa0], eax
mov rdx, rsi
mov rcx, rdi
call fcn.14003ad20
mov r14d, dword [rdi + 0x50]
test rax, rax
lea ecx, [r14 + 1]
mov r15, rax
mov dword [rdi + 0x50], ecx
mov dword [rsp + 0xb8], r14d
je 0x1400551fc
add dword [rax], 1
movzx ebp, word [rsi + 0x56]
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x140055228
mov edx, 1
mov rcx, rbx
call fcn.1400214c0
test eax, eax
je 0x140055228
mov esi, 1
xor r14d, r14d
jmp 0x140055258
add dword [rbx + 0x3c], 1
mov rax, qword [rbx + 8]
lea rcx, [rsi + rsi*2]
mov dword [rax + rcx*8 + 4], r14d
xor r14d, r14d
mov byte [rax + rcx*8], 0x3a
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], ebp
mov dword [rax + rcx*8 + 8], r14d
mov qword [rax + rcx*8 + 0x10], r14
mov byte [rax + rcx*8 + 1], r14b
mov rbp, qword [rbx + 8]
mov rcx, qword [rbx]
test rbp, rbp
je 0x1400552ac
cmp byte [rcx + 0x51], 0
jne 0x1400552ac
test esi, esi
jns 0x140055274
mov esi, dword [rbx + 0x3c]
sub esi, 1
movsxd rax, esi
lea rsi, [rax + rax*2]
movsx edx, byte [rbp + rsi*8 + 1]
mov r8, qword [rbp + rsi*8 + 0x10]
call fcn.1400255f0
test r15, r15
mov qword [rbp + rsi*8 + 0x10], r14
jne 0x1400552a0
mov qword [rbp + rsi*8 + 0x10], r14
mov byte [rbp + rsi*8 + 1], r15b
jmp 0x1400552b9
mov qword [rbp + rsi*8 + 0x10], r15
mov byte [rbp + rsi*8 + 1], 0xfa
jmp 0x1400552b9
mov r8, r15
mov edx, 0xfffffffa
call fcn.1400255f0
mov esi, dword [rsp + 0x44]
mov r9, r13
mov r8d, r12d
mov rcx, rdi
mov edx, esi
mov dword [rsp + 0x20], 0x36
call fcn.140040a20
mov rax, qword [rbx + 0x30]
movsxd rbp, dword [rbx + 0x3c]
cmp dword [rax + 0x60], ebp
jg 0x1400552fa
mov edx, 1
mov rcx, rbx
call fcn.1400214c0
test eax, eax
je 0x1400552fa
mov ebp, 1
jmp 0x140055328
mov rax, qword [rbx + 8]
add dword [rbx + 0x3c], 1
lea rcx, [rbp + rbp*2]
mov byte [rax + rcx*8], 0x6d
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r14
mov byte [rax + rcx*8 + 1], 0
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x14005533a
add dword [rdi + 0x54], 1
mov r14d, dword [rdi + 0x54]
jmp 0x140055347
sub al, 1
movzx eax, al
mov byte [rdi + 0x1f], al
mov r14d, dword [rdi + rax*4 + 0x24]
mov r13, qword [rsp + 0xa8]
xor ecx, ecx
lea rax, [rsp + 0x48]
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov r9d, r14d
mov r8d, esi
mov rcx, rdi
mov rdx, r13
call fcn.140054930
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x140055397
mov edx, 1
mov rcx, rbx
call fcn.1400214c0
test eax, eax
jne 0x1400553d0
add dword [rbx + 0x3c], 1
mov rax, qword [rbx + 8]
mov edx, dword [rsp + 0xb8]
lea rcx, [rsi + rsi*2]
xor r10d, r10d
mov byte [rax + rcx*8], 0x6e
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
mov byte [rax + rcx*8 + 1], r10b
jmp 0x1400553d3
xor r10d, r10d
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140055458
mov r8, qword [rdi + 0x10]
or ecx, 0xffffffff
sub ecx, eax
mov r9, qword [r8 + 0x30]
js 0x140055400
mov rdx, qword [r9 + 0x80]
test rdx, rdx
je 0x140055400
mov eax, dword [r8 + 0x3c]
movsxd rcx, ecx
mov dword [rdx + rcx*4], eax
mov eax, dword [r8 + 0x3c]
lea rcx, [rdi + 0x94]
mov r8d, 0xa
sub eax, 1
mov dword [r9 + 0x64], eax
add dword [rdi + 0x70], 0xffffffff
nop
mov edx, dword [rcx]
test edx, edx
je 0x14005544e
mov eax, dword [rdi + 0x70]
cmp dword [rcx - 4], eax
jle 0x14005544e
cmp byte [rcx - 6], 0
je 0x14005544b
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x140055447
movzx eax, al
mov dword [rdi + rax*4 + 0x24], edx
add byte [rdi + 0x1f], 1
mov byte [rcx - 6], 0
mov dword [rcx], r10d
add rcx, 0x14
sub r8, 1
jne 0x140055420
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x140055476
mov edx, 1
mov rcx, rbx
call fcn.1400214c0
test eax, eax
jne 0x1400554a9
add dword [rbx + 0x3c], 1
mov rcx, qword [rbx + 8]
mov eax, dword [rsp + 0x44]
lea rdx, [rsi + rsi*2]
mov dword [rcx + rdx*8 + 4], eax
lea eax, [rbp + 1]
mov byte [rcx + rdx*8], 8
mov dword [rcx + rdx*8 + 8], eax
xor eax, eax
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 0xc], eax
mov qword [rcx + rdx*8 + 0x10], rax
mov byte [rcx + rdx*8 + 1], al
mov edx, dword [rbx + 0x3c]
cmp edx, ebp
jbe 0x1400554be
mov eax, ebp
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
sub ecx, 1
cmp dword [rsp + 0xb0], 0
mov dword [rax + 0x64], ecx
jge 0x140055532
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x1400554f3
mov edx, 1
mov rcx, rbx
call fcn.1400214c0
test eax, eax
jne 0x140055529
add dword [rbx + 0x3c], 1
mov rax, qword [rbx + 8]
mov ebp, dword [rsp + 0xa0]
lea rcx, [rsi + rsi*2]
xor edx, edx
mov byte [rax + rcx*8], 0x77
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
jmp 0x140055539
mov ebp, dword [rsp + 0xa0]
jmp 0x140055539
mov ebp, dword [rsp + 0xa0]
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x140055561
mov edx, 1
mov rcx, rbx
call fcn.1400214c0
test eax, eax
je 0x140055561
mov esi, 1
xor r12d, r12d
jmp 0x140055594
add dword [rbx + 0x3c], 1
mov rax, qword [rbx + 8]
mov edx, dword [rsp + 0x40]
lea rcx, [rsi + rsi*2]
mov dword [rax + rcx*8 + 0xc], r12d
xor r12d, r12d
mov byte [rax + rcx*8], 0x37
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], ebp
mov qword [rax + rcx*8 + 0x10], r12
mov byte [rax + rcx*8 + 1], r12b
mov rbp, qword [rbx + 8]
mov rcx, qword [rbx]
test rbp, rbp
je 0x1400555e8
cmp byte [rcx + 0x51], 0
jne 0x1400555e8
test esi, esi
jns 0x1400555b0
mov esi, dword [rbx + 0x3c]
sub esi, 1
movsxd rax, esi
lea rsi, [rax + rax*2]
movsx edx, byte [rbp + rsi*8 + 1]
mov r8, qword [rbp + rsi*8 + 0x10]
call fcn.1400255f0
test r15, r15
mov qword [rbp + rsi*8 + 0x10], r12
jne 0x1400555dc
mov qword [rbp + rsi*8 + 0x10], r12
mov byte [rbp + rsi*8 + 1], r15b
jmp 0x1400555f5
mov qword [rbp + rsi*8 + 0x10], r15
mov byte [rbp + rsi*8 + 1], 0xfa
jmp 0x1400555f5
mov r8, r15
mov edx, 0xfffffffa
call fcn.1400255f0
mov r8, qword [rbx + 8]
test r8, r8
je 0x140055623
xor esi, esi
mov eax, 4
mov edx, esi
cmp dword [rsp + 0xb0], edx
cmovge edx, eax
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
or dl, 1
mov byte [r8 + rcx*8 - 0x15], dl
jmp 0x140055625
xor esi, esi
mov rax, qword [rbx + 0x30]
movsxd r12, dword [rbx + 0x3c]
cmp dword [rax + 0x60], r12d
jg 0x140055653
mov edx, 1
mov rcx, rbx
call fcn.1400214c0
test eax, eax
je 0x140055653
mov ebp, dword [rsp + 0xb8]
mov r12d, 1
jmp 0x140055685
mov rax, qword [rbx + 8]
add dword [rbx + 0x3c], 1
mov ebp, dword [rsp + 0xb8]
lea rcx, [r12 + r12*2]
mov byte [rax + rcx*8], 0x6b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rsi
mov byte [rax + rcx*8 + 1], 0
cmp byte [r13 + 0x5a], 0
je 0x14005572b
test r15, r15
je 0x14005572b
movsxd rsi, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x60], esi
lea ebp, [rsi + 3]
jg 0x1400556ba
mov edx, 1
mov rcx, rbx
call fcn.1400214c0
test eax, eax
jne 0x1400556e6
add dword [rbx + 0x3c], 1
mov rax, qword [rbx + 8]
lea rcx, [rsi + rsi*2]
xor edx, edx
mov byte [rax + rcx*8], InitCommonControls
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov rsi, qword [rsp + 0xa8]
mov r13d, dword [rbx + 0x3c]
mov r9d, ebp
movzx eax, word [rsi + 0x56]
mov ebp, dword [rsp + 0xb8]
mov edx, 0x64
mov dword [rsp + 0x28], eax
mov r8d, ebp
mov rcx, rbx
mov dword [rsp + 0x20], r14d
call fcn.140028cb0
mov r8, rsi
mov edx, 2
mov rcx, rdi
call fcn.14002d8d0
jmp 0x14005572f
mov r13d, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x14005574d
mov edx, 1
mov rcx, rbx
call fcn.1400214c0
test eax, eax
jne 0x140055782
add dword [rbx + 0x3c], 1
mov rax, qword [rbx + 8]
mov r15d, dword [rsp + 0x40]
lea rcx, [rsi + rsi*2]
xor edx, edx
mov byte [rax + rcx*8], 0x65
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
jmp 0x140055787
mov r15d, dword [rsp + 0x40]
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x1400557a5
mov edx, 1
mov rcx, rbx
call fcn.1400214c0
test eax, eax
jne 0x1400557d6
add dword [rbx + 0x3c], 1
mov rax, qword [rbx + 8]
lea rcx, [rsi + rsi*2]
xor edx, edx
mov byte [rax + rcx*8], 0x6a
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 0xc], 0xffffffff
mov dword [rax + rcx*8 + 8], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x1400557f4
mov edx, 1
mov rcx, rbx
call fcn.1400214c0
test eax, eax
jne 0x140055825
add dword [rbx + 0x3c], 1
mov rax, qword [rbx + 8]
lea rcx, [rsi + rsi*2]
xor esi, esi
mov byte [rax + rcx*8], 0x6f
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rsi
mov byte [rax + rcx*8 + 1], sil
jmp 0x140055827
xor esi, esi
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14005583d
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x10
test r14d, r14d
je 0x140055878
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x140055878
mov ecx, esi
lea rax, [rdi + 0x88]
cmp dword [rax + 0xc], r14d
je 0x140055874
add ecx, 1
add rax, 0x14
cmp ecx, 0xa
jl 0x140055854
movzx eax, dl
mov dword [rdi + rax*4 + 0x24], r14d
add byte [rdi + 0x1f], 1
jmp 0x140055878
mov byte [rax + 6], 1
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], edi
jg 0x140055896
mov edx, 1
mov rcx, rbx
call fcn.1400214c0
test eax, eax
jne 0x1400558c2
mov rax, qword [rbx + 8]
add dword [rbx + 0x3c], 1
lea rcx, [rdi + rdi*2]
mov byte [rax + rcx*8], 4
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rsi
mov byte [rax + rcx*8 + 1], 0
mov edx, dword [rbx + 0x3c]
cmp edx, r12d
jbe 0x1400558d9
mov eax, r12d
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
sub ecx, 1
mov dword [rax + 0x64], ecx
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], edi
jg 0x140055904
mov edx, 1
mov rcx, rbx
call fcn.1400214c0
test eax, eax
jne 0x140055933
mov rax, qword [rbx + 8]
add dword [rbx + 0x3c], 1
mov edx, dword [rsp + 0x44]
lea rcx, [rdi + rdi*2]
mov byte [rax + rcx*8], 0x3d
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], esi
mov qword [rax + rcx*8 + 0x10], rsi
mov byte [rax + rcx*8 + 1], 0
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], edi
jg 0x140055951
mov edx, 1
mov rcx, rbx
call fcn.1400214c0
test eax, eax
jne 0x14005597d
mov rax, qword [rbx + 8]
add dword [rbx + 0x3c], 1
lea rcx, [rdi + rdi*2]
mov byte [rax + rcx*8], 0x3d
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rsi
mov byte [rax + rcx*8 + 1], 0
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
mov r15, qword [rsp + 0x58]
cmp dword [rax + 0x60], edi
jg 0x1400559a0
mov edx, 1
mov rcx, rbx
call fcn.1400214c0
test eax, eax
jne 0x1400559cb
mov rax, qword [rbx + 8]
add dword [rbx + 0x3c], 1
lea rcx, [rdi + rdi*2]
mov byte [rax + rcx*8], 0x3d
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rsi
mov byte [rax + rcx*8 + 1], 0
add rsp, 0x60
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret