Function at 0x43a42e
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 0x43a457
cmp dword [rbp - 0x30], 0
jg 0x43a461
mov eax, 0
jmp 0x43aa0b
call fcn.00439b2e
mov dword [0x00c59538], eax
mov rcx, qword [0x00723a28]
mov eax, dword [0x00c59538]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 6
add rax, rcx
mov qword [0x00c59540], rax
mov rax, qword [0x00c59540]
mov rdx, qword [rbp - 0x40]
mov qword [rax + 0x40], rdx
mov rax, qword [0x00c59540]
mov edx, dword [rbp - 0x38]
mov word [rax + 0x14], dx
mov rax, qword [0x00c59540]
mov edx, dword [rbp - 0x30]
mov word [rax + 0x16], dx
mov rax, qword [0x00c59540]
mov byte [rax + 0x18], 1
mov rax, qword [0x00c59540]
mov dword [rax + 0x30], 0x10
mov rax, qword [0x00c59540]
mov dword [rax + 0x24], 0xf
mov rax, qword [0x00c59540]
mov edx, dword [rbp - 0x28]
mov word [rax + 0x20], dx
mov rax, qword [0x00c59540]
mov byte [rax + 0x5e], 3
mov rax, qword [0x00c59540]
pxor xmm0, xmm0
movsd qword [rax + 0xa8], xmm0
mov rax, qword [0x00c59540]
movsd xmm0, qword [0x005b5c78]
movsd qword [rax + 0xb0], xmm0
cmp dword [rbp - 0x28], 9
je 0x43a6ae
cmp dword [rbp - 0x28], 9
jg 0x43a576
cmp dword [rbp - 0x28], 2
je 0x43a646
cmp dword [rbp - 0x28], 2
jg 0x43a55d
cmp dword [rbp - 0x28], 0
je 0x43a5c5
cmp dword [rbp - 0x28], 1
je 0x43a61a
jmp 0x43a77c
cmp dword [rbp - 0x28], 7
je 0x43a672
cmp dword [rbp - 0x28], 8
je 0x43a690
jmp 0x43a77c
cmp dword [rbp - 0x28], 0xc
je 0x43a713
cmp dword [rbp - 0x28], 0xc
jg 0x43a59f
cmp dword [rbp - 0x28], 0xa
je 0x43a6cc
cmp dword [rbp - 0x28], 0xb
je 0x43a6f8
jmp 0x43a77c
cmp dword [rbp - 0x28], 0x20
je 0x43a748
cmp dword [rbp - 0x28], 0x100
je 0x43a73b
cmp dword [rbp - 0x28], 0xd
je 0x43a720
jmp 0x43a77c
mov rax, qword [0x00c59540]
mov byte [rax + 0x19], 0x10
mov rax, qword [0x00c59540]
mov byte [rax + 0x18], 2
mov rax, qword [0x00c59540]
mov dword [rax + 0x24], 7
mov rax, qword [0x00c59540]
mov byte [rax + 0x11], 1
mov rax, qword [0x00c59540]
mov byte [rax + 0x3c], 0
mov rax, qword [0x00c59540]
mov byte [rax + 0x3d], 4
mov rax, qword [0x00c59540]
mov byte [rax + 0x3e], 4
jmp 0x43a786
mov rax, qword [0x00c59540]
mov byte [rax + 0x19], 2
mov rax, qword [0x00c59540]
mov dword [rax + 0x30], 8
mov rax, qword [0x00c59540]
mov dword [rax + 0x24], 3
jmp 0x43a786
mov rax, qword [0x00c59540]
mov byte [rax + 0x19], 1
mov rax, qword [0x00c59540]
mov dword [rax + 0x30], 8
mov rax, qword [0x00c59540]
mov dword [rax + 0x24], 1
jmp 0x43a786
mov rax, qword [0x00c59540]
mov byte [rax + 0x19], 4
mov rax, qword [0x00c59540]
mov dword [rax + 0x30], 8
jmp 0x43a786
mov rax, qword [0x00c59540]
mov byte [rax + 0x19], 4
mov rax, qword [0x00c59540]
mov dword [rax + 0x30], 8
jmp 0x43a786
mov rax, qword [0x00c59540]
mov byte [rax + 0x19], 4
mov rax, qword [0x00c59540]
mov dword [rax + 0x30], 0xe
jmp 0x43a786
mov rax, qword [0x00c59540]
mov byte [rax + 0x19], 2
mov rax, qword [0x00c59540]
mov dword [rax + 0x30], 0xe
mov rax, qword [0x00c59540]
mov dword [rax + 0x24], 3
jmp 0x43a786
mov rax, qword [0x00c59540]
mov byte [rax + 0x19], 1
mov rax, qword [0x00c59540]
mov dword [rax + 0x24], 1
jmp 0x43a786
mov rax, qword [0x00c59540]
mov byte [rax + 0x19], 4
jmp 0x43a786
mov rax, qword [0x00c59540]
mov byte [rax + 0x19], 8
mov rax, qword [0x00c59540]
mov dword [rax + 0x30], 8
jmp 0x43a786
mov rax, qword [0x00c59540]
mov byte [rax + 0x19], 8
jmp 0x43a786
mov rax, qword [0x00c59540]
mov byte [rax + 0x19], 0x20
mov rax, qword [0x00c59540]
mov byte [rax + 0x18], 4
mov rax, qword [0x00c59540]
mov dword [rax + 0x24], 0xffffffff
mov rax, qword [0x00c59540]
mov dword [rax + 0x28], 0xff000000
jmp 0x43a786
mov eax, 0
jmp 0x43aa0b
mov rdx, qword [0x00c59540]
mov rax, qword [0x00c59540]
mov edx, dword [rdx + 0x24]
mov dword [rax + 0x2c], edx
cmp dword [rbp - 0x28], 0x20
je 0x43a815
mov rbx, qword [0x00c59540]
mov edx, 4
mov ecx, 0x100
call sub.msvcrt.dll_calloc
mov qword [rbx + 0x50], rax
mov rax, qword [0x00c59540]
mov rax, qword [rax + 0x50]
test rax, rax
jne 0x43a7e1
mov eax, dword [0x00c59538]
mov ecx, eax
call fcn.00439cdc
mov eax, 0
jmp 0x43aa0b
mov rax, qword [0x00c59540]
mov edx, dword [rax + 0x48]
mov rax, qword [0x00c59540]
or edx, 1
mov dword [rax + 0x48], edx
mov rax, qword [0x00c59540]
mov rcx, rax
call fcn.00439500
mov rax, qword [0x00c59540]
mov dword [rax + 0x58], 0xffffffff
mov rax, qword [0x00c59540]
movzx eax, byte [rax + 0x19]
cmp al, 0x1f
ja 0x43a84c
mov rax, qword [0x00c59540]
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 [0x00c59540]
mov dword [rax + 0x1c], edx
jmp 0x43a85a
mov rax, qword [0x00c59540]
mov dword [rax + 0x1c], 0xffffffff
mov rax, qword [0x00c59540]
mov word [rax + 0x38], 1
mov rax, qword [0x00c59540]
mov word [rax + 0x3a], 1
mov rax, qword [0x00c59540]
mov word [rax + 0x34], 1
cmp dword [rbp - 0x28], 0
je 0x43a8b5
mov rax, qword [0x00c59540]
movzx eax, word [rax + 0x16]
movzx eax, ax
mov rdx, qword [0x00c59540]
mov ebx, dword [rdx + 0x30]
mov edx, 0
div ebx
mov edx, eax
mov rax, qword [0x00c59540]
mov word [rax + 0x36], dx
jmp 0x43a8cb
mov rax, qword [0x00c59540]
movzx edx, word [rax + 0x16]
mov rax, qword [0x00c59540]
mov word [rax + 0x36], dx
mov rax, qword [0x00c59540]
movzx edx, word [rax + 0x36]
sub edx, 1
mov word [rax + 0x36], dx
mov rax, qword [0x00c59540]
movzx eax, word [rax + 0x36]
test ax, ax
jg 0x43a8fa
mov rax, qword [0x00c59540]
mov word [rax + 0x36], 1
cmp dword [rbp - 0x28], 0
jne 0x43a90b
mov eax, dword [0x00c59538]
jmp 0x43aa0b
mov rax, qword [0x00c59540]
movzx eax, word [rax + 0x14]
movzx eax, ax
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x005b5c98]
divsd xmm0, xmm1
mov rax, qword [0x00c59540]
cvtsd2ss xmm0, xmm0
movss dword [rax + 0x78], xmm0
mov rax, qword [0x00c59540]
movzx eax, word [rax + 0x16]
movzx eax, ax
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x005b5c98]
divsd xmm0, xmm1
mov rax, qword [0x00c59540]
cvtsd2ss xmm0, xmm0
movss dword [rax + 0x7c], xmm0
mov rax, qword [0x00c59540]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [0x00c59540]
sub edx, 1
mov dword [rax + 0x68], edx
mov rax, qword [0x00c59540]
movzx eax, word [rax + 0x16]
movzx edx, ax
mov rax, qword [0x00c59540]
sub edx, 1
mov dword [rax + 0x6c], edx
mov rax, qword [0x00c59540]
movss xmm0, dword [0x005b5c80]
movss dword [rax + 0x84], xmm0
mov rax, qword [0x00c59540]
movss xmm0, dword [0x005b5c80]
movss dword [rax + 0x88], xmm0
mov rax, qword [0x00c59540]
mov edx, dword [rax + 0x68]
mov rax, qword [0x00c59540]
cvtsi2ss xmm0, edx
movss dword [rax + 0x9c], xmm0
mov rax, qword [0x00c59540]
mov edx, dword [rax + 0x6c]
mov rax, qword [0x00c59540]
cvtsi2ss xmm0, edx
movss dword [rax + 0xa0], xmm0
mov eax, dword [0x00c59538]
add rsp, 0x28
pop rbx
pop rbp
ret