Function at 0x5ad970
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5adf85
sub esp, 0x48
lea eax, [0x605100]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
lea edx, [0x61190b]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xe
call fcn.0040f4e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
cmp edx, 1
jle 0x5adc53
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
jmp 0x5ad9e0
dec ebp
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
add ebx, ebp
mov ebp, esi
test ebp, ebp
jle 0x5ada06
movzx esi, byte [ebx]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x5ad9cd
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x5ad9cd
xchg esi, eax
cmp al, 0xa
xchg esi, eax
je 0x5ad9cd
xchg esi, eax
cmp al, 0xd
xchg esi, eax
je 0x5ad9cd
jmp 0x5ada06
dec ebp
test ebp, ebp
jle 0x5ada2b
movzx esi, byte [ebx + ebp - 1]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x5ada05
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x5ada05
xchg esi, eax
cmp al, 0xa
xchg esi, eax
je 0x5ada05
xchg esi, eax
cmp al, 0xd
xchg esi, eax
je 0x5ada05
mov dword [esp + 0x24], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], eax
lea esi, [edx - 1]
mov dword [esp + 0x30], esi
xor edi, edi
jmp 0x5adadf
dec esi
mov edx, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add eax, esi
mov esi, edx
mov edx, dword [esp + 0x24]
test esi, esi
jle 0x5ada82
movzx edx, byte [eax]
cmp dl, 0x20
je 0x5ada4d
cmp dl, 9
je 0x5ada4d
cmp dl, 0xa
je 0x5ada4d
cmp dl, 0xd
je 0x5ada4d
jmp 0x5ada82
dec esi
test esi, esi
jle 0x5ada9f
movzx edx, byte [eax + esi - 1]
cmp dl, 0x20
je 0x5ada81
cmp dl, 9
je 0x5ada81
cmp dl, 0xa
je 0x5ada81
cmp dl, 0xd
je 0x5ada81
cmp esi, ebp
jne 0x5adaf5
mov dword [esp + 0x2c], edi
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.004028b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5adaf5
mov eax, dword [esp + 0x2c]
lea edi, [eax + 1]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x20]
cmp esi, edi
jle 0x5adb85
lea esi, [ecx + edi*8 + 8]
mov eax, dword [esi]
mov esi, dword [esi + 4]
jmp 0x5ada64
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.004091b0
mov eax, dword [esp + 0xc]
lea ecx, [0x5d32e0]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea eax, [0x620351]
mov dword [esp], eax
mov dword [esp + 4], 0x44
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004ad3c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
add esp, 0x48
ret
nop
nop
lea eax, [0x61190b]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.00570840
lea eax, [0x5fc640]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.0040ff50
nop
nop
lea eax, [0x61190b]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.00570840
lea eax, [0x5fc640]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.0040fbb0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 8]
lea ebp, [ecx + 1]
cmp ebp, ebx
ja 0x5adf34
lea ebx, [ecx + 1]
mov dword [eax + 4], ebx
lea ebx, [edx + ecx*8 + 4]
mov ebp, dword [esp + 0x20]
mov dword [ebx], ebp
mov ebx, dword [0x7a0970]
lea edi, [edx + ecx*8]
test ebx, ebx
jne 0x5adf26
mov eax, dword [esp + 0x34]
mov dword [edi], eax
lea eax, [0x605100]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
lea ecx, [0x61190b]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xe
call fcn.0040f4e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov ebx, dword [esp + 0x58]
cmp ebx, 4
jne 0x5adc6c
mov ebx, dword [esp + 0x54]
cmp dword [ebx], 0x44414548
je 0x5ade5f
mov eax, 0x51eb851f
mov ebx, dword [esp + 0x50]
mov ebp, edx
imul ebx
sar edx, 5
mov esi, ebx
sar ebx, 0x1f
sub edx, ebx
cmp edx, 1
je 0x5ade3b
cmp esi, 0xcc
je 0x5ade17
cmp esi, 0x130
je 0x5ade17
movzx eax, byte [esp + 0x60]
test al, al
jne 0x5addf3
cmp ebp, 1
jne 0x5addea
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x5adcd0
dec ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add eax, ecx
mov ecx, edx
test ecx, ecx
jle 0x5adcee
movzx edx, byte [eax]
cmp dl, 0x20
je 0x5adcc1
cmp dl, 9
je 0x5adcc1
cmp dl, 0xa
je 0x5adcc1
cmp dl, 0xd
je 0x5adcc1
jmp 0x5adcee
dec ecx
test ecx, ecx
jle 0x5add0b
movzx edx, byte [ecx + eax - 1]
cmp dl, 0x20
je 0x5adced
cmp dl, 9
je 0x5adced
cmp dl, 0xa
je 0x5adced
cmp dl, 0xd
je 0x5adced
test ecx, ecx
je 0x5add6b
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005aef20
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
test eax, eax
je 0x5add4f
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
add esp, 0x48
ret
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x48
ret
nop
nop
lea eax, [0x61190b]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.00570840
lea eax, [0x5fc640]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.0040ff50
movzx eax, byte [esp + 0x4c]
test al, al
je 0x5addc6
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x48
ret
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x48
ret
xor ecx, ecx
xor eax, eax
jmp 0x5add0b
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x48
ret
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x48
ret
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x48
ret
movzx ebx, byte [esp + 0x4c]
test bl, bl
je 0x5ade8c
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x48
ret
test edx, edx
jle 0x5ade68
cmp edx, 1
jne 0x5adea2
mov ebx, dword [ecx]
cmp dword [ecx + 4], 1
jne 0x5adea2
cmp byte [ebx], 0x30
je 0x5ade68
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004091b0
mov eax, dword [esp + 0xc]
lea ecx, [0x5d32e0]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea eax, [0x61e512]
mov dword [esp], eax
mov dword [esp + 4], 0x34
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004ad3c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
add esp, 0x48
ret
mov eax, dword [esp + 0x34]
call fcn.0045de10
jmp 0x5adc1f
mov dword [esp + 0x3c], eax
lea eax, [0x5db180]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00445150
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x3c]
mov dword [edi + 8], edx
mov edx, dword [0x7a0970]
test edx, edx
jne 0x5adf7e
mov dword [edi], eax
mov edx, eax
mov eax, edi
jmp 0x5adbf8
call fcn.0045de10
jmp 0x5adf75
call fcn.0045c8b0
jmp fcn.005ad970