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

Disassembly:
sub rsp, 0x38
mov eax, dword [rcx + 0x3c]
test eax, eax
jne 0x446e5d
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
call fcn.0048ea80
add rsp, 0x38
ret
cmp eax, 4
jne 0x446e6b
add rsp, 0x38
jmp 0x48fb90
cmp eax, 1
jne 0x446e79
add rsp, 0x38
jmp 0x48f2c0
add rsp, 0x38
jmp 0x48f770
mov r11, rsp
sub rsp, 0x88
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov qword [r11 - 8], r12
mov qword [r11 - 0x10], r13
mov rbx, rcx
mov rcx, qword [rdx]
mov r12, rdx
mov rax, qword [rcx]
mov qword [r11 - 0x18], r14
lea r8, [r11 - 0x54]
mov edx, 0x10000314
mov qword [r11 - 0x20], r15
call qword [rax + 0x18]
mov eax, dword [rbx + 0x44]
xor esi, esi
test dword [rsp + 0x34], eax
je 0x48f4fb
lea r14d, [rsi + 1]
lea r15d, [rsi - 1]
nop
nop
mov rcx, qword [r12]
lea r8, [rsp + 0x44]
mov edx, 0x10000314
mov rax, qword [rcx]
call qword [rax + 0x18]
bt dword [rsp + 0x44], 0x10
jb 0x48f4fb
test byte [rbx + 0x44], 4
jne 0x48f365
mov rcx, qword [r12]
lea r8, [rsp + 0x50]
mov edx, 0x10000314
mov rax, qword [rcx]
call qword [rax + 0x18]
test byte [rsp + 0x50], 4
jne 0x48f560
mov rcx, qword [r12]
lea r8, [rsp + 0x4c]
mov edx, 0x10000313
mov rax, qword [rcx]
mov r13, r12
call qword [rax + 0x18]
bt dword [rsp + 0x4c], 0x14
jae 0x48f3da
mov rcx, qword [r12]
lea r8, [rsp + 0x38]
mov edx, 0x10000301
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rdi, qword [0x005271d0]
test rdi, rdi
je 0x48f3da
movsxd rbp, dword [rsp + 0x38]
nop
nop
mov rcx, qword [rdi]
mov rdx, rbp
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test eax, eax
jne 0x48f3cb
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x48f3b0
jmp 0x48f3da
mov rax, qword [rdi]
test rax, rax
je 0x48f3da
lea r13, [rax + 0x6d8]
cmp dword [rbx + 0x3c], 3
jne 0x48f3fa
mov rcx, qword [r13]
lea r8, [rsp + 0x3c]
mov edx, 0x1000030f
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ebp, dword [rsp + 0x3c]
jmp 0x48f412
mov rcx, qword [r13]
lea r8, [rsp + 0x40]
mov edx, 0x1000030c
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ebp, dword [rsp + 0x40]
cmp dword [rbx + 0x3c], 3
jne 0x48f432
mov rcx, qword [r13]
lea r8, [rsp + 0x48]
mov edx, 0x10000310
mov rax, qword [rcx]
call qword [rax + 0x18]
mov edi, dword [rsp + 0x48]
jmp 0x48f44a
mov rcx, qword [r13]
lea r8, [rsp + 0x30]
mov edx, 0x1000030d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov edi, dword [rsp + 0x30]
cmp dword [rbx + 0x3c], 3
jne 0x48f45c
test ebp, ebp
jne 0x48f45c
test edi, edi
je 0x48f51f
mov ecx, dword [rbx + 8]
mov dword [rbx + 0x58], esi
test ecx, ecx
jne 0x48f578
mov rax, qword [rbx]
mov rdx, r12
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test eax, eax
je 0x48f6ea
mov rax, qword [rbx]
mov rdx, r12
mov rcx, rbx
call qword [rax + 0x10]
test eax, eax
je 0x48f56c
mov dword [rbx + 0x7c], esi
mov dword [rbx + 0x74], 8
mov dword [rbx + 0x78], esi
mov dword [rbx + 0x80], esi
mov dword [rbx + 0x84], esi
mov dword [rbx + 0x90], esi
mov dword [rbx + 0x98], esi
mov dword [rbx + 0x94], esi
mov dword [rbx + 0x70], 5
cmp dword [rbx + 0x14], esi
mov dword [rbx + 8], 2
mov eax, r14d
cmove eax, r15d
lea r8, [rsp + 0x34]
mov edx, 0x10000314
mov dword [rbx + 0xc], eax
mov rcx, qword [r12]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov r11d, dword [rbx + 0x44]
test dword [rsp + 0x34], r11d
jne 0x48f320
mov eax, dword [rbx + 8]
test eax, eax
je 0x48f51f
cmp eax, 4
je 0x48f513
mov rax, qword [rbx]
mov rdx, r12
mov rcx, rbx
call qword [rax + 0x18]
mov dword [rbx + 8], esi
mov dword [rbx + 0x68], esi
mov dword [rbx + 0x64], esi
mov dword [rbx + 0x54], esi
xor eax, eax
mov r15, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
mov rdi, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
add rsp, 0x88
ret
mov eax, dword [rbx + 8]
test eax, eax
je 0x48f51f
cmp eax, 4
jmp 0x48f505
mov dword [rbx + 8], 4
jmp 0x48f6ea
sub ecx, 2
je 0x48f5bd
cmp ecx, r14d
jne 0x48f6ea
lea rcx, [rbx + 0x70]
mov r8d, edi
mov edx, ebp
call fcn.0048c970
mov eax, dword [rbx + 0x7c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jl 0x48f5bd
cmp dword [rbx + 0xc], r15d
mov eax, r15d
cmove eax, r14d
mov dword [rbx + 0xc], eax
mov eax, dword [rbx + 0x54]
neg eax
mov dword [rbx + 0x54], eax
mov dword [rbx + 0x74], esi
mov dword [rbx + 0x78], esi
mov r14d, dword [rbx + 8]
cmp r14d, 2
jne 0x48f5e5
mov edx, edi
mov ecx, ebp
call fcn.0048c0e0
cmp eax, 3
je 0x48f5da
cmp eax, 7
jne 0x48f5e5
cmp dword [rbx + 0x14], esi
jne 0x48f5e3
mov ebp, esi
jmp 0x48f5e5
mov edi, esi
movsxd rax, dword [rbx + 0x70]
cmp eax, 7
ja case.default.0x48f5ff
lea rdx, [0x00400000]
mov ecx, dword [rdx + rax*4 + 0x8f74c]
add rcx, rdx
jmp rcx
mov ecx, edi
jmp 0x48f62f
mov ecx, edi
sub ecx, ebp
jmp 0x48f62f
mov ecx, ebp
neg ecx
jmp 0x48f62f
lea ecx, [rdi + rbp]
neg ecx
jmp 0x48f62f
mov ecx, edi
neg ecx
jmp 0x48f62f
mov ecx, ebp
sub ecx, edi
jmp 0x48f62f
mov ecx, ebp
jmp 0x48f62f
lea ecx, [rdi + rbp]
jmp 0x48f62f
mov ecx, esi
mov r11d, dword [rbx + 0x5c]
mov r9d, dword [rbx + 0xc]
mov eax, r11d
imul eax, r9d
imul eax, ecx
add dword [rbx + 0x54], eax
mov r10d, dword [rbx + 0x54]
jns 0x48f64f
mov r8d, r15d
jmp 0x48f659
test r10d, r10d
mov r8d, esi
setg r8b
mov ecx, dword [rbx + 0x60]
mov eax, r10d
cdq
xor eax, edx
sub eax, edx
sar eax, cl
imul eax, r8d
mov dword [rbx + 0x58], eax
mov r8d, dword [rbx + 0x58]
shl eax, cl
sub r10d, eax
test r8d, r8d
mov dword [rbx + 0x54], r10d
je 0x48f6ea
add dword [rbx + 0x68], r8d
cmp r14d, 2
jne 0x48f6ea
mov eax, dword [rbx + 0x68]
cdq
mov ecx, eax
mov eax, r11d
xor ecx, edx
sub ecx, edx
cdq
movzx edx, dl
add eax, edx
sar eax, 8
cmp ecx, eax
jl 0x48f6ea
imul r8d, r9d
mov dword [rbx + 8], 3
test r8d, r8d
jns 0x48f6cb
cmp r9d, r15d
mov eax, 1
cmove r15d, eax
mov eax, r10d
neg eax
mov dword [rbx + 0xc], r15d
mov dword [rbx + 0x54], eax
lea rcx, [rbx + 0x70]
xor r9d, r9d
mov r8d, edi
mov edx, ebp
mov dword [rsp + 0x20], 8
call fcn.0048d9e0
mov dword [rbx + 0x74], esi
mov dword [rbx + 0x78], esi
mov ecx, dword [rbx + 0x58]
mov eax, esi
test ecx, ecx
setne al
add dword [rbx + 0x64], eax
test ecx, ecx
je 0x48f71e
mov rcx, qword [r12]
lea r8, [rsp + 0x30]
mov edx, 0x10000303
mov rax, qword [rcx]
call qword [rax + 0x18]
mov r11d, dword [rsp + 0x30]
sub r11d, dword [rbx + 0x6c]
cmp r11d, 0x64
ja 0x48f721
mov esi, dword [rbx + 0x54]
mov dword [rbx + 0x54], esi
mov rcx, qword [r12]
lea r8, [rsp + 0x30]
mov rax, qword [rcx]
mov edx, 0x10000303
call qword [rax + 0x18]
mov r11d, dword [rsp + 0x30]
mov eax, dword [rbx + 0x58]
mov dword [rbx + 0x6c], r11d
jmp 0x48f521
mov r11, rsp
sub rsp, 0x68
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov qword [r11 - 8], r12
mov qword [r11 - 0x10], r13
mov rbx, rcx
mov rcx, qword [rdx]
mov r13, rdx
mov rax, qword [rcx]
mov qword [r11 - 0x18], r14
lea r8, [r11 - 0x48]
mov edx, 0x10000314
mov qword [r11 - 0x20], r15
call qword [rax + 0x18]
mov eax, dword [rbx + 0x44]
xor ebp, ebp
test dword [rsp + 0x20], eax
je 0x48f97b
lea r15d, [rbp + 1]
lea r14d, [rbp - 1]
test byte [rbx + 0x44], 4
jne 0x48f7eb
mov rcx, qword [r13]
lea r8, [rsp + 0x24]
mov edx, 0x10000314
mov rax, qword [rcx]
call qword [rax + 0x18]
test byte [rsp + 0x24], 4
jne 0x48f9d4
mov rcx, qword [r13]
lea r8, [rsp + 0x28]
mov edx, 0x10000313
mov rax, qword [rcx]
mov r12, r13
call qword [rax + 0x18]
bt dword [rsp + 0x28], 0x14
jae 0x48f85a
mov rcx, qword [r13]
lea r8, [rsp + 0x2c]
mov edx, 0x10000301
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rdi, qword [0x005271d0]
test rdi, rdi
je 0x48f85a
movsxd rsi, dword [rsp + 0x2c]
nop
mov rcx, qword [rdi]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test eax, eax
jne 0x48f84b
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x48f830
jmp 0x48f85a
mov rax, qword [rdi]
test rax, rax
je 0x48f85a
lea r12, [rax + 0x6d8]
cmp dword [rbx + 0x3c], 3
jne 0x48f87a
mov rcx, qword [r12]
lea r8, [rsp + 0x30]
mov edx, 0x1000030f
mov rax, qword [rcx]
call qword [rax + 0x18]
mov esi, dword [rsp + 0x30]
jmp 0x48f892
mov rcx, qword [r12]
lea r8, [rsp + 0x34]
mov edx, 0x1000030c
mov rax, qword [rcx]
call qword [rax + 0x18]
mov esi, dword [rsp + 0x34]
cmp dword [rbx + 0x3c], 3
jne 0x48f8b2
mov rcx, qword [r12]
lea r8, [rsp + 0x38]
mov edx, 0x10000310
mov rax, qword [rcx]
call qword [rax + 0x18]
mov edi, dword [rsp + 0x38]
jmp 0x48f8ca
mov rcx, qword [r12]
lea r8, [rsp + 0x3c]
mov edx, 0x1000030d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov edi, dword [rsp + 0x3c]
cmp dword [rbx + 0x3c], 3
jne 0x48f8dc
test esi, esi
jne 0x48f8dc
test edi, edi
je 0x48f99f
mov ecx, dword [rbx + 8]
mov dword [rbx + 0x58], ebp
test ecx, ecx
jne 0x48f9ec
mov rax, qword [rbx]
mov rdx, r13
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test eax, eax
je 0x48fb07
mov rax, qword [rbx]
mov rdx, r13
mov rcx, rbx
call qword [rax + 0x10]
test eax, eax
je 0x48f9e0
mov dword [rbx + 0x7c], ebp
mov dword [rbx + 0x74], 8
mov dword [rbx + 0x78], ebp
mov dword [rbx + 0x80], ebp
mov dword [rbx + 0x84], ebp
mov dword [rbx + 0x90], ebp
mov dword [rbx + 0x98], ebp
mov dword [rbx + 0x94], ebp
mov dword [rbx + 0x70], 5
cmp dword [rbx + 0x14], ebp
mov dword [rbx + 8], 2
mov eax, r15d
cmove eax, r14d
lea r8, [rsp + 0x20]
mov edx, 0x10000314
mov dword [rbx + 0xc], eax
mov rcx, qword [r13]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov r11d, dword [rbx + 0x44]
test dword [rsp + 0x20], r11d
jne 0x48f7c6
mov eax, dword [rbx + 8]
test eax, eax
je 0x48f99f
cmp eax, 4
je 0x48f993
mov rax, qword [rbx]
mov rdx, r13
mov rcx, rbx
call qword [rax + 0x18]
mov dword [rbx + 8], ebp
mov dword [rbx + 0x68], ebp
mov dword [rbx + 0x64], ebp
mov dword [rbx + 0x54], ebp
xor eax, eax
mov r15, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
mov eax, dword [rbx + 8]
test eax, eax
je 0x48f99f
cmp eax, 4
jmp 0x48f985
mov dword [rbx + 8], 4
jmp 0x48fb07
sub ecx, 2
je 0x48fa08
cmp ecx, r15d
jne 0x48fb07
lea rcx, [rbx + 0x70]
mov r8d, edi
mov edx, esi
call fcn.0048cae0
mov r12d, dword [rbx + 8]
cmp r12d, 2
jne 0x48fa30
mov edx, edi
mov ecx, esi
call fcn.0048c0e0
cmp eax, 3
je 0x48fa25
cmp eax, 7
jne 0x48fa30
cmp dword [rbx + 0x14], ebp
jne 0x48fa2e
mov esi, ebp
jmp 0x48fa30
mov edi, ebp
movsxd rax, dword [rbx + 0x70]
cmp eax, 7
ja case.default.0x48fa4a
lea rdx, [0x00400000]
mov ecx, dword [rdx + rax*4 + 0x8fb68]
add rcx, rdx
jmp rcx
sub edi, esi
jmp case.0x48fa4a.0
mov edi, esi
neg edi
jmp case.0x48fa4a.0
add edi, esi
neg edi
jmp case.0x48fa4a.0
neg edi
jmp case.0x48fa4a.0
sub esi, edi
mov edi, esi
jmp case.0x48fa4a.0
mov edi, esi
jmp case.0x48fa4a.0
add edi, esi
jmp case.0x48fa4a.0
mov edi, ebp
mov r9d, dword [rbx + 0xc]
mov r11d, dword [rbx + 0x5c]
mov eax, r9d
imul eax, r11d
imul eax, edi
add dword [rbx + 0x54], eax
mov r10d, dword [rbx + 0x54]
jns 0x48fa90
mov r8d, r14d
jmp 0x48fa9a
test r10d, r10d
mov r8d, ebp
setg r8b
mov ecx, dword [rbx + 0x60]
mov eax, r10d
cdq
xor eax, edx
sub eax, edx
sar eax, cl
imul eax, r8d
mov dword [rbx + 0x58], eax
mov r8d, dword [rbx + 0x58]
shl eax, cl
sub r10d, eax
test r8d, r8d
mov dword [rbx + 0x54], r10d
je 0x48fb07
add dword [rbx + 0x68], r8d
cmp r12d, 2
jne 0x48fb07
mov eax, dword [rbx + 0x68]
cdq
mov ecx, eax
mov eax, r11d
xor ecx, edx
sub ecx, edx
cdq
movzx edx, dl
add eax, edx
sar eax, 8
cmp ecx, eax
jl 0x48fb07
imul r8d, r9d
mov dword [rbx + 8], 3
test r8d, r8d
jns 0x48fb07
cmp r9d, r14d
mov eax, r10d
cmove r14d, r15d
neg eax
mov dword [rbx + 0x54], eax
mov dword [rbx + 0xc], r14d
mov ecx, dword [rbx + 0x58]
mov eax, ebp
test ecx, ecx
setne al
add dword [rbx + 0x64], eax
test ecx, ecx
je 0x48fb3b
mov rcx, qword [r13]
lea r8, [rsp + 0x3c]
mov edx, 0x10000303
mov rax, qword [rcx]
call qword [rax + 0x18]
mov r11d, dword [rsp + 0x3c]
sub r11d, dword [rbx + 0x6c]
cmp r11d, 0x64
ja 0x48fb3e
mov ebp, dword [rbx + 0x54]
mov dword [rbx + 0x54], ebp
mov rcx, qword [r13]
lea r8, [rsp + 0x3c]
mov rax, qword [rcx]
mov edx, 0x10000303
call qword [rax + 0x18]
mov r11d, dword [rsp + 0x3c]
mov eax, dword [rbx + 0x58]
mov dword [rbx + 0x6c], r11d
jmp 0x48f9a1
sub rsp, 0x38
mov qword [rsp + 0x40], rbx
mov rbx, rdx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov rdi, rcx
mov rcx, qword [rdx]
mov rax, qword [rcx]
lea r8, [rsp + 0x24]
mov edx, 0x10000312
call qword [rax + 0x18]
mov r11d, dword [rsp + 0x24]
shr r11d, 0xd
test r11b, 1
je 0x48fdee
mov rcx, qword [rbx]
lea r8, [rsp + 0x24]
mov edx, 0x10000312
mov rax, qword [rcx]
call qword [rax + 0x18]
bt dword [rsp + 0x24], 0x11
jb 0x48fdee
mov rcx, qword [rbx]
lea r8, [rsp + 0x24]
mov edx, 0x10000312
mov rax, qword [rcx]
call qword [rax + 0x18]
bt dword [rsp + 0x24], 0x12
jb 0x48fdee
xor esi, esi
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x24]
mov rdx, rbx
mov rcx, rdi
mov dword [rsp + 0x24], esi
mov dword [rsp + 0x20], esi
call fcn.0048e950
cmp dword [rsp + 0x24], esi
jne 0x48fc3c
cmp dword [rsp + 0x20], esi
je 0x48fe14
mov eax, dword [rdi + 8]
mov dword [rdi + 0x58], esi
test eax, eax
je 0x48fc6e
cmp eax, 3
je 0x48fd19
test esi, esi
mov eax, esi
setne sil
add dword [rdi + 0x64], esi
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x38
ret
mov rax, qword [rdi]
mov rdx, rbx
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test eax, eax
je 0x48fc95
mov rax, qword [rdi]
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x10]
test eax, eax
jne 0x48fcd7
mov dword [rdi + 8], 4
mov eax, dword [rdi + 8]
test eax, eax
je 0x48fcb0
cmp eax, 4
je 0x48fcad
mov rax, qword [rdi]
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x18]
mov dword [rdi + 8], esi
mov dword [rdi + 8], 4
mov eax, dword [rdi + 0x58]
test eax, eax
setne sil
add dword [rdi + 0x64], esi
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x38
ret
mov dword [rdi + 0xc], esi
mov dword [rdi + 0x18], 1
mov dword [rdi + 0x54], esi
mov dword [rdi + 0x7c], esi
mov dword [rdi + 0x74], esi
mov dword [rdi + 0x78], esi
mov dword [rdi + 0x80], esi
mov dword [rdi + 0x84], esi
mov dword [rdi + 0x90], esi
mov dword [rdi + 0x98], esi
mov dword [rdi + 0x94], esi
mov dword [rdi + 0x70], 4
mov dword [rdi + 8], 3
mov r8d, dword [rsp + 0x20]
mov edx, dword [rsp + 0x24]
lea rcx, [rdi + 0x70]
mov qword [rsp + 0x58], r13
call fcn.0048ca40
mov r11d, dword [rdi + 0x78]
mov eax, r11d
mov ecx, 0xffffffff
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jl 0x48fd76
test r11d, r11d
jns 0x48fd4f
mov eax, ecx
jmp 0x48fd57
test r11d, r11d
mov eax, esi
setg al
cmp eax, dword [rdi + 0xc]
je 0x48fd76
test r11d, r11d
mov dword [rdi + 0x54], esi
mov dword [rdi + 0x64], esi
jns 0x48fd6b
mov eax, ecx
jmp 0x48fd73
test r11d, r11d
mov eax, esi
setg al
mov dword [rdi + 0xc], eax
test r11d, r11d
js 0x48fd83
test r11d, r11d
mov ecx, esi
setg cl
mov eax, dword [rdi + 0xc]
mov r8d, dword [rsp + 0x20]
mov edx, dword [rsp + 0x24]
cmp ecx, eax
lea rcx, [rdi + 0x70]
mov ebx, esi
cmove ebx, eax
call fcn.0048dac0
mov ecx, dword [rdi + 0x64]
mov r13, qword [rsp + 0x58]
imul eax, dword [rdi + 0x5c]
imul eax, ebx
cmp ecx, 1
jne 0x48fdbe
cdq
and edx, 3
add eax, edx
sar eax, 2
jmp 0x48fdc8
cmp ecx, 2
jne 0x48fdc8
cdq
sub eax, edx
sar eax, 1
add dword [rdi + 0x54], eax
mov rcx, rdi
call fcn.0048d6d0
cmp dword [rdi + 8], 3
jne 0x48fde4
mov eax, dword [rdi + 0x58]
mov dword [rdi + 0x58], eax
jmp 0x48fcb7
mov eax, esi
mov dword [rdi + 0x58], esi
jmp 0x48fcb7
mov eax, dword [rdi + 8]
test eax, eax
je 0x48fe14
cmp eax, 4
je 0x48fe06
mov rax, qword [rdi]
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x18]
xor esi, esi
mov dword [rdi + 8], esi
mov dword [rdi + 0x54], esi
mov dword [rdi + 0x64], esi
mov dword [rdi + 0x68], esi
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x38
ret