Function at 0x402cf0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x602c60]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x44]
push edi
mov edi, dword [ebp + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], edi
test ebx, ebx
jne 0x402d45
mov eax, 0xffffff9a
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004fb958
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x402d51
cmp eax, 8
jne 0x402d2e
cmp dword [ebx + 0x38], 1
jne 0x402d68
push ebx
call fcn.004037c0
add esp, 4
test eax, eax
jne 0x403318
cmp dword [esp + 0x14], 0
jne 0x402d77
mov dword [esp + 0x14], 0x5caa10
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x402d84
mov dword [esp + 0x18], eax
jmp 0x402d94
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402d87
sub eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
jmp 0x402da0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402da0
sub eax, edx
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x10], eax
cmp edx, ecx
jne 0x402dbf
mov dword [ebx + 0x100a4], ecx
jmp 0x402dd3
mov eax, dword [edx + 0x18]
cmp eax, ecx
jne 0x402dcd
call fcn.00401720
xor ecx, ecx
mov dword [ebx + 0x100a4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x98], esi
cmp eax, 8
je 0x402de6
cmp eax, 9
jne 0x402def
or esi, 2
mov dword [ebx + 0x98], esi
cmp eax, 2
jne 0x402dfd
or dword [ebx + 0x98], 4
jmp 0x402e09
cmp eax, 1
jne 0x402e09
or dword [ebx + 0x98], 6
cmp edi, ecx
je 0x402e14
or dword [ebx + 0x98], 1
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp + 0x20]
mov dword [ebx + 0xa0], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 0x100a8], ecx
mov dword [ebx + 0x9c], edx
mov dword [ebx + 0x100ac], ecx
mov dword [ebx + 0x78], ecx
mov dword [ebx + 0x7c], ecx
push eax
cmp dword [ebx + 0x10], ecx
je 0x402e4f
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ebx + 0xc]
push ecx
call edx
add esp, 8
jmp 0x402e69
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x24]
push eax
call ecx
add esp, 8
cmp eax, 0xffffffff
jne 0x402e67
or eax, eax
or edx, 0xffffffff
jmp 0x402e69
xor edx, edx
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x84], edx
mov edx, dword [esp + 0xc]
add edx, dword [esp + 0x10]
mov dword [ebx + 0x80], eax
lea eax, [edx + ecx + 0x2e]
mov dword [ebx + 0x90], eax
add eax, 0x20
push eax
mov dword [ebx + 0x94], 0x20
call fcn.004fc6d6
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 0x40]
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], edx
mov dword [eax], 0x2014b50
mov eax, dword [ebx + 0x88]
xor esi, esi
mov byte [eax + 4], cl
shrd ecx, esi, 8
shr esi, 8
mov byte [eax + 5], cl
shrd ecx, esi, 8
shr esi, 8
add esp, 4
or ecx, esi
je 0x402ee1
or ecx, 0xffffffff
mov word [eax + 4], cx
mov eax, dword [ebx + 0x88]
mov word [eax + 6], 0x14
mov ecx, dword [ebx + 0x98]
mov eax, dword [ebx + 0x88]
xor esi, esi
mov byte [eax + 8], cl
shrd ecx, esi, 8
shr esi, 8
mov byte [eax + 9], cl
shrd ecx, esi, 8
shr esi, 8
or ecx, esi
je 0x402f1a
or edx, 0xffffffff
mov word [eax + 8], dx
mov ecx, dword [ebx + 0x9c]
mov eax, dword [ebx + 0x88]
xor esi, esi
mov byte [eax + 0xa], cl
shrd ecx, esi, 8
shr esi, 8
mov byte [eax + 0xb], cl
shrd ecx, esi, 8
shr esi, 8
or ecx, esi
je 0x402f47
or ecx, 0xffffffff
mov word [eax + 0xa], cx
mov ecx, dword [ebx + 0x100a4]
mov eax, dword [ebx + 0x88]
xor esi, esi
mov byte [eax + 0xc], cl
shrd ecx, esi, 8
shr esi, 8
mov byte [eax + 0xd], cl
shrd ecx, esi, 8
shr esi, 8
mov byte [eax + 0xe], cl
shrd ecx, esi, 8
shr esi, 8
mov byte [eax + 0xf], cl
shrd ecx, esi, 8
shr esi, 8
or ecx, esi
je 0x402f88
mov dword [eax + 0xc], 0xffffffff
mov eax, dword [ebx + 0x88]
mov edx, dword [esp + 0x10]
mov dword [eax + 0x10], 0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0x14], 0
mov eax, dword [ebx + 0x88]
xor esi, esi
mov ecx, edx
shrd ecx, esi, 8
mov dword [eax + 0x18], 0
mov eax, dword [ebx + 0x88]
shr esi, 8
mov byte [eax + 0x1d], cl
shrd ecx, esi, 8
shr esi, 8
or ecx, esi
mov byte [eax + 0x1c], dl
je 0x402fdc
or ecx, 0xffffffff
mov word [eax + 0x1c], cx
mov eax, dword [ebx + 0x88]
mov ecx, dword [esp + 0xc]
xor esi, esi
mov byte [eax + 0x1e], cl
shrd ecx, esi, 8
shr esi, 8
mov byte [eax + 0x1f], cl
shrd ecx, esi, 8
shr esi, 8
or ecx, esi
je 0x403007
or ecx, 0xffffffff
mov word [eax + 0x1e], cx
mov eax, dword [ebx + 0x88]
mov ecx, dword [esp + 0x18]
xor esi, esi
mov byte [eax + 0x20], cl
shrd ecx, esi, 8
shr esi, 8
mov byte [eax + 0x21], cl
shrd ecx, esi, 8
shr esi, 8
or ecx, esi
je 0x403032
or ecx, 0xffffffff
mov word [eax + 0x20], cx
mov eax, dword [ebx + 0x88]
mov edi, dword [esp + 0x1c]
mov word [eax + 0x22], 0
mov eax, dword [ebx + 0x88]
test edi, edi
jne 0x403060
mov word [eax + 0x24], di
mov eax, dword [ebx + 0x88]
mov dword [eax + 0x26], edi
jmp 0x4030c6
mov ecx, dword [edi + 0x1c]
xor esi, esi
mov byte [eax + 0x24], cl
shrd ecx, esi, 8
shr esi, 8
mov byte [eax + 0x25], cl
shrd ecx, esi, 8
shr esi, 8
or ecx, esi
je 0x403084
or edx, 0xffffffff
mov word [eax + 0x24], dx
mov ecx, dword [edi + 0x20]
mov eax, dword [ebx + 0x88]
mov edx, dword [esp + 0x10]
xor esi, esi
mov byte [eax + 0x26], cl
shrd ecx, esi, 8
shr esi, 8
mov byte [eax + 0x27], cl
shrd ecx, esi, 8
shr esi, 8
mov byte [eax + 0x28], cl
shrd ecx, esi, 8
shr esi, 8
mov byte [eax + 0x29], cl
shrd ecx, esi, 8
shr esi, 8
or ecx, esi
je 0x4030c6
mov dword [eax + 0x26], 0xffffffff
cmp dword [ebx + 0x84], 0
ja 0x4030d8
cmp dword [ebx + 0x80], 0xffffffff
jb 0x4030e7
mov eax, dword [ebx + 0x88]
mov dword [eax + 0x2a], 0xffffffff
jmp 0x403138
mov ecx, dword [ebx + 0x80]
mov eax, dword [ebx + 0x88]
xor esi, esi
sub ecx, dword [ebx + 0x100f0]
mov edx, dword [esp + 0x10]
sbb esi, dword [ebx + 0x100f4]
mov byte [eax + 0x2a], cl
shrd ecx, esi, 8
shr esi, 8
mov byte [eax + 0x2b], cl
shrd ecx, esi, 8
shr esi, 8
mov byte [eax + 0x2c], cl
shrd ecx, esi, 8
shr esi, 8
mov byte [eax + 0x2d], cl
shrd ecx, esi, 8
shr esi, 8
or ecx, esi
je 0x403138
mov dword [eax + 0x2a], 0xffffffff
xor eax, eax
test edx, edx
je 0x40315c
mov esi, dword [esp + 0x14]
mov ecx, dword [ebx + 0x88]
mov dword [esp + 0x1c], ebx
mov bl, byte [esi + eax]
mov byte [ecx + eax + 0x2e], bl
mov ebx, dword [esp + 0x1c]
inc eax
cmp eax, edx
jb 0x403142
mov edi, dword [esp + 0xc]
xor eax, eax
xor esi, esi
cmp edi, eax
jbe 0x403189
jmp 0x403170
mov eax, dword [ebx + 0x88]
mov ecx, dword [ebp + 0x14]
mov cl, byte [esi + ecx]
add eax, esi
inc esi
mov byte [eax + edx + 0x2e], cl
cmp esi, edi
jb 0x403170
xor eax, eax
xor esi, esi
cmp dword [esp + 0x18], eax
jbe 0x4031ae
mov eax, dword [ebx + 0x88]
mov ecx, dword [ebp + 0x1c]
mov cl, byte [esi + ecx]
add eax, edi
add eax, esi
inc esi
mov byte [eax + edx + 0x2e], cl
cmp esi, dword [esp + 0x18]
jb 0x403191
xor eax, eax
cmp dword [ebx + 0x88], eax
jne 0x4031cd
mov eax, 0xffffff98
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004fb958
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x48]
mov dword [ebx + 0x100c0], eax
mov dword [ebx + 0x100c4], eax
mov dword [ebx + 0x100c8], eax
mov dword [ebx + 0x100cc], eax
mov dword [ebx + 0x100b8], eax
mov dword [ebx + 0x100bc], eax
mov eax, dword [ebp + 0x10]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
mov esi, ebx
mov dword [ebx + 0x100b0], edx
call fcn.00402900
xor esi, esi
add esp, 8
lea edx, [ebx + 0xa4]
mov dword [esp + 0xc], eax
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x50], 0x10000
mov dword [ebx + 0x4c], edx
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x54], esi
mov dword [ebx + 0x6c], esi
cmp eax, esi
jne 0x403288
mov edi, 8
cmp dword [ebx + 0x9c], edi
jne 0x403288
cmp dword [ebx + 0xa0], esi
jne 0x403288
mov eax, dword [ebp + 0x2c]
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x64], esi
mov dword [ebx + 0x68], esi
cmp eax, esi
jle 0x40325e
neg eax
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp + 0x30]
push 0x38
push ecx
push edx
push eax
mov eax, dword [ebp + 0x24]
push eax
lea ecx, [ebx + 0x40]
mov eax, str.1.2.5
call fcn.00405610
add esp, 0x14
mov dword [esp + 0xc], eax
cmp eax, esi
jne 0x403288
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x100e0], esi
cmp dword [esp + 0xc], esi
jne 0x403314
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x40330d
mov ecx, dword [ebp + 0x3c]
push ecx
lea edx, [esp + 0x2c]
push edx
mov edi, 0x5c89c0
lea esi, [ebx + 0x100d0]
push eax
mov dword [ebx + 0x100ac], 1
mov dword [ebx + 0x100dc], edi
call fcn.004010f0
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x1c]
mov esi, eax
add esp, 0xc
push esi
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ebx + 8]
push ecx
push edx
mov dword [ebx + 0x100e0], esi
call eax
add esp, 0x10
cmp eax, esi
je 0x40330d
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004fb958
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x38], 1
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004fb958
mov esp, ebp
pop ebp
ret