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

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x70
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x68], rbp
mov rbp, rcx
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x58], rdi
mov edi, edx
test rcx, rcx
je 0x14008545b
call qword [0x14017d320]
mov rcx, qword [rbp + 0x28]
cmp byte [rcx + 0x11], 0
je 0x140085473
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], 0
jne 0x140085473
call fcn.140077bd0
mov rax, qword [rbp]
test rax, rax
je 0x14008548b
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14008548b
call qword [0x14017d320]
mov ebx, dword [rbp + 0x30]
test ebx, ebx
je 0x1400854a0
cmp ebx, 5
je 0x1400854a0
cmp ebx, 6
jne 0x140085d5d
cmp qword [rbp], 0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x50], r12
mov r12, qword [rbp + 0x28]
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r14
mov rax, qword [r12 + 8]
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x80], 0
mov rcx, qword [rax]
mov rax, qword [rbp + 8]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov qword [rsp + 0x98], rax
je 0x140085504
mov rax, qword [r12 + 8]
cmp byte [rax + 0x24], 2
jne 0x140085504
mov ebx, 5
jmp 0x14008570c
xor ebx, ebx
cmp byte [r12 + 0x10], bl
jne 0x14008570c
mov rdi, qword [r12 + 8]
cmp byte [r12 + 0x11], bl
je 0x140085531
inc dword [r12 + 0x14]
cmp byte [r12 + 0x12], bl
jne 0x140085531
mov rcx, r12
call fcn.140077bd0
movzx eax, byte [r12 + 0x10]
cmp al, 2
je 0x1400856e2
cmp al, 1
je 0x1400856e2
mov rax, qword [r12]
bt dword [rax + 0x30], 0x19
jae 0x140085563
mov rax, qword [rdi]
cmp byte [rax + 0x12], bl
jne 0x140085563
mov eax, 0xfffe
and word [rdi + 0x26], ax
movzx ecx, word [rdi + 0x26]
test cl, cl
jns 0x14008557e
mov rax, qword [rdi + 0x78]
cmp qword [rax], rbx
je 0x14008557e
mov ebx, delete[]
jmp 0x1400856e2
mov rax, qword [r12 + 8]
cmp byte [r12 + 0x11], bl
je 0x1400855ca
cmp qword [rax + 0x78], r12
je 0x1400855a0
test byte [rax + 0x26], 0x40
je 0x1400855a0
mov ebx, delete[]
jmp 0x1400856e2
mov rax, qword [rax + 0x70]
test rax, rax
je 0x1400855ca
nop dword [rax]
cmp qword [rax], r12
je 0x1400855c1
cmp dword [rax + 8], 1
jne 0x1400855c1
cmp byte [rax + 0xc], 1
jne 0x1400855fb
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400855b0
mov eax, 0xffef
and cx, ax
cmp dword [rdi + 0x3c], 0
mov word [rdi + 0x26], cx
jne 0x1400855e4
or cx, 0x10
mov word [rdi + 0x26], cx
cmp qword [rdi + 0x18], 0
jne 0x140085605
mov rcx, rdi
call fcn.14007ab20
mov ebx, eax
test eax, eax
je 0x1400855e4
jmp 0x140085609
mov ebx, delete[]
jmp 0x1400856e2
test ebx, ebx
je 0x140085643
cmp byte [rdi + 0x24], 0
jne 0x140085643
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140085643
mov qword [rdi + 0x18], 0
mov rcx, qword [rcx + 0x70]
mov rsi, qword [rcx + 0x28]
call fcn.14006ca50
mov r11, qword [rsi + 0x118]
cmp dword [r11 + 0x18], 0
jne 0x140085643
mov rcx, rsi
call fcn.14006f6d0
cmp bl, 5
jne 0x1400856a5
cmp byte [rdi + 0x24], 0
jne 0x1400856a5
mov rax, qword [rdi]
mov rsi, qword [rdi + 8]
mov r8, qword [rax + 0x48]
mov rax, qword [rsi + 0x228]
test rax, rax
je 0x1400856a5
mov edx, dword [rsi + 0x238]
test edx, edx
js 0x1400856a5
cmp byte [rsi + 0x23c], 0
je 0x140085683
mov rcx, qword [rsi + 0x230]
call rax
jmp 0x14008568c
mov rcx, qword [rsi + 0x230]
call rax
test eax, eax
je 0x14008569b
inc dword [rsi + 0x238]
jmp 0x1400855e4
mov dword [rsi + 0x238], 0xffffffff
test ebx, ebx
jne 0x1400856e2
cmp byte [r12 + 0x10], bl
jne 0x1400856d2
inc dword [rdi + 0x38]
cmp byte [r12 + 0x11], bl
je 0x1400856d2
mov byte [r12 + 0x3c], 1
mov rax, qword [rdi + 0x70]
mov qword [r12 + 0x40], rax
lea rax, [r12 + 0x30]
mov qword [rdi + 0x70], rax
mov byte [r12 + 0x10], 1
cmp byte [rdi + 0x24], 1
jae 0x1400856e2
mov byte [rdi + 0x24], 1
cmp byte [r12 + 0x11], 0
je 0x1400856fa
add dword [r12 + 0x14], 0xffffffff
jne 0x1400856fa
mov rcx, r12
call fcn.140077ba0
mov edi, dword [rsp + 0x88]
mov dword [rsp + 0x80], 1
cmp dword [rbp + 0x14], 0
mov esi, 7
jne 0x14008572b
test ebx, ebx
jne 0x140085754
mov rcx, rbp
call fcn.140084f30
cmp eax, esi
jne 0x14008572f
mov ebx, esi
jmp 0x140085754
test ebx, ebx
jne 0x140085754
cmp dword [rbp + 0x14], 0
jne 0x140085754
mov rcx, qword [rbp + 8]
lea r8, [rbp + 0x10]
mov edx, 2
call fcn.14007af60
mov ebx, eax
test eax, eax
jne 0x140085754
mov dword [rbp + 0x14], 1
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 8]
mov rax, qword [rbp + 8]
mov rax, qword [rax + 8]
movsxd r14, dword [rcx + 0x30]
mov r15d, dword [rax + 0x30]
mov rax, qword [rax]
movzx r13d, byte [rax + 9]
test ebx, ebx
jne 0x140085789
cmp r13d, 5
jne 0x140085789
mov eax, 8
cmp r14d, r15d
cmovne ebx, eax
mov r12d, dword [rcx + 0x3c]
xor esi, esi
nop
test edi, edi
js 0x140085798
cmp esi, edi
jge 0x140085810
mov edi, dword [rbp + 0x18]
cmp edi, r12d
ja 0x140085810
test ebx, ebx
jne 0x140085856
mov rax, qword [rbp + 0x28]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, dword [0x14017d440]
div dword [rcx + 0x30]
inc eax
cmp edi, eax
je 0x140085802
mov rax, qword [rsp + 0x28]
lea r9d, [rbx + 2]
lea r8, [rsp + 0x20]
mov rcx, rax
mov edx, edi
call qword [rax + delete[]]
mov ebx, eax
test eax, eax
jne 0x140085802
mov rax, qword [rsp + 0x20]
xor r9d, r9d
mov edx, edi
mov r8, qword [rax + 8]
mov rcx, rbp
call fcn.1400851e0
mov rcx, qword [rsp + 0x20]
mov ebx, eax
call fcn.140073030
inc dword [rbp + 0x18]
mov edi, dword [rsp + 0x88]
inc esi
jmp 0x140085790
test ebx, ebx
jne 0x140085856
mov ecx, dword [rbp + 0x18]
mov eax, r12d
mov dword [rbp + 0x38], r12d
sub eax, ecx
inc eax
mov dword [rbp + 0x34], eax
cmp ecx, r12d
ja 0x14008585f
cmp dword [rbp + 0x3c], ebx
jne 0x140085c03
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 8]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x70]
mov qword [rbp + 0x40], rax
mov qword [rdx + 0x70], rbp
mov dword [rbp + 0x3c], 1
jmp 0x140085c03
cmp ebx, 0x65
jne 0x140085c03
test r12d, r12d
jne 0x1400858b8
mov rdi, qword [rbp + 8]
cmp byte [rdi + 0x11], r12b
je 0x14008587f
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], r12b
jne 0x14008587f
mov rcx, rdi
call fcn.140077bd0
mov rax, qword [rdi + 8]
mov dword [rax + 0x3c], 0
mov rcx, qword [rdi + 8]
call fcn.14007ae30
cmp byte [rdi + 0x11], 0
mov ebx, eax
je 0x1400858a9
add dword [rdi + 0x14], 0xffffffff
jne 0x1400858a9
mov rcx, rdi
call fcn.140077ba0
mov r12d, 1
test ebx, ebx
je 0x1400858b8
cmp ebx, 0x65
jne 0x1400858cf
mov r8d, dword [rbp + 0x10]
mov rcx, qword [rbp + 8]
mov edx, 1
inc r8d
call fcn.140083080
mov ebx, eax
test ebx, ebx
jne 0x140085c03
mov rcx, qword [rbp]
test rcx, rcx
je 0x1400858e5
call fcn.1400b2c40
cmp r13d, 5
jne 0x140085902
mov rcx, qword [rbp + 8]
lea edx, [r13 - 3]
call fcn.140084820
mov ebx, eax
test eax, eax
jne 0x140085c03
cmp r14d, r15d
jge 0x140085937
mov eax, r15d
cdq
idiv r14d
mov ecx, eax
lea eax, [rax + r12 - 1]
cdq
idiv ecx
xor edx, edx
mov edi, eax
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 8]
mov eax, dword [0x14017d440]
div dword [rcx + 0x30]
inc eax
cmp edi, eax
jne 0x140085944
dec edi
jmp 0x140085944
mov eax, r14d
cdq
idiv r15d
mov edi, eax
imul edi, r12d
cmp r14d, r15d
jge 0x140085b69
mov r10, qword [rsp + 0x98]
mov r13, r14
movsxd r14, r12d
mov r12, qword [r10 + 0x48]
mov esi, dword [r10 + 0x1c]
imul r14, r13
cmp edi, esi
ja 0x1400859ce
mov rax, qword [rbp + 8]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, dword [0x14017d440]
div dword [rcx + 0x30]
inc eax
cmp edi, eax
je 0x1400859c6
lea r8, [rsp + 0x20]
xor r9d, r9d
mov edx, edi
mov rcx, r10
call qword [r10 + delete[]]
mov ebx, eax
test eax, eax
jne 0x1400859be
mov rcx, qword [rsp + 0x20]
call fcn.1400737c0
mov rcx, qword [rsp + 0x20]
mov ebx, eax
call fcn.140073030
mov r10, qword [rsp + 0x98]
jmp 0x1400859c6
mov r10, qword [rsp + 0x98]
inc edi
test ebx, ebx
je 0x140085967
jmp 0x1400859e2
test ebx, ebx
jne 0x1400859e2
lea r8d, [rbx + 1]
xor edx, edx
mov rcx, r10
call fcn.140073980
mov ebx, eax
mov edx, dword [0x14017d440]
mov rsi, r14
lea eax, [rdx + r15]
mov r15d, r13d
movsxd rcx, eax
lea eax, [rdx + r13]
cmp rcx, r14
movsxd rdi, eax
cmovl rsi, rcx
test ebx, ebx
jne 0x140085c03
nop dword [rax + rax]
cmp rdi, rsi
jge 0x140085adc
mov rax, rdi
lea r8, [rsp + 0x90]
xor r9d, r9d
cqo
mov qword [rsp + 0x90], 0
idiv r13
lea edx, [rax + 1]
mov rax, qword [rsp + 0x28]
mov rcx, rax
call qword [rax + delete[]]
mov ebx, eax
test eax, eax
jne 0x140085a6e
mov rax, qword [rsp + 0x90]
mov r10, qword [r12]
mov r9, rdi
mov rdx, qword [rax + 8]
mov r8d, r15d
mov rcx, r12
call qword [r10 + 0x18]
mov ebx, eax
mov r8, qword [rsp + 0x90]
test r8, r8
je 0x140085acc
test byte [r8 + 0x34], 0x20
je 0x140085ac4
mov r10, qword [r8 + 0x28]
dec dword [r10 + 0x98]
mov rax, qword [r10 + 0xa8]
mov qword [r8 + 0x20], rax
mov rcx, qword [r10 + 0x48]
movsxd rax, dword [r10 + 0xbc]
mov qword [r10 + 0xa8], r8
mov edx, dword [r8 + 0x30]
mov r9, qword [rcx]
mov r8, qword [r8 + 8]
dec edx
imul rdx, rax
call qword [r9 + 0x90]
jmp 0x140085acc
mov rcx, r8
call fcn.14006ca50
add rdi, r13
test ebx, ebx
je 0x140085a10
jmp 0x140085c03
test ebx, ebx
jne 0x140085c03
mov rax, qword [r12]
lea rdx, [rsp + 0x90]
mov rcx, r12
call qword [rax + 0x30]
mov ebx, eax
test eax, eax
jne 0x140085b15
cmp qword [rsp + 0x90], r14
jle 0x140085b15
mov rax, qword [r12]
mov rdx, r14
mov rcx, r12
call qword [rax + 0x20]
mov ebx, eax
test ebx, ebx
jne 0x140085c03
mov rdi, qword [rsp + 0x98]
mov rcx, qword [rdi + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x140085b47
lea edx, [rbx + 0x15]
xor r8d, r8d
call qword [rax + 0x50]
mov ebx, eax
cmp eax, 0xc
je 0x140085b47
test eax, eax
jne 0x140085b83
jmp 0x140085b49
xor ebx, ebx
cmp byte [rdi + 0xb], 0
jne 0x140085b83
movzx edx, byte [rdi + 0xe]
mov rcx, qword [rdi + 0x48]
test edx, edx
je 0x140085b65
mov rax, qword [rcx]
call qword [rax + 0x28]
mov ebx, eax
jmp 0x140085b83
xor ebx, ebx
jmp 0x140085b83
mov rax, qword [rsp + 0x98]
xor r8d, r8d
xor edx, edx
mov rcx, rax
mov dword [rax + 0x1c], edi
call fcn.140073980
mov ebx, eax
test ebx, ebx
jne 0x140085c03
mov rdi, qword [rbp + 8]
cmp byte [rdi + 0x10], bl
je 0x140085bfe
cmp byte [rdi + 0x11], bl
je 0x140085ba5
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], bl
jne 0x140085ba5
mov rcx, rdi
call fcn.140077bd0
cmp byte [rdi + 0x10], 2
jne 0x140085be2
mov rsi, qword [rdi + 8]
mov rcx, qword [rsi]
call fcn.140073bc0
mov ebx, eax
test eax, eax
je 0x140085bd3
cmp byte [rdi + 0x11], 0
je 0x140085c03
add dword [rdi + 0x14], 0xffffffff
jne 0x140085c03
mov rcx, rdi
call fcn.140077ba0
jmp 0x140085c03
dec dword [rdi + 0x1c]
mov rcx, rsi
mov byte [rsi + 0x24], 1
call fcn.140077f60
mov rcx, rdi
call fcn.14007bec0
cmp byte [rdi + 0x11], 0
je 0x140085bfe
add dword [rdi + 0x14], 0xffffffff
jne 0x140085bfe
mov rcx, rdi
call fcn.140077ba0
mov ebx, 0x65
cmp dword [rsp + 0x80], 0
mov r15, qword [rsp + 0x38]
je 0x140085d38
mov rcx, qword [rbp + 0x28]
xor edx, edx
call fcn.14007be10
mov rdi, qword [rbp + 0x28]
cmp byte [rdi + 0x10], 0
je 0x140085d38
cmp byte [rdi + 0x11], 0
je 0x140085c46
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], 0
jne 0x140085c46
mov rcx, rdi
call fcn.140077bd0
cmp byte [rdi + 0x10], 2
jne 0x140085d1c
mov r14, qword [rdi + 8]
mov rcx, qword [r14]
call fcn.140073bc0
test eax, eax
je 0x140085c81
cmp byte [rdi + 0x11], 0
je 0x140085d38
add dword [rdi + 0x14], 0xffffffff
jne 0x140085d38
mov rcx, rdi
call fcn.140077ba0
jmp 0x140085d38
dec dword [rdi + 0x1c]
mov r13, qword [r14 + 0x58]
mov byte [r14 + 0x24], 1
test r13, r13
je 0x140085d14
cmp dword [r13 + 8], 0
je 0x140085cb9
lea rsi, [r13 + 0x10]
mov r12d, 0x3e
mov rcx, qword [rsi]
call fcn.14006c5e0
add rsi, 8
sub r12, 1
jne 0x140085ca7
cmp dword [reloc.Languages.dll_Ordinal_1], 0
je 0x140085d0b
mov rcx, qword [0x14018af18]
test rcx, rcx
je 0x140085cd4
call qword [0x14017d320]
mov rcx, r13
call qword [0x14017d2d8]
dec qword [0x14018aea8]
mov rcx, r13
movsxd rdx, eax
sub qword [0x14018ae60], rdx
call qword [0x14017d2c8]
mov rcx, qword [0x14018af18]
test rcx, rcx
je 0x140085d14
call qword [0x14017d330]
jmp 0x140085d14
mov rcx, r13
call qword [0x14017d2c8]
mov qword [r14 + 0x58], 0
mov rcx, rdi
call fcn.14007bec0
cmp byte [rdi + 0x11], 0
je 0x140085d38
add dword [rdi + 0x14], 0xffffffff
jne 0x140085d38
mov rcx, rdi
call fcn.140077ba0
mov r14, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
cmp ebx, 0xc0a
mov eax, 7
cmove ebx, eax
mov dword [rbp + 0x30], ebx
mov rax, qword [rbp]
mov rdi, qword [rsp + 0x58]
test rax, rax
je 0x140085d7a
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140085d7a
call qword [0x14017d330]
mov rcx, qword [rbp + 0x28]
cmp byte [rcx + 0x11], 0
je 0x140085d8f
add dword [rcx + 0x14], 0xffffffff
jne 0x140085d8f
call fcn.140077ba0
mov rcx, qword [rbp + 0x20]
mov rbp, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x140085da7
call qword [0x14017d330]
mov eax, ebx
add rsp, 0x70
pop rbx
ret