Function at 0x10083c80
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [0x102c7274]
mov eax, ecx
push esi
push edi
mov dword [ebp - 0x10], edx
cmp byte [ebx], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
jne 0x10083cbc
push 0x20000
push str.ERROR
push str._g.Initialized_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
test edx, edx
jne 0x10083cd1
mov edx, eax
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10083cc5
sub edx, ecx
mov dword [ebp - 0x10], edx
mov esi, dword [ebx + 0x2e4c]
lea eax, [ebx + 0x2e48]
lea edi, [edx + 1]
cmp edi, esi
jle 0x10083d16
test esi, esi
je 0x10083cf5
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x10083cfa
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
lea ecx, [ebx + 0x2e48]
push eax
call fcn.10087180
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x2e48]
mov dword [eax], edi
mov edi, dword [ebx + 0x2e50]
push edx
push dword [ebp - 0x18]
mov dword [ebp - 0x20], edi
lea esi, [edi + edx]
push edi
mov dword [ebp - 0xc], esi
call fcn.10158550
mov byte [esi], 0
add esp, 0xc
mov eax, dword [ebx + 0x2e54]
xor esi, esi
test eax, eax
jle 0x10083dfc
xor edi, edi
mov ecx, eax
nop dword [eax + eax]
test esi, esi
js 0x10083d58
cmp esi, eax
jl 0x10083d75
push 0x20000
push str.ERROR
push str._i___0__i___Size_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebx + 0x2e54]
mov eax, dword [ebx + 0x2e5c]
cmp dword [edi + eax + 0xc], 0
je 0x10083de5
test esi, esi
js 0x10083d8a
cmp esi, ecx
jl 0x10083dad
push 0x20000
push str.ERROR
push str._i___0__i___Size_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebx + 0x2e5c]
mov ecx, dword [ebx + 0x2e54]
mov edx, dword [eax + edi + 0xc]
mov dword [ebp - 0x1c], edx
test esi, esi
js 0x10083dbc
cmp esi, ecx
jl 0x10083ddc
push 0x20000
push str.ERROR
push str._i___0__i___Size_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebx + 0x2e5c]
mov edx, dword [ebp - 0x1c]
add eax, edi
push eax
push ebx
call edx
add esp, 8
mov eax, dword [ebx + 0x2e54]
inc esi
add edi, 0x24
mov ecx, eax
cmp esi, eax
jl 0x10083d50
mov edi, dword [ebp - 0x20]
xor esi, esi
xor edx, edx
mov ecx, edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], edx
cmp edi, dword [ebp - 0xc]
jae 0x10083fdf
mov al, byte [ecx]
cmp al, 0xa
je 0x100840c0
cmp al, 0xd
je 0x100840c0
mov edi, ecx
mov dword [ebp - 0x1c], edi
cmp ecx, dword [ebp - 0xc]
jae 0x10083e45
mov ebx, dword [ebp - 0xc]
mov al, byte [edi]
cmp al, 0xa
je 0x10083e3f
cmp al, 0xd
je 0x10083e3f
inc edi
cmp edi, ebx
jb 0x10083e30
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edi
mov byte [edi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x10083fd0
cmp al, 0x5b
jne 0x10083fb4
cmp edi, ecx
jbe 0x10083fb4
cmp byte [edi - 1], 0x5d
lea esi, [edi - 1]
jne 0x10083fb1
inc ecx
mov byte [esi], 0
mov eax, esi
mov dword [ebp - 0x28], ecx
sub eax, ecx
push eax
push 0x5d
push ecx
call fcn.10159190
add esp, 0xc
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10083fca
lea ecx, [eax + 1]
sub esi, ecx
push esi
push 0x5b
push ecx
call fcn.10159190
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x10083fca
mov eax, dword [ebp - 0x24]
or ebx, 0xffffffff
mov edx, dword [ebp - 0x28]
mov byte [eax], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x24], eax
mov eax, dword [0x102c7274]
mov dword [ebp - 8], eax
mov al, byte [edx]
inc edx
test al, al
je 0x10083efa
or edi, 0xffffffff
cmp al, 0x23
jne 0x10083ede
cmp byte [edx], al
jne 0x10083ede
cmp byte [edx + 1], al
cmove ebx, edi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x101e8ca0]
test al, al
jne 0x10083ed0
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
xor esi, esi
not ebx
mov eax, dword [eax + 0x2e54]
test eax, eax
jle 0x10083f52
xor edx, edx
mov dword [ebp - 0x1c], edx
test esi, esi
js 0x10083f18
cmp esi, eax
jl 0x10083f32
push 0x20000
push str.ERROR
push str._i___0__i___Size_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2e5c]
cmp dword [edx + ecx + 4], ebx
je 0x10083f61
mov eax, dword [eax + 0x2e54]
inc esi
add edx, 0x24
mov dword [ebp - 0x1c], edx
cmp esi, eax
jl 0x10083f10
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 8], esi
jmp 0x10083fd0
test esi, esi
js 0x10083f6d
cmp esi, dword [eax + 0x2e54]
jl 0x10083f8d
push 0x20000
push str.ERROR
push str._i___0__i___Size_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2e5c]
lea eax, [esi + esi*8]
lea edx, [ecx + eax*4]
mov dword [ebp - 4], edx
test edx, edx
je 0x10083f57
push dword [ebp - 0x24]
mov ebx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
push edx
push ebx
call eax
mov esi, eax
add esp, 0xc
mov dword [ebp - 8], esi
jmp 0x10083fcd
mov esi, dword [ebp - 8]
test edx, edx
je 0x10083fd0
test esi, esi
je 0x10083fd0
mov eax, dword [edx + 0x14]
push ecx
push esi
push edx
push ebx
call eax
add esp, 0x10
jmp 0x10083fcd
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 4]
lea ecx, [edi + 1]
cmp ecx, dword [ebp - 0xc]
jb 0x10083e11
mov edi, dword [ebp - 0x20]
push dword [ebp - 0x10]
mov byte [ebx + 0x2e41], 1
push dword [ebp - 0x18]
push edi
call fcn.10158550
mov eax, dword [ebx + 0x2e54]
add esp, 0xc
xor esi, esi
test eax, eax
jle 0x100840b9
xor edi, edi
mov ecx, eax
nop dword [eax]
test esi, esi
js 0x10084018
cmp esi, eax
jl 0x10084035
push 0x20000
push str.ERROR
push str._i___0__i___Size_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebx + 0x2e54]
mov eax, dword [ebx + 0x2e5c]
cmp dword [edi + eax + 0x18], 0
je 0x100840a5
test esi, esi
js 0x1008404a
cmp esi, ecx
jl 0x1008406d
push 0x20000
push str.ERROR
push str._i___0__i___Size_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebx + 0x2e5c]
mov ecx, dword [ebx + 0x2e54]
mov edx, dword [eax + edi + 0x18]
mov dword [ebp - 0x28], edx
test esi, esi
js 0x1008407c
cmp esi, ecx
jl 0x1008409c
push 0x20000
push str.ERROR
push str._i___0__i___Size_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebx + 0x2e5c]
mov edx, dword [ebp - 0x28]
add eax, edi
push eax
push ebx
call edx
add esp, 8
mov eax, dword [ebx + 0x2e54]
inc esi
add edi, 0x24
mov ecx, eax
cmp esi, eax
jl 0x10084010
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc ecx
jmp 0x10083e11