Function at 0x596b80
Capabilities:
Check for software breakpoints

Disassembly:
push esi
call fcn.008386b0
mov esi, eax
call fcn.008386b0
movsx ecx, byte [0xe7bf42]
mov edx, dword [ecx*4 + 0xe7bf48]
or dword [eax], edx
movsx eax, byte [0xe7bf42]
movzx ecx, word [eax*2 + 0x8ce638]
mov eax, dword [esi + 0x18]
sub eax, ecx
push 2
mov dword [esi + 0x18], eax
call fcn.00595220
push 0x6c008503
call fcn.005617c0
add esp, 8
pop esi
ret
sub esp, 0x18
movsx eax, byte [0xd9f62f]
cmp eax, 3
mov byte [esp], 0x3a
mov byte [esp + 1], 0x3b
mov byte [esp + 2], 0x3c
mov byte [esp + 3], 0x3d
mov byte [esp + 4], 0x3e
mov byte [esp + 5], 0x3f
mov byte [esp + 6], 0x40
ja case.default.0x595aa8
push ebx
push esi
jmp dword [eax*4 + 0x595e2c]
mov eax, dword [0xd9f5fc]
push 1
push 0
push 2
push 0
push 7
push eax
call fcn.00584900
mov edx, dword [0xd9f5fc]
mov ecx, dword [0xd9f5f4]
push 1
push 0
push 2
push 0
push 8
push edx
mov dword [ecx + 0x1c], eax
call fcn.00584900
mov ecx, dword [0xd9f5f4]
mov ebx, 0x3a
lea esi, [esp + 0x38]
add esp, 0x30
mov dword [ecx + 0x20], eax
sub esi, ebx
lea ebx, [ebx]
mov ecx, dword [0xd9f5f4]
lea edx, [ebx - 0x10]
push edx
mov edx, dword [ecx + 0x1c]
lea eax, [esp + 0x14]
push eax
push edx
call fcn.005849b0
fld dword [esp + 0x20]
push 0
call fcn.0043bd30
fld dword [esp + 0x20]
push eax
call fcn.0043bd30
push eax
xor eax, eax
mov al, bl
sub al, 0x3a
push ebx
push 1
push eax
call fcn.005853f0
xor ecx, ecx
mov cl, byte [esi + ebx]
push ecx
call fcn.0057bb80
push eax
lea edx, [ebx - 0x3a]
push edx
call fcn.00585320
add esp, 0x30
inc ebx
cmp ebx, 0x40
jle 0x595b00
mov eax, dword [0xd9f5f4]
mov ecx, dword [eax + 0x1c]
push 0x36
push ecx
call fcn.005851b0
mov edx, dword [0x910e90]
mov dword [edx + 0xd8], eax
mov eax, dword [0xd9f5f4]
mov ecx, dword [eax + 0x38]
push 0
push ecx
call fcn.00584b40
mov al, byte [0xd9f62f]
add esp, 0x10
inc al
mov byte [0xd9f62f], al
mov eax, dword [0xd9e2c4]
sub eax, 0x40
je 0x595bbe
sub eax, 0x40
jne 0x595be2
mov al, byte [0xd9f630]
inc al
cmp al, 6
mov byte [0xd9f630], al
jle 0x595bd5
mov byte [0xd9f630], 0
jmp 0x595bd5
mov al, byte [0xd9f630]
dec al
cmp al, 0xff
mov byte [0xd9f630], al
jne 0x595bd5
mov byte [0xd9f630], 6
push 0x6c00850c
call fcn.005617c0
add esp, 4
mov eax, dword [0xd9e2e4]
dec eax
je 0x595c11
dec eax
jne 0x595c56
push 0
mov byte [0xd9f62c], 0
mov byte [0xd9f62f], 3
call fcn.00595220
push 0x6c008504
call fcn.005617c0
add esp, 8
jmp 0x595c56
call fcn.00595980
cmp eax, 1
jne 0x595c49
movsx edx, byte [0xd9f630]
xor eax, eax
mov al, byte [esp + edx + 8]
push eax
call fcn.0057bb80
add esp, 4
test eax, eax
jne 0x595c49
inc byte [0xd9f62f]
mov byte [0xd9f62c], 1
push 0x6c008503
jmp 0x595c4e
push 0x6c008561
call fcn.005617c0
add esp, 4
movsx dx, byte [0xd9f630]
mov eax, dword [0xd9f5f4]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x1c]
push ecx
add edx, 0x2a
push edx
push eax
call fcn.00584a60
movsx ecx, byte [0xd9f630]
movzx eax, byte [esp + ecx + 0x14]
push eax
push 0
push 0
push eax
call fcn.00561740
mov edx, dword [0x910e90]
push eax
mov eax, dword [edx + 0xd8]
push eax
call fcn.005a5b60
add esp, 0x24
pop esi
pop ebx
add esp, 0x18
ret
push 4
push 0x910e8c
call fcn.00581300
mov eax, dword [0xd9e2e4]
add esp, 8
dec eax
je 0x595ced
dec eax
jne 0x595e24
push 0
mov byte [0xd9f62f], 1
mov byte [0xd9f62c], 0
call fcn.00595220
push 0x6c008504
call fcn.005617c0
add esp, 8
pop esi
pop ebx
add esp, 0x18
ret
movsx ecx, byte [0xd9f630]
xor edx, edx
mov dl, byte [esp + ecx + 8]
push edi
mov byte [0xd9f62f], 1
push edx
call fcn.0057bb20
add esp, 4
call fcn.008386b0
movsx ecx, byte [0xe7bf42]
movzx edx, word [ecx*2 + 0x8ce638]
mov ecx, dword [eax + 0x18]
add eax, 0x18
sub ecx, edx
mov esi, 0x3a
lea edi, [esp + 0xc]
mov dword [eax], ecx
sub edi, esi
xor eax, eax
mov al, byte [edi + esi]
push eax
call fcn.0057bb80
add esp, 4
test eax, eax
je 0x595d4c
inc esi
cmp esi, 0x40
jle 0x595d34
cmp esi, 0x41
jne 0x595d6d
call fcn.008386b0
movsx ecx, byte [0xe7bf42]
mov edx, dword [ecx*4 + 0xe7bf48]
or dword [eax], edx
mov byte [0xd9f62f], 3
xor esi, esi
mov edi, 7
xor eax, eax
mov al, byte [esp + esi + 0xc]
push eax
call fcn.0057bb80
push eax
push esi
call fcn.00585320
add esp, 0xc
inc esi
dec edi
jne 0x595d74
push 2
mov byte [0xd9f62c], 0
call fcn.00595220
push 0x6c008503
call fcn.005617c0
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x18
ret
mov ebx, 0x3a
xor ecx, ecx
mov cl, bl
sub cl, 0x3a
push ecx
call fcn.005852f0
add esp, 4
inc ebx
cmp ebx, 0x40
jle 0x595db5
mov edx, dword [0xd9f5f4]
mov eax, dword [edx + 0x1c]
push eax
call fcn.00584970
mov ecx, dword [0xd9f5f4]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ecx + 0x20]
push ecx
call fcn.00584970
mov ecx, dword [0xd9f5f4]
mov dword [ecx + 0x20], eax
mov edx, dword [ecx + 0x38]
push 1
push edx
call fcn.00584b40
mov bl, byte [0xe7bf41]
push 4
dec bl
push 0x910e8c
mov byte [0xd9f62f], 0
mov byte [0xe7bf41], bl
call fcn.00581300
add esp, 0x18
pop esi
pop ebx
add esp, 0x18
ret
movsx eax, byte [0xd9f634]
sub esp, 0x20
cmp eax, 3
ja case.default.0x595e56
push ebx
push esi
push edi
jmp dword [eax*4 + 0x596510]
mov ecx, 2
mov eax, 0xd9f5d0
lea edx, [ecx - 2]
mov dword [eax - 4], edx
lea edx, [ecx - 1]
mov dword [eax], edx
lea edx, [ecx + 1]
mov dword [eax + 8], edx
lea edx, [ecx + 2]
mov dword [eax + 4], ecx
mov dword [eax + 0xc], edx
add eax, 0x14
add ecx, 5
cmp eax, 0xd9f5f8
jl 0x595e67
mov eax, dword [0xd9f5fc]
push 1
push 0
push 2
push 0
push 5
push eax
call fcn.00584900
mov edx, dword [0xd9f5fc]
mov ecx, dword [0xd9f5f4]
push 1
push 0
push 2
push 0
push 6
push edx
mov dword [ecx + 0x14], eax
call fcn.00584900
mov ecx, dword [0xd9f5f4]
push 1
push eax
mov dword [ecx + 0x18], eax
call fcn.00584990
mov edx, dword [0xd9f5f4]
mov eax, dword [edx + 0x14]
push 0x34
push eax
call fcn.005851b0
mov ecx, dword [0x910e90]
mov edx, dword [0xd9f5f4]
add esp, 0x40
mov dword [ecx + 0xd0], eax
mov eax, dword [edx + 0x14]
push 0x35
push eax
call fcn.005851b0
mov ecx, dword [0x910e90]
mov edx, dword [0xd9f5f4]
mov dword [ecx + 0xd4], eax
mov eax, dword [edx + 0x14]
push 0x33
push eax
call fcn.005851b0
mov ecx, dword [0x910e90]
add esp, 0x10
mov dword [ecx + 0xcc], eax
xor edi, edi
mov esi, 0xa4
jmp 0x595f40
mov eax, dword [0xd9f5f4]
mov ecx, dword [eax + 0x14]
lea edx, [edi + 0x29]
push edx
push ecx
call fcn.005851b0
mov edx, dword [0x910e90]
mov dword [esi + edx], eax
mov eax, dword [0x910e90]
mov ecx, dword [esi + eax]
push 4
push ecx
call fcn.0048fb00
add esp, 0x10
add esi, 4
inc edi
cmp esi, 0xcc
jl 0x595f40
call fcn.00462e10
push 0
push eax
mov dword [0xd9f5f8], eax
call fcn.00462dc0
mov edx, dword [0xd9f5f8]
push 3
push edx
call fcn.0046ca90
add esp, 0x10
xor ebx, ebx
mov esi, 0xd9f600
push ebp
xor edi, edi
lea ebp, [ebx + ebx*4 + 0x1f]
jmp 0x595fb0
mov eax, dword [0xd9f5f8]
push eax
call fcn.00462bb0
push 0
push eax
mov dword [esi], eax
call fcn.00862f30
mov eax, dword [0xd9f5f4]
lea ecx, [edi + ebp]
push ecx
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x20]
push edx
push ecx
call fcn.005849b0
mov eax, dword [esi]
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x38], 0x41e00000
mov dword [esp + 0x3c], 0x41700000
call fcn.004655b0
add esp, 0x20
inc edi
add esi, 4
cmp edi, 5
jl 0x595fb0
inc ebx
cmp esi, 0xd9f628
jl 0x595fa5
xor esi, esi
pop ebp
mov eax, dword [0xd9f5f4]
lea ecx, [esi + 0x15]
push ecx
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x20]
push edx
push ecx
call fcn.005849b0
fld dword [esp + 0x2c]
push 0
call fcn.0043bd30
fld dword [esp + 0x2c]
push eax
call fcn.0043bd30
push eax
push esi
push 1
push esi
call fcn.005853f0
add esp, 0x24
inc esi
cmp esi, 0xa
jl 0x596011
mov edx, dword [0xd9f5f4]
mov eax, dword [edx + 0x14]
push 0x13
push eax
push 0
push 2
call fcn.005815e0
mov ecx, dword [0xd9f5f4]
mov edx, dword [ecx + 0x14]
push 0x14
push edx
push 1
push 3
call fcn.005815e0
mov eax, dword [0xd9f5f4]
mov ecx, dword [eax + 0x38]
push 0
push ecx
call fcn.00584b40
add esp, 0x28
call fcn.00595040
inc byte [0xd9f634]
mov eax, dword [0xd9e2c4]
add eax, 0xfffffff0
cmp eax, 0x70
mov edi, 0x26
ja case.0x5960b5.17
movzx edx, byte [eax + 0x596534]
jmp dword [edx*4 + 0x596520]
movsx eax, byte [0xd9f632]
lea ecx, [eax + eax*4]
mov al, byte [0xd9f633]
jmp 0x5960d0
dec al
cmp al, 0xff
jne 0x5960d8
mov al, 4
movsx edx, al
add edx, ecx
cmp dword [edx*4 + 0xd9f5cc], edi
jge 0x5960d0
mov byte [0xd9f633], al
jmp 0x596180
movsx eax, byte [0xd9f632]
lea ecx, [eax + eax*4]
mov al, byte [0xd9f633]
nop
inc al
cmp al, 5
jne 0x596108
xor al, al
movsx edx, al
add edx, ecx
cmp dword [edx*4 + 0xd9f5cc], edi
jge 0x596100
mov byte [0xd9f633], al
jmp 0x596180
movsx edx, byte [0xd9f633]
mov cl, byte [0xd9f632]
lea ebx, [ebx]
dec cl
cmp cl, 0xff
jne 0x596139
mov cl, 1
movsx eax, cl
lea esi, [edx + eax*4]
add eax, esi
cmp dword [eax*4 + 0xd9f5cc], edi
jge 0x596130
jmp 0x59617a
movsx edx, byte [0xd9f633]
mov cl, byte [0xd9f632]
lea esp, [esp]
inc cl
cmp cl, 2
jne 0x596169
xor cl, cl
movsx eax, cl
lea esi, [edx + eax*4]
add eax, esi
cmp dword [eax*4 + 0xd9f5cc], edi
jge 0x596160
mov byte [0xd9f632], cl
call fcn.00595040
push 0x6c00850c
call fcn.005617c0
add esp, 4
mov eax, dword [0xd9e2e4]
cmp eax, 0x100
jg 0x59627a
je 0x59622b
dec eax
je 0x5961d9
dec eax
jne 0x596313
push 0
mov byte [0xd9f62c], 0
mov byte [0xd9f634], 3
call fcn.00595220
push 0x6c008504
call fcn.005617c0
add esp, 8
jmp 0x596313
call fcn.00595980
cmp eax, 1
jne 0x596221
movsx eax, byte [0xd9f632]
movsx ecx, byte [0xd9f633]
lea eax, [eax + eax*4]
add eax, ecx
mov edx, dword [eax*4 + 0xd9f5cc]
push edx
call fcn.0057bae0
add esp, 4
test eax, eax
jne 0x596221
inc byte [0xd9f634]
mov byte [0xd9f62c], 1
push 0x6c008503
jmp 0x59630b
push 0x6c008561
jmp 0x59630b
mov al, byte [0xd9f631]
dec al
cmp al, 0xff
mov byte [0xd9f631], al
jne 0x596242
mov al, 3
mov byte [0xd9f631], al
movsx eax, al
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx + 2]
mov eax, 0xd9f5d0
lea edx, [ecx - 2]
mov dword [eax - 4], edx
lea edx, [ecx - 1]
mov dword [eax], edx
lea edx, [ecx + 1]
mov dword [eax + 8], edx
lea edx, [ecx + 2]
mov dword [eax + 4], ecx
mov dword [eax + 0xc], edx
add eax, 0x14
add ecx, 5
cmp eax, 0xd9f5f8
jl 0x596251
jmp 0x5962d7
cmp eax, 0x200
jne 0x596313
mov al, byte [0xd9f631]
inc al
cmp al, 4
mov byte [0xd9f631], al
jne 0x59629c
xor al, al
mov byte [0xd9f631], al
movsx eax, al
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx + 2]
mov eax, 0xd9f5d0
jmp 0x5962b0
lea edx, [ecx - 2]
mov dword [eax - 4], edx
lea edx, [ecx - 1]
mov dword [eax], edx
lea edx, [ecx + 1]
mov dword [eax + 8], edx
lea edx, [ecx + 2]
mov dword [eax + 4], ecx
mov dword [eax + 0xc], edx
add eax, 0x14
add ecx, 5
cmp eax, 0xd9f5f8
jl 0x5962b0
movsx eax, byte [0xd9f632]
movsx ecx, byte [0xd9f633]
lea eax, [eax + eax*4]
add eax, ecx
cmp dword [eax*4 + 0xd9f5cc], edi
jl 0x596301
mov byte [0xd9f632], 0
mov byte [0xd9f633], 0
call fcn.00595040
push 0x6c00850c
call fcn.005617c0
add esp, 4
mov ecx, dword [0xd9f5f4]
mov edx, dword [ecx + 0x18]
movsx ax, byte [0xd9f632]
mov ecx, dword [ecx + 0x14]
push edx
movsx dx, byte [0xd9f633]
lea eax, [eax + eax*4]
lea eax, [eax + edx + 0x15]
push eax
push ecx
call fcn.00584a60
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x20
ret
push 4
push 0x910e8c
call fcn.00581300
mov eax, dword [0xd9e2e4]
add esp, 8
dec eax
je 0x59638f
dec eax
jne 0x596508
push 0
mov byte [0xd9f634], 1
mov byte [0xd9f62c], 0
call fcn.00595220
push 0x6c008504
call fcn.005617c0
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x20
ret
movsx eax, byte [0xd9f632]
lea edx, [eax + eax*4]
movsx eax, byte [0xd9f633]
add edx, eax
mov ecx, dword [edx*4 + 0xd9f5cc]
push ecx
mov byte [0xd9f634], 1
call fcn.0057baa0
add esp, 4
call fcn.008386b0
movsx edx, byte [0xe7bf42]
movzx ecx, word [edx*2 + 0x8ce638]
mov edx, dword [eax + 0x18]
add eax, 0x18
sub edx, ecx
mov dword [eax], edx
xor esi, esi
mov edi, 0x26
mov edi, edi
push esi
call fcn.0057bae0
add esp, 4
test eax, eax
je 0x5963f2
inc esi
cmp esi, edi
jl 0x5963e0
cmp esi, edi
jne 0x596412
call fcn.008386b0
movsx edx, byte [0xe7bf42]
mov ecx, dword [edx*4 + 0xe7bf48]
or dword [eax], ecx
mov byte [0xd9f634], 3
call fcn.00595040
push 2
mov byte [0xd9f62c], 0
call fcn.00595220
push 0x6c008503
call fcn.005617c0
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x20
ret
mov edx, dword [0xd9f5f4]
mov eax, dword [edx + 0x14]
push eax
call fcn.00584970
mov ecx, dword [0xd9f5f4]
mov dword [ecx + 0x14], eax
mov ecx, dword [ecx + 0x18]
push ecx
call fcn.00584970
mov edx, dword [0xd9f5f4]
add esp, 8
mov dword [edx + 0x18], eax
xor esi, esi
push esi
call fcn.005852f0
add esp, 4
inc esi
cmp esi, 0xa
jl 0x596468
mov esi, 0xd9f600
lea esp, [esp]
mov edi, 5
mov eax, dword [esi]
mov ecx, dword [0xd9f5f8]
push eax
push ecx
call fcn.00462c20
add esp, 8
add esi, 4
dec edi
jne 0x596485
cmp esi, 0xd9f628
jl 0x596480
mov edx, dword [0xd9f5f8]
push edx
call fcn.00462ee0
push 2
call fcn.00581960
push 3
call fcn.00581960
mov eax, dword [0xd9f5f4]
mov ecx, dword [eax + 0x38]
push 1
push ecx
call fcn.00584b40
mov bl, byte [0xe7bf41]
push 4
dec bl
push 0x910e8c
mov byte [0xd9f634], 0
mov byte [0xd9f631], 0
mov byte [0xd9f633], 0
mov byte [0xd9f632], 0
mov byte [0xe7bf41], bl
call fcn.00581300
add esp, 0x1c
pop edi
pop esi
pop ebx
add esp, 0x20
ret
movsx eax, byte [0xe7bf42]
sub eax, 0xa
je 0x596bfd
dec eax
je 0x596bf8
push 4
push 0x910e8c
mov byte [0xd9f62c], 1
call fcn.00581300
mov eax, dword [0xd9e2e4]
add esp, 8
dec eax
je 0x596be6
dec eax
jne 0x596be5
mov cl, byte [0xe7bf41]
dec cl
push 4
push 0x910e8c
mov byte [0xe7bf41], cl
mov byte [0xd9f62c], 0
call fcn.00581300
push 0
call fcn.00595220
push 0x6c008504
call fcn.005617c0
add esp, 0x10
ret
dec byte [0xe7bf41]
mov byte [0xd9f62c], 0
jmp 0x595a20
jmp 0x595e40
jmp 0x595a70