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

Disassembly:
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 8]
mov eax, dword [rax + 8]
cmp eax, 5
jne 0x47f3b0
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 8]
mov eax, dword [rax + 8]
cmp eax, 5
je 0x47f3ba
mov eax, 1
jmp 0x47f9c8
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xf0]
mov rax, qword [rax + 0x58]
test rax, rax
jne 0x47f3d8
mov eax, 1
jmp 0x47f9c8
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 8]
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 8]
cmp rdx, rax
jne 0x47f8c9
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x368]
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x38]
movzx eax, byte [rax + 0x38e]
and eax, 0x40
test al, al
jne 0x47f8cc
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x88]
mov qword [rbp - 0x10], rax
jmp 0x47f445
mov rax, qword [rbp - 0x10]
movzx edx, byte [rax + 0x24]
and edx, 0xffffffbf
mov byte [rax + 0x24], dl
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x47f42b
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xf0]
mov eax, dword [rax + 0x3c]
mov dword [rbp - 0x3c], eax
mov dword [rbp - 0x14], 0
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xf0]
mov rax, qword [rax + 0x58]
mov qword [rbp - 8], rax
jmp 0x47f867
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x47f4b4
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x47f4b4
mov rax, qword [rbp - 8]
mov eax, dword [rax]
cmp eax, 3
je 0x47f8c9
mov rax, qword [rbp - 8]
mov eax, dword [rax]
cmp eax, 2
je 0x47f8c9
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x88]
mov qword [rbp - 0x10], rax
jmp 0x47f853
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x68]
mov qword [rbp - 0x48], rax
cmp qword [rbp - 0x48], 0
je 0x47f4e9
mov rax, qword [rbp - 0x48]
movzx edx, byte [rax + 0x24]
or edx, 0x40
mov byte [rax + 0x24], dl
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0xe0]
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x50]
mov rax, qword [rax + 8]
and eax, 0x400
test rax, rax
je 0x47f52d
mov rax, qword [rbp - 8]
mov eax, dword [rax]
cmp eax, 7
je 0x47f561
mov rax, qword [rbp - 8]
mov eax, dword [rax]
cmp eax, 0x6474e552
je 0x47f561
mov rax, qword [rbp - 8]
mov eax, dword [rax]
cmp eax, 1
je 0x47f561
mov rax, qword [rbp - 0x50]
mov rax, qword [rax + 8]
and eax, 0x400
test rax, rax
jne 0x47f847
mov rax, qword [rbp - 8]
mov eax, dword [rax]
cmp eax, 7
je 0x47f847
mov rax, qword [rbp - 8]
mov eax, dword [rax]
cmp eax, 6
je 0x47f847
mov rax, qword [rbp - 0x50]
mov rax, qword [rax + 8]
and eax, 2
test rax, rax
jne 0x47f5c2
mov rax, qword [rbp - 8]
mov eax, dword [rax]
cmp eax, 1
je 0x47f847
mov rax, qword [rbp - 8]
mov eax, dword [rax]
cmp eax, 2
je 0x47f847
mov rax, qword [rbp - 8]
mov eax, dword [rax]
cmp eax, 0x6474e550
je 0x47f847
mov rax, qword [rbp - 8]
mov eax, dword [rax]
cmp eax, 0x6474e552
je 0x47f847
mov rax, qword [rbp - 8]
mov eax, dword [rax]
cmp eax, 0x6474e551
je 0x47f847
mov rax, qword [rbp - 0x50]
mov eax, dword [rax + 4]
cmp eax, 8
je 0x47f64c
mov rax, qword [rbp - 0x50]
mov rax, qword [rax + 0x18]
mov rdx, rax
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
cmp rdx, rax
jb 0x47f847
mov rax, qword [rbp - 0x50]
mov rax, qword [rax + 0x18]
mov rdx, rax
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
sub rdx, rax
mov rax, qword [rbp - 0x50]
mov rax, qword [rax + 8]
and eax, 0x400
test rax, rax
je 0x47f629
mov rax, qword [rbp - 0x50]
mov eax, dword [rax + 4]
cmp eax, 8
jne 0x47f629
mov rax, qword [rbp - 8]
mov eax, dword [rax]
cmp eax, 7
jne 0x47f633
mov rax, qword [rbp - 0x50]
mov rax, qword [rax + 0x20]
jmp 0x47f638
mov eax, 0
add rdx, rax
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x20]
cmp rdx, rax
ja 0x47f847
mov rax, qword [rbp - 0x50]
mov rax, qword [rax + 8]
and eax, 2
test rax, rax
je 0x47f6d4
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax + 0x10]
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
cmp rdx, rax
jb 0x47f847
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax + 0x10]
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
sub rdx, rax
mov rax, qword [rbp - 0x50]
mov rax, qword [rax + 8]
and eax, 0x400
test rax, rax
je 0x47f6b1
mov rax, qword [rbp - 0x50]
mov eax, dword [rax + 4]
cmp eax, 8
jne 0x47f6b1
mov rax, qword [rbp - 8]
mov eax, dword [rax]
cmp eax, 7
jne 0x47f6bb
mov rax, qword [rbp - 0x50]
mov rax, qword [rax + 0x20]
jmp 0x47f6c0
mov eax, 0
add rdx, rax
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x28]
cmp rdx, rax
ja 0x47f847
mov rax, qword [rbp - 8]
mov eax, dword [rax]
cmp eax, 2
je 0x47f6ee
mov rax, qword [rbp - 8]
mov eax, dword [rax]
cmp eax, 4
jne 0x47f7ac
mov rax, qword [rbp - 0x50]
mov rax, qword [rax + 0x20]
test rax, rax
jne 0x47f7ac
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x28]
test rax, rax
je 0x47f7ac
mov rax, qword [rbp - 0x50]
mov eax, dword [rax + 4]
cmp eax, 8
je 0x47f75f
mov rax, qword [rbp - 0x50]
mov rax, qword [rax + 0x18]
mov rdx, rax
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
cmp rdx, rax
jbe 0x47f847
mov rax, qword [rbp - 0x50]
mov rax, qword [rax + 0x18]
mov rdx, rax
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
sub rdx, rax
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x20]
cmp rdx, rax
jae 0x47f847
mov rax, qword [rbp - 0x50]
mov rax, qword [rax + 8]
and eax, 2
test rax, rax
je 0x47f7ac
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax + 0x10]
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
cmp rdx, rax
jbe 0x47f847
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax + 0x10]
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
sub rdx, rax
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x28]
cmp rdx, rax
jae 0x47f847
cmp qword [rbp - 0x48], 0
je 0x47f8c9
mov rax, qword [rbp - 0x10]
mov edx, dword [rax + 0x20]
mov rax, qword [rbp - 0x48]
mov eax, dword [rax + 0x20]
cmp edx, eax
jne 0x47f8c9
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 0x30]
mov rax, qword [rbp - 0x48]
mov rax, qword [rax + 0x30]
cmp rdx, rax
jne 0x47f8c9
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 0x28]
mov rax, qword [rbp - 0x48]
mov rax, qword [rax + 0x28]
cmp rdx, rax
jne 0x47f8c9
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 0x38]
mov rax, qword [rbp - 0x48]
mov rax, qword [rax + 0x38]
cmp rdx, rax
jne 0x47f8c9
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 0x40]
mov rax, qword [rbp - 0x48]
mov rax, qword [rax + 0x40]
cmp rdx, rax
jne 0x47f8c9
mov rax, qword [rbp - 0x10]
mov edx, dword [rax + 0x70]
mov rax, qword [rbp - 0x48]
mov eax, dword [rax + 0x70]
cmp edx, eax
jne 0x47f8c9
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x47f4c8
add dword [rbp - 0x14], 1
add qword [rbp - 8], 0x38
mov eax, dword [rbp - 0x14]
cmp eax, dword [rbp - 0x3c]
jb 0x47f47c
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x88]
mov qword [rbp - 0x10], rax
jmp 0x47f8ad
mov rax, qword [rbp - 0x10]
movzx eax, byte [rax + 0x24]
and eax, 0x40
test al, al
je 0x47f8cf
mov rax, qword [rbp - 0x10]
movzx edx, byte [rax + 0x24]
and edx, 0xffffffbf
mov byte [rax + 0x24], dl
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x47f884
mov rax, qword [rbp + 0x18]
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call fcn.0047e8cf
jmp 0x47f9c8
nop
jmp 0x47f8d0
nop
jmp 0x47f8d0
nop
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 8]
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 8]
cmp rdx, rax
jne 0x47f9b8
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xf0]
mov eax, dword [rax + 0x3c]
mov dword [rbp - 0x54], eax
mov qword [rbp - 0x30], 0
mov dword [rbp - 0x24], 0
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xf0]
mov rax, qword [rax + 0x58]
mov qword [rbp - 0x20], rax
jmp 0x47f980
mov rax, qword [rbp - 0x20]
mov eax, dword [rax]
cmp eax, 1
jne 0x47f977
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x30]
cmp qword [rbp - 0x30], rax
jae 0x47f977
mov rax, qword [rbp - 0x20]
mov rdx, qword [rax + 0x30]
movabs rax, 0x4000000000000000
cmp rdx, rax
jbe 0x47f96b
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x30]
mov r8, rax
mov rdx, qword [rbp + 0x10]
lea rcx, str._pB:_warning:_segment_alignment_of__I64x_is_too_large
call fcn.004397d1
jmp 0x47f977
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x30]
mov qword [rbp - 0x30], rax
add dword [rbp - 0x24], 1
add qword [rbp - 0x20], 0x38
mov eax, dword [rbp - 0x24]
cmp eax, dword [rbp - 0x54]
jb 0x47f91e
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x368]
mov rax, qword [rax + 0x10]
cmp qword [rbp - 0x30], rax
je 0x47f9b8
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 8]
mov rax, qword [rax]
mov rdx, qword [rbp - 0x30]
mov rcx, rax
call fcn.0043a38e
mov rax, qword [rbp + 0x18]
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call fcn.0047cf52
sub rsp, 0xffffffffffffff80
pop rbp
ret