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

Disassembly:
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x58
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
xor eax, eax
mov word [rsp + 0x24], ax
cmp qword [rsp + 0x78], 0
jne 0x18025c161
mov rcx, qword [rsp + 0x70]
call fcn.18025c840
xor eax, eax
jmp 0x18025c43e
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x18025c187
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov ecx, 4
imul rcx, rcx, 0
mov eax, dword [rax + rcx + 0x68]
mov dword [rsp + 0x28], eax
jmp 0x18025c18f
mov dword [rsp + 0x28], 0x3b9aca00
movzx eax, byte [rsp + 0x88]
test eax, eax
jne 0x18025c1a5
mov dword [rsp + 0x30], 0x10
jmp 0x18025c1ad
mov dword [rsp + 0x30], 2
movzx eax, word [rsp + 0x30]
mov word [rsp + 0x24], ax
cmp dword [rsp + 0x20], 0
jge 0x18025c258
movzx eax, byte [rsp + 0x88]
cmp eax, 1
jne 0x18025c203
mov dword [rsp + 0x20], 0
jmp 0x18025c1e3
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x20], eax
jg 0x18025c201
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x78]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x18025c201
jmp 0x18025c1d9
jmp 0x18025c24a
mov dword [rsp + 0x20], 0
jmp 0x18025c218
mov eax, dword [rsp + 0x20]
add eax, 2
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x20], eax
jg 0x18025c24a
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x78]
movsx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x20]
inc ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x78]
movsx ecx, byte [rdx + rcx]
or eax, ecx
test eax, eax
je 0x18025c24a
jmp 0x18025c20d
movzx eax, word [rsp + 0x24]
bts eax, 9
mov word [rsp + 0x24], ax
cmp qword [rsp + 0x90], 0xffffffffffffffff
jne 0x18025c2fc
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c], eax
movzx eax, word [rsp + 0x24]
and eax, 0x200
test eax, eax
je 0x18025c2ac
movzx eax, byte [rsp + 0x88]
cmp eax, 1
jne 0x18025c294
mov dword [rsp + 0x3c], 1
jmp 0x18025c29c
mov dword [rsp + 0x3c], 2
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x20], eax
jle 0x18025c2c0
mov eax, 0x12
jmp 0x18025c43e
xor r8d, r8d
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x70]
call fcn.18025d1a4
test eax, eax
je 0x18025c2df
mov eax, 7
jmp 0x18025c43e
movsxd rax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x70]
mov rdi, qword [rcx + 8]
mov rsi, qword [rsp + 0x78]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
jmp 0x18025c396
lea rax, [fcn.1802879b8]
cmp qword [rsp + 0x90], rax
jne 0x18025c342
mov rcx, qword [rsp + 0x70]
call fcn.18025cc3c
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x28], 0
jmp 0x18025c396
mov rcx, qword [rsp + 0x70]
call fcn.18025cc3c
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x90]
mov qword [rax + 0x28], rcx
cmp qword [rsp + 0x90], 0
jne 0x18025c380
mov dword [rsp + 0x34], 0x800
jmp 0x18025c388
mov dword [rsp + 0x34], 0x400
movzx eax, word [rsp + 0x24]
or eax, dword [rsp + 0x34]
mov word [rsp + 0x24], ax
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x20], ecx
mov rax, qword [rsp + 0x70]
movzx ecx, word [rsp + 0x24]
mov word [rax + 0x24], cx
movzx eax, byte [rsp + 0x88]
test eax, eax
jne 0x18025c3c6
mov dword [rsp + 0x38], 1
jmp 0x18025c3d2
movzx eax, byte [rsp + 0x88]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x70]
mov cl, byte [rsp + 0x38]
mov byte [rax + 0x27], cl
movzx eax, byte [rsp + 0x88]
test eax, eax
jne 0x18025c3f4
mov dword [rsp + 0x40], 4
jmp 0x18025c3fc
mov dword [rsp + 0x40], 3
mov rax, qword [rsp + 0x70]
mov cl, byte [rsp + 0x40]
mov byte [rax + 0x26], cl
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x27]
cmp eax, 1
je 0x18025c42b
mov rcx, qword [rsp + 0x70]
call fcn.180283dc4
test eax, eax
je 0x18025c42b
mov eax, 7
jmp 0x18025c43e
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x20], eax
jle 0x18025c43c
mov eax, 0x12
jmp 0x18025c43e
xor eax, eax
add rsp, 0x58
pop rdi
pop rsi
ret