Function at 0x4605a0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
mov eax, dword [0xec8960]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, edx
mov ebx, ecx
mov dword [ebp - 0x464], eax
push esi
mov esi, dword [ebp + 8]
push edi
cmp eax, 0x4c
jb 0x460cbe
mov edx, ebx
lea edi, [ebx + 0x4c]
xor ecx, ecx
mov eax, dword [edx]
add edx, 4
mov dword [ebp + ecx - 0x50], edi
add edi, eax
mov dword [ebp + ecx - 0x4c0], edi
add ecx, 4
cmp ecx, 0x4c
jl 0x4605d3
mov eax, dword [ebp - 0x464]
add eax, ebx
cmp edi, eax
jne 0x460cbe
xor eax, eax
lea edi, [ebp - 0x450]
mov ecx, 0x100
mov dh, 1
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov edi, esi
mov ecx, dword [ebp - 0x4c0]
add eax, esi
mov dword [ebp - 0x458], eax
mov eax, dword [ebp - 0x50]
mov byte [ebp - 0x45d], dh
mov dword [ebp - 0x474], edi
cmp eax, ecx
jae 0x460cab
mov dl, byte [eax]
mov ebx, esi
sub ebx, edi
mov dword [ebp - 0x470], esi
add ebx, dword [ebp + 0x10]
inc eax
movzx edi, dl
mov dword [ebp - 0x46c], ebx
mov dword [ebp - 0x45c], eax
cmp edi, 0xce
jne 0x46073a
lea ecx, [eax + 1]
mov dword [ebp - 0x45c], ecx
cmp ecx, dword [ebp - 0x4c0]
ja 0x460cbe
movzx ebx, byte [eax]
xor edi, edi
add ebx, 1
je 0x460c91
nop word [eax + eax]
mov eax, dword [ebp - 0x48]
lea ecx, [eax + 1]
cmp ecx, dword [ebp - 0x4b8]
ja 0x460cbe
movzx eax, byte [eax]
mov dword [ebp - 0x48], ecx
test eax, eax
je 0x4606d5
mov edx, dword [ebp + eax*4 - 0x454]
dec eax
test eax, eax
jle 0x460713
nop dword [eax + eax]
mov ecx, dword [ebp + eax*4 - 0x454]
mov dword [ebp + eax*4 - 0x450], ecx
dec eax
test eax, eax
jg 0x4606c0
jmp 0x460713
mov eax, dword [ebp - 0xc]
lea ecx, [eax + 4]
cmp ecx, dword [ebp - 0x47c]
ja 0x460cbe
mov edx, dword [eax]
mov dword [ebp - 0xc], ecx
mov ecx, 0xff
bswap edx
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp + ecx*4 - 0x454]
mov dword [ebp + ecx*4 - 0x450], eax
dec ecx
test ecx, ecx
jg 0x460700
lea eax, [esi + 4]
mov dword [ebp - 0x450], edx
cmp eax, dword [ebp - 0x458]
ja 0x460cbe
inc edi
mov dword [esi], edx
mov esi, eax
cmp edi, ebx
jl 0x460690
jmp 0x460c91
cmp byte [ebp - 0x45d], 0
je 0x460777
cmp edi, 0xcc
je 0x4607aa
mov ecx, 0xff
mov eax, dword [ebp + ecx*4 - 0x454]
mov dword [ebp + ecx*4 - 0x450], eax
dec ecx
test ecx, ecx
jg 0x460750
mov ecx, dword [ebp - 0x4c0]
xor dh, dh
mov dword [ebp - 0x450], ebx
mov byte [ebp - 0x45d], dh
cmp edi, 0xf1
jne 0x4607aa
mov eax, dword [ebp - 0x45c]
lea edx, [eax + 1]
cmp edx, ecx
ja 0x460cbe
lea ecx, [esi + 1]
cmp ecx, dword [ebp - 0x458]
ja 0x460cbe
mov dword [ebp - 0x45c], edx
jmp 0x460c8b
mov eax, dword [ebp - 0x458]
lea ecx, [esi + 1]
cmp ecx, eax
ja 0x460cbe
mov ebx, dword [ebp - 0x45c]
mov byte [esi], dl
mov byte [ebp - 0x45e], 0
cmp edi, 0x66
jne 0x460807
lea esi, [ebx + 1]
mov byte [ebp - 0x45e], 1
cmp esi, dword [ebp - 0x4c0]
ja 0x460cbe
lea edx, [ecx + 1]
cmp edx, eax
ja 0x460cbe
mov al, byte [ebx]
mov ebx, esi
mov byte [ecx], al
mov ecx, edx
movzx edi, al
mov eax, dword [ebp - 0x458]
mov dword [ebp - 0x45c], ebx
mov esi, ecx
cmp edi, 0xc2
je 0x460821
cmp edi, 0xc3
je 0x460821
cmp edi, 0xcc
jne 0x460828
mov byte [ebp - 0x45d], 1
cmp edi, 0xf
jne 0x46085f
lea edx, [ebx + 1]
cmp edx, dword [ebp - 0x4c0]
ja 0x460cbe
lea esi, [ecx + 1]
cmp esi, eax
ja 0x460cbe
mov al, byte [ebx]
mov ebx, edx
mov byte [ecx], al
movzx eax, al
mov dword [ebp - 0x45c], ebx
movzx edx, byte [eax + 0xe7f7d8]
jmp 0x4608c2
movzx edx, byte [edi + 0xe7f8f8]
cmp edi, 0x9a
je 0x46088c
mov dword [ebp - 0x464], edx
mov eax, esi
cmp edi, 0xea
je 0x46088c
mov dword [ebp - 0x464], edx
cmp edi, 0xc8
jne 0x4608bc
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + 2]
cmp ecx, dword [ebp - 0x48c]
ja 0x460cbe
lea ebx, [esi + 2]
cmp ebx, dword [ebp - 0x458]
ja 0x460cbe
mov ax, word [eax]
mov dword [ebp - 0x1c], ecx
mov ch, al
mov cl, ah
mov word [esi], cx
mov esi, ebx
mov ebx, dword [ebp - 0x45c]
mov eax, edx
mov dword [ebp - 0x468], eax
test dl, 2
je 0x460a74
inc ebx
cmp ebx, dword [ebp - 0x4c0]
ja 0x460cbe
lea ecx, [esi + 1]
cmp ecx, dword [ebp - 0x458]
ja 0x460cbe
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x45c], ebx
mov dword [ebp - 0x50], ebx
mov al, byte [eax]
mov byte [esi], al
mov esi, ecx
movzx ebx, al
xor eax, eax
mov dword [ebp - 0x464], eax
mov eax, edx
mov dword [ebp - 0x468], eax
cmp edx, 3
jne 0x460944
mov ecx, edi
mov eax, edi
and ecx, 1
and eax, 8
shl ecx, 2
or ecx, eax
mov eax, ebx
shr eax, 3
add ecx, ecx
and eax, 7
or ecx, eax
movzx eax, byte [ecx + 0xe7f8d8]
mov dword [ebp - 0x468], eax
mov ecx, ebx
and ecx, 7
mov dword [ebp - 0x454], ecx
cmp ecx, 4
jne 0x4609a1
cmp ebx, 0xc0
jae 0x4609a1
mov eax, dword [ebp - 0x4c]
lea edx, [eax + 1]
mov dword [ebp - 0x464], edx
cmp edx, dword [ebp - 0x4bc]
ja 0x460cbe
lea edx, [esi + 1]
cmp edx, dword [ebp - 0x458]
ja 0x460cbe
mov al, byte [eax]
mov ecx, dword [ebp - 0x464]
mov byte [esi], al
mov esi, edx
movzx eax, al
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x464], eax
mov eax, ebx
and eax, 0xc0
cmp eax, 0x40
jne 0x460a03
mov edx, dword [ebp + ecx*4 - 0x44]
lea eax, [ebp + ecx*4 - 0x44]
mov dword [ebp - 0x45c], edx
lea eax, [edx + 1]
cmp eax, dword [ebp + ecx*4 - 0x4b4]
mov dword [ebp - 0x454], eax
lea eax, [ebp + ecx*4 - 0x44]
ja 0x460cbe
lea ecx, [esi + 1]
cmp ecx, dword [ebp - 0x458]
ja 0x460cbe
mov edx, dword [ebp - 0x454]
mov dword [eax], edx
mov edx, dword [ebp - 0x45c]
mov al, byte [edx]
mov byte [esi], al
mov esi, ecx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x45c], eax
jmp 0x460a0a
cmp eax, 0x80
je 0x460a27
mov eax, ebx
and eax, 0xc7
cmp al, 5
je 0x460a27
cmp ebx, 0x40
jae 0x460a74
mov eax, dword [ebp - 0x464]
and eax, 7
cmp al, 5
jne 0x460a74
and ebx, 0xc7
xor eax, eax
cmp bl, 5
sete al
lea eax, [eax*4 + 0x3c]
mov edx, dword [ebp + eax - 0x50]
lea ebx, [edx + 4]
cmp ebx, dword [ebp + eax - 0x4c0]
ja 0x460cbe
lea ecx, [esi + 4]
cmp ecx, dword [ebp - 0x458]
ja 0x460cbe
mov dword [ebp + eax - 0x50], ebx
mov eax, dword [edx]
bswap eax
mov dword [esi], eax
mov esi, ecx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x45c], eax
mov edx, dword [ebp - 0x468]
mov eax, edx
and dl, 3
and eax, 0xc
cmp dl, 1
jne case.default.0x460a92
movzx eax, byte [eax + 0x460ce8]
jmp dword [eax*4 + 0x460cd4]
mov edx, dword [ebp - 0x10]
lea eax, [edx + 4]
cmp eax, dword [ebp - 0x480]
ja 0x460cbe
lea ecx, [esi + 4]
cmp ecx, dword [ebp - 0x458]
ja 0x460cbe
mov dword [ebp - 0x10], eax
mov eax, dword [edx]
bswap eax
mov dword [esi], eax
jmp 0x460c8f
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
cmp edx, dword [ebp - 0x478]
ja 0x460cbe
lea ecx, [esi + 4]
cmp ecx, dword [ebp - 0x458]
ja 0x460cbe
mov eax, dword [eax]
bswap eax
mov dword [ebp - 8], edx
mov dword [esi], eax
jmp 0x460c8f
cmp eax, 4
je 0x460c6f
cmp eax, 8
je 0x460c45
cmp eax, 0xc
jne 0x460c91
cmp byte [ebp - 0x45e], 0
jne 0x460c45
mov edx, dword [ebp - 0x18]
lea eax, [edx + 4]
cmp eax, dword [ebp - 0x488]
ja 0x460cbe
lea ecx, [esi + 4]
cmp ecx, dword [ebp - 0x458]
ja 0x460cbe
mov dword [ebp - 0x18], eax
mov eax, dword [edx]
bswap eax
mov dword [esi], eax
jmp 0x460c8f
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + 2]
cmp ecx, dword [ebp - 0x48c]
ja 0x460cbe
lea edx, [esi + 2]
cmp edx, dword [ebp - 0x458]
ja 0x460cbe
mov ax, word [eax]
mov dword [ebp - 0x1c], ecx
mov ch, al
mov cl, ah
mov word [esi], cx
mov esi, edx
jmp 0x460c91
mov eax, dword [ebp - 0x20]
lea edx, [eax + 1]
cmp edx, dword [ebp - 0x490]
ja 0x460cbe
lea ecx, [esi + 1]
cmp ecx, dword [ebp - 0x458]
ja 0x460cbe
mov dword [ebp - 0x20], edx
mov al, byte [eax]
mov byte [esi], al
mov esi, ecx
mov eax, dword [ebp - 0x45c]
mov ecx, dword [ebp - 0x4c0]
mov edi, dword [ebp - 0x474]
cmp eax, ecx
jb 0x460638
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004888df
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004888df
mov esp, ebp
pop ebp
ret