Function at 0x10058b90
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006cc25
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x100f1340]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c0], ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x24]
mov dword [ebp - 0x80c], eax
mov dword [ebp - 0x7c4], 1
mov dword [ebp - 0x7cc], eax
mov dword [ebp - 0x7d0], esi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov ecx, dword [ebp + 0x1c]
sub ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x20]
sbb edi, dword [ebp + 0x18]
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c4], 1
mov dword [ebp - 0x7fc], ecx
test edi, edi
ja 0x10058c2e
jb 0x10059734
test ecx, ecx
je 0x10059734
push ecx
call fcn.1004bda4
mov ecx, dword [esi]
add esp, 4
mov dword [ebp - 0x7c8], eax
cdq
mov esi, dword [ecx + 4]
mov ecx, dword [ebp - 0x7d0]
push edi
mov edi, dword [ebp - 0x7fc]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edx
push eax
call esi
mov esi, dword [ebp - 0x7c0]
lea eax, [ebp - 0x7b8]
push eax
push edi
push dword [ebp - 0x7c8]
xorps xmm0, xmm0
mov byte [ebp - 0x7dc], 0
push dword [esi + 4]
movlpd qword [ebp - 0x7d8], xmm0
call fcn.10060100
add esp, 0x10
test eax, eax
js 0x10059720
mov ecx, dword [ebp - 0x7d4]
xorps xmm0, xmm0
mov edi, dword [ebp - 0x7d8]
movlpd qword [ebp - 0x814], xmm0
mov dword [ebp - 0x7e4], ecx
mov dword [ebp - 0x7e0], edi
nop word [eax + eax]
mov eax, edi
mov dword [ebp - 0x148], 0
add eax, dword [ebp + 0x14]
xorps xmm0, xmm0
movups xmmword [ebp - 0x158], xmm0
adc ecx, dword [ebp + 0x18]
mov dword [ebp - 0x7f8], eax
mov dword [ebp - 0x7d0], ecx
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
push ecx
push eax
push 0x100
lea eax, [ebp - 0x110]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x7b8]
push eax
push dword [esi + 8]
call fcn.100626e0
add esp, 0x18
test eax, eax
js 0x10059720
xorps xmm0, xmm0
mov dword [ebp - 0x130], 0
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x12c], 0
movups xmmword [ebp - 0x140], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10058d50
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x140]
call fcn.1000f480
cmp dword [ebp - 0x12c], 0xf
lea esi, [ebp - 0x140]
mov edi, dword [ebp - 0x130]
cmova esi, dword [ebp - 0x140]
seta byte [ebp - 0x7b9]
mov byte [ebp - 4], 2
test edi, edi
je 0x10058da9
push edi
push 0x20
push esi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
je 0x10058da9
sub eax, esi
jmp 0x10058dac
or eax, 0xffffffff
lea edx, [eax + 1]
cmp edi, edx
lea ecx, [ebp - 0x140]
cmovb edx, edi
cmp byte [ebp - 0x7b9], 0
cmovne ecx, dword [ebp - 0x140]
sub edi, edx
lea eax, [edi + 1]
push eax
lea eax, [ecx + edx]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov dword [ebp - 0x130], edi
cmp dword [ebp - 0x12c], 0xf
lea eax, [ebp - 0x140]
cmova eax, dword [ebp - 0x140]
mov dword [ebp - 0x7d4], eax
cmp edi, 0xf
ja 0x10058e21
push edi
push eax
lea eax, [ebp - 0x158]
mov dword [ebp - 0x148], edi
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [ebp + edi - 0x158], 0
jmp 0x10058e92
cmp edi, 0x7fffffff
ja 0x10059751
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x10058e40
mov eax, 0x7fffffff
jmp 0x10058e4b
cmp eax, 0x16
mov ecx, 0x16
cmovb eax, ecx
mov dword [ebp - 0x7f4], eax
lea eax, [ebp - 0x7f4]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.1000f3f0
mov ecx, dword [ebp - 0x7f4]
mov esi, eax
push edi
push dword [ebp - 0x7d4]
mov dword [ebp - 0x148], edi
push esi
mov dword [ebp - 0x144], ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x14
mov byte [esi + edi], 0
mov dword [ebp - 0x158], esi
mov ecx, dword [ebp - 0x12c]
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x10058ed0
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10058ec6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100596d9
push ecx
push edx
call fcn.1004bd96
add esp, 8
mov eax, dword [ebp - 0x7c0]
push dword [ebp - 0x7b4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x7d4], eax
call fcn.1005d7b0
mov edx, eax
mov dword [ebp - 0x118], 0
mov ecx, edx
mov dword [ebp - 0x114], 0
xorps xmm0, xmm0
add esp, 4
movups xmmword [ebp - 0x128], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10058f12
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x128]
call fcn.1000f480
mov esi, dword [ebp - 0x7e0]
movzx edi, byte [ebp - 0x7b0]
add esi, dword [ebp - 0x7c8]
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0
xorps xmm0, xmm0
mov dword [ebp - 0x184], 0
movups xmmword [ebp - 0x194], xmm0
mov dword [ebp - 0x180], 0xf
mov byte [ebp - 0x194], 0
movups xmmword [ebp - 0x17c], xmm0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0xf
mov byte [ebp - 0x17c], 0
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 7
call fcn.10055d60
mov dword [ebp - 0x7f0], 0
mov dword [ebp - 0x7ec], 0
mov dword [ebp - 0x7e8], 0
test edi, edi
je 0x10059015
push edi
lea ecx, [ebp - 0x7f0]
call fcn.10052f30
push edi
push esi
mov esi, dword [ebp - 0x7f0]
push esi
call sub.VCRUNTIME140.dll_memmove
lea eax, [edi + esi]
add esp, 0xc
mov dword [ebp - 0x7ec], eax
push dword [ebp - 0x7d4]
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 8
push 0
push 0
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x7f0]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x814]
push eax
push dword [ebp - 0x7d0]
lea ecx, [ebp - 0x1d8]
push dword [ebp - 0x7f8]
call fcn.10052e00
mov edx, dword [ebp - 0x7f0]
mov byte [ebp - 4], 7
test edx, edx
je 0x100590b8
mov ecx, dword [ebp - 0x7e8]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x10059090
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100596d9
push ecx
push edx
call fcn.1004bd96
add esp, 8
mov dword [ebp - 0x7f0], 0
mov dword [ebp - 0x7ec], 0
mov dword [ebp - 0x7e8], 0
mov ecx, dword [ebp - 0x114]
mov byte [ebp - 4], 0xa
cmp ecx, 0xf
jbe 0x100590f6
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100590ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100596d9
push ecx
push edx
call fcn.1004bd96
add esp, 8
mov ecx, dword [ebp - 0x7c0]
lea eax, [ebp - 0x7b8]
push eax
lea eax, [ebp - 0x1d8]
push eax
call fcn.10059ce0
cmp byte [ebp - 0x7dc], 0
je 0x10059193
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x128]
call fcn.10024420
or dword [ebp - 0x7c4], 4
lea eax, [ebp - 0x128]
push 0x10090eb8
push eax
call fcn.10056160
mov ecx, dword [ebp - 0x114]
add esp, 8
mov byte [ebp - 0x7b9], al
cmp ecx, 0xf
jbe 0x1005918b
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005917b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100596d9
push ecx
push edx
call fcn.1004bd96
mov al, byte [ebp - 0x7b9]
add esp, 8
test al, al
je 0x100596df
mov esi, dword [ebp - 0x7cc]
lea ecx, [ebp - 0x1d8]
push ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x100591b5
mov ecx, eax
call fcn.10051430
sub dword [esi + 4], 0xffffff80
jmp 0x100591bd
push eax
mov ecx, esi
call fcn.10056550
mov al, byte [ebp - 0x1d2]
mov edi, dword [esi + 4]
test al, al
je 0x1005929a
mov cl, byte [ebp - 0x1d1]
test cl, cl
je 0x100591f5
cmp byte [ebp - 0x1d0], 0
jne 0x100591f5
call fcn.10055d30
mov edi, dword [esi + 4]
mov al, byte [ebp - 0x1d2]
mov cl, byte [ebp - 0x1d1]
test al, al
je 0x1005929a
mov esi, dword [esi]
cmp esi, edi
je 0x10059294
mov eax, dword [ebp - 0x1c4]
nop dword [eax]
test cl, cl
je 0x10059238
mov ecx, dword [ebp - 0x1a8]
xor edx, edx
sub ecx, dword [ebp - 0x1ac]
add ecx, dword [ebp - 0x1c0]
adc edx, dword [ebp - 0x1bc]
add ecx, dword [ebp - 0x1c8]
adc edx, eax
jmp 0x10059240
mov ecx, dword [ebp - 0x1c8]
mov edx, eax
cmp byte [ebp - 0x1d4], 0
je 0x10059261
cmp dword [ebp - 0x164], 1
jne 0x1005925d
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x1c4]
jmp 0x1005925f
xor edx, edx
mov ecx, dword [ecx]
cmp dword [esi + 0x18], ecx
jne 0x1005926b
cmp dword [esi + 0x1c], edx
je 0x10059278
mov cl, byte [ebp - 0x1d1]
sub esi, 0xffffff80
cmp esi, edi
jne 0x10059210
cmp esi, edi
je 0x10059294
mov ecx, dword [ebp - 0x7c0]
lea eax, [ebp - 0x1d8]
push eax
push dword [esi + 0x1c]
push dword [esi + 0x18]
call fcn.1005a080
mov esi, dword [ebp - 0x7cc]
mov eax, dword [esi + 4]
mov esi, dword [esi]
mov dword [ebp - 0x7d4], eax
cmp esi, eax
je 0x1005933b
nop dword [eax]
cmp byte [esi + 6], 0
je 0x1005932c
cmp byte [esi + 7], 0
je 0x100592c7
cmp byte [esi + 8], 0
jne 0x100592c7
call fcn.10055d30
cmp byte [esi + 6], 0
je 0x1005932c
cmp byte [esi + 8], 0
je 0x1005932c
cmp byte [esi + 7], 0
je 0x100592ef
mov ecx, dword [esi + 0x30]
xor edx, edx
sub ecx, dword [esi + 0x2c]
add ecx, dword [esi + 0x18]
adc edx, dword [esi + 0x1c]
add ecx, dword [esi + 0x10]
adc edx, dword [esi + 0x14]
jmp 0x100592f5
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp byte [esi + 4], 0
je 0x1005930a
cmp dword [esi + 0x74], 1
jne 0x10059306
mov edx, dword [ecx + 4]
jmp 0x10059308
xor edx, edx
mov ecx, dword [ecx]
mov edi, dword [ebp - 0x1c0]
cmp ecx, edi
jne 0x1005932c
mov eax, dword [ebp - 0x1bc]
cmp edx, eax
jne 0x1005932c
mov ecx, dword [ebp - 0x7c0]
push esi
push eax
push edi
call fcn.1005a080
sub esi, 0xffffff80
cmp esi, dword [ebp - 0x7d4]
jne 0x100592b0
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x7f8]
jne 0x10059358
mov eax, dword [ebp + 0x18]
mov byte [ebp - 0x7b9], 1
cmp eax, dword [ebp - 0x7d0]
je 0x1005935f
mov byte [ebp - 0x7b9], 0
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x128]
call fcn.10024420
or dword [ebp - 0x7c4], 2
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x808]
call fcn.10050ec0
mov eax, dword [ebp - 0x1a8]
sub eax, dword [ebp - 0x1ac]
mov edi, dword [ebp - 0x128]
mov esi, dword [ebp - 0x808]
cmp eax, 1
jne 0x100593b0
cmp byte [esi], 0xcc
jmp 0x100593be
cmp eax, 2
jb 0x100593c0
cmp byte [esi], 0xf3
jne 0x100593c0
cmp byte [esi + 1], 0xc3
je 0x1005942c
lea eax, [ebp - 0x128]
push 0x10090c98
push eax
call fcn.10056160
add esp, 8
test al, al
je 0x100593e1
cmp byte [ebp - 0x7b9], 0
je 0x1005942c
lea eax, [ebp - 0x128]
push 0x10090ea4
push eax
call fcn.10056160
add esp, 8
test al, al
jne 0x1005942c
cmp dword [ebp - 0x114], 0xf
lea eax, [ebp - 0x128]
push 4
push str.iret
push 0
push dword [ebp - 0x118]
cmova eax, edi
push eax
call fcn.100569d0
add esp, 0x14
mov byte [ebp - 0x7b9], 0
test eax, eax
jne 0x10059433
mov byte [ebp - 0x7b9], 1
test esi, esi
je 0x1005948b
mov ecx, dword [ebp - 0x800]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x1005945d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100596d9
push ecx
push esi
call fcn.1004bd96
mov edi, dword [ebp - 0x128]
add esp, 8
mov dword [ebp - 0x808], 0
mov dword [ebp - 0x804], 0
mov dword [ebp - 0x800], 0
mov eax, dword [ebp - 0x114]
mov byte [ebp - 4], 0xa
cmp eax, 0xf
jbe 0x100594c5
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100594bb
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100596d9
push ecx
push edi
call fcn.1004bd96
add esp, 8
mov eax, dword [ebp - 0x7dc]
mov ecx, 1
cmp byte [ebp - 0x7b9], 0
mov edi, dword [ebp - 0x7e0]
movzx eax, al
cmovne eax, ecx
mov byte [ebp - 4], cl
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x7dc], eax
movzx eax, byte [ebp - 0x7b0]
cdq
add edi, eax
mov dword [ebp - 0x7e0], edi
adc dword [ebp - 0x7e4], edx
cmp ecx, 0xf
jbe 0x1005953c
mov edx, dword [ebp - 0x17c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10059532
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100596d9
push ecx
push edx
call fcn.1004bd96
add esp, 8
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0xf
mov byte [ebp - 0x17c], 0
cmp ecx, 0xf
jbe 0x10059591
mov edx, dword [ebp - 0x194]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10059587
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100596d9
push ecx
push edx
call fcn.1004bd96
add esp, 8
mov ecx, dword [ebp - 0x1a0]
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0xf
mov byte [ebp - 0x194], 0
test ecx, ecx
je 0x1005960e
mov eax, dword [ebp - 0x198]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x100595e6
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100596d9
push edx
push ecx
call fcn.1004bd96
add esp, 8
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0
mov ecx, dword [ebp - 0x1ac]
test ecx, ecx
je 0x10059666
mov edx, dword [ebp - 0x1a4]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1005963e
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100596d9
push edx
push ecx
call fcn.1004bd96
add esp, 8
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0
mov ecx, dword [ebp - 0x144]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x100596a0
mov edx, dword [ebp - 0x158]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10059696
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100596d9
push ecx
push edx
call fcn.1004bd96
add esp, 8
mov esi, dword [ebp - 0x7c0]
lea eax, [ebp - 0x7b8]
push eax
mov eax, dword [ebp - 0x7fc]
sub eax, edi
push eax
mov eax, dword [ebp - 0x7c8]
add eax, edi
push eax
push dword [esi + 4]
call fcn.10060100
add esp, 0x10
test eax, eax
js 0x10059720
mov ecx, dword [ebp - 0x7e4]
jmp 0x10058cc0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea ecx, [ebp - 0x1d8]
call fcn.10051c20
mov ecx, dword [ebp - 0x144]
cmp ecx, 0xf
jbe 0x10059720
mov edx, dword [ebp - 0x158]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10059716
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100596d9
push ecx
push edx
call fcn.1004bd96
add esp, 8
push dword [ebp - 0x7c8]
call fcn.1004bdad
mov eax, dword [ebp - 0x7cc]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004c23f
mov esp, ebp
pop ebp
ret 0x20
call fcn.1001e4b0
int3