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

Disassembly:
push rbp
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x80]
mov qword [rbp - 0x40], rcx
mov dword [rbp - 0x38], edx
mov dword [rbp - 0x30], r8d
mov dword [rbp - 0x28], r9d
cmp dword [rbp - 0x38], 0
jle 0x43ac67
cmp dword [rbp - 0x30], 0
jg 0x43ac71
mov eax, 0
jmp 0x43b21b
call fcn.0043a33e
mov dword [0x00c5a538], eax
mov rcx, qword [0x00724a28]
mov eax, dword [0x00c5a538]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 6
add rax, rcx
mov qword [0x00c5a540], rax
mov rax, qword [0x00c5a540]
mov rdx, qword [rbp - 0x40]
mov qword [rax + 0x40], rdx
mov rax, qword [0x00c5a540]
mov edx, dword [rbp - 0x38]
mov word [rax + 0x14], dx
mov rax, qword [0x00c5a540]
mov edx, dword [rbp - 0x30]
mov word [rax + 0x16], dx
mov rax, qword [0x00c5a540]
mov byte [rax + 0x18], 1
mov rax, qword [0x00c5a540]
mov dword [rax + 0x30], 0x10
mov rax, qword [0x00c5a540]
mov dword [rax + 0x24], 0xf
mov rax, qword [0x00c5a540]
mov edx, dword [rbp - 0x28]
mov word [rax + 0x20], dx
mov rax, qword [0x00c5a540]
mov byte [rax + 0x5e], 3
mov rax, qword [0x00c5a540]
pxor xmm0, xmm0
movsd qword [rax + 0xa8], xmm0
mov rax, qword [0x00c5a540]
movsd xmm0, qword [0x005b6d58]
movsd qword [rax + 0xb0], xmm0
cmp dword [rbp - 0x28], 9
je 0x43aebe
cmp dword [rbp - 0x28], 9
jg 0x43ad86
cmp dword [rbp - 0x28], 2
je 0x43ae56
cmp dword [rbp - 0x28], 2
jg 0x43ad6d
cmp dword [rbp - 0x28], 0
je 0x43add5
cmp dword [rbp - 0x28], 1
je 0x43ae2a
jmp 0x43af8c
cmp dword [rbp - 0x28], 7
je 0x43ae82
cmp dword [rbp - 0x28], 8
je 0x43aea0
jmp 0x43af8c
cmp dword [rbp - 0x28], 0xc
je 0x43af23
cmp dword [rbp - 0x28], 0xc
jg 0x43adaf
cmp dword [rbp - 0x28], 0xa
je 0x43aedc
cmp dword [rbp - 0x28], 0xb
je 0x43af08
jmp 0x43af8c
cmp dword [rbp - 0x28], 0x20
je 0x43af58
cmp dword [rbp - 0x28], 0x100
je 0x43af4b
cmp dword [rbp - 0x28], 0xd
je 0x43af30
jmp 0x43af8c
mov rax, qword [0x00c5a540]
mov byte [rax + 0x19], 0x10
mov rax, qword [0x00c5a540]
mov byte [rax + 0x18], 2
mov rax, qword [0x00c5a540]
mov dword [rax + 0x24], 7
mov rax, qword [0x00c5a540]
mov byte [rax + 0x11], 1
mov rax, qword [0x00c5a540]
mov byte [rax + 0x3c], 0
mov rax, qword [0x00c5a540]
mov byte [rax + 0x3d], 4
mov rax, qword [0x00c5a540]
mov byte [rax + 0x3e], 4
jmp 0x43af96
mov rax, qword [0x00c5a540]
mov byte [rax + 0x19], 2
mov rax, qword [0x00c5a540]
mov dword [rax + 0x30], 8
mov rax, qword [0x00c5a540]
mov dword [rax + 0x24], 3
jmp 0x43af96
mov rax, qword [0x00c5a540]
mov byte [rax + 0x19], 1
mov rax, qword [0x00c5a540]
mov dword [rax + 0x30], 8
mov rax, qword [0x00c5a540]
mov dword [rax + 0x24], 1
jmp 0x43af96
mov rax, qword [0x00c5a540]
mov byte [rax + 0x19], 4
mov rax, qword [0x00c5a540]
mov dword [rax + 0x30], 8
jmp 0x43af96
mov rax, qword [0x00c5a540]
mov byte [rax + 0x19], 4
mov rax, qword [0x00c5a540]
mov dword [rax + 0x30], 8
jmp 0x43af96
mov rax, qword [0x00c5a540]
mov byte [rax + 0x19], 4
mov rax, qword [0x00c5a540]
mov dword [rax + 0x30], 0xe
jmp 0x43af96
mov rax, qword [0x00c5a540]
mov byte [rax + 0x19], 2
mov rax, qword [0x00c5a540]
mov dword [rax + 0x30], 0xe
mov rax, qword [0x00c5a540]
mov dword [rax + 0x24], 3
jmp 0x43af96
mov rax, qword [0x00c5a540]
mov byte [rax + 0x19], 1
mov rax, qword [0x00c5a540]
mov dword [rax + 0x24], 1
jmp 0x43af96
mov rax, qword [0x00c5a540]
mov byte [rax + 0x19], 4
jmp 0x43af96
mov rax, qword [0x00c5a540]
mov byte [rax + 0x19], 8
mov rax, qword [0x00c5a540]
mov dword [rax + 0x30], 8
jmp 0x43af96
mov rax, qword [0x00c5a540]
mov byte [rax + 0x19], 8
jmp 0x43af96
mov rax, qword [0x00c5a540]
mov byte [rax + 0x19], 0x20
mov rax, qword [0x00c5a540]
mov byte [rax + 0x18], 4
mov rax, qword [0x00c5a540]
mov dword [rax + 0x24], 0xffffffff
mov rax, qword [0x00c5a540]
mov dword [rax + 0x28], 0xff000000
jmp 0x43af96
mov eax, 0
jmp 0x43b21b
mov rdx, qword [0x00c5a540]
mov rax, qword [0x00c5a540]
mov edx, dword [rdx + 0x24]
mov dword [rax + 0x2c], edx
cmp dword [rbp - 0x28], 0x20
je 0x43b025
mov rbx, qword [0x00c5a540]
mov edx, 4
mov ecx, 0x100
call sub.msvcrt.dll_calloc
mov qword [rbx + 0x50], rax
mov rax, qword [0x00c5a540]
mov rax, qword [rax + 0x50]
test rax, rax
jne 0x43aff1
mov eax, dword [0x00c5a538]
mov ecx, eax
call fcn.0043a4ec
mov eax, 0
jmp 0x43b21b
mov rax, qword [0x00c5a540]
mov edx, dword [rax + 0x48]
mov rax, qword [0x00c5a540]
or edx, 1
mov dword [rax + 0x48], edx
mov rax, qword [0x00c5a540]
mov rcx, rax
call fcn.00439d10
mov rax, qword [0x00c5a540]
mov dword [rax + 0x58], 0xffffffff
mov rax, qword [0x00c5a540]
movzx eax, byte [rax + 0x19]
cmp al, 0x1f
ja 0x43b05c
mov rax, qword [0x00c5a540]
movzx eax, byte [rax + 0x19]
movzx eax, al
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
lea edx, [rax - 1]
mov rax, qword [0x00c5a540]
mov dword [rax + 0x1c], edx
jmp 0x43b06a
mov rax, qword [0x00c5a540]
mov dword [rax + 0x1c], 0xffffffff
mov rax, qword [0x00c5a540]
mov word [rax + 0x38], 1
mov rax, qword [0x00c5a540]
mov word [rax + 0x3a], 1
mov rax, qword [0x00c5a540]
mov word [rax + 0x34], 1
cmp dword [rbp - 0x28], 0
je 0x43b0c5
mov rax, qword [0x00c5a540]
movzx eax, word [rax + 0x16]
movzx eax, ax
mov rdx, qword [0x00c5a540]
mov ebx, dword [rdx + 0x30]
mov edx, 0
div ebx
mov edx, eax
mov rax, qword [0x00c5a540]
mov word [rax + 0x36], dx
jmp 0x43b0db
mov rax, qword [0x00c5a540]
movzx edx, word [rax + 0x16]
mov rax, qword [0x00c5a540]
mov word [rax + 0x36], dx
mov rax, qword [0x00c5a540]
movzx edx, word [rax + 0x36]
sub edx, 1
mov word [rax + 0x36], dx
mov rax, qword [0x00c5a540]
movzx eax, word [rax + 0x36]
test ax, ax
jg 0x43b10a
mov rax, qword [0x00c5a540]
mov word [rax + 0x36], 1
cmp dword [rbp - 0x28], 0
jne 0x43b11b
mov eax, dword [0x00c5a538]
jmp 0x43b21b
mov rax, qword [0x00c5a540]
movzx eax, word [rax + 0x14]
movzx eax, ax
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x005b6d78]
divsd xmm0, xmm1
mov rax, qword [0x00c5a540]
cvtsd2ss xmm0, xmm0
movss dword [rax + 0x78], xmm0
mov rax, qword [0x00c5a540]
movzx eax, word [rax + 0x16]
movzx eax, ax
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x005b6d78]
divsd xmm0, xmm1
mov rax, qword [0x00c5a540]
cvtsd2ss xmm0, xmm0
movss dword [rax + 0x7c], xmm0
mov rax, qword [0x00c5a540]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [0x00c5a540]
sub edx, 1
mov dword [rax + 0x68], edx
mov rax, qword [0x00c5a540]
movzx eax, word [rax + 0x16]
movzx edx, ax
mov rax, qword [0x00c5a540]
sub edx, 1
mov dword [rax + 0x6c], edx
mov rax, qword [0x00c5a540]
movss xmm0, dword [0x005b6d60]
movss dword [rax + 0x84], xmm0
mov rax, qword [0x00c5a540]
movss xmm0, dword [0x005b6d60]
movss dword [rax + 0x88], xmm0
mov rax, qword [0x00c5a540]
mov edx, dword [rax + 0x68]
mov rax, qword [0x00c5a540]
cvtsi2ss xmm0, edx
movss dword [rax + 0x9c], xmm0
mov rax, qword [0x00c5a540]
mov edx, dword [rax + 0x6c]
mov rax, qword [0x00c5a540]
cvtsi2ss xmm0, edx
movss dword [rax + 0xa0], xmm0
mov eax, dword [0x00c5a538]
add rsp, 0x28
pop rbx
pop rbp
ret