Function at 0x350626c7
Capabilities:
Hash data with crc32

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0xc], 0
push esi
mov esi, ecx
je 0x35062aa9
push ebx
mov ebx, dword [esi + 0xc]
push edi
test ebx, 0x8000
je 0x3506270f
mov eax, dword [esi + 0x28]
lea edi, [eax + 0x10]
mov ecx, edi
lea edx, [ecx + 1]
mov dword [ebp - 8], edx
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x350626f7
sub ecx, dword [ebp - 8]
cmp ecx, 0x64
jl 0x35062726
and ebx, 0xffff7fff
mov dword [esi + 0xc], ebx
mov ebx, dword [ebp + 8]
test dword [esi + 0xc], 0x10000
jne 0x3506299a
xor edx, edx
jmp 0x35062990
xor edx, edx
test ecx, ecx
sete dl
push 0x64
add edi, ecx
mov dword [ebp - 8], edx
pop edx
sub edx, ecx
mov dword [ebp - 4], edx
test ebx, 0x10000
jne 0x350627cf
cmp dword [ebp + 0xc], 0
jbe 0x350627c7
mov ebx, dword [ebp + 8]
movzx eax, byte [ebx]
dec dword [ebp + 0xc]
mov cl, byte [eax + 0x3501e6e0]
inc ebx
mov byte [ebp + 0xb], cl
test cl, 0xfe
je 0x350627ab
mov eax, dword [esi + 0x28]
inc dword [eax + 4]
mov eax, dword [esi + 0x28]
mov edx, dword [eax]
and dword [ebp - 8], 0
movzx ecx, cl
xor ecx, dword [eax]
shr edx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x3501e2e0]
mov dword [eax], edx
mov al, byte [ebp + 0xb]
mov byte [edi], al
mov eax, dword [esi + 0x28]
and dword [eax + 0xc], 0
inc edi
dec dword [ebp - 4]
jne 0x350627c1
mov byte [edi], 0
and dword [esi + 0xc], 0xffff7fff
jmp 0x35062712
cmp cl, 1
jne 0x350627c1
cmp dword [ebp - 8], 0
mov eax, dword [esi + 0x28]
je 0x350627be
inc dword [eax + 8]
jmp 0x350627c1
inc dword [eax + 0xc]
cmp dword [ebp + 0xc], 0
ja 0x3506274f
mov byte [edi], 0
jmp 0x35062aa7
mov cl, byte [esi + 0x5c]
mov ebx, dword [ebp + 8]
test cl, cl
je 0x3506292b
test cl, 0xfe
je 0x35062828
mov cl, byte [ebx]
mov byte [ebp + 0xb], cl
inc ebx
inc dword [eax + 4]
mov eax, dword [esi + 0x28]
mov edx, dword [eax]
movzx ecx, cl
xor ecx, dword [eax]
shr edx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x3501e2e0]
mov dword [eax], edx
mov al, byte [ebp + 0xb]
mov byte [edi], al
inc edi
dec dword [ebp + 0xc]
dec dword [ebp - 4]
jne 0x3506283a
mov byte [edi], 0
and dword [esi + 0xc], 0xffff7fff
mov byte [esi + 0x5c], 0
jmp 0x35062712
inc ebx
dec dword [ebp + 0xc]
cmp dword [ebp - 8], 0
je 0x35062837
inc dword [eax + 8]
jmp 0x3506283a
inc dword [eax + 0xc]
mov byte [esi + 0x5c], 0
jmp 0x3506292b
movzx eax, byte [ebx]
dec dword [ebp + 0xc]
movzx ecx, al
mov cl, byte [ecx + 0x3501e6e0]
push eax
push dword [esi + 8]
mov byte [ebp + 0xb], cl
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByteEx]
inc ebx
test byte [ebp + 0xb], 0xfe
mov dword [ebp - 0xc], eax
je 0x350628fa
mov eax, dword [esi + 0x28]
inc dword [eax + 4]
mov ecx, dword [esi + 0x28]
movzx eax, byte [ebp + 0xb]
xor eax, dword [ecx]
mov edx, dword [ecx]
and eax, 0xff
shr edx, 8
xor edx, dword [eax*4 + 0x3501e2e0]
mov al, byte [ebp + 0xb]
mov dword [ecx], edx
mov byte [edi], al
mov edx, dword [esi + 0x28]
xor ecx, ecx
inc edi
mov dword [ebp - 8], ecx
mov dword [edx + 0xc], ecx
cmp dword [ebp - 0xc], ecx
je 0x350628ef
cmp dword [ebp + 0xc], ecx
je 0x350628e6
cmp dword [ebp - 4], 1
jle 0x350628ea
mov cl, byte [ebx]
mov eax, dword [esi + 0x28]
mov byte [ebp + 0xb], cl
inc ebx
inc dword [eax + 4]
mov eax, dword [esi + 0x28]
mov edx, dword [eax]
movzx ecx, cl
xor ecx, dword [eax]
shr edx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x3501e2e0]
mov dword [eax], edx
mov al, byte [ebp + 0xb]
mov byte [edi], al
inc edi
dec dword [ebp - 4]
dec dword [ebp + 0xc]
jmp 0x350628ef
cmp dword [ebp - 4], 1
mov byte [esi + 0x5c], al
je 0x3506293a
dec dword [ebp - 4]
je 0x3506279c
jmp 0x3506292b
cmp byte [ebp + 0xb], 1
jne 0x3506292b
xor ecx, ecx
inc ecx
test eax, eax
je 0x3506291a
cmp dword [ebp + 0xc], 0
je 0x35062916
push 2
inc ebx
dec dword [ebp + 0xc]
pop ecx
jmp 0x3506291a
mov byte [esi + 0x5c], 1
cmp dword [ebp - 8], 0
mov eax, dword [esi + 0x28]
je 0x35062928
add dword [eax + 8], ecx
jmp 0x3506292b
add dword [eax + 0xc], ecx
cmp dword [ebp + 0xc], 0
ja 0x35062843
jmp 0x350627c7
and dword [esi + 0xc], 0xffff7fff
mov byte [edi - 1], cl
jmp 0x35062712
movzx eax, byte [ebx]
dec dword [ebp + 0xc]
mov cl, byte [eax + 0x3501e6e0]
inc ebx
test cl, 0xfe
je 0x35062985
mov eax, dword [esi + 0x28]
inc dword [eax + 4]
mov eax, dword [esi + 0x28]
mov edi, dword [eax]
movzx ecx, cl
xor ecx, dword [eax]
shr edi, 8
and ecx, 0xff
xor edi, dword [ecx*4 + 0x3501e2e0]
mov dword [eax], edi
mov eax, dword [esi + 0x28]
mov dword [eax + 0xc], edx
jmp 0x35062990
cmp cl, 1
jne 0x35062990
mov eax, dword [esi + 0x28]
inc dword [eax + 0xc]
cmp dword [ebp + 0xc], edx
ja 0x35062949
jmp 0x35062aa7
mov al, byte [esi + 0x5c]
test al, al
je 0x35062a9d
cmp dword [ebp + 0xc], 0
je 0x35062aa7
test al, 0xfe
mov eax, dword [esi + 0x28]
je 0x350629dd
mov cl, byte [ebx]
inc ebx
inc dword [eax + 4]
mov eax, dword [esi + 0x28]
mov edx, dword [eax]
movzx ecx, cl
xor ecx, dword [eax]
shr edx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x3501e2e0]
dec dword [ebp + 0xc]
mov dword [eax], edx
jmp 0x350629e4
inc dword [eax + 0xc]
dec dword [ebp + 0xc]
inc ebx
mov byte [esi + 0x5c], 0
jmp 0x35062a9d
movzx eax, byte [ebx]
dec dword [ebp + 0xc]
movzx ecx, al
mov cl, byte [ecx + 0x3501e6e0]
push eax
push dword [esi + 8]
mov byte [ebp + 0xb], cl
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByteEx]
inc ebx
test byte [ebp + 0xb], 0xfe
mov dword [ebp - 0xc], eax
je 0x35062a77
mov ecx, dword [esi + 0x28]
inc dword [ecx + 4]
mov ecx, dword [esi + 0x28]
movzx eax, byte [ebp + 0xb]
xor eax, dword [ecx]
mov edx, dword [ecx]
mov edi, 0xff
and eax, edi
shr edx, 8
xor edx, dword [eax*4 + 0x3501e2e0]
xor eax, eax
mov dword [ecx], edx
mov ecx, dword [esi + 0x28]
mov dword [ecx + 0xc], eax
cmp dword [ebp - 0xc], eax
je 0x35062a9d
cmp dword [ebp + 0xc], eax
je 0x35062a6f
mov cl, byte [ebx]
mov eax, dword [esi + 0x28]
inc ebx
inc dword [eax + 4]
mov eax, dword [esi + 0x28]
mov edx, dword [eax]
movzx ecx, cl
xor ecx, dword [eax]
shr edx, 8
and ecx, edi
xor edx, dword [ecx*4 + 0x3501e2e0]
dec dword [ebp + 0xc]
mov dword [eax], edx
jmp 0x35062a9d
mov al, byte [ebp + 0xb]
mov byte [esi + 0x5c], al
jmp 0x35062a9d
cmp byte [ebp + 0xb], 1
jne 0x35062a9d
test eax, eax
je 0x35062a97
cmp dword [ebp + 0xc], 0
je 0x35062a93
mov eax, dword [esi + 0x28]
inc dword [eax + 0xc]
dec dword [ebp + 0xc]
inc ebx
jmp 0x35062a97
mov byte [esi + 0x5c], 1
mov eax, dword [esi + 0x28]
inc dword [eax + 0xc]
cmp dword [ebp + 0xc], 0
ja 0x350629ed
pop edi
pop ebx
pop esi
leave
ret 8