Function at 0x1018de70
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x1018e650
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x30], 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 0x1018df19
lea ecx, [esi + eax]
mov edx, 0xfffffffb
jmp 0x1018dec7
inc edx
mov esi, eax
add esi, edx
je 0x1018df19
movzx esi, byte [ecx + edx + 5]
test esi, esi
je 0x1018dec0
cmp esi, 0xcc
je 0x1018dec0
cmp esi, 0x90
je 0x1018dec0
cmp eax, 1
ja 0x1018e04f
add eax, 0xfffffffe
jmp 0x1018def8
inc ecx
inc eax
je 0x1018e04f
movzx edx, byte [ecx]
test edx, edx
je 0x1018def0
cmp edx, 0xcc
je 0x1018def0
cmp edx, 0x90
je 0x1018def0
mov esi, 0x80000007
jmp 0x1018e18c
xor ebx, ebx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 4
mov dword [ebp - 0x40], 0
movzx eax, byte [0x10284b49]
push 4
push 8
call fcn.10013770
add esp, 8
test eax, eax
je 0x1018e1a3
mov esi, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 0x10242c68
mov dword [esi], eax
mov byte [esi + 4], 1
movzx eax, byte [0x10284b49]
push 4
push 8
call fcn.10013770
add esp, 8
test eax, eax
je 0x1018e1bb
mov dword [eax], esi
mov dword [ebp - 0x2c], eax
mov dword [eax + 4], 0x10242c68
lea eax, [ebp - 0x48]
mov dword [ebp - 0x10], 5
push eax
call fcn.10156bc0
add esp, 4
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x2c]
cmp byte [ebp - 0x20], 0
mov edi, 1
mov dword [eax], ecx
mov dword [eax + 4], 0x10242c80
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x40], 1
je 0x1018e206
movzx eax, byte [0x10284b49]
push 1
push 1
call fcn.10013770
add esp, 8
test eax, eax
je 0x1018e1d3
mov dword [ebp - 0x58], eax
mov byte [eax], 0xfb
mov dword [ebp - 0x54], 0x10242cd4
mov esi, eax
movzx eax, byte [0x10284b49]
push 4
push 8
call fcn.10013770
add esp, 8
test eax, eax
je 0x1018e1eb
cmp dword [ebp - 0x48], 1
mov dword [eax], esi
mov dword [eax + 4], 0x10242cd4
jne 0x1018e038
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x10], 3
push eax
call fcn.10156bc0
add esp, 4
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edi, 2
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0x10242cec
jmp 0x1018e203
mov ecx, dword [ebp + 0xc]
mov esi, 0x80000007
movzx eax, byte [ecx - 5]
test eax, eax
je 0x1018e071
cmp eax, 0xcc
je 0x1018e071
cmp eax, 0x90
jne 0x1018e18c
add ecx, 0xfffffffb
movzx eax, byte [ecx + 1]
test eax, eax
je 0x1018e08e
cmp eax, 0xcc
je 0x1018e08e
cmp eax, 0x90
jne 0x1018e18c
movzx eax, byte [ecx + 2]
test eax, eax
je 0x1018e0a8
cmp eax, 0xcc
je 0x1018e0a8
cmp eax, 0x90
jne 0x1018e18c
movzx eax, byte [ecx + 3]
test eax, eax
je 0x1018e0c2
cmp eax, 0xcc
je 0x1018e0c2
cmp eax, 0x90
jne 0x1018e18c
movzx eax, byte [ecx + 4]
test eax, eax
je 0x1018e0dc
cmp eax, 0xcc
je 0x1018e0dc
cmp eax, 0x90
jne 0x1018e18c
lea eax, [ebp - 0x48]
mov dword [ebp - 0x10], 0xffffffff
push 1
mov dword [ebp - 0x28], ecx
push ecx
push eax
call fcn.1018c550
add esp, 0xc
mov ecx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
cmp ecx, 0x80000005
jne 0x1018e154
lea ecx, [ebp - 0x64]
push eax
push edi
push ecx
call fcn.1018e690
add esp, 0xc
mov ecx, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x60]
cmp ecx, 0x80000005
jne 0x1018e158
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x4c], edi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.1018eac0
add esp, 8
movzx eax, byte [ebp - 0x36]
cmp al, 3
jne 0x1018e15f
mov esi, 0x80000000
jmp 0x1018e18c
mov ebx, edi
jmp 0x1018e15b
mov eax, dword [ebp - 0x5c]
mov esi, ecx
jmp 0x1018e18c
mov ebx, dword [ebp - 0x44]
cmp al, 2
jne 0x1018e176
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x8000000d
je 0x1018e179
mov eax, dword [ebp - 0x40]
jmp 0x1018e15b
shr bl, 2
test bl, 1
je 0x1018e18c
mov dword [ebp - 0x30], 7
mov bl, 1
jmp 0x1018df1b
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], esi
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], eax
mov dword [ecx], 0x80000000
jmp 0x1018e3ed
mov dword [ebp - 0x10], 0
push 8
push 4
call fcn.101cc679
add esp, 8
jmp 0x1018e440
mov dword [ebp - 0x10], 6
push 8
push 4
call fcn.101cc679
add esp, 8
jmp 0x1018e440
mov dword [ebp - 0x10], 0
push 1
push 1
call fcn.101cc679
add esp, 8
jmp 0x1018e440
mov dword [ebp - 0x10], 4
push 8
push 4
call fcn.101cc679
add esp, 8
jmp 0x1018e440
mov dword [ebp - 0x40], edi
test edi, edi
mov dword [ebp - 0x34], edi
je 0x1018e253
xor eax, eax
xor edx, edx
mov dword [ebp - 0x10], 0
nop dword [eax + eax]
mov ecx, dword [ebp - 0x24]
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 edi, dword [ebp - 0x34]
add ecx, eax
inc edx
mov eax, ecx
cmp edx, edi
jne 0x1018e220
mov esi, dword [ebp - 0x30]
cmp eax, esi
jae 0x1018e2d9
movzx eax, byte [0x10284b49]
push 1
push 1
call fcn.10013770
add esp, 8
test eax, eax
je 0x1018e419
mov byte [eax], 0x90
mov esi, eax
movzx eax, byte [0x10284b49]
push 4
push 0xc
call fcn.10013770
add esp, 8
test eax, eax
je 0x1018e401
cmp edi, dword [ebp - 0x48]
mov dword [eax], 1
mov dword [eax + 4], esi
mov dword [eax + 8], 1
jne 0x1018e2c5
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x10], 1
push eax
call fcn.10156bc0
add esp, 4
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + edi*8], eax
mov dword [ecx + edi*8 + 4], 0x10242c94
inc edi
jmp 0x1018e203
mov eax, dword [ebp - 0x40]
movsd xmm0, qword [ebp - 0x48]
mov dword [ebp - 0x50], eax
movsd qword [ebp - 0x58], xmm0
movzx eax, byte [0x10284b49]
push 1
push esi
call fcn.10013770
add esp, 8
test eax, eax
je 0x1018e42e
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 - 0x58]
mov dword [ebp - 0x28], edi
push edi
push eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x30], esi
call fcn.1018b110
add esp, 0xc
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 8]
movsd xmm0, qword [ebp - 0x48]
mov edx, dword [ebp - 0x30]
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 - 0x50]
test ecx, ecx
mov dword [ebp - 0x28], ecx
je 0x1018e3d5
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x54]
neg ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
mov ecx, 1
jmp 0x1018e393
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
lea eax, [eax + ecx + 1]
inc ecx
cmp eax, 1
mov eax, dword [ebp - 0x34]
je 0x1018e3d5
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 0x1018e3b9
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 0x1018e380
push dword [edx + 8]
push eax
push ecx
call fcn.10013780
add esp, 0xc
jmp 0x1018e380
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x1018e3ed
shl eax, 3
push 4
push eax
push dword [ebp - 0x54]
call fcn.10013780
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add esp, 0x58
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.101cc679
add esp, 8
jmp 0x1018e440
mov dword [ebp - 0x10], 0
push 1
push 1
call fcn.101cc661
add esp, 8
jmp 0x1018e440
mov dword [ebp - 0x10], 7
push esi
push 1
call fcn.101cc661
add esp, 8
ud2