Function at 0x513ae0
Capabilities:
Check for software breakpoints

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push edi
xor bl, bl
mov edi, edx
xor al, al
mov ecx, 0x1c
rep stosb byte es:[edi], al
mov dword [esp + 0x18], 0x617508
mov byte [esp + 0x10], bl
mov cl, 0x10
push esi
mov al, byte [ebp]
movzx esi, al
sub esi, 0x26
inc ebp
cmp esi, 0xcd
ja case.0x513b1f.39
movzx esi, byte [esi + 0x51404c]
jmp dword [esi*4 + 0x514030]
mov byte [edx + 1], al
or bl, 4
jmp 0x513b54
mov byte [edx + 1], al
or bl, 2
jmp 0x513b54
mov byte [edx + 2], al
or bl, 0x20
jmp 0x513b54
mov byte [edx + 3], al
or bl, 0x40
jmp 0x513b54
mov byte [edx + 4], al
or bl, 8
jmp 0x513b54
mov byte [edx + 5], al
or bl, 0x10
add cl, 0xff
jne 0x513b06
movzx ecx, bl
shl ecx, 0x17
mov byte [esp + 0x10], bl
mov dword [esp + 0x18], ebp
mov dword [edx + 0x18], ecx
test bl, bl
jne 0x513b74
mov bl, 1
mov byte [esp + 0x10], bl
mov byte [edx + 6], al
cmp al, 0xf
jne 0x513b8d
mov al, byte [ebp]
inc ebp
mov byte [edx + 7], al
mov dword [esp + 0x18], ebp
mov edi, 0x617552
jmp 0x513bac
mov edi, dword [esp + 0x1c]
mov cl, al
add cl, 0x60
cmp cl, 3
ja 0x513bac
test bl, 0x10
je 0x513ba5
or bl, 8
jmp 0x513ba8
and bl, 0xf7
mov byte [esp + 0x10], bl
movzx ebp, al
mov byte [esp + 0x15], al
mov esi, ebp
mov eax, ebp
shr esi, 2
and eax, 0x80000003
jns 0x513bc6
dec eax
or eax, 0xfffffffc
inc eax
movzx ecx, byte [esi + edi]
add ecx, eax
mov bl, byte [ecx + edi]
mov byte [esp + 0x12], bl
cmp bl, 0xff
jne 0x513bf5
or dword [edx + 0x18], 0x3000
mov ecx, ebp
xor bl, bl
and ecx, 0xfffffffd
mov byte [esp + 0x12], bl
cmp ecx, 0x24
jne 0x513bf5
mov bl, 1
mov byte [esp + 0x12], bl
xor cl, cl
test bl, bl
jns 0x513c0c
movzx ecx, bl
and ecx, 0x7f
movzx ecx, word [ecx + edi]
mov byte [esp + 0x12], cl
shr ecx, 8
mov bl, byte [edx + 7]
mov byte [esp + 0x16], bl
test bl, bl
je 0x513c32
movzx esi, byte [esi + str.JJJJKRJJJJOLJJJJJJJJUE_JJJEYMFJ_JJJJJJJJJJJJJJacgNJJkmJJEmJJDEJJ]
mov bl, byte [esp + 0x10]
test byte [esi + eax + str.JJJJKRJJJJOLJJJJJJJJUE_JJJEYMFJ_JJJJJJJJJJJJJJacgNJJkmJJEmJJDEJJ], bl
je 0x513c32
or dword [edx + 0x18], 0x3000
mov bl, byte [esp + 0x12]
test bl, 1
je 0x513f3a
mov edi, dword [esp + 0x18]
or dword [edx + 0x18], 1
mov al, byte [edi]
mov esi, dword [edx + 0x18]
mov bl, al
shr bl, 6
mov byte [esp + 0x13], bl
mov byte [edx + 9], bl
mov bl, al
mov byte [edx + 8], al
shr al, 3
and bl, 7
and al, 7
inc edi
mov dword [esp + 0x18], edi
mov byte [esp + 0x17], bl
mov byte [edx + 0xb], bl
mov byte [esp + 0x11], al
mov byte [edx + 0xa], al
test cl, cl
je 0x513c92
movzx eax, cl
mov cl, byte [esp + 0x11]
shl eax, cl
test al, al
jns 0x513c92
or esi, 0x3000
mov dword [edx + 0x18], esi
cmp byte [esp + 0x16], 0
jne 0x513cdc
mov cl, byte [esp + 0x15]
add cl, 0x27
cmp cl, 6
ja 0x513cdc
mov al, byte [esp + 0x15]
add al, 0x27
cmp byte [esp + 0x13], 3
movzx eax, al
jne 0x513cc5
movzx ecx, byte [esp + 0x11]
mov al, byte [ecx + eax*8 + 0x617600]
mov cl, bl
jmp 0x513ccf
mov al, byte [eax + 0x6175f9]
mov cl, byte [esp + 0x11]
shl al, cl
test al, al
jns 0x513cdc
or dword [edx + 0x18], 0x3000
mov bl, byte [esp + 0x10]
test bl, 0x20
je 0x513d35
cmp byte [esp + 0x13], 3
je 0x513d2e
cmp byte [esp + 0x16], 0
mov al, byte [esp + 0x15]
je 0x513d03
mov esi, 0x6176c1
mov edi, 0x6176d3
jmp 0x513d13
mov al, byte [esp + 0x15]
mov esi, 0x6176a9
mov edi, 0x6176c1
and al, 0xfe
mov cl, byte [esi]
inc esi
cmp cl, al
je 0x513d21
inc esi
cmp esi, edi
jne 0x513d13
jmp 0x513d2e
movzx eax, byte [esi]
mov cl, byte [esp + 0x11]
shl eax, cl
test al, al
jns 0x513d35
or dword [edx + 0x18], 0x9000
mov cl, byte [esp + 0x16]
test cl, cl
je 0x513d88
lea eax, [ebp - 0x20]
cmp eax, 3
ja case.default.0x513d45
jmp dword [eax*4 + 0x51411c]
mov al, byte [esp + 0x11]
mov byte [esp + 0x13], 3
cmp al, 4
ja case.0x513dfb.197
cmp al, 1
jne case.0x513dfb.81
jmp case.0x513dfb.197
mov al, byte [esp + 0x11]
mov byte [esp + 0x13], 3
cmp al, 4
je case.0x513dfb.197
cmp al, 5
jne case.0x513dfb.81
jmp case.0x513dfb.197
mov eax, ebp
sub eax, 0x8c
je 0x513e1c
sub eax, 2
je 0x513e10
cmp byte [esp + 0x13], 3
jne 0x513de6
test cl, cl
je 0x513db1
mov esi, 0x6176e2
mov edi, 0x61770c
jmp 0x513dc0
mov esi, 0x6176d3
mov edi, 0x6176e2
jmp 0x513dc0
mov cl, byte [esi]
inc esi
cmp cl, byte [esp + 0x15]
je 0x513dd2
add esi, 2
cmp esi, edi
jne 0x513dc0
jmp case.0x513dfb.81
test byte [esi], bl
je case.0x513dfb.81
movzx eax, byte [esi + 1]
mov cl, byte [esp + 0x11]
shl eax, cl
test al, al
jns case.0x513dfb.197
jmp case.0x513dfb.81
test cl, cl
je case.0x513dfb.81
lea eax, [ebp - 0x50]
cmp eax, 0xa7
ja case.0x513dfb.81
movzx ecx, byte [eax + 0x51413c]
jmp dword [ecx*4 + 0x51412c]
test bl, 9
jne case.0x513dfb.197
jmp case.0x513dfb.81
test bl, 6
jne case.0x513dfb.197
jmp case.0x513dfb.81
mov al, byte [esp + 0x11]
cmp al, 1
je case.0x513dfb.197
cmp al, 5
jmp 0x513e21
cmp byte [esp + 0x11], 5
jbe case.0x513dfb.81
or dword [edx + 0x18], 0x11000
mov ecx, dword [esp + 0x18]
mov al, byte [ecx]
inc ecx
cmp byte [esp + 0x11], 1
ja 0x513e52
mov bl, byte [esp + 0x15]
cmp bl, 0xf6
jne 0x513e48
or byte [esp + 0x12], 2
jmp 0x513e52
cmp bl, 0xf7
jne 0x513e52
or byte [esp + 0x12], 0x10
movzx esi, byte [esp + 0x13]
sub esi, 0
je 0x513e79
sub esi, 1
je 0x513e72
sub esi, 1
jne 0x513e9a
test byte [esp + 0x10], 0x10
mov byte [esp + 0x14], 2
jmp 0x513e93
mov byte [esp + 0x14], 1
jmp 0x513e9a
test byte [esp + 0x10], 0x10
je 0x513e8e
cmp byte [esp + 0x17], 6
jne 0x513e9a
mov byte [esp + 0x14], 2
jmp 0x513e9a
cmp byte [esp + 0x17], 5
jne 0x513e9a
mov byte [esp + 0x14], 4
cmp byte [esp + 0x13], 3
je 0x513edf
cmp byte [esp + 0x17], 4
jne 0x513edf
test byte [esp + 0x10], 0x10
jne 0x513edf
or dword [edx + 0x18], 2
mov bl, al
shr bl, 6
mov byte [edx + 0xd], bl
mov bl, al
shr bl, 3
mov byte [edx + 0xc], al
and al, 7
and bl, 7
inc ecx
mov byte [edx + 0xe], bl
mov byte [edx + 0xf], al
cmp al, 5
jne 0x513edf
test byte [esp + 0x13], 1
jne 0x513edf
mov byte [esp + 0x14], 4
movzx esi, byte [esp + 0x14]
mov eax, esi
dec ecx
sub eax, 1
je 0x513f25
sub eax, 1
je 0x513f0e
sub eax, 2
jne 0x513f2e
or dword [edx + 0x18], 0x80
mov eax, dword [ecx]
mov bl, byte [esp + 0x12]
mov dword [edx + 0x14], eax
mov al, byte [esp + 0x10]
add ecx, esi
jmp 0x513f4d
or dword [edx + 0x18], 0x40
mov ax, word [ecx]
mov bl, byte [esp + 0x12]
mov word [edx + 0x14], ax
mov al, byte [esp + 0x10]
add ecx, esi
jmp 0x513f4d
or dword [edx + 0x18], 0x20
mov al, byte [ecx]
mov byte [edx + 0x14], al
mov bl, byte [esp + 0x12]
mov al, byte [esp + 0x10]
add ecx, esi
jmp 0x513f4d
mov al, byte [esp + 0x10]
mov ecx, dword [esp + 0x18]
test al, 0x20
je 0x513f4d
or dword [edx + 0x18], 0x9000
pop esi
test bl, 0x10
je 0x513f96
test bl, 0x40
je 0x513f76
test al, 8
je 0x513fea
or dword [edx + 0x18], 0x108
mov ax, word [ecx]
mov word [edx + 0x10], ax
add ecx, 2
jmp 0x51400d
test al, 8
je 0x513f8a
or dword [edx + 0x18], 8
mov ax, word [ecx]
mov word [edx + 0x10], ax
add ecx, 2
jmp 0x513f96
or dword [edx + 0x18], 0x10
mov eax, dword [ecx]
mov dword [edx + 0x10], eax
add ecx, 4
test bl, 4
je 0x513fd6
mov eax, dword [edx + 0x18]
test al, 0x10
je 0x513fb1
or eax, 8
mov dword [edx + 0x18], eax
mov ax, word [ecx]
mov word [edx + 0x14], ax
jmp 0x513fd3
test al, 8
je 0x513fc6
or eax, 0x800
mov dword [edx + 0x18], eax
mov ax, word [ecx]
mov word [edx + 0x14], ax
jmp 0x513fd3
or eax, 8
mov dword [edx + 0x18], eax
mov ax, word [ecx]
mov word [edx + 0x10], ax
add ecx, 2
test bl, 2
je 0x513fe5
or dword [edx + 0x18], 4
mov al, byte [ecx]
mov byte [edx + 0x10], al
inc ecx
test bl, 0x40
je 0x513ffb
or dword [edx + 0x18], 0x110
mov eax, dword [ecx]
mov dword [edx + 0x10], eax
add ecx, 4
jmp 0x51400d
test bl, 0x20
je 0x51400d
or dword [edx + 0x18], 0x104
mov al, byte [ecx]
mov byte [edx + 0x10], al
inc ecx
mov al, cl
sub al, byte [esp + 0x20]
pop edi
pop ebp
mov byte [edx], al
pop ebx
cmp al, 0xf
jbe 0x514026
or dword [edx + 0x18], 0x5000
mov byte [edx], 0xf
movzx eax, byte [edx]
add esp, 0x10
ret