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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov rbx, qword [rcx + 0xf0]
mov rbp, rdx
mov rdx, qword [rbx + 0x1d0]
mov rsi, rcx
mov rdi, r8
mov rax, qword [rbx + 0xe8]
lea r14, [rbx + 0xb8]
cmp qword [rbp + 8], 0
mov r13, qword [rbx + 0xf0]
mov qword [rsp + 0x48], rdx
mov edx, dword [rbx + 0x1d8]
mov qword [rsp + 0x68], rax
mov r12, qword [rbx + 0xe0]
mov r15, qword [rbx + 0x150]
mov eax, dword [rbx + 0x158]
mov r10, qword [rbx + 0x200]
mov dword [rsp + 0x54], edx
mov r11d, dword [rbx + 0x208]
je 0x47a0f4
mov rdx, qword [rbp + 0x28]
sub edx, r12d
mov qword [rbp + 0x28], rdx
cmp qword [rbp + 0x10], 0
je 0x47a106
mov rdx, qword [rbp + 0x30]
sub edx, r12d
mov qword [rbp + 0x30], rdx
mov rdx, qword [rbp + 0x20]
test rdx, rdx
je 0x47a116
sub edx, r12d
mov qword [rbp + 0x20], rdx
mov dword [rsp + 0x60], eax
lea rax, [r13 - 1]
mov rcx, r13
xor r8d, r8d
mov qword [rsp + 0x40], rax
add rax, qword [rbp + 0x18]
neg rcx
mov qword [rsp + 0x38], rcx
lea r9, str..edata
mov dword [rsp + 0x64], r11d
mov qword [rsp + 0x58], r10
mov rdx, rax
and rdx, rcx
mov rcx, rsi
mov qword [rbp + 0x18], rdx
mov rdx, r14
mov dword [rbx + 0x13c], 0x10
mov qword [rsp + 0x20], r12
call fcn.00477950
mov rdx, r14
mov rcx, rsi
mov qword [rsp + 0x20], r12
lea r9, str..rsrc
mov r8d, 2
call fcn.00477950
mov qword [rsp + 0x20], r12
mov rdx, r14
mov rcx, rsi
lea r9, [0x004dce41]
mov r8d, 3
call fcn.00477950
mov eax, dword [rsp + 0x60]
test r15, r15
mov qword [rbx + 0x150], r15
mov r10, qword [rsp + 0x58]
mov r11d, dword [rsp + 0x64]
mov dword [rbx + 0x158], eax
mov rax, qword [rsp + 0x48]
mov qword [rbx + 0x200], r10
mov dword [rbx + 0x208], r11d
mov qword [rbx + 0x1d0], rax
mov eax, dword [rsp + 0x54]
mov dword [rbx + 0x1d8], eax
je 0x47a530
mov eax, dword [rbx + 0x244]
test eax, eax
jne 0x47a55b
mov rdx, qword [rsi + 0x88]
test rdx, rdx
je 0x47a588
mov rax, qword [rsp + 0x68]
lea r14d, [r13 - 1]
xor r8d, r8d
neg r13d
xor ecx, ecx
xor r9d, r9d
xor r12d, r12d
mov qword [rsp + 0xc0], rsi
lea r15, [rax - 1]
neg rax
mov r10, rax
nop dword [rax + rax]
mov eax, dword [rdx + 0x38]
add eax, r14d
and eax, r13d
test r12, r12
jne 0x47a24d
mov r12, qword [rdx + 0x90]
mov r11d, dword [rdx + 0x20]
cdqe
lea rsi, [r9 + rax]
test r11b, 0x20
cmovne r9, rsi
add rax, r8
and r11d, 0x10
cmovne r8, rax
mov rax, qword [rdx + 0xe0]
test rax, rax
je 0x47a29d
mov rax, qword [rax + 0x58]
test rax, rax
je 0x47a29d
mov rcx, qword [rsp + 0x40]
add rcx, qword [rax]
and rcx, qword [rsp + 0x38]
add rcx, r15
and rcx, r10
add rcx, qword [rdx + 0x28]
sub rcx, qword [rbx + 0xe0]
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x47a238
mov rsi, qword [rsp + 0xc0]
mov rax, qword [rsi + 8]
mov qword [rbp + 0x10], r9
mov rdx, rdi
add rbx, 0x140
mov qword [rbp + 8], r8
mov dword [rbx - 0x38], ecx
movsx rcx, word [rbp]
mov dword [rbx - 0x34], r12d
call qword [rax + 0xa8]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 2]
mov ecx, 0x2002
call qword [rax + 0xa8]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 4]
mov rcx, qword [rbp + 8]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 8]
mov rcx, qword [rbp + 0x10]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0xc]
mov rcx, qword [rbp + 0x18]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x10]
mov rcx, qword [rbp + 0x20]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x14]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x18]
mov rcx, qword [rbp + 0x30]
lea rbp, [rdi + 0x60]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x1c]
mov rcx, qword [rbx - 0x60]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x20]
mov rcx, qword [rbx - 0x58]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x24]
mov rcx, qword [rbx - 0x50]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x28]
movsx rcx, word [rbx - 0x48]
call qword [rax + 0xa8]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x2a]
movsx rcx, word [rbx - 0x46]
call qword [rax + 0xa8]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x2c]
movsx rcx, word [rbx - 0x44]
call qword [rax + 0xa8]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x2e]
movsx rcx, word [rbx - 0x42]
call qword [rax + 0xa8]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x30]
movsx rcx, word [rbx - 0x40]
call qword [rax + 0xa8]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x32]
movsx rcx, word [rbx - 0x3e]
call qword [rax + 0xa8]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x34]
movsxd rcx, dword [rbx - 0x3c]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x38]
movsxd rcx, dword [rbx - 0x38]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x3c]
movsxd rcx, dword [rbx - 0x34]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x40]
movsxd rcx, dword [rbx - 0x30]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x44]
movsx rcx, word [rbx - 0x2c]
call qword [rax + 0xa8]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x46]
movzx ecx, word [rbx - 0x2a]
call qword [rax + 0xa8]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x48]
mov rcx, qword [rbx - 0x28]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x4c]
mov rcx, qword [rbx - 0x20]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x50]
mov rcx, qword [rbx - 0x18]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x54]
mov rcx, qword [rbx - 0x10]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x58]
movsxd rcx, dword [rbx - 8]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x5c]
add rdi, 0xe0
movsxd rcx, dword [rbx - 4]
call qword [rax + 0x90]
nop dword [rax]
mov rax, qword [rsi + 8]
mov rdx, rbp
add rbx, 0x10
mov rcx, qword [rbx - 0x10]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rbp + 4]
add rbp, 8
movsxd rcx, dword [rbx - 8]
call qword [rax + 0x90]
cmp rdi, rbp
jne 0x47a4e8
mov eax, 0xe0
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x20], r12
lea r9, [0x004dce48]
mov rdx, r14
mov rcx, rsi
mov r8d, 1
call fcn.00477950
mov eax, dword [rbx + 0x244]
test eax, eax
je 0x47a1fa
mov rdx, r14
mov qword [rsp + 0x20], r12
mov r8d, 5
mov rcx, rsi
lea r9, [0x004dce4f]
call fcn.00477950
mov rdx, qword [rsi + 0x88]
test rdx, rdx
jne 0x47a20a
xor ecx, ecx
xor r12d, r12d
xor r8d, r8d
xor r9d, r9d
jmp 0x47a2ae