Function at 0x10057d80
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], 0x50
mov al, dl
mov dword [ebp - 8], edi
xor esi, esi
mov byte [ebp - 1], al
xor edx, edx
mov dword [ebp - 0x18], esi
mov ebx, dword [edi + 0x498]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0x50
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esi
cmp al, 0xcc
jne 0x10057dd7
movzx eax, byte [ebp + 8]
add eax, 0xffffffeb
cmp eax, 0x98
ja case.0x10057dd0.22
movzx eax, byte [eax + 0x10057ff4]
jmp dword [eax*4 + 0x10057fec]
cmp al, 0xc0
je case.0x10057dd0.22
cmp al, 0xd0
jne case.0x10057dd0.21
mov eax, dword [edi + 0x1570]
test eax, eax
je case.0x10057dd0.21
nop dword [eax]
cmp dword [eax], 0xa
je 0x10057e08
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x10057df0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10057f90
mov esi, 0x100
nop dword [eax + eax]
test edx, edx
jne 0x10057f8d
movzx eax, word [eax]
mov ecx, eax
cmp ax, si
jb 0x10057e36
mov esi, ecx
jmp 0x10057e68
cmp eax, 0x2e
ja 0x10057f79
mov edi, dword [edi + 0x440]
mov esi, eax
cmp eax, 0x20
mov eax, 1
lea ecx, [esi - 0x20]
jae 0x10057e56
mov ecx, esi
shl eax, cl
and eax, edi
neg eax
sbb eax, eax
neg eax
test eax, eax
jne case.0x10057e74.22
add esi, 0xffffffeb
cmp esi, 4
ja case.0x10057e74.22
jmp dword [esi*4 + 0x10058090]
mov ecx, 0xd1
mov eax, 0x1c
jmp 0x10057ea9
mov ecx, 0x20e
mov eax, 0x20
jmp 0x10057ea9
mov ecx, 0xd2
mov eax, 0x30
jmp 0x10057ea9
mov ecx, 0xd3
mov eax, 0x42
cmp dword [ebp - 0x18], 0
movzx edi, ax
jne 0x10057ecc
mov esi, dword [ebp - 8]
cmp word [esi + 0x4ac], ax
ja 0x10057ecc
movzx esi, ax
cmp dword [ebp - 0x14], esi
jbe 0x10057ecc
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0xc], 0
jne 0x10057eeb
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 8]
cmp word [esi + 0x4ac], ax
mov esi, dword [ebp - 0xc]
cmove esi, ecx
mov dword [ebp - 0xc], esi
cmp dword [ebp - 0x20], 0
mov esi, edi
je 0x10057ef8
cmp dword [ebp - 0x1c], esi
jbe 0x10057f0c
mov edi, dword [ebp - 8]
cmp word [edi + 0x4ac], ax
ja 0x10057f0f
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], esi
jmp 0x10057f0f
mov edi, dword [ebp - 8]
mov al, byte [ebp - 1]
cmp al, 0xc0
jne 0x10057f4f
movzx eax, byte [ebp + 8]
add eax, 0xfffffffe
cmp eax, 0xad
ja case.0x10057f68.21
movzx eax, byte [eax + 0x100580b0]
jmp dword [eax*4 + 0x100580a4]
xor edx, edx
mov dword [ebp - 0x10], 1
cmp ebx, ecx
sete dl
jmp case.0x10057e74.22
xor edx, edx
cmp dword [edi + 0x4b0], ecx
sete dl
jmp case.0x10057e74.22
cmp al, 0xcc
jne case.0x10057e74.22
movzx eax, byte [ebp + 8]
add eax, 0xffffffed
cmp eax, 0x96
ja case.0x10057f68.21
movzx eax, byte [eax + 0x10058168]
jmp dword [eax*4 + 0x10058160]
mov edx, 1
mov esi, 0x100
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x10057e20
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], ebx
test ebx, ebx
jne 0x10057fb0
movzx eax, word [edi + 0x4ac]
mov edi, dword [ebp - 0x14]
cmp edi, eax
jne 0x10057fb3
lea edx, [ebx + 1]
mov dword [ecx], esi
mov ebx, esi
jmp 0x10057fb3
mov edi, dword [ebp - 0x14]
test ebx, ebx
jne 0x10057fe1
mov eax, dword [ebp - 0xc]
lea edx, [ebx + 1]
mov ebx, eax
mov dword [ecx], eax
test ebx, ebx
jne 0x10057fe1
cmp edi, dword [ebp - 0x1c]
jne 0x10057fd2
mov ebx, esi
mov dword [ecx], esi
test ebx, ebx
jne 0x10057fe1
mov eax, dword [ebp - 0x20]
mov dword [ecx], eax
test eax, eax
jne 0x10057fe1
cmp dword [ebp - 0x10], eax
cmovne edx, eax
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret