Function at 0x1004a6f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x1004ada0
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
mov edx, dword fs:[0]
cmp eax, 4
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
ja 0x1004a793
lea ecx, [edi + eax]
mov edx, 0xfffffffb
jmp 0x1004a747
inc edx
mov esi, eax
add esi, edx
je 0x1004a793
movzx ebx, byte [ecx + edx + 5]
cmp bl, 0x90
je 0x1004a740
test bl, bl
je 0x1004a740
cmp bl, 0xcc
je 0x1004a740
cmp eax, 1
ja 0x1004a8c3
add eax, 0xfffffffe
jmp 0x1004a778
inc ecx
inc eax
je 0x1004a8c3
movzx edx, byte [ecx]
cmp dl, 0x90
je 0x1004a770
test dl, dl
je 0x1004a770
cmp dl, 0xcc
je 0x1004a770
mov esi, 8
jmp 0x1004a93b
mov dword [ebp - 0x34], 5
xor ebx, ebx
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 4
push 8
call fcn.1001d510
add esp, 8
test eax, eax
je 0x1004a966
mov esi, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0x10119edc
mov dword [esi], eax
mov byte [esi + 4], 1
push 4
push 8
call fcn.1001d510
add esp, 8
test eax, eax
je 0x1004a97b
mov dword [eax], esi
mov dword [ebp - 0x48], eax
mov dword [eax + 4], 0x10119edc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x44], 0x10119af8
mov dword [ebp - 0x10], 5
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.10029c70
add esp, 8
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x30]
mov dword [eax + ecx*8], edx
mov dword [eax + ecx*8 + 4], 0x10119af8
mov edi, dword [ebp - 0x24]
inc edi
cmp byte [ebp - 0x20], 0
mov dword [ebp - 0x24], edi
je 0x1004a9c3
push 1
push 1
call fcn.1001d510
add esp, 8
test eax, eax
je 0x1004a990
mov esi, eax
mov dword [ebp - 0x48], eax
mov byte [eax], 0xfb
mov dword [ebp - 0x44], 0x10119eac
push 4
push 8
call fcn.1001d510
add esp, 8
test eax, eax
je 0x1004a9a5
cmp edi, dword [ebp - 0x28]
mov dword [eax], esi
mov dword [ebp - 0x48], eax
mov dword [eax + 4], 0x10119eac
mov dword [ebp - 0x44], 0x10119b34
jne 0x1004a8b0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 3
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.10029c70
add esp, 8
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + edi*8], eax
mov dword [ecx + edi*8 + 4], 0x10119b34
jmp 0x1004a9bc
mov al, byte [edi - 5]
mov esi, 8
cmp al, 0x90
je 0x1004a8d7
test al, al
je 0x1004a8d7
cmp al, 0xcc
jne 0x1004a93b
add edi, 0xfffffffb
mov al, byte [edi + 1]
cmp al, 0x90
je 0x1004a8e9
test al, al
je 0x1004a8e9
cmp al, 0xcc
jne 0x1004a93b
mov al, byte [edi + 2]
cmp al, 0x90
je 0x1004a8f8
test al, al
je 0x1004a8f8
cmp al, 0xcc
jne 0x1004a93b
mov al, byte [edi + 3]
cmp al, 0x90
je 0x1004a907
test al, al
je 0x1004a907
cmp al, 0xcc
jne 0x1004a93b
mov al, byte [edi + 4]
cmp al, 0x90
je 0x1004a916
test al, al
je 0x1004a916
cmp al, 0xcc
jne 0x1004a93b
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.1004c740
add esp, 8
cmp dword [ebp - 0x48], 0
je 0x1004a952
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
jmp 0x1004a93b
mov edx, dword [ebp + 8]
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov dword [edx], 1
jmp 0x1004abba
test byte [ebp - 0x40], 8
je 0x1004a93b
mov bl, 1
mov dword [ebp - 0x34], 7
jmp 0x1004a79c
mov dword [ebp - 0x10], 0
push 4
push 8
call fcn.100f97e0
add esp, 8
jmp 0x1004a9ba
mov dword [ebp - 0x10], 6
push 4
push 8
call fcn.100f97e0
add esp, 8
jmp 0x1004a9ba
mov dword [ebp - 0x10], 0
push 1
push 1
call fcn.100f97e0
add esp, 8
jmp 0x1004a9ba
mov dword [ebp - 0x10], 4
push 4
push 8
call fcn.100f97e0
add esp, 8
jmp 0x1004a9ba
ud2
mov edi, dword [ebp - 0x24]
inc edi
mov dword [ebp - 0x24], edi
lea eax, [edi*8]
test eax, eax
je 0x1004aa1b
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], eax
lea eax, [eax + edi*8]
mov dword [ebp - 0x4c], eax
nop dword [eax + eax]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 4]
push dword [ecx]
call dword [eax + 0x10]
add esp, 4
mov ecx, dword [ebp - 0x20]
add dword [ebp - 0x30], eax
add ecx, 8
cmp ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x20], ecx
jne 0x1004a9f0
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x34]
jae 0x1004aaa8
push 1
push 1
call fcn.1001d510
add esp, 8
test eax, eax
je 0x1004abe6
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 1
mov byte [eax], 0x90
mov dword [ebp - 0x40], 1
push 4
push 0xc
call fcn.1001d510
add esp, 8
test eax, eax
je 0x1004abce
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x40]
movsd xmm0, qword [ebp - 0x48]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0x10119b0c
cmp edx, dword [ebp - 0x28]
mov dword [eax + 8], ecx
movsd qword [eax], xmm0
jne 0x1004aa95
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 1
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.10029c70
add esp, 8
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + edx*8], eax
mov dword [ecx + edx*8 + 4], 0x10119b0c
jmp 0x1004a9bc
push 1
mov esi, dword [ebp - 0x34]
push esi
call fcn.1001d510
add esp, 8
test eax, eax
je 0x1004abfe
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], esi
push esi
mov edi, dword [ebp - 0x50]
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x10], 8
lea eax, [ebp - 0x48]
push edi
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov dword [ebp - 0x34], esi
call fcn.1004a450
add esp, 0xc
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp + 8]
movsd xmm0, qword [ebp - 0x5c]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x40]
movsd qword [ecx + 0xc], xmm0
movsd xmm0, qword [ebp - 0x48]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x50]
movsd qword [ecx + 0x18], xmm0
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx], 0
test eax, eax
je 0x1004ab9e
mov edi, dword [ebp - 0x2c]
lea ecx, [edi + eax*8]
add edi, 8
lea eax, [eax*8 - 8]
mov dword [ebp - 0x4c], ecx
jmp 0x1004ab63
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x4c]
add esi, 8
add edi, 8
add eax, 0xfffffff8
cmp esi, ecx
je 0x1004ab9e
mov edx, dword [edi - 8]
mov ecx, dword [edi - 4]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0xa
push edx
call dword [ecx]
add esp, 4
mov edx, dword [ebp - 0x30]
lea esi, [edx - 8]
mov edi, edx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1004ab50
push dword [eax + 8]
push ecx
push dword [esi]
call fcn.1001d520
add esp, 0xc
jmp 0x1004ab50
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1004abba
mov ecx, 8
mul ecx
push 4
push eax
push dword [ebp - 0x2c]
call fcn.1001d520
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 2
push 4
push 0xc
call fcn.100f97e0
add esp, 8
jmp 0x1004a9ba
mov dword [ebp - 0x10], 0
push 1
push 1
call fcn.100f97e0
add esp, 8
jmp 0x1004a9ba
mov dword [ebp - 0x10], 7
push 1
push esi
call fcn.100f97e0
add esp, 8
jmp 0x1004a9ba