Function at 0x402886
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp - 0x250]
push edi
push esi
push ebx
sub esp, 0x290
push 0
push eax
push 0x4087b8
push 0xf003f
push 0
push 0
push 0
push 0x408800
push 0x80000002
call fcn.00406060
test eax, eax
je 0x4028c8
mov dword [ebp - 0x250], 0
push 0
lea eax, [ebp - 0x254]
push eax
push 0x4087b8
push 0xf003f
push 0
push 0
push 0
push 0x408800
push 0x80000001
call fcn.00406060
mov dword [ebp - 0x258], 0x12
mov edx, dword [ebp - 0x250]
test edx, edx
je 0x402927
lea eax, [ebp - 0x258]
push eax
push 0x40c160
push 0
push 0
push 0x4087d8
push edx
call fcn.00406070
test eax, eax
je 0x4029af
lea eax, [ebp - 0x258]
push eax
push 0x40c160
push 0
push 0
push 0x4087d8
push dword [ebp - 0x254]
call fcn.00406070
test eax, eax
je 0x4029af
push 0x40c160
mov dword [0x40c168], 0x33abd8f4
call fcn.00405e90
mov dword [0x40c16c], 0
mov eax, dword [ebp - 0x250]
mov word [0x40c170], 0x2e
test eax, eax
je 0x402992
push 0x12
push 0x40c160
push 3
push 0
push 0x4087d8
push eax
call fcn.00406080
push 0x12
push 0x40c160
push 3
push 0
push 0x4087d8
push dword [ebp - 0x254]
call fcn.00406080
jmp 0x4029b8
mov word [0x40c170], 0x2e
call fcn.00402646
test eax, eax
jne 0x4032ea
mov eax, dword [0x40c190]
test eax, eax
je 0x402a0f
push 0
lea ebx, [ebp - 0x258]
push ebx
mov dword [ebp - 0x258], 0
push 0
call eax
mov eax, dword [ebp - 0x258]
add eax, 0x12
and eax, 0xfffffffc
call fcn.00405ba0
lea edi, [esp + 0xf]
and edi, 0xfffffff0
mov dword [edi], 0
push 0
push ebx
push edi
call dword [0x40c190]
jmp 0x402a1f
sub esp, 0x14
lea edi, [esp + 0xf]
and edi, 0xfffffff0
mov dword [edi], 0
push 0x40c0d4
lea ebx, [ebp - 0x24c]
push dword [0x40c0cc]
push dword [0x40c0c8]
push dword [0x40c0c4]
push 0x40a6c7
push ebx
call fcn.004060e0
push ebx
call fcn.00405e00
add eax, 0x18
add esp, 0x18
mov dword [ebp - 0x280], eax
mov edx, dword [ebp - 0x280]
mov eax, dword [edi]
lea eax, [edx + eax*4 + 0x15]
and eax, 0xfffffffc
call fcn.00405ba0
lea esi, [esp + 0xf]
and esi, 0xfffffff0
mov byte [esi], 2
call fcn.004010b2
mov dword [esi + 1], eax
cmp byte [section..bss], 1
mov dword [ebp - 0x284], eax
mov eax, dword [0x40c16c]
mov word [esi + 9], 0x2e
mov dword [esi + 5], eax
sbb eax, eax
not eax
and eax, 2
cmp dword [0x40c16c], 0
jne 0x402aad
or eax, 4
cmp dword [0x40c0d0], 2
jne 0x402ab9
or eax, 8
cmp dword [ebp + 8], 0
jne 0x402ac2
or eax, 0x10
cmp byte [0x40c020], 0
je 0x402ace
or eax, 0x20
cmp dword [0x40c040], 0
je 0x402ada
or eax, 0x40
mov dword [esi + 0xb], eax
mov eax, dword [0x40c090]
mov word [esi + 0xf], ax
mov eax, dword [0x40c0a0]
mov word [esi + 0x11], ax
mov eax, dword [0x40c0b0]
mov byte [esi + 0x15], 0
mov byte [esi + 0x16], 0
mov word [esi + 0x13], ax
call fcn.004027ea
test eax, eax
jne 0x402b0d
or dword [esi + 0xb], 1
mov dword [ebp - 0x25c], 0
lea eax, [esi + 0x17]
mov dword [ebp - 0x260], eax
xor eax, eax
cmp eax, dword [edi]
jae 0x402b6b
imul eax, eax, 0x18
mov ecx, dword [eax + edi + 4]
test ecx, ecx
setne dl
xor eax, eax
cmp ecx, 0x100007f
setne al
test edx, eax
je 0x402b5c
add dword [ebp - 0x280], 4
mov eax, dword [ebp - 0x260]
mov dword [eax], ecx
add eax, 4
mov dword [ebp - 0x260], eax
inc byte [esi + 0x15]
mov eax, dword [ebp - 0x25c]
inc eax
mov dword [ebp - 0x25c], eax
jmp 0x402b22
lea eax, [ebp - 0x24c]
lea ebx, [esi + 5]
push eax
push dword [ebp - 0x260]
call fcn.00405dc0
mov eax, ebx
sub eax, esi
mov dword [ebp - 0x25c], eax
cmp eax, dword [ebp - 0x280]
jae 0x402bae
mov ecx, dword [ebp - 0x284]
xor dword [ebx], ecx
add ebx, 4
mov eax, dword [ebp - 0x25c]
add eax, 4
mov dword [ebp - 0x25c], eax
jmp 0x402b8a
mov eax, dword [0x40c168]
lea ebx, [ebp - 0x14c]
mov edx, ebx
call fcn.0040174c
mov edx, dword [ebp - 0x280]
lea eax, [edx + edx + 0x55]
and eax, 0xfffffffc
call fcn.00405ba0
lea eax, [esp + 0xf]
and eax, 0xfffffff0
push ebx
mov ebx, esi
push 0x40a773
push eax
mov dword [ebp - 0x260], eax
call fcn.004060e0
mov dword [ebp - 0x25c], 0
mov edi, eax
add esp, 0xc
add edi, dword [ebp - 0x260]
cmp dword [ebp - 0x280], 0
je 0x402c36
movzx eax, byte [ebx]
inc ebx
push eax
push str._02X
push edi
add edi, 2
call fcn.004060e0
mov eax, dword [ebp - 0x25c]
add esp, 0xc
inc eax
cmp eax, dword [ebp - 0x280]
mov dword [ebp - 0x25c], eax
jb 0x402c0b
push 1
mov eax, dword [ebp - 0x260]
xor edx, edx
call fcn.00401c3e
mov ebx, eax
test ebx, ebx
pop eax
je 0x403242
cmp dword [ebp + 8], 0
jne 0x402c5d
push 0
call fcn.00405ea0
cmp dword [ebx], 0
lea edx, [ebp - 0x10c]
je 0x402c8e
lea eax, [ebp - 0x25c]
push eax
push 0x100
push edx
push dword [ebx + 4]
call dword [0x40c1c0]
test eax, eax
jne 0x402ca5
mov dword [ebp - 0x25c], 0xffffffff
jmp 0x402ca5
mov eax, dword [ebx + 4]
push 0x28
push 0x100
call fcn.0040187b
pop edi
mov dword [ebp - 0x25c], eax
pop eax
mov eax, ebx
call fcn.004021af
mov ecx, dword [ebp - 0x25c]
cmp ecx, 0xffffffff
setne al
xor edx, edx
test ecx, ecx
setne dl
test eax, edx
je 0x403242
cmp byte [ebp - 0x10b], 0x20
jne 0x403242
movzx eax, byte [ebp - 0x10c]
sub al, 0x30
cmp al, 4
ja 0x403242
push 0x10
lea edx, [ebp - 0x260]
lea eax, [ebp - 0x10a]
mov byte [ecx + ebp - 0x10c], 0
call fcn.0040136b
mov dword [ebp - 0x25c], eax
test eax, eax
pop esi
je 0x402d19
cmp dword [0x40c16c], 0
jne 0x402d19
mov dword [0x40c16c], eax
push 0x40c160
call fcn.00405e90
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x402d43
push 0x12
push 0x40c160
push 3
push 0
push 0x4087d8
push eax
call fcn.00406080
push 0x12
push 0x40c160
push 3
push 0
push 0x4087d8
push dword [ebp - 0x254]
call fcn.00406080
movsx eax, byte [ebp - 0x10c]
cmp eax, 0x31
je 0x402d91
jg 0x402d7a
cmp eax, 0x30
je 0x402f75
jmp 0x403242
cmp eax, 0x33
je 0x402eab
cmp eax, 0x34
je 0x402eff
jmp 0x403242
mov ecx, dword [ebp - 0x260]
test ecx, ecx
je 0x403242
movzx eax, byte [ecx]
cmp al, 0x20
sete dl
cmp al, 9
sete al
or eax, edx
test al, 1
je 0x402dd7
lea eax, [ecx + 1]
mov dword [ebp - 0x260], eax
movzx edx, byte [ecx + 1]
test dl, dl
je 0x403242
cmp dl, 0x20
mov ecx, eax
sete al
cmp dl, 9
sete dl
jmp 0x402dac
mov eax, dword [ebp - 0x260]
mov edx, 0x20
call fcn.0040134d
cmp eax, 1
mov edi, eax
mov esi, dword [ebp - 0x260]
sbb edi, 0xffffffff
mov edx, 0x55
mov eax, edi
call fcn.0040134d
xor ebx, ebx
mov edx, 0x43
test eax, eax
mov eax, edi
sete bl
call fcn.0040134d
test eax, eax
mov edx, ebx
je 0x402e1d
or edx, 2
push edx
mov eax, esi
xor edx, edx
push 0
call fcn.0040233a
pop ecx
test eax, eax
pop ebx
je 0x4032ea
mov edx, 0x52
mov eax, edi
call fcn.0040134d
test eax, eax
je 0x4032ea
push 0
lea eax, [ebp - 0x264]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x40a480
push 0x80000002
call fcn.00406060
test eax, eax
jne 0x4032ea
push 4
lea eax, [ebp - 0x268]
push eax
push 4
push 0
push 0x40a3c6
push dword [ebp - 0x264]
mov dword [ebp - 0x268], 0x1e
call fcn.00406080
push dword [ebp - 0x264]
call fcn.00406030
jmp 0x4032ea
mov dword [0x40c168], 0x33abd8f4
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x402ed5
push 0x12
push 0x40c160
push 3
push 0
push 0x4087d8
push eax
call fcn.00406080
push 0x12
push 0x40c160
push 3
push 0
push 0x4087d8
push dword [ebp - 0x254]
call fcn.00406080
push 0x1388
call fcn.00405e60
jmp 0x4029c5
cmp byte [ebp - 0x10a], 0x20
lea edx, [ebp - 0x10a]
mov dword [ebp - 0x26c], edx
jle 0x402f27
lea eax, [ebp - 0x109]
mov dword [ebp - 0x26c], eax
inc eax
cmp byte [eax - 1], 0x20
jg 0x402f1a
mov eax, dword [ebp - 0x26c]
mov byte [eax], 0
mov eax, edx
call fcn.00401f06
test eax, eax
mov esi, eax
je 0x402f75
mov eax, 0x400
mov ebx, 0x400
call fcn.00401000
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x274], 0
jmp 0x402fad
cmp eax, 0xffffffff
jne 0x402f84
mov eax, esi
call fcn.004021af
mov eax, dword [ebp - 0x290]
call fcn.00401029
mov dword [0x40c2d0], 0
jmp 0x4032ea
add eax, dword [ebp - 0x274]
cmp eax, ebx
mov dword [ebp - 0x274], eax
jb 0x402fad
mov eax, dword [ebp - 0x290]
add ebx, 0x400
mov edx, ebx
call fcn.0040100f
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x274]
mov ecx, ebx
mov edx, dword [ebp - 0x290]
sub ecx, eax
add edx, eax
mov eax, esi
push ecx
call fcn.00402056
pop edx
test eax, eax
jne 0x402f5e
mov eax, esi
call fcn.004021af
mov eax, dword [ebp - 0x274]
inc eax
cmp eax, ebx
jb 0x402ff2
mov eax, dword [ebp - 0x290]
inc ebx
mov edx, ebx
call fcn.0040100f
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x274]
mov edx, dword [ebp - 0x290]
mov byte [eax + edx], 0
mov edx, dword [ebp - 0x274]
mov eax, dword [ebp - 0x290]
call fcn.0040202d
cmp dword [0x40c2f0], eax
mov dword [ebp - 0x294], eax
jne 0x40302e
cmp dword [0x40c050], 0
jne 0x402f6a
push 0
mov eax, dword [ebp - 0x290]
lea edx, [ebp - 0x26c]
call fcn.0040136b
pop edi
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x26c]
call fcn.004014bc
mov eax, dword [ebp - 0x26c]
cmp byte [eax], 0
je 0x402f6a
push 0
lea edx, [ebp - 0x26c]
call fcn.0040136b
pop esi
mov dword [ebp - 0x28c], eax
lea eax, [ebp - 0x26c]
call fcn.004014bc
mov eax, dword [ebp - 0x26c]
cmp byte [eax], 0
je 0x402f6a
mov eax, 8
call fcn.00401000
mov dword [ebp - 0x298], eax
mov dword [eax], 0
mov dword [eax + 4], 0
add eax, 4
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x270]
call fcn.004014bc
mov eax, dword [ebp - 0x26c]
cmp byte [eax], 0xa
je 0x403198
push 0
lea edx, [ebp - 0x26c]
call fcn.0040136b
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x26c]
pop ebx
movzx eax, byte [ecx]
cmp al, 0x20
sete dl
cmp al, 9
sete al
or eax, edx
test al, 1
je 0x403125
inc ecx
mov dword [ebp - 0x26c], ecx
inc ecx
movzx eax, byte [ecx - 1]
cmp al, 0x20
sete dl
cmp al, 9
sete al
or eax, edx
test al, 1
jne 0x40310a
mov eax, dword [ebp - 0x270]
sub eax, dword [ebp - 0x26c]
add eax, 8
call fcn.00401000
mov ebx, eax
mov eax, dword [ebp - 0x270]
mov edx, dword [ebp - 0x26c]
lea edi, [ebx + 8]
mov esi, eax
sub esi, edx
je 0x40316b
mov ecx, esi
dec ecx
je 0x403164
movzx eax, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x403152
test ecx, ecx
jne 0x403173
test esi, esi
je 0x40316b
mov byte [edi], 0
movzx eax, byte [edx]
inc edx
test al, al
jne 0x40316b
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ebp - 0x298]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov dword [ecx], ebx
mov dword [ebp - 0x29c], eax
mov eax, dword [edx + 4]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x26c], eax
cmp byte [eax], 0
jne 0x4030b6
mov eax, dword [ebp - 0x290]
call fcn.00401029
mov eax, dword [ebp - 0x28c]
mov ecx, dword [ebp - 0x288]
mov edx, dword [ebp - 0x298]
mov dword [0x40c2e0], eax
lea eax, [ebp - 0x274]
mov esi, dword [0x40c050]
push eax
push 0
push 0
push 0x40221c
mov dword [0x40c2d0], ecx
mov ecx, dword [ebp - 0x294]
push 0x10000
push 0
mov dword [0x40c050], edx
mov dword [0x40c2f0], ecx
call fcn.00405e50
push eax
call fcn.00405d70
test esi, esi
je 0x4032ea
cmp dword [esi], 0
jne 0x4032ea
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x403236
mov eax, ebx
mov ebx, dword [ebx + 4]
call fcn.00401029
cmp ebx, dword [esi + 4]
jmp 0x403225
mov eax, esi
call fcn.00401029
jmp 0x4032ea
lea ebx, [ebp - 0x27c]
push ebx
call fcn.00405e90
mov edx, 0x40c160
mov eax, ebx
call fcn.004014d8
cmp eax, 0x2a2ff
jbe 0x4032ea
mov edx, dword [ebp - 0x278]
lea ecx, [ebp - 0x14c]
mov eax, dword [ebp - 0x27c]
mov dword [0x40c164], edx
or edx, 0xffffffff
cmp byte [ebp - 0x14c], 0
mov dword [0x40c160], eax
je 0x4032a7
mov eax, edx
shr eax, 8
xor dl, byte [ecx]
inc ecx
movzx edx, dl
xor eax, dword [edx*4 + 0x40aac0]
cmp byte [ecx], 0
mov edx, eax
jmp 0x40328c
mov eax, dword [ebp - 0x250]
not edx
mov dword [0x40c168], edx
test eax, eax
je 0x4032cf
push 0x12
push 0x40c160
push 3
push 0
push 0x4087d8
push eax
call fcn.00406080
push 0x12
push 0x40c160
push 3
push 0
push 0x4087d8
push dword [ebp - 0x254]
call fcn.00406080
cmp dword [ebp + 8], 1
sbb eax, eax
and eax, 0xfff74d70
add eax, 0x927c0
push eax
call fcn.00405e60
jmp 0x4029b8