Function at 0x52ccc0
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, 0x142c
call fcn.0053a7a0
mov eax, dword [0x586220]
xor eax, esp
mov dword [esp + 0x1428], eax
push ebx
push ebp
xor ebx, ebx
cmp dword [esp + 0x143c], 0x87654321
push esi
push edi
mov dword [esp + 0x20], ebx
je 0x52d169
cmp dword [esp + 0x1440], ebx
je 0x52cdc5
push 0xffc
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.00535f30
mov eax, dword fs:[0x30]
add esp, 0xc
test eax, eax
je 0x52cdc5
mov esi, dword [eax + 0x38]
mov dword [esp + 0x10], esi
test esi, esi
je 0x52cdc5
xor bl, bl
mov dword [esp + 0x24], 0xffffffff
xor dl, dl
xor cl, cl
xor ebp, ebp
cmp dword [0x585fc8], 0xffffffff
jne 0x52cd50
mov eax, dword [esi]
mov dword [0x585fc8], eax
mov eax, dword [esi]
test eax, eax
je 0x52cd6e
cmp eax, 2
je 0x52cd6e
cmp eax, 4
je 0x52cd6e
cmp eax, 6
je 0x52cd6e
mov byte [0x585fe0], 1
jmp 0x52cd70
mov cl, 1
mov edi, dword [esi]
cmp edi, 6
jne 0x52cd7d
mov dword [esp + 0x24], ebp
mov dl, 1
test cl, cl
je 0x52cdc3
mov eax, dword [esp + 0x1440]
mov esi, 1
mov ecx, eax
sub esi, eax
mov al, byte [ecx]
xor al, 0xcc
cmp al, 0xcc
je 0x52cde2
cmp al, 0xe1
jne 0x52cdb3
test dl, dl
jne 0x52cdbd
cmp dword [esp + 0x24], 0xffffffff
mov dl, 1
jne 0x52cdbd
lea eax, [esi + ecx]
mov dword [esp + 0x24], eax
jmp 0x52cdbd
cmp al, 0xe2
jne 0x52cdbd
test dl, dl
jne 0x52cde6
mov bl, 1
inc ebp
inc ecx
test bl, bl
je 0x52cd91
xor ebx, ebx
mov ecx, dword [esp + 0x1438]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00535482
add esp, 0x142c
ret 8
test dl, dl
je 0x52cdc3
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x52cdc3
test ebp, ebp
je 0x52cdc3
sub ebp, eax
mov dword [esp + 0x30], ebp
cmp edi, 6
jne 0x52ce07
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0xc]
jmp 0x52ce25
cmp edi, 4
jne 0x52ce15
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0xc]
jmp 0x52ce25
cmp edi, 2
je 0x52ce1e
test edi, edi
jne 0x52cdc3
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
mov dword [esp + 0x18], edx
test edx, edx
je 0x52cdc3
mov eax, dword [esp + 0x18]
lea esi, [ecx + 8]
lea edx, [ecx + 0x20]
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], edx
mov ebp, dword [ecx]
cmp ebp, 6
jne 0x52ce58
mov eax, dword [edx]
lea ebx, [ecx + eax]
mov ecx, dword [edx + 4]
jmp 0x52ce7d
cmp ebp, 4
jne 0x52ce68
mov eax, dword [edx - 0xc]
lea ebx, [ecx + eax]
mov ecx, dword [edx - 8]
jmp 0x52ce7d
cmp ebp, 2
je 0x52ce75
test ebp, ebp
jne 0x52d11d
mov eax, dword [esi]
lea ebx, [ecx + eax]
mov ecx, dword [esi + 4]
mov dword [esp + 0x1c], ebx
test ecx, ecx
je 0x52d163
test eax, eax
je 0x52d163
mov edi, dword [esp + 0x30]
lea esi, [edi + edi]
cmp ecx, esi
jne 0x52d163
mov edx, dword [esp + 0x1440]
mov al, 1
mov dword [esp + 0x14], eax
mov ecx, edi
mov eax, dword [esp + 0x24]
shr ecx, 1
add eax, ecx
mov cl, byte [ebx + ecx*2]
mov dl, byte [eax + edx]
cmp dl, cl
je 0x52cee1
lea eax, [edx - 0x61]
cmp al, 0x19
ja 0x52cecb
add dl, 0xe0
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x52ced5
add cl, 0xe0
cmp dl, cl
je 0x52cee1
xor al, al
mov dword [esp + 0x14], eax
jmp 0x52cf31
mov eax, dword [esp + 0x24]
mov ecx, edi
mov edx, dword [esp + 0x1440]
shr ecx, 2
add eax, ecx
mov cl, byte [ebx + ecx*2]
mov dl, byte [eax + edx]
cmp dl, cl
je 0x52cf2d
lea eax, [edx - 0x61]
cmp al, 0x19
ja 0x52cf07
add dl, 0xe0
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x52cf11
add cl, 0xe0
mov eax, dword [esp + 0x14]
cmp dl, cl
mov dword [esp + 0x14], 0
movzx eax, al
cmovne eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jmp 0x52cf31
mov eax, dword [esp + 0x14]
test al, al
je 0x52cfb2
cmp ebp, 6
jne 0x52cf70
xor ecx, ecx
cmp dword [esp + 0x30], ecx
jbe 0x52cf70
lea eax, [esi + 2]
add eax, ebx
mov ebx, dword [esp + 0x30]
jmp 0x52cf50
cmp byte [eax - 2], 0x2d
jne 0x52cf62
mov dl, byte [eax]
cmp dl, 0x6c
je 0x52cf6c
cmp dl, 0x4c
je 0x52cf6c
inc ecx
sub eax, 2
cmp ecx, ebx
jb 0x52cf50
jmp 0x52cf70
mov edi, ebx
sub edi, ecx
xor esi, esi
test edi, edi
je 0x52cfb2
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1440]
add ebx, ecx
mov eax, dword [esp + 0x1c]
mov cl, byte [ebx + esi]
mov dl, byte [eax + esi*2]
cmp cl, dl
je 0x52cfad
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x52cf9b
add cl, 0xe0
lea eax, [edx - 0x61]
cmp al, 0x19
ja 0x52cfa5
add dl, 0xe0
cmp cl, dl
jne 0x52cfdf
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, edi
jb 0x52cf87
mov eax, dword [esp + 0x14]
test al, al
je 0x52d111
xor edx, edx
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x1c], edx
xor eax, eax
cmp ebp, 6
jne 0x52cfe3
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + 0xc]
add ecx, dword [esp + 0x10]
mov edx, dword [edx + 0x10]
jmp 0x52d00e
xor al, al
jmp 0x52cfb6
cmp ebp, 4
jne 0x52cff8
mov edx, dword [esp + 0x28]
mov esi, dword [edx + 4]
add esi, dword [esp + 0x10]
mov edx, dword [esi + 4]
jmp 0x52d00e
cmp ebp, 2
je 0x52d001
test ebp, ebp
jne 0x52d012
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 8]
add eax, dword [esp + 0x10]
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
xor ebp, ebp
test edx, edx
je 0x52d111
mov ebx, edx
lea edi, [ecx - 8]
shl ebx, 4
add ebx, eax
lea eax, [edx + edx*4]
shl eax, 2
lea edx, [esi - 4]
add edx, eax
add edi, eax
sub esi, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], esi
lea ecx, [ecx]
mov ecx, dword [esp + 0x10]
xor esi, esi
xor eax, eax
mov ecx, dword [ecx]
cmp ecx, 6
jne 0x52d056
mov esi, dword [edi + 4]
mov eax, dword [edi]
jmp 0x52d074
cmp ecx, 4
jne 0x52d066
mov eax, dword [esp + 0x38]
mov esi, dword [edx]
mov eax, dword [eax + edi]
jmp 0x52d074
cmp ecx, 2
je 0x52d06f
test ecx, ecx
jne 0x52d074
mov esi, dword [ebx]
mov eax, dword [ebx - 4]
mov byte [esp + 0x1038], 0
test esi, esi
je 0x52d0f9
test eax, eax
je 0x52d0f9
mov edx, dword [esp + 0x10]
add edx, eax
shr esi, 1
mov eax, 0
je 0x52d0a2
mov cl, byte [edx + eax*2]
mov byte [esp + eax + 0x1038], cl
inc eax
cmp eax, esi
jb 0x52d093
cmp esi, 0x400
jae 0x52d18d
lea eax, [esp + 0x1038]
mov byte [esp + esi + 0x1038], 0
push eax
call fcn.0052acc0
test eax, eax
je 0x52d0d8
cmp eax, dword [esp + 0x1444]
jne 0x52d147
mov dword [esp + 0x20], 0
cmp byte [esp + 0x1038], 0
je 0x52d0f5
push esi
lea eax, [esp + 0x103c]
push 0
push eax
call fcn.00535f30
add esp, 0xc
mov edx, dword [esp + 0x14]
inc ebp
sub edx, 0x14
sub edi, 0x14
mov dword [esp + 0x14], edx
sub ebx, 0x10
cmp ebp, dword [esp + 0x1c]
jb 0x52d040
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x34]
add edx, 0x18
add dword [esp + 0x2c], 0xc
inc ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x28], edx
cmp ebp, eax
jae 0x52cdc5
mov esi, dword [esp + 0x2c]
jmp 0x52ce47
mov ebx, eax
mov dword [esp + 0x20], ebx
test eax, eax
jne 0x52cdc5
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
jmp 0x52d121
mov ecx, dword [esp + 0x10]
jmp 0x52d119
cmp dword [0x585ff0], 0x33c0
jne 0x52cdc5
call fcn.005301dd
add eax, 0x33c0
mov dword [0x585ff0], eax
jmp 0x52cdc5
call fcn.0053a31c
int3