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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xb4
mov eax, dword [0x5a11e0]
mov esi, ecx
test eax, eax
jne 0x46221a
call fcn.00538530
and eax, 2
xor ecx, ecx
mov dl, 1
or eax, ecx
je 0x46223f
mov eax, dword [0x5a11e0]
test eax, eax
jne 0x462233
call fcn.00538530
and eax, 0x400
xor ecx, ecx
or eax, ecx
sete dl
mov byte [esp + 0xf], dl
lea ecx, [esp + 0x80]
mov edx, esi
mov dword [esp], 0
mov dword [esp + 4], 1
mov dword [esp + 8], 0
call fcn.00461f30
mov edi, dword [esp + 0x8c]
movzx eax, byte [esp + 0xa4]
movzx ecx, byte [esp + 0xa1]
movq xmm0, qword [esp + 0x80]
mov dword [esp + 0x44], edi
mov byte [esp + 0x10], al
mov byte [esp + 0x5c], al
movzx eax, byte [esp + 0xa0]
mov byte [esp + 0x1a], cl
mov byte [esp + 0x58], al
mov byte [esp + 0x14], al
movzx eax, byte [esp + 0xa2]
mov byte [esp + 0x59], cl
mov ecx, dword [esp + 0x90]
mov byte [esp + 0x5a], al
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x88]
mov byte [esp + 0x5b], 0
movq qword [esp + 0x38], xmm0
test ecx, ecx
mov dword [esp + 0x24], ecx
setne bh
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x20], ecx
test eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov ecx, esp
mov dword [esp + 0x28], eax
setne bl
xor edx, edx
push 2
call fcn.0052fcb0
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov word [eax + edx], 0x8b1f
add edx, 2
mov esi, dword [esp + 0x38]
mov dword [esp + 8], edx
cmp esi, 0x80000000
setne cl
shl bh, 3
shl bl, 4
shl cl, 2
or bl, bh
or bl, cl
mov ecx, dword [esp]
add bl, byte [esp + 0x1b]
mov ebp, ecx
sub ebp, edx
cmp ebp, 1
jbe 0x462769
mov bh, byte [esp + 0x14]
mov byte [eax + edx], 8
mov byte [eax + edx + 1], bl
add edx, 2
sub ecx, edx
mov dword [esp + 8], edx
cmp ecx, 3
movzx ebp, bh
jbe 0x462785
mov dword [eax + edx], edi
movzx eax, byte [esp + 0x10]
add edx, 4
mov bl, 4
mov dword [esp + 8], edx
add al, al
cmp ebp, 0xe
jae 0x462757
mov ecx, dword [esp]
sub bl, al
sub ecx, edx
cmp ecx, 1
jbe 0x46279e
mov ecx, dword [esp + 4]
lea ebp, [edx + 2]
cmp esi, 0x80000000
mov byte [ecx + edx], bl
mov byte [ecx + edx + 1], bh
mov dword [esp + 8], ebp
jne 0x46241a
movzx ebx, byte [esp + 0xf]
cmp dword [esp + 0x24], 0
jne 0x4626ce
cmp dword [esp + 0x28], 0
je 0x462702
mov eax, dword [esp]
sub eax, ebp
cmp eax, dword [esp + 0x20]
jb 0x4627b3
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x20]
lea eax, [edi + ebp]
push esi
push dword [esp + 0x2c]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add ebp, esi
jmp 0x462706
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov esi, ebp
test ebx, ebx
mov dword [esp + 0x14], eax
je 0x4625c7
xor ebp, ebp
cmp ebx, 8
mov eax, 0
mov dword [esp + 0x10], ecx
jb 0x4624e5
mov ecx, dword [esp + 0x14]
movdqa xmm2, xmmword [0x539280]
mov eax, ebx
pxor xmm0, xmm0
pxor xmm1, xmm1
and eax, 0xfffffff8
mov edx, eax
add ecx, 0x78
nop word cs:[eax + eax]
nop dword [eax]
movd xmm3, dword [ecx - 0x40]
movd xmm4, dword [ecx - 0x50]
movd xmm5, dword [ecx - 0x60]
movd xmm6, dword [ecx]
movd xmm7, dword [ecx - 0x20]
paddd xmm0, xmm2
paddd xmm1, xmm2
punpckldq xmm4, xmm3
movd xmm3, dword [ecx - 0x70]
punpckldq xmm3, xmm5
movd xmm5, dword [ecx - 0x10]
punpcklqdq xmm3, xmm4
paddd xmm0, xmm3
punpckldq xmm5, xmm6
movd xmm6, dword [ecx - 0x30]
sub ecx, 0xffffff80
add edx, 0xfffffff8
punpckldq xmm6, xmm7
punpcklqdq xmm6, xmm5
paddd xmm1, xmm6
jne 0x462470
paddd xmm1, xmm0
cmp ebx, eax
pshufd xmm0, xmm1, 0xee
paddd xmm0, xmm1
pshufd xmm1, xmm0, 0x55
paddd xmm1, xmm0
movd ebp, xmm1
je 0x46250c
mov edx, dword [esp + 0x14]
mov ecx, ebx
sub ecx, eax
shl eax, 4
lea eax, [eax + edx + 8]
nop word cs:[eax + eax]
nop
mov edx, dword [eax]
add eax, 0x10
dec ecx
lea ebp, [ebp + edx + 4]
jne 0x462500
mov ecx, dword [esp + 0x10]
cmp ebp, 0xffff
mov dword [esp + 0x34], ebp
jbe 0x4625c9
lea ebx, [esp + 0x68]
lea ecx, [esp + 0x60]
lea edi, [esp + 0xa8]
lea eax, [esp + 0x34]
mov dword [esp + 0x68], 0x54a7c0
mov dword [esp + 0x6c], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x70], ecx
mov ecx, edi
mov edx, ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0x453930
mov dword [esp + 0x74], 1
call fcn.00447bd0
lea ecx, [esp + 0x2c]
mov edx, edi
call fcn.00462810
movzx eax, byte [esp + 0x2c]
mov ebp, esi
cmp al, 4
je 0x4626ba
movzx ecx, byte [esp + 0x33]
movzx edx, word [esp + 0x31]
movzx eax, al
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp + 0x2d]
shld edx, ecx, 8
shl ecx, 8
or eax, ecx
mov dword [esp + 0x6c], edx
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
mov dword [esp + 0x68], eax
push 0x54a798
push 0x54a60c
push ebx
call fcn.00533020
xor ebp, ebp
mov eax, dword [esp]
sub eax, esi
cmp eax, 1
jbe 0x4627e9
lea edi, [esi + 2]
test ebx, ebx
mov word [ecx + esi], bp
mov dword [esp + 0x10], ecx
mov dword [esp + 8], edi
je 0x4626b8
mov esi, dword [esp + 0x14]
shl ebx, 4
add esi, 0xc
jmp 0x462628
mov dword [esp + 0x10], ecx
lea eax, [ecx + edi]
push ebp
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov esi, dword [esp + 0x14]
add edi, ebp
mov dword [esp + 8], edi
add esi, 0x10
add ebx, 0xfffffff0
je 0x4626b8
mov eax, dword [esp]
sub eax, edi
cmp eax, 2
jb 0x462689
mov ecx, dword [esp + 0x10]
movzx eax, word [esi]
mov word [ecx + edi], ax
add edi, 2
mov dword [esp + 8], edi
mov eax, dword [esp]
mov ebp, dword [esi - 4]
mov ecx, eax
sub ecx, edi
cmp ecx, 1
jbe 0x4626a1
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], esi
mov word [ecx + edi], bp
add edi, 2
mov dword [esp + 8], edi
sub eax, edi
mov esi, dword [esi - 8]
cmp eax, ebp
jae 0x462600
mov ecx, esp
mov edx, edi
push ebp
call fcn.0052fcb0
add esp, 4
mov ecx, dword [esp + 4]
mov edi, dword [esp + 8]
jmp 0x462600
mov ecx, esp
mov edx, edi
push 2
call fcn.0052fcb0
add esp, 4
mov ecx, dword [esp + 4]
mov edi, dword [esp + 8]
jmp 0x462636
mov ecx, esp
mov edx, edi
push 2
call fcn.0052fcb0
add esp, 4
mov eax, dword [esp]
mov edi, dword [esp + 8]
jmp 0x462653
mov ebp, edi
movzx ebx, byte [esp + 0xf]
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x24], 0
je 0x4623e0
mov eax, dword [esp]
sub eax, ebp
cmp eax, dword [esp + 0x1c]
jb 0x4627cc
mov esi, dword [esp + 0x1c]
add ecx, ebp
push esi
push dword [esp + 0x28]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add ebp, esi
mov dword [esp + 8], ebp
cmp dword [esp + 0x28], 0
jne 0x4623eb
mov edi, dword [esp + 4]
lea ecx, [esp + 0x38]
call fcn.0040b1c0
xor ecx, ecx
mov edx, edi
test bl, bl
je 0x46272a
push ebp
call fcn.0045e940
add esp, 4
cmp dword [esp], 0
mov esi, eax
jne 0x46273b
jmp 0x46274a
push ebp
call fcn.0045ecd0
add esp, 4
cmp dword [esp], 0
mov esi, eax
je 0x46274a
push edi
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, esi
add esp, 0xb4
pop esi
pop edi
pop ebx
pop ebp
ret
jne 0x462760
mov bh, 0xff
jmp 0x4623a6
mov bh, byte [esp + 0x1a]
jmp 0x4623a6
mov ecx, esp
push 2
call fcn.0052fcb0
add esp, 4
mov edx, dword [esp + 8]
mov ecx, dword [esp]
mov eax, dword [esp + 4]
jmp 0x462369
mov ecx, esp
push 4
call fcn.0052fcb0
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
jmp 0x46238a
mov ecx, esp
push 2
call fcn.0052fcb0
add esp, 4
mov edx, dword [esp + 8]
jmp 0x4623b6
mov ecx, esp
mov edx, ebp
push dword [esp + 0x20]
call fcn.0052fcb0
add esp, 4
mov ebp, dword [esp + 8]
jmp 0x4623fa
mov ecx, esp
mov edx, ebp
push dword [esp + 0x1c]
call fcn.0052fcb0
add esp, 4
mov ecx, dword [esp + 4]
mov ebp, dword [esp + 8]
jmp 0x4626dd
mov ecx, esp
mov edx, esi
push 2
call fcn.0052fcb0
add esp, 4
mov ecx, dword [esp + 4]
mov esi, dword [esp + 8]
jmp 0x4625d7