Function at 0x40c450
Capabilities:
Hash data using rshash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], 0
xor esi, esi
mov dword [ebp - 0xc], edi
mov edx, dword [edi + 8]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x18], ebx
test edx, edx
jle 0x40c60f
cmp esi, edx
jge 0x40c498
lea esp, [esp]
mov al, byte [esi + ebx]
cmp al, 0xa
je 0x40c493
cmp al, 0xd
je 0x40c493
cmp al, 0x20
je 0x40c493
cmp al, 9
jne 0x40c498
inc esi
cmp esi, edx
jl 0x40c480
lea eax, [esi + ebx]
mov dword [ebp - 0x14], eax
mov al, byte [eax]
cmp al, 0x5b
jne 0x40c618
inc esi
lea eax, [esi + ebx]
mov dword [ebp - 0x20], eax
cmp esi, edx
jge 0x40c4be
cmp byte [esi + ebx], 0x5d
je 0x40c4be
inc esi
cmp esi, edx
jl 0x40c4b3
mov byte [esi + ebx], 0
xor edx, edx
mov ecx, dword [edi + 0x14]
inc esi
mov dword [ebp - 0x1c], eax
mov al, byte [eax]
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], 0xf8c9
mov byte [ebp - 1], al
test al, al
je 0x40c525
mov edi, dword [ebp - 0x1c]
mov bl, al
mov esi, dword [ebp - 0x14]
lea esp, [esp]
lea eax, [ebx - 0x41]
mov cl, 0x19
cmp cl, al
lea edi, [edi + 1]
sbb eax, eax
imul edx, esi
inc eax
imul esi, esi, 0x5c6b7
shl al, 5
movsx ecx, al
movsx eax, bl
mov bl, byte [edi]
or ecx, eax
add edx, ecx
test bl, bl
jne 0x40c4f0
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x40c52f
mov eax, edx
xor edx, edx
div ecx
mov eax, dword [edi + 0xc]
lea eax, [eax + edx*4]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
test eax, eax
je 0x40c54f
mov edi, edi
lea ebx, [eax + 8]
mov eax, dword [ebx]
mov dword [ebp - 0x14], ebx
test eax, eax
jne 0x40c540
mov ebx, dword [ebp - 0x18]
push 0x10
call fcn.0042493a
mov edi, eax
xor ecx, ecx
mov eax, dword [ebp - 0xc]
mov edx, 4
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov eax, dword [eax + 0x18]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040627a
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov dword [edi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x20]
mov dword [edi], eax
mov dword [edx], edi
mov edi, dword [ebp - 0xc]
cmp dword [edi + 0x18], ecx
jbe 0x40c5b2
lea esp, [esp]
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [eax + ecx*4], 0
inc ecx
cmp ecx, dword [edi + 0x18]
jb 0x40c5a0
mov eax, dword [edi + 0x10]
lea ecx, [edi + 0x10]
test eax, eax
je 0x40c5c9
lea esp, [esp]
lea ecx, [eax + 0xc]
mov eax, dword [ecx]
test eax, eax
jne 0x40c5c0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
mov ecx, dword [edi + 8]
cmp esi, ecx
jge 0x40c604
lea esp, [esp]
mov al, byte [esi + ebx]
cmp al, 0xa
je 0x40c5f0
cmp al, 0xd
je 0x40c5f0
inc esi
cmp esi, ecx
jl 0x40c5e0
cmp esi, ecx
jge 0x40c604
mov al, byte [esi + ebx]
cmp al, 0xa
je 0x40c5ff
cmp al, 0xd
jne 0x40c604
inc esi
cmp esi, ecx
jl 0x40c5f4
mov edx, dword [edi + 8]
cmp esi, edx
jl 0x40c480
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 0x3b
je 0x40c5d5
cmp esi, edx
jge 0x40c63c
mov al, byte [esi + ebx]
cmp al, 0xa
je 0x40c63c
cmp al, 0xd
je 0x40c63c
cmp al, 0x20
je 0x40c63c
cmp al, 9
je 0x40c63c
cmp al, 0x3d
je 0x40c63c
inc esi
cmp esi, edx
jl 0x40c620
lea ecx, [esi + ebx]
cmp esi, edx
jge 0x40c5d5
cmp byte [esi + ebx], 0x3d
jne 0x40c5d5
inc esi
cmp esi, edx
jge 0x40c660
mov edi, edi
mov al, byte [esi + ebx]
cmp al, 0x20
je 0x40c65b
cmp al, 9
jne 0x40c660
inc esi
cmp esi, edx
jl 0x40c650
cmp dword [ebp - 8], 0
mov byte [ecx], 0
jne 0x40c676
push 1
push ecx
mov ecx, edi
call fcn.0040c1d0
mov dword [ebp - 8], eax
mov edx, dword [edi + 0x18]
mov ecx, dword [ebp - 0x14]
call fcn.0040aa60
mov ecx, dword [ebp - 8]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x10], eax
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x40c6bd
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call fcn.0040a860
test eax, eax
je 0x40c6b5
mov eax, dword [ebp - 0x1c]
add eax, 8
mov dword [ebp - 0x10], eax
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x40c693
jmp 0x40c6bd
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x40c6e2
push 0xc
call fcn.0042493a
mov edx, dword [ebp - 0x10]
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [edx], eax
mov dword [eax], ecx
lea ecx, [esi + ebx]
mov eax, dword [edx]
mov dword [eax + 4], ecx
mov eax, dword [edx]
mov dword [eax + 8], 0
mov ecx, dword [edi + 8]
cmp esi, ecx
jge 0x40c755
lea esp, [esp]
mov al, byte [esi + ebx]
cmp al, 0xa
je 0x40c736
cmp al, 0xd
je 0x40c736
cmp al, 0x3b
je 0x40c736
inc esi
cmp al, 0x22
jne 0x40c732
cmp esi, ecx
jge 0x40c755
mov al, byte [esi + ebx]
cmp al, 0xa
je 0x40c732
cmp al, 0xd
je 0x40c732
inc esi
cmp al, 0x5c
jne 0x40c72a
cmp esi, ecx
jge 0x40c755
mov al, byte [esi + ebx]
cmp al, 0xa
je 0x40c72e
cmp al, 0xd
je 0x40c72e
inc esi
jmp 0x40c72e
cmp al, 0x22
je 0x40c732
cmp esi, ecx
jl 0x40c708
cmp esi, ecx
jl 0x40c6f0
cmp esi, ecx
jge 0x40c755
lea ebx, [ebx]
mov al, byte [esi + ebx]
cmp al, 0xa
je 0x40c755
cmp al, 0xd
je 0x40c755
mov byte [esi + ebx], 0
inc esi
cmp esi, dword [edi + 8]
jl 0x40c740
cmp esi, dword [edi + 8]
jge 0x40c604
mov edi, edi
mov al, byte [esi + ebx]
cmp al, 0xa
je 0x40c76f
cmp al, 0xd
jne 0x40c604
mov byte [esi + ebx], 0
inc esi
cmp esi, dword [edi + 8]
jl 0x40c760
jmp 0x40c604