Function at 0x402bbb
Capabilities:
Hash data with crc32
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x42c]
sub esp, 0x4ac
mov eax, dword [0x425848]
xor eax, ebp
mov dword [ebp + 0x428], eax
push ebx
push esi
mov esi, dword [ebp + 0x438]
push edi
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 4]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x434]
xor edi, edi
or ebx, 0xffffffff
push esi
mov dword [ebp + 0x14], edi
mov dword [ebp + 0x20], ebx
call fcn.00401a47
add esp, 0x20
test eax, eax
jne 0x402c1c
xor eax, eax
jmp 0x402e24
push esi
call fcn.00403582
pop ecx
add eax, esi
jmp 0x402c34
mov cl, byte [eax]
cmp cl, 0x2f
je 0x402c3a
cmp cl, 0x5c
je 0x402c3a
dec eax
cmp eax, esi
ja 0x402c27
jmp 0x402c3b
inc eax
lea ecx, [ebp - 4]
push ecx
push edi
push eax
call fcn.00403680
add esp, 0xc
cmp dword [ebp + 0x440], edi
jne 0x402c59
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp - 4]
jne 0x402c15
push 0x41fc60
push esi
call fcn.004104b6
mov edi, eax
test edi, edi
pop ecx
pop ecx
mov dword [ebp + 0x18], edi
jne 0x402c7e
push esi
push str.Couldnt_open_file__s__n
call fcn.004017c6
pop ecx
pop ecx
jmp 0x402c15
push 2
push 0
push edi
call fcn.0041036d
push edi
call fcn.00410278
xor esi, esi
push esi
push esi
push edi
mov dword [ebp + 8], eax
call fcn.0041036d
mov edi, dword [ebp + 0xc]
add esp, 0x1c
test edi, edi
mov dword [ebp + 0x1c], esi
jbe 0x402e02
mov eax, edi
sub eax, dword [ebp + 0x1c]
mov ecx, 0x400
cmp eax, ecx
mov dword [ebp + 0x24], ecx
ja 0x402cc0
mov dword [ebp + 0x24], eax
push dword [ebp + 0x18]
lea eax, [ebp + 0x28]
push dword [ebp + 0x24]
push 1
push eax
call fcn.004100c5
add esp, 0x10
cmp eax, dword [ebp + 0x24]
jne 0x402e02
cmp dword [ebp + 0x1c], 0
jne 0x402d95
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x28]
push eax
push 0xa
pop esi
mov eax, esi
call fcn.00402b5f
test eax, eax
pop ecx
pop ecx
je 0x402c15
lea eax, [ebp + 0x10]
push eax
push esi
lea edx, [ebp - 0x80]
call fcn.004018bc
test eax, eax
pop ecx
pop ecx
je 0x402c15
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov byte [eax], 2
mov dword [eax + 4], ecx
add ecx, 0x16
mov dword [eax + 8], ecx
lea eax, [ebp + 0x10]
push eax
push esi
call fcn.004018bc
test eax, eax
pop ecx
pop ecx
je 0x402c15
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp]
mov byte [eax], 3
mov dword [eax + 4], ecx
add ecx, 8
mov dword [eax + 8], ecx
mov dword [0x427d88], edi
lea eax, [ebp - 0x7c]
cmp byte [eax - 4], 1
jne 0x402d79
mov edx, dword [eax]
mov ecx, dword [eax + 4]
sub ecx, edx
add dword [ebp + 0x14], ecx
cmp dword [0x427d88], edx
jne 0x402d79
add dword [0x427d88], ecx
add eax, 0xc
dec esi
jne 0x402d5b
cmp dword [ebp + 0x43c], esi
jne 0x402d95
mov eax, dword [ebp + 0x14]
add eax, edi
cmp dword [ebp + 8], eax
jne 0x402e3c
xor esi, esi
cmp dword [ebp + 0x24], esi
jle 0x402dee
mov ebx, dword [ebp + 0x1c]
lea eax, [ebp + 0x28]
sub ebx, eax
lea eax, [ebp + esi + 0x28]
xor edi, edi
lea edx, [ebx + eax]
lea ecx, [ebp - 0x78]
cmp dword [ecx - 4], edx
jg 0x402db9
cmp dword [ecx], edx
jg 0x402dc2
inc edi
add ecx, 0xc
cmp edi, 0xa
jl 0x402db0
cmp edi, 0xa
jl 0x402de5
movzx eax, byte [eax]
mov ecx, dword [ebp + 0x20]
and ecx, 0xff
xor ecx, eax
mov eax, dword [ebp + 0x20]
shr eax, 8
xor eax, dword [ecx*4 + 0x425018]
mov dword [ebp + 0x20], eax
inc esi
cmp esi, dword [ebp + 0x24]
jl 0x402da4
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
add eax, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x20]
cmp eax, edi
mov dword [ebp + 0x1c], eax
jb 0x402cac
push dword [ebp + 0x18]
call fcn.0040fdad
not ebx
cmp ebx, dword [ebp + 4]
pop ecx
jne 0x402c15
mov eax, dword [ebp + 0x14]
add edi, eax
xor eax, eax
mov dword [0x427d84], edi
inc eax
mov ecx, dword [ebp + 0x428]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f870
add ebp, 0x42c
leave
ret
push dword [ebp + 0x18]
call fcn.0040fdad
jmp 0x402c7b