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

Disassembly:
mov rax, rsp
mov dword [rax + 0x18], r8d
mov qword [rax + 8], rcx
push rbx
push rsi
push r12
push r15
sub rsp, 0x58
xor r15d, r15d
mov r12d, r8d
mov r9d, r8d
mov dword [rax - 0x40], r15d
mov dword [rax - 0x48], 1
mov dword [rax - 0x50], r15d
mov dword [rax - 0x58], edx
mov ebx, edx
lea r8, [rax + 0x20]
xor edx, edx
mov rsi, rcx
mov dword [rax + 0x20], r15d
call fcn.0003cdd0
test eax, eax
jne 0x420f3
mov ecx, dword [rsp + 0x98]
mov qword [rsp + 0x88], rbp
call fcn.00014df0
test rax, rax
mov rbp, rax
jne 0x41de2
mov ebx, 0x20000005
jmp 0x420dc
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], 1
lea r8, [rsp + 0x98]
mov r9d, r12d
mov rdx, rax
mov rcx, rsi
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], ebx
call fcn.0003cdd0
test eax, eax
mov ebx, eax
jne 0x420dc
mov ecx, 0x4b0
mov qword [rsp + 0x50], rdi
call fcn.00014df0
test rax, rax
mov rdi, rax
jne 0x41e4a
lea r8, [0x00056d00]
lea ecx, [rbx + 1]
mov edx, 0x8000
call fcn.00025960
mov ebx, 0x20000005
jmp 0x41e87
mov dword [rax + 8], 0xfffffffe
mov qword [rax + 0x10], rsi
mov dword [rax + 0x58], r12d
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax + 0xc]
mov dword [rdi + 0x28], ecx
mov rcx, rdi
call fcn.0003f960
test eax, eax
mov ebx, eax
je 0x41ea5
lea r8, [0x00056cb0]
mov edx, 0x8000
mov ecx, 1
call fcn.00025960
test rdi, rdi
je 0x420d7
mov rcx, rdi
call fcn.0003fa60
mov rcx, rdi
call fcn.00011140
jmp 0x420d7
lea rcx, [rdi + 0x1c]
mov qword [rsp + 0x40], r14
call fcn.0002c770
mov rcx, qword [0x0005c6b0]
add rcx, 0xb848
call fcn.0002c790
cmp dword [rdi + 0x28], r15d
mov r14d, r15d
mov dword [rdi + 0x18], eax
jbe 0x41fcd
mov qword [rsp + 0x48], r13
mov r12, r15
lea rsi, [rbp + 0x38]
mov r13, r15
nop
nop
nop
mov rax, qword [rsi]
mov rdx, qword [rax + 0x10]
mov rax, qword [rdi + 0x48]
movzx ecx, byte [rdx + 2]
mov dword [r15 + rax], ecx
mov rax, qword [rdi + 0x50]
mov dword [r15 + rax], 0xffffffff
movzx eax, word [rbp + 8]
mov rcx, qword [rdi + 0x30]
mov word [r13 + rcx], ax
movzx eax, word [rbp + 0xa]
mov rcx, qword [rdi + 0x30]
mov word [r13 + rcx + 2], ax
movzx eax, byte [rbp + 4]
mov rcx, qword [rdi + 0x30]
mov byte [r13 + rcx + 4], al
movzx eax, byte [rbp + 5]
mov rcx, qword [rdi + 0x30]
mov byte [r13 + rcx + 5], al
movzx eax, byte [rdx + 5]
mov rcx, qword [rdi + 0x30]
mov byte [r13 + rcx + 6], al
movzx eax, byte [rdx + 6]
mov rcx, qword [rdi + 0x30]
mov byte [r13 + rcx + 7], al
mov rcx, qword [rdi + 0x30]
movzx eax, byte [rdx + 7]
mov byte [r13 + rcx + 8], al
mov rax, qword [rdi + 0x40]
mov rbx, qword [r12 + rax]
lea rcx, [rbx + 0x18]
mov qword [rbx + 8], 0
call fcn.0002c740
movzx r11d, byte [rbp + 7]
add r14d, 1
mov byte [rbx + 0x29], 0
mov byte [rbx + 0x28], 0
add r15, 4
mov word [rbx + 0x2a], r11w
add r13, 0xa
add r12, 8
add rsi, 8
cmp r14d, dword [rdi + 0x28]
jb 0x41ef0
mov r12d, dword [rsp + 0x90]
mov rsi, qword [rsp + 0x80]
mov r13, qword [rsp + 0x48]
xor r15d, r15d
mov rcx, rdi
call fcn.00037b50
mov rcx, rsi
mov qword [rsi + 0x60], rdi
call fcn.0003b740
cmp dword [rdi + 0x28], 0
mov r14, qword [rsp + 0x40]
mov esi, r15d
jbe 0x42067
mov rbx, r15
mov rax, qword [rdi + 0x48]
mov ecx, dword [rdi + 0x18]
xor r8d, r8d
mov edx, dword [rbx + rax]
call fcn.0003fbc0
test eax, eax
je 0x42031
mov rcx, qword [rdi + 0x48]
mov dword [rsp + 0x28], eax
lea r8, [0x00056c40]
mov r9d, dword [rbx + rcx]
mov edx, 0x8000
mov ecx, 1
mov qword [rsp + 0x20], r15
call fcn.00025960
jmp 0x4205b
mov rax, qword [rdi + 0x48]
mov r9d, dword [rdi + 0x18]
lea r8, [0x00056bf0]
mov eax, dword [rbx + rax]
mov edx, 0x8000
mov ecx, 4
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], eax
call fcn.00025960
add esi, 1
add rbx, 4
cmp esi, dword [rdi + 0x28]
jb 0x41ff2
mov ecx, 1
call fcn.0002a930
test rax, rax
mov rbx, rax
jne 0x4208f
lea r8, [0x00055cf0]
lea ecx, [rax + 4]
mov edx, 0x8000
call fcn.00025960
jmp 0x420d4
mov dword [rax + 4], 3
mov dword [rax + 8], 1
mov eax, dword [rdi + 0x18]
mov dword [rbx + 0x18], eax
mov rcx, qword [rdi + 0x30]
lea rdx, [0x00040770]
mov rax, qword [rcx]
xor r9d, r9d
mov qword [rbx + 0x3c], rax
movzx eax, word [rcx + 8]
mov rcx, rbx
mov word [rbx + 0x44], ax
mov r8d, dword [rdi + 0x18]
call fcn.0002b330
mov rcx, rbx
call fcn.0002a9a0
mov ebx, r15d
mov rdi, qword [rsp + 0x50]
test rbp, rbp
je 0x420e9
mov rcx, rbp
call fcn.00011140
mov rbp, qword [rsp + 0x88]
mov eax, ebx
add rsp, 0x58
pop r15
pop r12
pop rsi
pop rbx
ret