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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x178
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x6c], eax
mov al, byte [ebp + 0x10]
mov byte [esp + 0x73], al
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
and al, 1
mov byte [esp + 0xb7], al
lea eax, [esp + 0x85]
mov dword [esp], eax
movzx eax, byte [esp + 0x10f]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x27
call sub.VCRUNTIME140.dll_memset
mov dword [esp + 0xac], 0x27
lea eax, [esp + 0x85]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], 0x27
lea eax, [esp + 0x85]
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], 0x27
lea eax, [esp + 0x85]
mov dword [esp + 0xb8], eax
mov eax, dword [0x4961f4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], 0xc8
mov dword [esp + 0xbc], eax
mov eax, 8
cmp eax, 2
jae 0x46a1d8
mov eax, esp
mov dword [eax + 8], 0x490284
mov dword [eax + 4], 0x33
mov dword [eax], str.assertion_failed:_crate::mem::size_of::_u64______2
call fcn.00466e90
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
xor eax, eax
mov edx, 0x270f
sub edx, esi
sbb eax, ecx
jb 0x46a20d
jmp 0x46a1ef
mov eax, dword [esp + 0x78]
mov dword [esp + 0xb0], eax
cmp dword [esp + 0xb0], 0x64
jae 0x46a2da
jmp 0x46a2c7
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0x2710
call fcn.00483b70
sub esp, 0x10
mov ecx, eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0xd0], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0x2710
call fcn.00483ad0
sub esp, 0x10
mov ecx, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], ecx
mov ecx, 0x64
xor edx, edx
div ecx
mov ecx, eax
mov eax, dword [esp + 0x5c]
shl ecx, 1
mov dword [esp + 0x60], ecx
mov dword [esp + 0xd4], ecx
mov ecx, 0x64
xor edx, edx
div ecx
shl edx, 1
mov dword [esp + 0x64], edx
mov dword [esp + 0xd8], edx
mov eax, dword [esp + 0xac]
mov ecx, eax
sub ecx, 4
mov dword [esp + 0x68], ecx
cmp eax, 4
setb al
test al, 1
jne 0x46a714
jmp 0x46a62f
cmp dword [esp + 0xb0], 0xa
jb 0x46a420
jmp 0x46a3ec
mov eax, dword [esp + 0xb0]
mov ecx, 0x64
xor edx, edx
div ecx
shl edx, 1
mov dword [esp + 0x54], edx
mov dword [esp + 0xc0], edx
mov eax, dword [esp + 0xb0]
mov ecx, 0x64
xor edx, edx
div ecx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xac]
mov ecx, eax
sub ecx, 2
mov dword [esp + 0x58], ecx
cmp eax, 2
setb al
test al, 1
jne 0x46a3df
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x58]
mov dword [esp + 0xac], edx
mov dword [esp + 0x130], ecx
mov dword [esp + 0x134], eax
add ecx, eax
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0xac]
lea eax, [esp + 0x85]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], edx
lea eax, [esp + 0x85]
add eax, edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], 2
call fcn.0046a900
test al, 1
jne 0x46a3a0
jmp 0x46a3cc
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 2
call fcn.004675e0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov cx, word [ecx]
mov word [eax], cx
jmp 0x46a2c7
mov eax, esp
mov dword [eax], 0x490284
call fcn.00469680
mov eax, dword [esp + 0xb0]
shl eax, 1
mov dword [esp + 0x44], eax
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xac]
mov ecx, eax
sub ecx, 2
mov dword [esp + 0x48], ecx
cmp eax, 2
setb al
test al, 1
jne 0x46a4f3
jmp 0x46a443
mov eax, dword [esp + 0xac]
mov ecx, eax
sub ecx, 1
mov dword [esp + 0x40], ecx
cmp eax, 1
setb al
test al, 1
jne 0x46a570
jmp 0x46a54f
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x48]
mov dword [esp + 0xac], edx
mov dword [esp + 0x128], ecx
mov dword [esp + 0x12c], eax
add ecx, eax
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0xac]
lea eax, [esp + 0x85]
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], edx
lea eax, [esp + 0x85]
add eax, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], 2
call fcn.0046a900
test al, 1
jne 0x46a4b7
jmp 0x46a4e3
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 2
call fcn.004675e0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov cx, word [ecx]
mov word [eax], cx
jmp 0x46a500
mov eax, esp
mov dword [eax], 0x490284
call fcn.00469680
mov ecx, dword [esp + 0xac]
lea eax, [esp + 0x85]
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], ecx
lea eax, [esp + 0x85]
add eax, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xac]
mov eax, 0x27
sub eax, ecx
mov dword [esp + 0x34], eax
mov eax, 0x27
cmp eax, ecx
setb al
test al, 1
jne 0x46a622
jmp 0x46a5b6
mov eax, dword [esp + 0x40]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb0]
add al, 0x30
mov byte [esp + 0x2f], al
setb al
test al, 1
jne 0x46a5a9
jmp 0x46a57d
mov eax, esp
mov dword [eax], 0x490284
call fcn.00469680
mov cl, byte [esp + 0x2f]
mov eax, dword [esp + 0xac]
lea edx, [esp + 0x85]
mov dword [esp + 0x150], edx
mov dword [esp + 0x154], eax
mov byte [esp + eax + 0x85], cl
jmp 0x46a500
mov eax, esp
mov dword [eax], 0x490284
call fcn.00469640
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004732a0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00468cc0
mov cl, byte [esp + 0x73]
mov esi, eax
mov edi, edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], edi
mov eax, esp
mov dword [eax + 0x14], edi
mov dword [eax + 0x10], esi
mov dword [eax], edx
movzx ecx, cl
and ecx, 1
mov dword [eax + 4], ecx
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0x48fee8
call fcn.0046b820
and al, 1
movzx eax, al
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
mov eax, esp
mov dword [eax], 0x490284
call fcn.00469680
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x68]
mov dword [esp + 0xac], edx
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], eax
add ecx, eax
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0xac]
lea eax, [esp + 0x85]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], edx
lea eax, [esp + 0x85]
add eax, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], 2
call fcn.0046a900
test al, 1
jne 0x46a6a3
jmp 0x46a6cf
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 2
call fcn.004675e0
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov si, word [esi]
mov word [edx], si
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xac]
add eax, 2
mov dword [esp + 0x20], eax
setb al
test al, 1
jne 0x46a7ae
jmp 0x46a721
mov eax, esp
mov dword [eax], 0x490284
call fcn.00469680
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x85]
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], edx
lea eax, [esp + 0x85]
add eax, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], 2
call fcn.0046a900
test al, 1
jne 0x46a76f
jmp 0x46a79b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 2
call fcn.004675e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov cx, word [ecx]
mov word [eax], cx
jmp 0x46a1d8
mov eax, esp
mov dword [eax], 0x490284
call fcn.00469640
int3