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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rsi
push r13
push r14
sub rsp, 0xb0
imul r14d, r9d, 0x73
mov esi, r9d
mov r10, r8
mov r13, rcx
mov dword [rsp + 0x34], r14d
cmp r9d, r14d
ja 0x180035b74
mov qword [rax - 0x20], rbx
lea r9, [0x180000000]
mov qword [rax - 0x28], rbp
mov ebp, dword [rsp + 0x30]
mov qword [rax - 0x30], rdi
mov qword [rax - 0x38], r12
mov qword [rax - 0x40], r15
imul r15d, esi, 0x17
mov dword [rsp + 0x40], r15d
nop
mov eax, esi
sub eax, 0x52
je 0x180035ace
sub eax, 7
je 0x1800359e4
sub eax, 0x33
je 0x18003591f
sub eax, 0x724
je 0x180035601
cmp eax, 0xa8
jne 0x180035b29
cmp dword [rsp + 0x4c], 0
je 0x180035557
mov eax, dword [r10]
mov dword [rsp + 0xe8], eax
xor r9d, r9d
lea rax, [rsp + 0xe8]
mov rdx, r13
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea r8d, [r9 + 0x44]
call fcn.18002ec80
jmp 0x180035b29
mov edi, dword [r10]
mov ebx, 0x12b
nop
mov eax, ebx
sub eax, 0x66
je 0x180035b29
sub eax, 0x23
je 0x1800355ba
sub eax, 0xa2
je 0x1800355af
sub eax, 0x75f7
je 0x180035598
cmp eax, 0x75f7
jne 0x1800355ea
mov rcx, qword [rsp + 0x70]
mov edx, dword [rsp + 0x44]
movsx eax, byte [rcx]
btr eax, edx
mov byte [rcx], al
jmp 0x1800355ea
mov ecx, dword [rsp + 0x48]
mov eax, edi
and eax, 7
add rcx, r13
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x70], rcx
jmp 0x1800355ea
mov eax, edi
shr eax, 3
mov dword [rsp + 0x48], eax
jmp 0x1800355ea
test r13, r13
je 0x1800355ea
mov rdx, qword [r13]
xor r8d, r8d
mov ecx, 0x97
call fcn.180079da0
mov rdx, qword [r13 + 8]
xor r8d, r8d
mov ecx, 0x97
call fcn.180079da0
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add ebx, 0x75f7
cmp ebx, 0x24dd3
jbe 0x180035560
jmp 0x180035b29
movsx eax, byte [r10 + 0x18]
add eax, 0xfffffffe
cmp eax, 7
ja case.default.0x180035627
movsxd r8, dword [rsp + 0x3c]
cdqe
mov r14, r8
mov ecx, dword [r9 + rax*4 + 0x35b84]
add rcx, r9
jmp rcx
mov ecx, dword [rsp + 0x30]
mov r9, qword [r13]
test ecx, ecx
jle 0x18003590c
mov r12d, dword [rsp + 0x38]
mov eax, r8d
neg eax
mov esi, ecx
movsxd rbp, eax
lea eax, [rcx - 1]
imul eax, r8d
movsxd rdi, eax
add rdi, qword [r10]
test r12d, r12d
jle 0x1800356a7
mov eax, r8d
mov r10, rdi
imul eax, ecx
mov r11, r12
movsxd rbx, eax
nop dword [rax]
test r14, r14
jle 0x180035692
mov r8, r10
mov rcx, r9
sub r8, r9
mov rdx, r14
movzx eax, byte [r8 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180035681
add r9, r14
add r10, rbx
sub r11, 1
jne 0x180035670
mov ecx, dword [rsp + 0x30]
mov r8d, dword [rsp + 0x3c]
add rdi, rbp
sub rsi, 1
jne 0x180035655
mov ebp, dword [rsp + 0x30]
mov esi, 0x7b0
mov r14d, dword [rsp + 0x34]
jmp 0x180035b29
mov edx, dword [rsp + 0x30]
mov rcx, qword [r10]
mov r9, qword [r13]
test edx, edx
jle 0x18003590c
mov r12d, dword [rsp + 0x38]
mov eax, r8d
neg eax
mov ebp, edx
movsxd r15, eax
lea eax, [rdx - 1]
add r15, r15
imul eax, r8d
cdqe
lea rsi, [rcx + rax*2]
test r12d, r12d
jle 0x180035757
mov eax, r8d
lea rdi, [r14 + r14]
imul eax, edx
mov r10, rsi
mov r11, r12
movsxd rbx, eax
add rbx, rbx
test r14, r14
jle 0x180035742
mov r8, r10
mov rcx, r9
sub r8, r9
mov rdx, r14
nop dword [rax]
nop word [rax + rax]
movzx eax, word [r8 + rcx]
mov word [rcx], ax
lea rcx, [rcx + 2]
sub rdx, 1
jne 0x180035730
add r9, rdi
add r10, rbx
sub r11, 1
jne 0x180035710
mov edx, dword [rsp + 0x30]
mov r8d, dword [rsp + 0x3c]
add rsi, r15
sub rbp, 1
jne 0x1800356f5
jmp 0x180035907
mov edx, dword [rsp + 0x30]
mov rcx, qword [r10]
mov r9, qword [r13]
test edx, edx
jle 0x18003590c
mov r12d, dword [rsp + 0x38]
mov eax, r8d
neg eax
mov ebp, edx
movsxd r15, eax
lea eax, [rdx - 1]
shl r15, 2
imul eax, r8d
cdqe
lea rsi, [rcx + rax*4]
test r12d, r12d
jle 0x1800357f5
mov eax, r8d
lea rdi, [r14*4]
imul eax, edx
mov r10, rsi
mov r11, r12
movsxd rbx, eax
shl rbx, 2
test r14, r14
jle 0x1800357e0
mov r8, r10
mov rcx, r9
sub r8, r9
mov rdx, r14
nop dword [rax]
mov eax, dword [rcx + r8]
mov dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x1800357d0
add r9, rdi
add r10, rbx
sub r11, 1
jne 0x1800357b8
mov edx, dword [rsp + 0x30]
mov r8d, dword [rsp + 0x3c]
add rsi, r15
sub rbp, 1
jne 0x180035798
jmp 0x180035907
mov rcx, qword [r10]
mov r10, qword [r13]
test ebp, ebp
jle 0x180035910
mov r13d, dword [rsp + 0x30]
mov eax, r8d
neg eax
mov r15d, r13d
movsxd r12, eax
shl r12, 2
lea eax, [r13 - 1]
imul eax, r8d
cdqe
lea rbp, [rcx + rax*4]
mov ecx, dword [rsp + 0x38]
test ecx, ecx
jle 0x1800358f2
mov eax, r8d
mov ebx, ecx
imul eax, r13d
lea rsi, [r14*4]
mov r11, rbp
movsxd rdi, eax
shl rdi, 2
nop dword [rax + rax]
xor r9d, r9d
cmp r14, 4
jl 0x1800358b4
mov rdx, r11
lea r8, [r14 - 4]
sub rdx, r10
shr r8, 2
inc r8
lea rcx, [r10 + 4]
lea r9, [r8*4]
nop word [rax + rax]
mov eax, dword [rdx + rcx - 4]
mov dword [rcx - 4], eax
mov eax, dword [rdx + rcx]
mov dword [rcx], eax
mov eax, dword [rdx + rcx + 4]
mov dword [rcx + 4], eax
mov eax, dword [rdx + rcx + 8]
mov dword [rcx + 8], eax
lea rcx, [rcx + 0x10]
sub r8, 1
jne 0x180035890
cmp r9, r14
jge 0x1800358d9
mov r8, r11
lea rcx, [r10 + r9*4]
sub r8, r10
mov rdx, r14
sub rdx, r9
mov eax, dword [r8 + rcx]
mov dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x1800358c9
add r10, rsi
add r11, rdi
sub rbx, 1
jne 0x180035860
mov ecx, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x3c]
add rbp, r12
sub r15, 1
jne 0x180035838
mov r13, qword [rsp + 0xd0]
mov r15d, dword [rsp + 0x40]
mov ebp, dword [rsp + 0x30]
mov r14d, dword [rsp + 0x34]
mov esi, 0x7b0
jmp 0x180035b29
mov ecx, dword [r13]
cmp ecx, 9
jbe 0x18003599e
nop dword [rax + rax]
mov r8, qword [r10 + 0x18]
mov eax, 0xcccccccd
mul ecx
shr edx, 3
lea eax, [rdx + rdx*4]
mov rdx, qword [r10 + 0x10]
add eax, eax
sub ecx, eax
cmp rdx, r8
jae 0x18003596c
lea rax, [rdx + 1]
mov qword [r10 + 0x10], rax
mov rax, r10
cmp r8, 0x10
jb 0x180035962
mov rax, qword [r10]
mov byte [rax + rdx], cl
mov byte [rax + rdx + 1], 0
jmp 0x180035987
xor r8d, r8d
movzx r9d, cl
mov rcx, r10
lea edx, [r8 + 1]
call fcn.180002690
mov r10, qword [rsp + 0xe0]
mov eax, 0xcccccccd
mul dword [r13]
mov ecx, edx
shr ecx, 3
mov dword [r13], ecx
cmp ecx, 9
ja 0x180035930
mov rdx, qword [r10 + 0x10]
mov r8, qword [r10 + 0x18]
cmp rdx, r8
jae 0x1800359cc
lea rax, [rdx + 1]
mov qword [r10 + 0x10], rax
mov rax, r10
cmp r8, 0x10
jb 0x1800359bf
mov rax, qword [r10]
mov byte [rax + rdx], cl
mov byte [rax + rdx + 1], 0
jmp 0x180035b29
xor r8d, r8d
movzx r9d, cl
mov rcx, r10
lea edx, [r8 + 1]
call fcn.180002690
jmp 0x180035b29
mov edi, dword [rdx]
movsx ecx, dil
mov eax, edi
shr rax, 3
and ecx, 7
movsx edx, byte [rax + r13]
sar edx, cl
mov ecx, dword [r10]
and edx, 1
mov eax, ecx
mov dword [rsp + 0x4c], edx
shr rax, 3
and cl, 7
movzx edx, byte [rax + r13]
sar dl, cl
test dl, 1
je 0x180035a25
mov dword [rsp + 0xe8], edi
jmp 0x180035534
mov ebx, 0x12b
nop word [rax + rax]
mov eax, ebx
sub eax, 0x66
je 0x180035b29
sub eax, 0x23
je 0x180035a8a
sub eax, 0xa2
je 0x180035a7f
sub eax, 0x75f7
je 0x180035a68
cmp eax, 0x75f7
jne 0x180035aba
mov rcx, qword [rsp + 0x78]
mov edx, dword [rsp + 0x50]
movsx eax, byte [rcx]
btr eax, edx
mov byte [rcx], al
jmp 0x180035aba
mov ecx, dword [rsp + 0x54]
mov eax, edi
and eax, 7
add rcx, r13
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x78], rcx
jmp 0x180035aba
mov eax, edi
shr eax, 3
mov dword [rsp + 0x54], eax
jmp 0x180035aba
test r13, r13
je 0x180035aba
mov rdx, qword [r13]
xor r8d, r8d
mov ecx, 0x97
call fcn.180079da0
mov rdx, qword [r13 + 8]
xor r8d, r8d
mov ecx, 0x97
call fcn.180079da0
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add ebx, 0x75f7
cmp ebx, 0x24dd3
jbe 0x180035a30
jmp 0x180035b29
mov eax, dword [r10 + 0x10]
lea r9, [rsp + 0xe8]
mov ecx, dword [r10 + 0x14]
lea r8, [rsp + 0x60]
mov ebp, dword [r10 + 0xc]
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x58], eax
movzx eax, byte [r10 + 0x18]
mov byte [rsp + 0xe8], al
lea rax, [rsp + 0x58]
mov dword [rsp + 0x3c], ecx
mov dword [rsp + 0x60], ecx
mov ecx, 0x94
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x68], ebp
call fcn.18007f890
mov r10, qword [rsp + 0xe0]
lea r9, [0x180000000]
mov rdx, qword [rsp + 0xd8]
add esi, r15d
cmp esi, r14d
jbe 0x1800354f0
mov r15, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xa8]
add rsp, 0xb0
pop r14
pop r13
pop rsi
ret