Function at 0x1018cb20
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x1018d2a0
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
mov edi, 5
mov edx, dword fs:[0]
cmp eax, 4
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
ja 0x1018cbc9
lea ecx, [esi + eax]
mov edx, 0xfffffffb
jmp 0x1018cb77
inc edx
mov esi, eax
add esi, edx
je 0x1018cbc9
movzx esi, byte [ecx + edx + 5]
test esi, esi
je 0x1018cb70
cmp esi, 0xcc
je 0x1018cb70
cmp esi, 0x90
je 0x1018cb70
cmp eax, 1
ja 0x1018ccfd
add eax, 0xfffffffe
jmp 0x1018cba8
inc ecx
inc eax
je 0x1018ccfd
movzx edx, byte [ecx]
test edx, edx
je 0x1018cba0
cmp edx, 0xcc
je 0x1018cba0
cmp edx, 0x90
je 0x1018cba0
mov esi, 0x80000007
jmp 0x1018cdb0
xor ebx, ebx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x30], 0
movzx eax, byte [0x10284b09]
push 4
push 8
call fcn.10013450
add esp, 8
test eax, eax
je 0x1018cde3
mov esi, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0x10243330
mov dword [esi], eax
mov byte [esi + 4], 1
movzx eax, byte [0x10284b09]
push 4
push 8
call fcn.10013450
add esp, 8
test eax, eax
je 0x1018cdfb
mov dword [eax], esi
mov dword [ebp - 0x2c], eax
mov dword [eax + 4], 0x10243330
lea eax, [ebp - 0x38]
mov dword [ebp - 0x10], 5
push eax
call fcn.1015de80
add esp, 4
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
cmp byte [ebp - 0x20], 0
mov dword [eax], ecx
mov ecx, 1
mov dword [eax + 4], 0x10243348
mov dword [ebp - 0x30], 1
je 0x1018ce51
movzx eax, byte [0x10284b09]
push 1
push 1
call fcn.10013450
add esp, 8
test eax, eax
je 0x1018ce13
mov dword [ebp - 0x48], eax
mov byte [eax], 0xfb
mov dword [ebp - 0x44], 0x1024339c
mov esi, eax
movzx eax, byte [0x10284b09]
push 4
push 8
call fcn.10013450
add esp, 8
test eax, eax
je 0x1018ce2b
mov ecx, dword [ebp - 0x30]
mov dword [eax], esi
mov esi, 0x102433b4
mov dword [eax + 4], 0x1024339c
cmp ecx, dword [ebp - 0x38]
jne 0x1018ce43
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 3
push eax
call fcn.1015de80
add esp, 4
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov esi, 0x102433b4
jmp 0x1018ce43
mov ecx, dword [ebp + 0xc]
mov esi, 0x80000007
movzx eax, byte [ecx - 5]
test eax, eax
je 0x1018cd1f
cmp eax, 0xcc
je 0x1018cd1f
cmp eax, 0x90
jne 0x1018cdb0
add ecx, 0xfffffffb
movzx eax, byte [ecx + 1]
test eax, eax
je 0x1018cd38
cmp eax, 0xcc
je 0x1018cd38
cmp eax, 0x90
jne 0x1018cdb0
movzx eax, byte [ecx + 2]
test eax, eax
je 0x1018cd4e
cmp eax, 0xcc
je 0x1018cd4e
cmp eax, 0x90
jne 0x1018cdb0
movzx eax, byte [ecx + 3]
test eax, eax
je 0x1018cd64
cmp eax, 0xcc
je 0x1018cd64
cmp eax, 0x90
jne 0x1018cdb0
movzx eax, byte [ecx + 4]
test eax, eax
je 0x1018cd7a
cmp eax, 0xcc
je 0x1018cd7a
cmp eax, 0x90
jne 0x1018cdb0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x28], ecx
push ecx
push eax
call fcn.1018ca30
add esp, 8
mov edx, dword [ebp - 0x38]
movzx eax, byte [ebp - 0x34]
cmp edx, 0x8000000d
jne 0x1018cdc7
test al, 1
je 0x1018cdb0
mov edi, 7
mov bl, 1
jmp 0x1018cbcb
mov edx, dword [ebp + 8]
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov dword [edx], 0x80000000
jmp 0x1018d03d
movzx esi, word [ebp - 0x33]
movzx ecx, al
movzx eax, byte [ebp - 0x31]
shl esi, 8
shl eax, 0x18
or eax, esi
mov esi, edx
or eax, ecx
mov ecx, dword [ebp - 0x30]
jmp 0x1018cdb0
mov dword [ebp - 0x10], 0
push 8
push 4
call fcn.101cc329
add esp, 8
jmp 0x1018d090
mov dword [ebp - 0x10], 6
push 8
push 4
call fcn.101cc329
add esp, 8
jmp 0x1018d090
mov dword [ebp - 0x10], 0
push 1
push 1
call fcn.101cc329
add esp, 8
jmp 0x1018d090
mov dword [ebp - 0x10], 4
push 8
push 4
call fcn.101cc329
add esp, 8
jmp 0x1018d090
mov edx, dword [ebp - 0x34]
mov dword [edx + ecx*8], eax
mov dword [edx + ecx*8 + 4], esi
inc ecx
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x1018cea3
mov eax, dword [ebp - 0x34]
xor edx, edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x4c], eax
xor eax, eax
nop dword [eax]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [ecx + edx*8 + 4]
push dword [ecx + edx*8]
call dword [eax + 0x10]
add esp, 4
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x24]
add ecx, eax
inc edx
mov eax, ecx
cmp edx, esi
jne 0x1018ce70
mov esi, dword [ebp - 0x3c]
cmp eax, esi
jae 0x1018cf28
movzx eax, byte [0x10284b09]
push 1
push 1
call fcn.10013450
add esp, 8
test eax, eax
je 0x1018d069
mov byte [eax], 0x90
mov esi, eax
movzx eax, byte [0x10284b09]
push 4
push 0xc
call fcn.10013450
add esp, 8
test eax, eax
je 0x1018d051
mov ecx, dword [ebp - 0x30]
mov dword [eax], 1
mov dword [eax + 4], esi
mov esi, 0x1024335c
mov dword [eax + 8], 1
cmp ecx, dword [ebp - 0x38]
jne 0x1018ce43
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 1
push eax
call fcn.1015de80
add esp, 4
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov esi, 0x1024335c
jmp 0x1018ce43
mov eax, dword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x38]
mov dword [ebp - 0x40], eax
movsd qword [ebp - 0x48], xmm0
movzx eax, byte [0x10284b09]
push 1
push esi
call fcn.10013450
add esp, 8
test eax, eax
je 0x1018d07e
push esi
mov edi, dword [ebp - 0x28]
push edi
mov dword [ebp - 0x20], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x10], 8
lea eax, [ebp - 0x48]
mov dword [ebp - 0x28], edi
push edi
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.1018bfc0
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
movsd xmm0, qword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x28]
mov dword [ecx + 0x14], eax
movsd qword [ecx + 0xc], xmm0
mov dword [ecx], edx
mov dword [ecx + 4], edi
mov dword [ecx + 8], edx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x1c], edx
mov ecx, dword [ebp - 0x40]
test ecx, ecx
mov dword [ebp - 0x28], ecx
je 0x1018d025
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x44]
neg ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], ecx
mov ecx, 1
jmp 0x1018cfe3
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
lea eax, [eax + ecx + 1]
inc ecx
cmp eax, 1
mov eax, dword [ebp - 0x4c]
je 0x1018d025
mov edx, dword [eax + ecx*8 - 8]
mov eax, dword [eax + ecx*8 - 4]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], eax
mov eax, dword [eax]
mov dword [ebp - 0x20], edx
test eax, eax
je 0x1018d009
mov dword [ebp - 0x10], 0xa
push dword [ebp - 0x20]
call eax
add esp, 4
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
test eax, eax
je 0x1018cfd0
push dword [edx + 8]
push eax
push ecx
call fcn.10013460
add esp, 0xc
jmp 0x1018cfd0
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x1018d03d
shl eax, 3
push 4
push eax
push dword [ebp - 0x44]
call fcn.10013460
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 2
push 0xc
push 4
call fcn.101cc329
add esp, 8
jmp 0x1018d090
mov dword [ebp - 0x10], 0
push 1
push 1
call fcn.101cc311
add esp, 8
jmp 0x1018d090
mov dword [ebp - 0x10], 7
push esi
push 1
call fcn.101cc311
add esp, 8
ud2