Function at 0x51ecd2
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x2eb78]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0xc0000225
mov dword [ebp - 0x30], edi
cmp edi, 5
jb 0x51ed14
push 5
push 0x2a026
lea eax, [eax + edi - 5]
push eax
call dword [0x2a758]
inc dword [esi + 0x78]
test edi, edi
je 0x51f5d8
mov eax, dword [esi + 0x10]
sub eax, 0
je 0x51ef8a
dec eax
je 0x51f19b
dec eax
je 0x51f51c
dec eax
je 0x51ee73
dec eax
je 0x51ed53
dec eax
jne 0x51f50d
and dword [ebp - 0x34], 0
jmp 0x51f5e5
mov edi, dword [esi + 0xa0]
sub edi, dword [esi + 0xa4]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], 0xc0000001
cmp edi, ecx
jb 0x51ed6f
mov edi, ecx
xor ebx, ebx
cmp edi, ebx
jne 0x51edff
mov eax, dword [esi + 0xa8]
push 2
pop edi
cmp eax, edi
jae 0x51edae
sub edi, eax
cmp edi, ecx
jb 0x51ed8e
mov edi, ecx
push edi
push dword [ebp - 0x38]
lea eax, [eax + esi + 0x9d]
push eax
call fcn.005247d2
add dword [ebp - 0x38], edi
sub dword [ebp - 0x30], edi
add esp, 0xc
add dword [esi + 0xa8], edi
cmp dword [esi + 0xa8], 2
jne 0x51edf7
cmp dword [esi + 0xa0], ebx
jne 0x51edd3
push ebx
push ebx
push dword [esi + 0x18]
mov dword [esi + 0x10], 5
call dword [0x2a83c]
jmp 0x51edf7
lea edx, [esi + 0x7c]
push 8
xor eax, eax
pop ecx
mov edi, edx
mov dword [esi + 0x10], 3
rep stosd dword es:[edi], eax
mov byte [esi + 0x9f], al
mov dword [esi + 4], edx
mov dword [esi + 0xc], edx
mov dword [esi + 8], edx
mov dword [esi], edx
mov dword [ebp - 0x34], ebx
jmp 0x51f50d
lea eax, [edi + 0x23]
and eax, 0xfffffffc
push 0x6565
push eax
push 0
mov dword [ebp - 0x48], eax
call dword [0x2a6d4]
mov ebx, eax
test ebx, ebx
je 0x51f5d8
push dword [ebp - 0x48]
push 0
push ebx
call fcn.005247de
add esp, 0xc
lea eax, [ebp - 0x70]
mov dword [ebx + 8], edi
add dword [esi + 0x5c], edi
add dword [esi + 0xa4], edi
push eax
call dword [0x2a6e8]
push dword [ebx + 8]
lea eax, [ebx + 0x1c]
push dword [ebp - 0x38]
push eax
call fcn.005247d2
add esp, 0xc
lea eax, [esi + 0x58]
push eax
lea ecx, [esi + 0x50]
mov edx, ebx
call dword [0x2a838]
inc dword [esi + 0x60]
sub dword [ebp - 0x30], edi
add dword [ebp - 0x38], edi
jmp 0x51f509
movsx eax, byte [esi + 0x9f]
push 0x20
pop ebx
sub ebx, eax
cmp ebx, dword [ebp - 0x30]
jb 0x51ee87
mov ebx, dword [ebp - 0x30]
mov byte [ebp - 0x41], 0
test ebx, ebx
je 0x51ee93
and dword [ebp - 0x34], 0
push ebx
push dword [ebp - 0x38]
push dword [esi + 8]
call fcn.005247d2
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
add byte [esi + 0x9f], bl
mov dword [esi + 4], eax
add eax, ebx
add esp, 0xc
mov dword [esi + 8], eax
mov dword [esi], edx
cmp edx, eax
jae 0x51eee9
mov eax, dword [esi]
mov ecx, 0xa0d
cmp word [eax], cx
je 0x51eed2
inc eax
mov dword [esi], eax
cmp eax, dword [esi + 8]
jb 0x51eebc
jmp 0x51eee9
mov eax, dword [esi]
add eax, 2
mov dword [esi + 8], eax
sub eax, dword [esi + 4]
mov byte [ebp - 0x41], 1
mov ebx, eax
sub byte [esi + 0x9f], bl
sub dword [ebp - 0x30], ebx
add dword [ebp - 0x38], ebx
cmp byte [ebp - 0x41], 0
je 0x51f50d
xor eax, eax
mov word [ebp - 0x2c], ax
push 9
pop ecx
lea edi, [ebp - 0x2a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x58], ax
movsx ax, byte [esi + 0x9f]
add ax, ax
mov word [ebp - 0x56], ax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x54], eax
mov dword [esi], edx
mov dword [esi + 4], edx
lea eax, [edx + 2]
jmp 0x51ef47
mov eax, dword [esi]
movsx cx, byte [eax]
add word [ebp - 0x58], 2
mov edi, eax
sub edi, edx
inc eax
mov dword [esi], eax
inc eax
mov word [ebp + edi*2 - 0x2c], cx
inc eax
cmp eax, dword [esi + 8]
jb 0x51ef2e
lea eax, [esi + 0xa0]
push eax
push 0x10
lea eax, [ebp - 0x58]
push eax
call dword [0x2a72c]
test eax, eax
jl 0x51f5a8
xor eax, eax
mov dword [esi + 0x10], 4
mov dword [esi + 0xa4], eax
mov byte [esi + 0x9f], al
mov dword [esi + 0xa8], eax
mov dword [ebp - 0x34], eax
jmp 0x51f50d
mov eax, 0xd10
sub eax, dword [esi + 0x390]
cmp dword [ebp - 0x30], eax
jae 0x51efa2
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x48], edi
jmp 0x51efa7
mov edi, eax
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x390]
push edi
push dword [ebp - 0x38]
lea eax, [eax + esi + 0x398]
push eax
call fcn.005247d2
add dword [esi + 0x390], edi
mov ecx, dword [esi + 0x390]
lea edi, [esi + 0x398]
lea eax, [edi + ecx]
lea edx, [edi + 4]
add esp, 0xc
mov dword [esi], edi
mov dword [esi + 8], eax
cmp edx, eax
ja 0x51eff7
mov eax, dword [esi]
cmp dword [eax], 0xa0d0a0d
je 0x51eff7
inc eax
mov dword [esi], eax
add eax, 4
cmp eax, dword [esi + 8]
jbe 0x51efe2
cmp ecx, 8
jb 0x51f024
mov ebx, dword [0x2a758]
push 8
push 0x2a01c
push edi
call ebx
cmp eax, 8
je 0x51f024
push 8
push 0x2a012
push edi
call ebx
cmp eax, 8
jne 0x51f5b1
mov eax, dword [esi]
mov edx, dword [esi + 8]
lea ecx, [eax + 4]
cmp ecx, edx
jbe 0x51f04a
mov ebx, dword [esi + 0x390]
cmp ebx, dword [esi + 0x394]
je 0x51f5d2
cmp ecx, edx
ja 0x51ed4a
mov ecx, dword [esi + 0x390]
sub eax, esi
add eax, 0xfffffc6c
mov dword [esi + 0xac], eax
cmp ecx, eax
jb 0x51f5d2
mov edx, ecx
sub edx, eax
sub edx, dword [ebp - 0x48]
sub eax, ecx
add eax, dword [ebp - 0x48]
add dword [ebp - 0x30], edx
add dword [ebp - 0x38], eax
mov dword [esi], edi
add dword [esi], 9
lea eax, [edi + ecx]
mov ecx, dword [esi]
mov dword [esi + 8], eax
mov ax, cx
sub ax, di
dec ax
mov dword [esi + 0xc], edi
mov dword [esi + 0xbc], edi
mov word [esi + 0xb8], ax
mov word [esi + 0xba], ax
mov dword [esi + 4], ecx
cmp ecx, dword [esi + 8]
jae 0x51f0c4
mov eax, dword [esi]
cmp byte [eax], 0x20
je 0x51f0c4
mov ecx, 0xa0d
cmp word [eax], cx
je 0x51f0c4
inc eax
mov dword [esi], eax
cmp eax, dword [esi + 8]
jb 0x51f0ab
mov eax, dword [esi]
cmp eax, dword [esi + 8]
je 0x51f5ca
xor eax, eax
mov word [ebp - 0x68], ax
push 0x14
pop eax
mov word [ebp - 0x66], ax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 4]
mov dword [esi + 0xc4], eax
mov ax, word [esi]
sub ax, word [esi + 4]
lea ecx, [esi + 0xc0]
xor edi, edi
push edi
mov word [ecx], ax
mov word [esi + 0xc2], ax
push ecx
lea eax, [ebp - 0x68]
push eax
call dword [0x2a730]
test eax, eax
jl 0x51f5d2
lea eax, [esi + 0xb4]
push eax
push 0xa
lea eax, [ebp - 0x68]
push eax
call dword [0x2a72c]
test eax, eax
jl 0x51f5d2
inc dword [esi]
mov eax, dword [esi]
mov dword [esi + 4], eax
cmp eax, dword [esi + 8]
jae 0x51f153
mov ecx, 0xa0d
cmp word [eax], cx
je 0x51f153
inc eax
mov ecx, eax
mov dword [esi], eax
cmp ecx, dword [esi + 8]
jb 0x51f13f
mov ecx, dword [esi]
cmp ecx, dword [esi + 8]
je 0x51f5ba
mov eax, dword [esi + 4]
mov dword [esi + 0xcc], eax
mov ax, cx
sub ax, word [esi + 4]
add ecx, 2
mov word [esi + 0xc8], ax
mov word [esi + 0xca], ax
mov eax, dword [esi + 0x390]
lea eax, [eax + esi + 0x398]
mov dword [esi + 0x10], 1
cmp eax, ecx
jb 0x51f5ba
xor eax, eax
cmp dword [esi + 0xcc], eax
je 0x51f5c2
add dword [esi], 2
mov eax, dword [esi]
mov dword [esi + 4], eax
jmp 0x51f1c2
mov eax, dword [esi]
mov ecx, 0xa0d
cmp word [eax], cx
je 0x51f1c7
inc eax
mov dword [esi], eax
cmp eax, dword [esi + 8]
jb 0x51f1b3
mov ebx, dword [esi]
cmp ebx, dword [esi + 8]
je 0x51f5ca
mov eax, dword [esi + 4]
cmp ebx, eax
je 0x51f44c
mov ecx, dword [esi + 0xb0]
mov dword [ebp - 0x48], ecx
cmp ecx, 0x28
jae 0x51f1a9
mov edx, dword [0x2ea18]
mov edi, dword [0x2ea1c]
mov ecx, eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edi
cmp ecx, ebx
jae 0x51f215
cmp byte [ecx], 0x3a
je 0x51f213
inc ecx
cmp ecx, dword [esi]
jb 0x51f209
cmp ecx, ebx
je 0x51f5ca
mov edx, ecx
sub edx, eax
inc ecx
mov edi, eax
mov dword [ebp - 0x4c], edi
mov word [ebp - 0x50], dx
mov word [ebp - 0x4e], dx
cmp ecx, ebx
jae 0x51f23d
cmp byte [ecx], 0x20
jne 0x51f23b
inc ecx
cmp ecx, dword [esi]
jb 0x51f231
cmp ecx, ebx
je 0x51f250
mov dx, word [esi]
sub dx, cx
mov dword [ebp - 0x3c], ecx
mov word [ebp - 0x40], dx
mov word [ebp - 0x3e], dx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
add eax, 0xd
shl eax, 4
mov dword [eax + esi], ecx
mov dword [eax + esi + 4], edi
mov eax, dword [esi + 0xb0]
mov ecx, dword [ebp - 0x40]
shl eax, 4
mov dword [eax + esi + 0xd8], ecx
mov ecx, dword [ebp - 0x3c]
xor edi, edi
inc edi
push edi
mov dword [eax + esi + 0xdc], ecx
push 0x2aab4
lea eax, [ebp - 0x50]
push eax
call fcn.0051ebb6
test al, al
je 0x51f31d
xor eax, eax
mov word [ebp - 0x2c], ax
push 9
pop ecx
lea edi, [ebp - 0x2a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x60], ax
push 0x28
pop eax
mov word [ebp - 0x5e], ax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x354], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x358], eax
push 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [0x2a730]
test eax, eax
jl 0x51f5d2
lea edi, [esi + 0x350]
push edi
push 0xa
lea eax, [ebp - 0x60]
push eax
call dword [0x2a72c]
test eax, eax
jl 0x51f5d2
cmp dword [edi], 0
jne 0x51f441
push 0
push 0
push dword [esi + 0x18]
call dword [0x2a83c]
jmp 0x51f441
push edi
push 0x2aacc
lea eax, [ebp - 0x50]
push eax
call fcn.0051ebb6
test al, al
je 0x51f347
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x364], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x368], eax
jmp 0x51f441
push edi
push 0x2aabc
lea eax, [ebp - 0x50]
push eax
call fcn.0051ebb6
test al, al
je 0x51f371
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x36c], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x370], eax
jmp 0x51f441
push edi
push 0x2aac4
lea eax, [ebp - 0x50]
push eax
call fcn.0051ebb6
test al, al
je 0x51f39b
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x35c], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x360], eax
jmp 0x51f441
push edi
push 0x2aad4
lea eax, [ebp - 0x50]
push eax
call fcn.0051ebb6
test al, al
je 0x51f3c2
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x374], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x378], eax
jmp 0x51f441
push edi
push 0x2aadc
lea eax, [ebp - 0x50]
push eax
call fcn.0051ebb6
push edi
test al, al
je 0x51f403
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x37c], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x380], eax
push 0x2aaec
lea eax, [ebp - 0x40]
push eax
call fcn.0051ebb6
test al, al
je 0x51f441
mov byte [esi + 0x38d], 1
jmp 0x51f441
push 0x2aae4
lea eax, [ebp - 0x50]
push eax
call fcn.0051ebb6
test al, al
je 0x51f441
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x384], eax
mov eax, dword [ebp - 0x3c]
push edi
mov dword [esi + 0x388], eax
push 0x2aaf4
lea eax, [ebp - 0x40]
push eax
call fcn.0051ebb6
test al, al
je 0x51f441
mov byte [esi + 0x38c], 1
inc dword [esi + 0xb0]
jmp 0x51f1a9
push 2
pop ecx
add dword [esi], ecx
mov eax, dword [esi]
sub eax, esi
sub eax, 0x398
xor edi, edi
cmp byte [esi + 0x38d], 0
mov dword [esi + 0xac], eax
je 0x51f482
lea eax, [esi + 0x7c]
mov dword [esi + 0x10], 3
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi], eax
jmp 0x51f4e8
cmp word [esi + 0x354], di
je 0x51f49f
mov dword [esi + 0x10], ecx
cmp dword [esi + 0x350], edi
jne 0x51f4e8
mov dword [esi + 0x10], 5
jmp 0x51f4e8
mov eax, dword [esi + 0xb4]
cmp eax, 0xc8
je 0x51f4cc
cmp eax, 0x130
je 0x51f4cc
cmp eax, 0xcc
je 0x51f4cc
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x51f496
mov dword [esi + 0x10], ecx
mov dword [esi + 0x350], eax
jmp 0x51f4e8
push edi
push edi
push dword [esi + 0x18]
mov dword [esi + 0x10], 5
mov dword [ebp - 0x34], 0xe0010003
call dword [0x2a83c]
mov dword [ebp - 0x30], edi
push edi
push edi
push dword [esi + 0x14]
call dword [0x2a83c]
cmp dword [ebp - 0x30], edi
jne 0x51ed1f
cmp dword [ebp - 0x34], 0xc0000225
jne 0x51f5d2
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x30], 0
jne 0x51ed1f
jmp 0x51f5d2
mov ebx, dword [ebp - 0x30]
add ebx, 0x23
push 0x6565
and ebx, 0xfffffffc
push ebx
push 0
call dword [0x2a6d4]
mov edi, eax
test edi, edi
je 0x51f5d2
push ebx
push 0
push edi
call fcn.005247de
mov eax, dword [ebp - 0x30]
mov dword [edi + 8], eax
add dword [esi + 0x5c], eax
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
call dword [0x2a6e8]
push dword [edi + 8]
lea eax, [edi + 0x1c]
push dword [ebp - 0x38]
push eax
call fcn.005247d2
add esp, 0xc
lea eax, [esi + 0x58]
push eax
lea ecx, [esi + 0x50]
mov edx, edi
call dword [0x2a838]
mov eax, dword [esi + 0x5c]
inc dword [esi + 0x60]
cmp eax, dword [esi + 0x350]
jb 0x51ed4a
push 0
push 0
push dword [esi + 0x18]
call dword [0x2a83c]
mov dword [esi + 0x10], 5
jmp 0x51ed4a
mov dword [ebp - 0x34], 0xc0000225
jmp 0x51f5d8
mov dword [ebp - 0x34], 0xe0010003
jmp 0x51f5d8
mov dword [esi + 0x78], edi
mov dword [esi + 0x10], edi
jmp 0x51f5d2
mov dword [esi + 0x78], eax
mov dword [esi + 0x10], eax
jmp 0x51f5d2
and dword [esi + 0x78], 0
and dword [esi + 0x10], 0
cmp dword [ebp - 0x34], 0
jge 0x51f5e5
push 0
push 0
push dword [esi + 0x1c]
call dword [0x2a83c]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x34]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00524791
leave
ret 0xc