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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1c0
mov esi, esp
mov dword [esi + 0x1a8], ebp
mov dword [esi + 0x1ac], esp
mov dword [esi + 0x1b8], 0xffffffff
mov dword [esi + 0x1b4], 0x407880
mov edx, dword [ebp + 8]
lea edi, [esi + 0x1b0]
mov ecx, dword [ebp + 0xc]
mov eax, dword fs:[0]
mov dword [esi + 0x1b0], eax
mov dword fs:[0], edi
mov ebx, dword [edx + 8]
cmp ebx, ecx
mov dword [esi + 0x28], ebx
jae 0x4075a8
mov edi, ecx
lea eax, [edx + 8]
sub edi, ebx
mov dword [esi + 0xc], eax
lea eax, [esi + 0x100]
push 0x80
push dword [ebp + 0x10]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp + 8]
add esp, 0xc
mov eax, dword [edx + 4]
mov ecx, ebx
sub eax, ebx
cmp eax, edi
jae 0x407000
mov dword [esi + 0x1b8], 0
mov dword [esi + 8], edi
push edi
push ebx
push edx
call fcn.0042b9d0
add esp, 0xc
mov eax, dword [esi + 0xc]
mov edx, dword [ebp + 8]
mov edi, dword [esi + 8]
mov ecx, dword [eax]
mov ebx, ecx
mov dword [esi + 0x10], ecx
shl ebx, 7
add ebx, dword [edx]
cmp edi, 2
jb 0x4075cf
mov edi, dword [esi + 0x164]
mov edx, dword [esi + 0x128]
mov ecx, dword [esi + 0x134]
movups xmm0, xmmword [esi + 0x100]
lea eax, [edi*4]
mov dword [esi + 0x48], ecx
mov dword [esi + 0x58], edi
movaps xmmword [esi + 0x190], xmm0
movups xmm0, xmmword [esi + 0x164]
mov dword [esi + 0x50], edx
lea eax, [eax + eax*2]
mov dword [esi + 0x14], eax
xor eax, eax
cmp edx, 0x10000000
setb al
shl eax, 2
movaps xmmword [esi + 0x180], xmm0
mov dword [esi + 0x3c], eax
xor eax, eax
cmp ecx, 0x20000000
mov ecx, dword [esi + 0x140]
setb al
shl eax, 2
mov dword [esi + 0x38], eax
xor eax, eax
cmp ecx, 0x10000000
mov dword [esi + 0x44], ecx
mov ecx, dword [esi + 0x14c]
setb al
shl eax, 3
mov dword [esi + 0x34], eax
xor eax, eax
cmp ecx, 0x20000000
mov dword [esi + 0x40], ecx
mov ecx, dword [esi + 0x28]
setb al
shl eax, 2
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x158]
not ecx
mov dword [esi + 8], eax
not eax
shr eax, 0x1f
mov dword [esi + 0x4c], eax
xor eax, eax
cmp edi, 0xaaaaaab
mov edi, dword [esi + 0x10]
setb al
shl eax, 2
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0xc]
add edi, eax
add edi, ecx
add ecx, eax
mov eax, dword [esi + 0x114]
mov dword [esi + 0x5c], edi
mov dword [esi + 0x78], ecx
mov edi, dword [esi + 0x11c]
movzx ecx, byte [esi + 0x178]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x110]
mov dword [esi + 0x60], edi
mov byte [esi + 7], cl
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x120]
mov dword [esi + 0x8c], eax
lea eax, [edx*8]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x12c]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x48]
lea eax, [eax*4]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x138]
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x44]
lea eax, [eax*8]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x144]
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x40]
lea eax, [eax*4]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x150]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x174]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x15c]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x118]
mov dword [esi + 0x64], eax
jmp 0x4072dd
mov edi, 4
push dword [esi + 0x14]
push dword [esi + 0x68]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x98]
movsd xmm0, qword [esi + 0x90]
mov edx, dword [esi + 0x50]
movzx ecx, byte [esi + 7]
inc dword [esi + 0x10]
mov dword [esi + 0xf8], eax
mov eax, dword [esi + 0xa4]
movsd qword [esi + 0xf0], xmm0
movsd xmm0, qword [esi + 0x9c]
mov dword [esi + 0xe8], eax
mov eax, dword [esi + 0xb0]
movsd qword [esi + 0xe0], xmm0
movsd xmm0, qword [esi + 0xa8]
mov dword [esi + 0xd8], eax
mov eax, dword [esi + 0xbc]
movsd qword [esi + 0xd0], xmm0
movsd xmm0, qword [esi + 0xb4]
mov dword [esi + 0xc8], eax
movsd qword [esi + 0xc0], xmm0
movaps xmm0, xmmword [esi + 0x190]
mov eax, dword [esi + 0x74]
movups xmmword [ebx], xmm0
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x70]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x60]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x64]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x54]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
mov dword [ebx + 0x28], edx
mov eax, dword [esi + 0xf8]
mov dword [ebx + 0x34], eax
movsd xmm0, qword [esi + 0xf0]
movsd qword [ebx + 0x2c], xmm0
mov eax, dword [esi + 0xe8]
mov dword [ebx + 0x40], eax
movsd xmm0, qword [esi + 0xe0]
movsd qword [ebx + 0x38], xmm0
movsd xmm0, qword [esi + 0xd0]
movsd qword [ebx + 0x44], xmm0
mov eax, dword [esi + 0xd8]
mov dword [ebx + 0x4c], eax
movsd xmm0, qword [esi + 0xc0]
movsd qword [ebx + 0x50], xmm0
movaps xmm0, xmmword [esi + 0x180]
mov eax, dword [esi + 0xc8]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], edi
mov eax, dword [esi + 0x58]
mov edi, dword [esi + 0x6c]
mov dword [ebx + 0x60], eax
movups xmmword [ebx + 0x64], xmm0
mov dword [ebx + 0x74], edi
mov byte [ebx + 0x78], cl
sub ebx, 0xffffff80
dec dword [esi + 0x78]
je 0x40760e
mov edi, 4
test edx, edx
mov eax, 4
je 0x40733b
cmp edx, 0xfffffff
ja 0x40771c
cmp dword [esi + 0x24], 0
js 0x4076c6
je 0x407330
movzx eax, byte [0x4360f9]
push dword [esi + 0x3c]
push dword [esi + 0x24]
call fcn.00408090
add esp, 8
test eax, eax
jne 0x40733b
jmp 0x407664
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x407664
push dword [esi + 0x24]
push dword [esi + 0x8c]
mov dword [esi + 0x54], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x48]
test eax, eax
je 0x40739b
cmp eax, 0x1fffffff
ja 0x407781
cmp dword [esi + 0x20], 0
js 0x40773e
je 0x407390
movzx eax, byte [0x4360f9]
push dword [esi + 0x38]
push dword [esi + 0x20]
call fcn.00408090
add esp, 8
mov edi, eax
test edi, edi
jne 0x40739b
jmp 0x4076ee
mov edi, dword [esi + 0x38]
test edi, edi
je 0x4076ee
push dword [esi + 0x20]
push dword [esi + 0x88]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0x48]
add esp, 0xc
mov ecx, dword [esi + 0x44]
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
test ecx, ecx
je 0x407410
cmp ecx, 0xfffffff
ja 0x40769e
cmp dword [esi + 0x1c], 0
js 0x407650
je 0x407420
movzx eax, byte [0x4360f9]
push dword [esi + 0x34]
push dword [esi + 0x1c]
call fcn.00408090
add esp, 8
mov edi, eax
test edi, edi
jne 0x40742b
jmp 0x407767
mov edi, 8
jmp 0x40742b
mov edi, dword [esi + 0x34]
test edi, edi
je 0x407767
push dword [esi + 0x1c]
push dword [esi + 0x84]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
mov dword [esi + 0x9c], edi
test ecx, ecx
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], eax
je 0x4074a0
cmp ecx, 0x1fffffff
ja 0x40772d
cmp dword [esi + 0x18], 0
js 0x4076da
je 0x4074b0
movzx eax, byte [0x4360f9]
push dword [esi + 0x30]
push dword [esi + 0x18]
call fcn.00408090
add esp, 8
mov edi, eax
test edi, edi
jne 0x4074bb
jmp 0x407681
mov edi, 4
jmp 0x4074bb
mov edi, dword [esi + 0x30]
test edi, edi
je 0x407681
push dword [esi + 0x18]
push dword [esi + 0x80]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x40]
mov dword [esi + 0xa8], edi
test ecx, ecx
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], eax
je 0x407510
js 0x40763c
movzx eax, byte [0x4360f9]
push dword [esi + 0x4c]
push ecx
call fcn.00408090
mov ecx, dword [esi + 8]
add esp, 8
mov edi, eax
test eax, eax
jne 0x407515
jmp 0x40774f
mov edi, 1
push ecx
push dword [esi + 0x7c]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 8]
add esp, 0xc
mov eax, dword [esi + 0x58]
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xbc], ecx
test eax, eax
je 0x4071a0
cmp eax, 0xaaaaaaa
ja 0x40770b
cmp dword [esi + 0x14], 0
js 0x4076b2
je 0x407580
movzx eax, byte [0x4360f9]
push dword [esi + 0x2c]
push dword [esi + 0x14]
call fcn.00408090
add esp, 8
mov edi, eax
test edi, edi
jne 0x4071a5
jmp 0x40758b
mov edi, dword [esi + 0x2c]
test edi, edi
jne 0x4071a5
mov dword [esi + 0x1b8], 6
push dword [esi + 0x14]
push dword [esi + 0x2c]
call fcn.0042c6c0
add esp, 8
jmp 0x407790
mov edi, ecx
shl edi, 7
add edi, dword [edx]
sub ebx, ecx
mov dword [edx + 8], ecx
je 0x4075f2
nop word cs:[eax + eax]
mov ecx, edi
call fcn.00406ea0
sub edi, 0xffffff80
dec ebx
jne 0x4075c0
jmp 0x4075ea
mov ecx, dword [esi + 0x10]
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 0x28]
cmp eax, dword [ebp + 0xc]
jne 0x40761c
mov dword [edi], ecx
lea ecx, [esi + 0x100]
call fcn.00406ea0
mov eax, dword [esi + 0x28]
cmp eax, dword [ebp + 0xc]
jb 0x4075fa
mov ecx, dword [ebp + 0x10]
call fcn.00406ea0
mov eax, dword [esi + 0x1b0]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 0x5c]
mov eax, dword [esi + 0x28]
cmp eax, dword [ebp + 0xc]
je 0x4075dd
push 0x80
push dword [ebp + 0x10]
push ebx
mov ebx, ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
inc ebx
mov dword [edi], ebx
mov eax, dword [esi + 0x28]
cmp eax, dword [ebp + 0xc]
jae 0x4075f2
jmp 0x4075fa
mov dword [esi + 0x1b8], 5
call fcn.00421720
jmp 0x407790
mov dword [esi + 0x1b8], 3
call fcn.00421720
jmp 0x407790
mov dword [esi + 0x1b8], 1
push dword [esi + 0x24]
push dword [esi + 0x3c]
call fcn.0042c6c0
add esp, 8
jmp 0x407790
mov dword [esi + 0x1b8], 4
push dword [esi + 0x18]
push dword [esi + 0x30]
call fcn.0042c6c0
add esp, 8
jmp 0x407790
mov dword [esi + 0x1b8], 3
call fcn.00421720
jmp 0x407790
mov dword [esi + 0x1b8], 6
call fcn.00421720
jmp 0x407790
mov dword [esi + 0x1b8], 1
call fcn.00421720
jmp 0x407790
mov dword [esi + 0x1b8], 4
call fcn.00421720
jmp 0x407790
mov dword [esi + 0x1b8], 2
push dword [esi + 0x20]
push dword [esi + 0x38]
call fcn.0042c6c0
add esp, 8
jmp 0x407790
mov dword [esi + 0x1b8], 6
call fcn.00421720
jmp 0x407790
mov dword [esi + 0x1b8], 1
call fcn.00421720
jmp 0x407790
mov dword [esi + 0x1b8], 4
call fcn.00421720
jmp 0x407790
mov dword [esi + 0x1b8], 2
call fcn.00421720
jmp 0x407790
mov dword [esi + 0x1b8], 5
push ecx
push dword [esi + 0x4c]
call fcn.0042c6c0
add esp, 8
jmp 0x407790
mov dword [esi + 0x1b8], 3
push dword [esi + 0x1c]
push dword [esi + 0x34]
call fcn.0042c6c0
add esp, 8
jmp 0x407790
mov dword [esi + 0x1b8], 2
call fcn.00421720
ud2