Function at 0x5d2cf0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5d331f
sub esp, 0x48
lea eax, [0x632c40]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
lea edx, [0x63f031]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xe
call fcn.0040fae0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
cmp edx, 1
jle 0x5d2d4c
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
jmp 0x5d3039
mov ebx, dword [esp + 0x58]
cmp ebx, 4
jne 0x5d2e3c
mov ebx, dword [esp + 0x54]
cmp dword [ebx], 0x44414548
jne 0x5d2e3c
movzx ebx, byte [esp + 0x4c]
test bl, bl
jne 0x5d2e18
test edx, edx
jle 0x5d2e18
cmp edx, 1
jne 0x5d2d94
mov ebx, dword [ecx]
cmp dword [ecx + 4], 1
jne 0x5d2d94
cmp byte [ebx], 0x30
je 0x5d2e18
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.00408f30
mov eax, dword [esp + 0xc]
lea ecx, [0x606540]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea eax, [0x64d98a]
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.004b1d50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
add esp, 0x48
ret
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x48
ret
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 0x5d2ece
cmp esi, 0xcc
je 0x5d2eaa
cmp esi, 0x130
je 0x5d2eaa
movzx eax, byte [esp + 0x60]
test al, al
jne 0x5d2e86
cmp ebp, 1
jne 0x5d2e80
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x5d2fe0
xor eax, eax
xor ecx, ecx
jmp 0x5d2ef2
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x48
ret
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x48
ret
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x48
ret
test eax, eax
je 0x5d2f52
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005d42d0
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 0x5d2f36
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x64], 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, [0x63f031]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.0058df60
lea eax, [0x62b840]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.00410510
movzx eax, byte [esp + 0x4c]
test al, al
je 0x5d2fad
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x48
ret
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x48
ret
dec ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add eax, ecx
mov ecx, edx
test ecx, ecx
jle 0x5d2ffe
movzx edx, byte [eax]
cmp dl, 0x20
je 0x5d2fd1
cmp dl, 9
je 0x5d2fd1
cmp dl, 0xa
je 0x5d2fd1
cmp dl, 0xd
je 0x5d2fd1
jmp 0x5d2ffe
dec ecx
test ecx, ecx
jle 0x5d301b
movzx edx, byte [ecx + eax - 1]
cmp dl, 0x20
je 0x5d2ffd
cmp dl, 9
je 0x5d2ffd
cmp dl, 0xa
je 0x5d2ffd
cmp dl, 0xd
je 0x5d2ffd
mov edx, eax
mov eax, ecx
mov ecx, edx
jmp 0x5d2ef2
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 0x5d305f
movzx esi, byte [ebx]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x5d3026
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x5d3026
xchg esi, eax
cmp al, 0xa
xchg esi, eax
je 0x5d3026
xchg esi, eax
cmp al, 0xd
xchg esi, eax
je 0x5d3026
jmp 0x5d305f
dec ebp
test ebp, ebp
jle 0x5d3084
movzx esi, byte [ebx + ebp - 1]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x5d305e
xchg esi, eax
cmp al, 9
xchg esi, eax
je 0x5d305e
xchg esi, eax
cmp al, 0xa
xchg esi, eax
je 0x5d305e
xchg esi, eax
cmp al, 0xd
xchg esi, eax
je 0x5d305e
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 0x5d30c2
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 edi, esi
jge 0x5d310b
lea esi, [ecx + edi*8 + 8]
mov eax, dword [esi]
mov esi, dword [esi + 4]
jmp 0x5d3244
mov edx, dword [esp + 0x24]
jmp 0x5d3269
mov edx, dword [esp + 0x24]
cmp esi, ebp
jne 0x5d3297
mov dword [esp + 0x2c], edi
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00402800
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5d30a3
jmp 0x5d328f
nop
nop
lea eax, [0x63f031]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.0058df60
lea eax, [0x62b840]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.00410510
nop
nop
lea eax, [0x63f031]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.0058df60
lea eax, [0x62b840]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.00410170
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 8]
lea ebp, [ecx + 1]
cmp ebx, ebp
jae 0x5d31c6
mov dword [esp + 0x3c], eax
lea eax, [0x60d840]
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.004476d0
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 [0x816df0]
test edx, edx
jne 0x5d31bd
mov dword [edi], eax
jmp 0x5d31c2
call fcn.0045e5d0
mov edx, eax
mov eax, edi
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 [0x816df0]
lea edi, [edx + ecx*8]
test ebx, ebx
jne 0x5d31eb
mov eax, dword [esp + 0x34]
mov dword [edi], eax
jmp 0x5d31f4
mov eax, dword [esp + 0x34]
call fcn.0045e5d0
lea eax, [0x632c40]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
lea ecx, [0x63f031]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xe
call fcn.0040fae0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x5d2d4c
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 0x5d3269
movzx edx, byte [eax]
cmp dl, 0x20
je 0x5d322d
cmp dl, 9
je 0x5d322d
cmp dl, 0xa
je 0x5d322d
cmp dl, 0xd
je 0x5d322d
jmp 0x5d30d4
dec esi
mov edx, dword [esp + 0x24]
test esi, esi
jle 0x5d30e1
movzx edx, byte [eax + esi - 1]
cmp dl, 0x20
je 0x5d3264
cmp dl, 9
je 0x5d3264
cmp dl, 0xa
je 0x5d3264
cmp dl, 0xd
je 0x5d3264
jmp 0x5d30dd
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp], ecx
mov dword [esp + 4], edx
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.00408f30
mov eax, dword [esp + 0xc]
lea ecx, [0x606540]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea eax, [0x64f682]
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.004b1d50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
add esp, 0x48
ret
call fcn.0045d190
jmp fcn.005d2cf0