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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2d0
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov r14, rcx
add rcx, 0x380
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [r14 + 0x3a8]
mov esi, dword [r14 + 0x3ac]
mov ebp, dword [r14 + 0x3b0]
mov r12d, dword [r14 + 0x3b4]
mov rax, qword [r14 + 0x1b0]
mov r13, qword [r14 + 0x210]
mov r15, qword [r14 + 0x1f0]
mov qword [rsp + 0x68], rax
mov rax, qword [r14 + 0x1d0]
lea rcx, [r14 + 0x380]
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x60], rax
mov rax, qword [r14 + 0x230]
mov qword [rsp + 0x70], rax
xor eax, eax
mov qword [r14 + 0x1b0], rax
mov qword [r14 + 0x1b8], rax
mov qword [r14 + 0x1d0], rax
mov qword [r14 + 0x1d8], rax
mov qword [r14 + 0x1f0], rax
mov qword [r14 + 0x1f8], rax
mov qword [r14 + 0x210], rax
mov qword [r14 + 0x218], rax
mov qword [r14 + 0x230], rax
mov qword [r14 + 0x238], rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jne 0x140029fbc
mov rcx, qword [r14 + 0x3c8]
test rcx, rcx
je 0x140029fbc
or edx, 0xffffffff
call fcn.1400d89e0
xor ebx, ebx
mov qword [r14 + 0x3c8], rbx
jmp 0x140029fbe
xor ebx, ebx
test esi, esi
jne 0x140029fdd
mov rcx, qword [r14 + 0x3d0]
test rcx, rcx
je 0x140029fdd
or edx, 0xffffffff
call fcn.1400d89e0
mov qword [r14 + 0x3d0], rbx
test ebp, ebp
jne 0x140029ffc
mov rcx, qword [r14 + 0x3d8]
test rcx, rcx
je 0x140029ffc
or edx, 0xffffffff
call fcn.1400d89e0
mov qword [r14 + 0x3d8], rbx
test r12d, r12d
jne 0x14002a01c
mov rcx, qword [r14 + 0x3e0]
test rcx, rcx
je 0x14002a01c
or edx, 0xffffffff
call fcn.1400d89e0
mov qword [r14 + 0x3e0], rbx
test r13, r13
mov rsi, r13
je 0x14002a187
nop
nop
lea rbp, [rsi + 0x20]
lea rdx, [0x140028d80]
lea rcx, [r14 + 0x330]
mov r8, rbp
call fcn.1400027b0
lea r9, [0x140028d30]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x38]
lea rcx, [r14 + 0x268]
mov qword [rsp + 0x20], rbp
call fcn.1400018d0
test rax, rax
mov rdi, rax
jne 0x14002a0c8
cmp byte [rbp], al
mov rbx, rbp
je 0x14002a089
nop
add rbx, 1
cmp byte [rbx], 0
jne 0x14002a080
sub ebx, ebp
movsxd rcx, ebx
add rcx, 0xe
call fcn.1400cf700
mov rdx, rbp
mov rdi, rax
mov byte [rax + 0xc], 0
lea eax, [rbx + 1]
lea rcx, [rdi + 0xd]
movsxd r8, eax
call fcn.1401a8fe0
mov r8d, dword [rsp + 0x58]
mov edx, dword [rsp + 0x38]
lea rcx, [r14 + 0x268]
mov r9, rdi
call fcn.140002290
cmp qword [rsi + 0x18], 0
jne 0x14002a0df
mov rcx, qword [0x14020e260]
call fcn.14016dcf0
mov qword [rsi + 0x18], rax
movzx r8d, byte [rdi + 0xc]
test r8b, 1
je 0x14002a12f
mov r9, qword [rdi]
mov rdx, qword [rsi + 0x18]
movzx ecx, byte [rdx]
mov rax, r9
cmp cl, byte [r9]
jne 0x14002a113
nop
test cl, cl
je 0x14002a125
mov cl, byte [rdx + 1]
add rdx, 1
add rax, 1
cmp cl, byte [rax]
je 0x14002a100
movzx eax, byte [rax]
movzx edx, byte [rdx]
cmp edx, eax
je 0x14002a125
or r8b, 0x10
mov byte [rdi + 0xc], r8b
mov rcx, r9
call fcn.1400cf780
jmp 0x14002a166
mov rcx, qword [rsi + 0x18]
mov rax, qword [0x14020e260]
movzx edx, byte [rcx]
cmp dl, byte [rax]
jne 0x14002a154
test dl, dl
je 0x14002a166
mov dl, byte [rcx + 1]
add rcx, 1
add rax, 1
cmp dl, byte [rax]
je 0x14002a141
movzx eax, byte [rax]
movzx ecx, byte [rcx]
cmp ecx, eax
je 0x14002a166
or r8b, 0x10
mov byte [rdi + 0xc], r8b
mov rax, qword [rsi + 0x18]
xor ebx, ebx
mov qword [rdi], rax
mov qword [rsi + 0x18], rbx
or byte [rdi + 0xc], 1
mov qword [rsi + 0x10], rdi
mov rsi, qword [rsi]
test rsi, rsi
jne 0x14002a030
mov rax, qword [rsp + 0x70]
test rax, rax
mov rsi, rax
je 0x14002a271
nop
nop
lea rbp, [rsi + 0x1c]
lea rdx, [0x140028db0]
lea rcx, [r14 + 0x358]
mov r8, rbp
call fcn.1400027b0
lea r9, [0x140028d30]
lea r8, [rsp + 0x4c]
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 0x268]
mov qword [rsp + 0x20], rbp
call fcn.1400018d0
test rax, rax
mov rdi, rax
jne 0x14002a238
cmp byte [rbp], al
mov rbx, rbp
je 0x14002a1f9
nop
add rbx, 1
cmp byte [rbx], 0
jne 0x14002a1f0
sub ebx, ebp
movsxd rcx, ebx
add rcx, 0xe
call fcn.1400cf700
mov rdx, rbp
mov rdi, rax
mov byte [rax + 0xc], 0
lea eax, [rbx + 1]
lea rcx, [rdi + 0xd]
movsxd r8, eax
call fcn.1401a8fe0
mov r8d, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x40]
lea rcx, [r14 + 0x268]
mov r9, rdi
call fcn.140002290
movzx ecx, byte [rdi + 0xc]
test cl, 2
je 0x14002a246
mov eax, dword [rdi + 8]
jmp 0x14002a24c
mov eax, dword [0x14020e268]
cmp dword [rsi + 0x18], eax
je 0x14002a257
or cl, 0x20
mov byte [rdi + 0xc], cl
mov eax, dword [rsi + 0x18]
or byte [rdi + 0xc], 2
mov dword [rdi + 8], eax
mov qword [rsi + 0x10], rdi
mov rsi, qword [rsi]
test rsi, rsi
jne 0x14002a1a0
mov r13, qword [rsp + 0x68]
test r13, r13
mov rdi, r13
je 0x14002a378
xor r12d, r12d
mov r8, qword [rdi + 0x10]
lea rdx, [0x140028d60]
lea rcx, [r14 + 0x2b8]
call fcn.1400027b0
mov r11, qword [rdi + 0x10]
lea r9, [0x140028d10]
lea r8, [rsp + 0x54]
lea rdx, [rsp + 0x48]
lea rcx, [r14 + 0x240]
mov qword [rsp + 0x20], r11
call fcn.1400018d0
test rax, rax
mov rbx, rax
jne 0x14002a2fc
lea ecx, [rax + 0x3d]
call fcn.1400cf700
lea rcx, [r14 + 0x240]
mov rbx, rax
mov byte [rax + 0x3c], r12b
mov rax, qword [rdi + 0x10]
mov qword [rbx], rax
mov qword [rbx + 0x34], r12
mov r8d, dword [rsp + 0x54]
mov edx, dword [rsp + 0x48]
mov r9, rbx
call fcn.140002290
movzx ecx, byte [rbx + 0x3c]
test cl, 1
je 0x14002a33a
mov eax, dword [rbx + 0x28]
cmp dword [rdi + 0x38], eax
jne 0x14002a335
mov rax, qword [rbx + 0x18]
cmp qword [rdi + 0x28], rax
jne 0x14002a335
mov rax, qword [rbx + 0x10]
cmp qword [rdi + 0x20], rax
jne 0x14002a335
mov rax, qword [rbx + 0x20]
cmp qword [rdi + 0x30], rax
jne 0x14002a335
mov rax, qword [rbx + 8]
cmp qword [rdi + 0x18], rax
je 0x14002a368
or cl, 0x10
jmp 0x14002a33d
or cl, 0x11
mov rax, qword [rdi + 0x18]
mov qword [rbx + 8], rax
mov rax, qword [rdi + 0x20]
mov qword [rbx + 0x10], rax
mov rax, qword [rdi + 0x28]
mov qword [rbx + 0x18], rax
mov rax, qword [rdi + 0x30]
mov qword [rbx + 0x20], rax
mov rax, qword [rdi + 0x38]
mov byte [rbx + 0x3c], cl
mov qword [rbx + 0x28], rax
mov qword [rdi + 0x10], rbx
mov rdi, qword [rdi]
test rdi, rdi
jne 0x14002a285
mov r12, qword [rsp + 0x60]
test r12, r12
mov rsi, r12
je 0x14002a592
nop
nop
mov r8, qword [rsi + 0x10]
lea rdx, [0x140028d60]
lea rcx, [r14 + 0x2e0]
xor ebx, ebx
xor ebp, ebp
call fcn.1400027b0
mov r11, qword [rsi + 0x10]
lea r9, [0x140028d10]
lea r8, [rsp + 0x5c]
lea rdx, [rsp + 0x50]
lea rcx, [r14 + 0x240]
mov qword [rsp + 0x20], r11
call fcn.1400018d0
test rax, rax
mov rdi, rax
jne 0x14002a40a
lea ecx, [rbx + 0x3d]
call fcn.1400cf700
lea rcx, [r14 + 0x240]
mov rdi, rax
mov byte [rax + 0x3c], bl
mov rax, qword [rsi + 0x10]
mov qword [rdi], rax
mov qword [rdi + 0x34], rbx
mov r8d, dword [rsp + 0x5c]
mov edx, dword [rsp + 0x50]
mov r9, rdi
call fcn.140002290
cmp byte [rsi + 0x1c], bl
jne 0x14002a4b0
cmp byte [rsi + 0x21], bl
mov rcx, qword [rsi + 0x10]
jne 0x14002a48a
movzx eax, byte [rcx + 8]
cmp al, 0xff
jne 0x14002a429
mov edx, dword [rcx - 4]
jmp 0x14002a42c
movzx edx, al
lea r8, [rsp + 0x30]
add rcx, 9
call fcn.140175470
lea rcx, [rsp + 0x80]
mov rbx, rax
call fcn.140177280
mov r8d, dword [rsp + 0x30]
lea rcx, [rsp + 0x80]
mov rdx, rbx
call fcn.140178490
mov r8, qword [rsp + 0x88]
lea rcx, [r14 + 0x268]
lea rdx, [0x140028d30]
call fcn.1400016b0
lea rcx, [rsp + 0x80]
mov rbx, rax
call fcn.14017d580
test rbx, rbx
mov ebp, 1
je 0x14002a49c
mov ecx, dword [rbx + 8]
mov dword [rsi + 0x18], ecx
jmp 0x14002a4b0
mov eax, dword [0x14020e268]
cmp byte [rsi + 0x21], 0
cmovne eax, dword [0x14020e254]
mov dword [rsi + 0x18], eax
movzx ecx, byte [rdi + 0x3c]
test cl, 2
je 0x14002a4d0
mov eax, dword [rsi + 0x18]
cmp dword [rdi + 0x30], eax
je 0x14002a578
or cl, 0x20
mov byte [rdi + 0x3c], cl
jmp 0x14002a578
test ebp, ebp
jne 0x14002a54d
mov rcx, qword [rsi + 0x10]
xor ebx, ebx
cmp byte [rsi + 0x21], bl
jne 0x14002a54d
movzx eax, byte [rcx + 8]
cmp al, 0xff
jne 0x14002a4ec
mov edx, dword [rcx - 4]
jmp 0x14002a4ef
movzx edx, al
lea r8, [rsp + 0x34]
add rcx, 9
call fcn.140175470
lea rcx, [rsp + 0x1a0]
mov rbx, rax
call fcn.140177280
mov r8d, dword [rsp + 0x34]
lea rcx, [rsp + 0x1a0]
mov rdx, rbx
call fcn.140178490
mov r8, qword [rsp + 0x1a8]
lea rcx, [r14 + 0x268]
lea rdx, [0x140028d30]
call fcn.1400016b0
lea rcx, [rsp + 0x1a0]
mov rbx, rax
call fcn.14017d580
test rbx, rbx
je 0x14002a563
movzx eax, byte [rbx + 0xc]
test al, 2
je 0x14002a574
test al, 0x20
jne 0x14002a574
mov eax, dword [rbx + 8]
jmp 0x14002a56f
cmp byte [rsi + 0x21], 0
je 0x14002a574
mov eax, dword [0x14020e254]
cmp dword [rsi + 0x18], eax
je 0x14002a578
or byte [rdi + 0x3c], 0x20
mov eax, dword [rsi + 0x18]
or byte [rdi + 0x3c], 2
mov dword [rdi + 0x30], eax
mov qword [rsi + 0x10], rdi
mov rsi, qword [rsi]
test rsi, rsi
jne 0x14002a390
test r15, r15
mov rdi, r15
je 0x14002a64d
nop
mov r8, qword [rdi + 0x10]
lea rdx, [0x140028d60]
lea rcx, [r14 + 0x308]
call fcn.1400027b0
mov r11, qword [rdi + 0x10]
lea r9, [0x140028d10]
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x44]
lea rcx, [r14 + 0x240]
mov qword [rsp + 0x20], r11
call fcn.1400018d0
test rax, rax
mov rbx, rax
jne 0x14002a61b
lea ecx, [rax + 0x3d]
call fcn.1400cf700
lea rcx, [r14 + 0x240]
mov rbx, rax
mov byte [rax + 0x3c], 0
mov rax, qword [rdi + 0x10]
mov qword [rbx], rax
mov qword [rbx + 0x34], 0
mov r8d, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x44]
mov r9, rbx
call fcn.140002290
mov rax, qword [rdi + 0x18]
cmp qword [rbx + 0x34], rax
je 0x14002a629
or byte [rbx + 0x3c], 0x40
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x34], rax
mov qword [rdi + 0x18], 0
or byte [rbx + 0x3c], 4
mov qword [rdi + 0x10], rbx
mov rdi, qword [rdi]
test rdi, rdi
jne 0x14002a5a0
mov rcx, qword [r14 + 0x408]
mov edx, 5
call qword [r14 + 0x400]
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x14002a699
nop
nop
mov rax, qword [rdi + 0x10]
mov rbx, qword [rdi]
and byte [rax + 0xc], 0xef
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14002a689
call fcn.1400cf780
mov rcx, rdi
call fcn.1400cf780
test rbx, rbx
mov rdi, rbx
jne 0x14002a670
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14002a6c8
nop
nop
nop
nop
mov rax, qword [rcx + 0x10]
mov rbx, qword [rcx]
and byte [rax + 0xc], 0xdf
call fcn.1400cf780
test rbx, rbx
mov rcx, rbx
jne 0x14002a6b0
test r13, r13
je 0x14002a6ec
nop
mov rax, qword [r13 + 0x10]
mov rbx, qword [r13]
mov rcx, r13
and byte [rax + 0x3c], 0xef
call fcn.1400cf780
test rbx, rbx
mov r13, rbx
jne 0x14002a6d0
test r12, r12
je 0x14002a71d
nop
nop
nop
nop
mov rax, qword [r12 + 0x10]
mov rbx, qword [r12]
mov rcx, r12
and byte [rax + 0x3c], 0xdf
call fcn.1400cf780
test rbx, rbx
mov r12, rbx
jne 0x14002a700
test r15, r15
je 0x14002a759
nop
nop
nop
nop
mov rax, qword [r15 + 0x10]
mov rbx, qword [r15]
and byte [rax + 0x3c], 0xbf
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x14002a749
call fcn.1400f1ac0
mov rcx, r15
call fcn.1400cf780
test rbx, rbx
mov r15, rbx
jne 0x14002a730
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1401a8fb0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret