Function at 0x402cc0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x4f9340]
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 0x402d15
mov eax, 0xffffff9a
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00473108
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x402d21
cmp eax, 8
jne 0x402cfe
cmp dword [ebx + 0x38], 1
jne 0x402d34
call fcn.00403780
test eax, eax
jne 0x4032e2
cmp dword [esp + 0x14], 0
jne 0x402d43
mov dword [esp + 0x14], 0x4d6ef0
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x402d50
mov dword [esp + 0x18], eax
jmp 0x402d60
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402d53
sub eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402d67
sub eax, edx
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x10], eax
cmp edx, ecx
jne 0x402d86
mov dword [ebx + 0x100a4], ecx
jmp 0x402d9a
mov eax, dword [edx + 0x18]
cmp eax, ecx
jne 0x402d94
call fcn.00401710
xor ecx, ecx
mov dword [ebx + 0x100a4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x98], esi
cmp eax, 8
je 0x402dad
cmp eax, 9
jne 0x402db6
or esi, 2
mov dword [ebx + 0x98], esi
cmp eax, 2
jne 0x402dc4
or dword [ebx + 0x98], 4
jmp 0x402dd0
cmp eax, 1
jne 0x402dd0
or dword [ebx + 0x98], 6
cmp edi, ecx
je 0x402ddb
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 0x402e16
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ebx + 0xc]
push ecx
call edx
add esp, 8
jmp 0x402e30
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x24]
push eax
call ecx
add esp, 8
cmp eax, 0xffffffff
jne 0x402e2e
or eax, eax
or edx, 0xffffffff
jmp 0x402e30
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.004764af
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 0x402ea8
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 0x402ee1
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 0x402f0e
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 0x402f4f
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 0x402fa3
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 0x402fce
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 0x402ff9
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 0x403022
mov word [eax + 0x24], di
mov eax, dword [ebx + 0x88]
mov dword [eax + 0x26], edi
jmp 0x403088
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 0x403046
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 0x403088
mov dword [eax + 0x26], 0xffffffff
cmp dword [ebx + 0x84], 0
ja 0x40309a
cmp dword [ebx + 0x80], 0xffffffff
jb 0x4030a9
mov eax, dword [ebx + 0x88]
mov dword [eax + 0x2a], 0xffffffff
jmp 0x4030fa
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 0x4030fa
mov dword [eax + 0x2a], 0xffffffff
xor eax, eax
test edx, edx
je 0x40312a
mov esi, dword [esp + 0x14]
jmp 0x403110
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 0x403110
mov edi, dword [esp + 0xc]
xor eax, eax
xor esi, esi
cmp edi, eax
jbe 0x403159
jmp 0x403140
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 0x403140
xor eax, eax
xor esi, esi
cmp dword [esp + 0x18], eax
jbe 0x40317e
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 0x403161
xor eax, eax
cmp dword [ebx + 0x88], eax
jne 0x40319d
mov eax, 0xffffff98
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00473108
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.004028d0
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 0x403258
mov edi, 8
cmp dword [ebx + 0x9c], edi
jne 0x403258
cmp dword [ebx + 0xa0], esi
jne 0x403258
mov eax, dword [ebp + 0x2c]
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x64], esi
mov dword [ebx + 0x68], esi
cmp eax, esi
jle 0x40322e
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.004055c0
add esp, 0x14
mov dword [esp + 0xc], eax
cmp eax, esi
jne 0x403258
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x100e0], esi
cmp dword [esp + 0xc], esi
jne 0x4032de
cmp dword [esp + 0x20], esi
je 0x4032d7
mov ecx, dword [ebp + 0x3c]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x2c]
mov edi, 0x4d4ea0
lea esi, [ebx + 0x100d0]
push edx
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
push esi
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebx + 8]
push ecx
push edx
mov dword [ebx + 0x100e0], esi
call eax
add esp, 0x18
cmp eax, esi
je 0x4032d7
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.00473108
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.00473108
mov esp, ebp
pop ebp
ret