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

Disassembly:
push rbx
push rdi
sub rsp, 0x28
cmp word [rdx + 0x38], 0xef53
mov rdi, rdx
mov rbx, rcx
jne 0x10026137
mov eax, dword [rdx + 0x18]
mov dword [rcx], eax
mov eax, dword [rdx + 0x1c]
test eax, eax
mov dword [rcx + 4], eax
je 0x10025f1c
cmp dword [rcx], eax
jne 0x10026137
mov eax, dword [rcx]
cmp eax, 6
ja 0x10026137
lea ecx, [rax + 0xa]
mov dword [rbx], ecx
mov eax, dword [rdx]
mov dword [rbx + 8], eax
cmp dword [rbx + 8], 2
mov eax, dword [rdx + 4]
mov qword [rbx + 0x10], rax
mov eax, dword [rdx + 0xc]
mov qword [rbx + 0x18], rax
mov eax, dword [rdx + 0x10]
mov dword [rbx + 0x20], eax
jb 0x10026137
cmp dword [rbx + 8], eax
jbe 0x10026137
xor eax, eax
cmp ecx, 0xa
sete al
cmp dword [rdx + 0x14], eax
jne 0x10026137
mov eax, dword [rdx + 0x20]
mov dword [rbx + 0x24], eax
mov eax, dword [rdx + 0x24]
cmp dword [rbx + 0x24], eax
mov dword [rbx + 0x28], eax
jne 0x10026137
cmp dword [rbx + 0x24], 0
je 0x10026137
mov eax, dword [rdx + 0x28]
cmp eax, 1
mov dword [rbx + 0x2c], eax
jb 0x10026137
cmp eax, dword [rbx + 8]
ja 0x10026137
mov eax, dword [rdx + 0x2c]
mov dword [rbx + 0x30], eax
mov eax, dword [rdx + 0x30]
mov dword [rbx + 0x34], eax
mov eax, dword [rdx + 0x40]
mov dword [rbx + 0x38], eax
mov eax, dword [rdx + 0x48]
mov dword [rbx + 0x3c], eax
mov eax, dword [rdx + 0x4c]
mov dword [rbx + 0x44], 0xb
cmp eax, 0
mov dword [rbx + 0x40], eax
mov word [rbx + 0x48], 0x80
je 0x10026028
mov eax, dword [rdx + 0x54]
cmp eax, 0xb
mov dword [rbx + 0x44], eax
movzx edx, word [rdx + 0x58]
mov word [rbx + 0x48], dx
jb 0x10026137
mov eax, 1
movzx r8d, dx
shl eax, cl
cmp r8d, eax
ja 0x10026137
cmp dx, 0x80
jb 0x10026137
xor ecx, ecx
mov eax, 1
shl eax, cl
cmp eax, r8d
je 0x10026020
inc ecx
cmp ecx, 0x20
jb 0x10026008
mov ecx, 0xffffffff
test ecx, ecx
js 0x10026137
movzx eax, word [rdi + 0x5a]
lea rdx, [rdi + 0x68]
lea rcx, [rbx + 0x58]
mov word [rbx + 0x4a], ax
mov eax, dword [rdi + 0x5c]
mov r8d, 0x10
mov dword [rbx + 0x4c], eax
mov eax, dword [rdi + 0x60]
mov dword [rbx + 0x50], eax
mov eax, dword [rdi + 0x64]
mov dword [rbx + 0x54], eax
call sub.msvcrt.dll_memcpy
lea rdx, [rdi + 0x78]
lea rcx, [rbx + 0x68]
mov r8d, 0x10
call sub.msvcrt.dll_memcpy
lea rdx, [rdi + 0x88]
lea rcx, [rbx + 0x78]
mov r8d, 0x40
call sub.msvcrt.dll_memcpy
mov r11d, dword [rdi + 0xe0]
mov dword [rbx + 0xb8], r11d
movzx eax, word [rdi + 0xfe]
mov word [rbx + 0xbc], ax
mov eax, dword [rdi + 0x108]
mov dword [rbx + 0xc0], eax
mov eax, dword [rbx + 0x50]
shr eax, 7
test al, 1
je 0x100260cc
mov eax, dword [rdi + 0x150]
shl rax, 0x20
or qword [rbx + 0x10], rax
mov eax, dword [rdi + 0x158]
shl rax, 0x20
or qword [rbx + 0x18], rax
mov r9, qword [rbx + 0x10]
mov eax, 0x3f
mov edx, 1
sub eax, dword [rbx]
mov cl, al
shl rdx, cl
cmp r9, rdx
jae 0x10026137
cmp r9, 1
movzx eax, word [rdi + 0x15c]
mov word [rbx + 0xc4], ax
mov rax, qword [rdi + 0x178]
mov qword [rbx + 0xc8], rax
jb 0x10026137
cmp qword [rbx + 0x18], r9
ja 0x10026137
mov ecx, dword [rbx + 0x2c]
mov eax, dword [rbx + 8]
mov r8d, dword [rbx + 0x24]
lea rax, [rax + rcx - 1]
xor edx, edx
div rcx
xor edx, edx
mov rcx, rax
lea rax, [r8 + r9 - 1]
div r8
cmp rax, rcx
sete al
jmp 0x10026139
xor al, al
add rsp, 0x28
pop rdi
pop rbx
ret