Function at 0x1005de50
Capabilities:
Hash data with crc32
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, dword [0x1025afd0]
cmp byte [edi], 0
je 0x1005e0b5
cmp byte [edi + 0x2c90], 0
jne 0x1005e0b5
cmp dword [edi + 0x1998], 0
jne 0x1005e0b5
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
test eax, eax
jne 0x1005de95
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
lea ecx, [eax + 1]
inc dword [edi + 0x36c]
push dword [0x1025afd8]
push ecx
mov ebx, eax
call dword [0x101fe77c]
add esp, 8
push ebx
push esi
mov esi, eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + ebx], 0
test ebx, ebx
jle 0x1005e087
mov edx, ebx
mov dword [esp + 4], edi
add edx, esi
xor eax, eax
mov dword [esp + 8], esi
mov edi, esi
xor ebx, ebx
mov dword [esp], edx
jmp 0x1005deeb
mov eax, ebp
inc edi
cmp edi, edx
jae 0x1005e07b
mov ebp, eax
lea eax, [edi + 2]
mov esi, edi
jmp 0x1005df02
inc esi
inc eax
movzx ecx, byte [esi]
cmp ecx, 0xa
je 0x1005df00
cmp ecx, 0xd
je 0x1005df00
mov edi, esi
cmp esi, edx
jae 0x1005df40
mov edi, esi
nop word [eax + eax]
movzx ecx, byte [edi]
cmp ecx, 0xa
je 0x1005df40
cmp ecx, 0xd
je 0x1005df40
inc edi
cmp edi, edx
jb 0x1005df20
mov edi, edx
nop word cs:[eax + eax]
mov byte [edi], 0
movzx ecx, byte [esi]
cmp ecx, 0x3b
je 0x1005dee0
cmp ecx, 0x5b
jne 0x1005e010
cmp edi, esi
jbe 0x1005e010
cmp byte [edi - 1], 0x5d
jne 0x1005e010
mov byte [edi - 1], 0
inc esi
mov ecx, edi
sub ecx, eax
push ecx
push 0x5d
push esi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
mov ebx, str.Window
test eax, eax
je 0x1005dfa7
mov ebp, eax
lea eax, [edi - 1]
lea ecx, [ebp + 1]
sub eax, ecx
push eax
push 0x5b
push ecx
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
je 0x1005dfa7
mov byte [ebp], 0
inc eax
mov ebx, esi
mov esi, eax
mov eax, dword [0x1025afd0]
mov dword [esp + 0xc], eax
movzx edx, byte [ebx]
mov eax, 0
test dl, dl
je 0x1005e03c
add ebx, 2
mov eax, 0xffffffff
jmp 0x1005dfe9
movzx ecx, dl
movzx ebp, al
shr eax, 8
xor ebp, ecx
xor eax, dword [ebp*4 + 0x101a9104]
inc ebx
mov dl, dh
test dh, dh
je 0x1005e03a
mov dh, byte [ebx - 1]
cmp dl, 0x23
jne 0x1005dfd0
cmp dh, 0x23
jne 0x1005dfd0
cmp byte [ebx], 0x23
mov ecx, 0xffffffff
cmove eax, ecx
mov dh, 0x23
jmp 0x1005dfd0
test ebx, ebx
je 0x1005dee0
mov eax, ebp
test ebp, ebp
je 0x1005dee2
push esi
push eax
push ebx
push dword [esp + 0x10]
call dword [ebx + 0xc]
mov eax, ebp
mov edx, dword [esp + 0x10]
add esp, 0x10
jmp 0x1005dee2
not eax
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x2ca4]
test edx, edx
jle 0x1005e05b
mov ebx, dword [ecx + 0x2cac]
cmp dword [ebx + 4], eax
je 0x1005e067
add ebx, 0x18
dec edx
jne 0x1005e050
xor ebx, ebx
mov edx, dword [esp]
xor eax, eax
jmp 0x1005dee2
push esi
push ebx
push dword [esp + 0xc]
call dword [ebx + 8]
add esp, 0xc
mov edx, dword [esp]
jmp 0x1005dee2
mov esi, dword [esp + 8]
test esi, esi
mov edi, dword [esp + 4]
je 0x1005e096
mov eax, dword [0x1025afd0]
test eax, eax
je 0x1005e096
dec dword [eax + 0x36c]
push dword [0x1025afd8]
push esi
call dword [0x101fe780]
add esp, 8
mov byte [edi + 0x2c90], 1
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3