Function at 0x40deb0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x58
mov eax, dword [0x451c10]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
push 0x3f
xor ebp, ebp
lea eax, [esp + 0x29]
push ebp
push eax
mov esi, ecx
mov byte [esp + 0x30], 0
call fcn.0042cf10
mov ebx, dword [esp + 0x78]
push ebx
lea ecx, [esp + 0x34]
push str.CodeSav_02d.t1
push ecx
call fcn.0042ec03
lea edx, [esp + 0x3c]
push 0x44546c
push edx
call fcn.0042dacf
mov edi, eax
add esp, 0x20
cmp edi, ebp
je 0x40e63b
push edi
push 1
lea eax, [esp + 0x24]
push 4
push eax
mov dword [esi + 0x14ec], ebx
mov dword [esp + 0x2c], ebp
call fcn.0042d9ee
mov ecx, dword [esp + 0x2c]
mov eax, 0xef9db22d
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
add ecx, eax
add esp, 0x10
mov dword [esp + 0x1c], ecx
cmp ecx, 0x1ef
je 0x40df59
cmp ecx, 0x36b
jne 0x40e63b
push edi
push 1
lea ecx, [esi + 0x13f0]
push 4
push ecx
call fcn.0042d9ee
push edi
push 1
lea ebx, [esi + 0x13f4]
push 4
push ebx
call fcn.0042d9ee
mov eax, dword [ebx]
add esp, 0x20
cmp eax, ebp
jle 0x40df9f
mov ecx, dword [0x453318]
push eax
call fcn.004248b0
mov ecx, dword [0x453308]
push 1
call fcn.00410750
mov dword [ebx], ebp
push edi
push 1
lea ebx, [esi + 0x13f8]
push 4
push ebx
call fcn.0042d9ee
mov eax, dword [ebx]
add esp, 0x10
cmp eax, ebp
jle 0x40dfc7
mov edx, dword [0x453308]
mov dword [edx + 0x5a4], eax
mov dword [ebx], ebp
push edi
push 1
lea eax, [esi + 0x13fc]
push 4
push eax
call fcn.0042d9ee
push edi
push 1
push 0x14
push 0x4541e8
call fcn.0042d9ee
push edi
push 1
push 0x14
push 0x453860
call fcn.0042d9ee
push edi
push 1
lea ecx, [esp + 0x50]
push 4
push ecx
mov dword [esp + 0x58], ebp
call fcn.0042d9ee
mov ecx, dword [esp + 0x58]
mov eax, 0x4f8b588f
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [0x453308]
shr eax, 0x10
imul eax, eax, 0x186a0
sub ecx, eax
mov dword [edx + 0x364], ecx
mov ecx, dword [esp + 0x58]
mov eax, 0x4f8b588f
mul ecx
add esp, 0x40
sub ecx, edx
push edi
shr ecx, 1
push 1
add ecx, edx
lea eax, [esp + 0x20]
shr ecx, 0x10
push 4
push eax
mov dword [esp + 0x30], ecx
call fcn.0042d9ee
mov ecx, dword [esp + 0x28]
mov eax, 0x51eb851f
mul ecx
shr edx, 5
imul edx, edx, 0x64
sub ecx, edx
mov edx, dword [0x453308]
mov dword [edx + 0x36c], ecx
mov eax, 0x51eb851f
mul dword [esp + 0x28]
push edi
push 1
lea eax, [esp + 0x30]
mov ebx, edx
push 4
push eax
shr ebx, 5
call fcn.0042d9ee
mov ecx, dword [esp + 0x38]
mov eax, 0x51eb851f
mul ecx
shr edx, 5
imul edx, edx, 0x64
sub ecx, edx
mov edx, dword [0x453308]
mov dword [edx + 0x368], ecx
mov eax, 0x51eb851f
mul dword [esp + 0x38]
add esp, 0x20
shr edx, 5
mov ebp, edx
mov ecx, dword [0x453308]
imul ebp, ebp, 0x3e8
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x39c], eax
mov eax, dword [0x456448]
mov edx, dword [eax + 8]
mov ecx, dword [0x453308]
cmp edx, dword [ecx + 0x36c]
jne 0x40e106
mov eax, dword [eax + 4]
sub eax, dword [ecx + 0x368]
cmp eax, 0xf
jbe 0x40e116
mov dword [ecx + 0x364], 0
mov ecx, dword [0x453308]
test ebx, ebx
jle 0x40e187
test ebp, ebp
jle 0x40e187
push 0xffffffffffffffff
push 1
push ebp
call fcn.00410210
cmp ebx, 0x63
je 0x40e13b
mov ecx, dword [0x453308]
mov dword [ecx + 0x390], eax
jmp 0x40e147
mov edx, dword [0x453308]
mov dword [edx + 0x390], eax
mov eax, dword [0x453308]
cmp dword [eax + 0x390], 0xffffffff
je 0x40e187
call fcn.0042ede0
cdq
mov ecx, 0xf
idiv ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [0x453308]
push 0
push 1
push ecx
push ebp
push ebx
add edx, 0x23
mov word [eax + 0x32a], dx
mov ecx, dword [0x453308]
call fcn.00410080
push edi
mov ebx, 1
push ebx
push 4
push 0x456798
call fcn.0042d9ee
push edi
push ebx
push 4
push 0x456790
call fcn.0042d9ee
push edi
push ebx
push 4
push 0x456794
call fcn.0042d9ee
push edi
push ebx
lea edx, [esp + 0x48]
push 4
push edx
mov dword [esp + 0x50], 0
call fcn.0042d9ee
mov ebp, dword [esp + 0x50]
mov eax, 0x51eb851f
mul ebp
mov ecx, edx
shr ecx, 5
mov eax, ecx
imul eax, eax, 0x64
sub ebp, eax
add esp, 0x40
mov dword [0x4518b8], ebp
cmp ecx, 0x64
jb 0x40e23e
mov eax, 0x51eb851f
mul ecx
shr edx, 5
mov eax, edx
imul eax, eax, 0x64
sub ecx, eax
mov eax, dword [esi + 0x18]
lea eax, [eax + eax*2]
mov dword [esi + eax*4 + 0x1c], ecx
mov ecx, edx
mov eax, 0x51eb851f
mul ecx
shr edx, 5
mov eax, edx
imul edx, edx, 0x3e8
imul eax, eax, 0x64
sub ecx, eax
mov eax, dword [esi + 0x18]
add eax, 3
lea eax, [eax + eax*2]
mov dword [esi + eax*4], ecx
mov eax, dword [esi + 0x18]
lea ecx, [eax + eax*2]
mov dword [esi + ecx*4 + 0x20], edx
add dword [esi + 0x18], ebx
push edi
push ebx
lea edx, [esp + 0x18]
push 4
push edx
call fcn.0042d9ee
mov ebp, dword [esp + 0x20]
mov eax, 0x51eb851f
mul ebp
mov ecx, edx
shr ecx, 5
mov eax, ecx
imul eax, eax, 0x64
sub ebp, eax
add esp, 0x10
mov dword [0x4518bc], ebp
cmp ecx, 0x64
jb 0x40e2be
mov eax, 0x51eb851f
mul ecx
shr edx, 5
mov eax, edx
imul eax, eax, 0x64
sub ecx, eax
mov eax, dword [esi + 0x18]
lea eax, [eax + eax*2]
mov dword [esi + eax*4 + 0x1c], ecx
mov ecx, edx
mov eax, 0x51eb851f
mul ecx
shr edx, 5
mov eax, edx
imul edx, edx, 0x3e8
imul eax, eax, 0x64
sub ecx, eax
mov eax, dword [esi + 0x18]
add eax, 3
lea eax, [eax + eax*2]
mov dword [esi + eax*4], ecx
mov eax, dword [esi + 0x18]
lea ecx, [eax + eax*2]
mov dword [esi + ecx*4 + 0x20], edx
add dword [esi + 0x18], ebx
push edi
push ebx
lea edx, [esp + 0x18]
push 4
push edx
call fcn.0042d9ee
mov ebp, dword [esp + 0x20]
mov eax, 0x51eb851f
mul ebp
mov ecx, edx
shr ecx, 5
mov eax, ecx
imul eax, eax, 0x64
sub ebp, eax
add esp, 0x10
mov dword [0x4518c0], ebp
cmp ecx, 0x64
jb 0x40e33e
mov eax, 0x51eb851f
mul ecx
shr edx, 5
mov eax, edx
imul eax, eax, 0x64
sub ecx, eax
mov eax, dword [esi + 0x18]
lea eax, [eax + eax*2]
mov dword [esi + eax*4 + 0x1c], ecx
mov ecx, edx
mov eax, 0x51eb851f
mul ecx
shr edx, 5
mov eax, edx
imul edx, edx, 0x3e8
imul eax, eax, 0x64
sub ecx, eax
mov eax, dword [esi + 0x18]
add eax, 3
lea eax, [eax + eax*2]
mov dword [esi + eax*4], ecx
mov eax, dword [esi + 0x18]
lea ecx, [eax + eax*2]
mov dword [esi + ecx*4 + 0x20], edx
add dword [esi + 0x18], ebx
push edi
push ebx
lea edx, [esp + 0x18]
push 4
push edx
call fcn.0042d9ee
mov ebp, dword [esp + 0x20]
mov eax, 0x51eb851f
mul ebp
mov ecx, edx
shr ecx, 5
mov eax, ecx
imul eax, eax, 0x64
sub ebp, eax
add esp, 0x10
mov dword [0x4518c4], ebp
cmp ecx, 0x64
jb 0x40e3be
mov eax, 0x51eb851f
mul ecx
shr edx, 5
mov eax, edx
imul eax, eax, 0x64
sub ecx, eax
mov eax, dword [esi + 0x18]
lea eax, [eax + eax*2]
mov dword [esi + eax*4 + 0x1c], ecx
mov ecx, edx
mov eax, 0x51eb851f
mul ecx
shr edx, 5
mov eax, edx
imul edx, edx, 0x3e8
imul eax, eax, 0x64
sub ecx, eax
mov eax, dword [esi + 0x18]
add eax, 3
lea eax, [eax + eax*2]
mov dword [esi + eax*4], ecx
mov eax, dword [esi + 0x18]
lea ecx, [eax + eax*2]
mov dword [esi + ecx*4 + 0x20], edx
add dword [esi + 0x18], ebx
push edi
push ebx
lea edx, [esp + 0x18]
push 4
push edx
call fcn.0042d9ee
mov ebp, dword [esp + 0x20]
mov eax, 0x51eb851f
mul ebp
mov ecx, edx
shr ecx, 5
mov eax, ecx
imul eax, eax, 0x64
sub ebp, eax
add esp, 0x10
mov dword [0x4518c8], ebp
cmp ecx, 0x64
jb 0x40e43e
mov eax, 0x51eb851f
mul ecx
shr edx, 5
mov eax, edx
imul eax, eax, 0x64
sub ecx, eax
mov eax, dword [esi + 0x18]
lea eax, [eax + eax*2]
mov dword [esi + eax*4 + 0x1c], ecx
mov ecx, edx
mov eax, 0x51eb851f
mul ecx
shr edx, 5
mov eax, edx
imul edx, edx, 0x3e8
imul eax, eax, 0x64
sub ecx, eax
mov eax, dword [esi + 0x18]
add eax, 3
lea eax, [eax + eax*2]
mov dword [esi + eax*4], ecx
mov eax, dword [esi + 0x18]
lea ecx, [eax + eax*2]
mov dword [esi + ecx*4 + 0x20], edx
add dword [esi + 0x18], ebx
push edi
push ebx
lea edx, [esp + 0x18]
push 4
push edx
call fcn.0042d9ee
mov ebp, dword [esp + 0x20]
mov eax, 0x51eb851f
mul ebp
mov ecx, edx
shr ecx, 5
mov eax, ecx
imul eax, eax, 0x64
sub ebp, eax
add esp, 0x10
mov dword [0x4518d4], ebp
cmp ecx, 0x64
jb 0x40e4be
mov eax, 0x51eb851f
mul ecx
shr edx, 5
mov eax, edx
imul eax, eax, 0x64
sub ecx, eax
mov eax, dword [esi + 0x18]
lea eax, [eax + eax*2]
mov dword [esi + eax*4 + 0x1c], ecx
mov ecx, edx
mov eax, 0x51eb851f
mul ecx
shr edx, 5
mov eax, edx
imul edx, edx, 0x3e8
imul eax, eax, 0x64
sub ecx, eax
mov eax, dword [esi + 0x18]
add eax, 3
lea eax, [eax + eax*2]
mov dword [esi + eax*4], ecx
mov eax, dword [esi + 0x18]
lea ecx, [eax + eax*2]
mov dword [esi + ecx*4 + 0x20], edx
add dword [esi + 0x18], ebx
push edi
push ebx
lea edx, [esp + 0x18]
push 4
push edx
call fcn.0042d9ee
mov ecx, dword [esp + 0x20]
mov eax, 0x51eb851f
mul ecx
shr edx, 5
imul edx, edx, 0x64
mov eax, ecx
sub eax, edx
add esp, 0x10
mov dword [0x4518cc], eax
cmp ecx, 0x64
jb 0x40e52a
mov eax, 0xd1b71759
mul ecx
shr edx, 0xd
mov eax, edx
imul eax, eax, 0x2710
sub ecx, eax
imul ecx, ecx, 0x3e8
mov dword [esi + 0x1430], 0x63
mov dword [esi + 0x1438], ebx
mov dword [esi + 0x1434], ecx
mov dword [esi + 0x143c], edx
add dword [esi + 0x1428], ebx
push edi
push ebx
lea ecx, [esp + 0x18]
push 4
push ecx
call fcn.0042d9ee
mov ecx, dword [esp + 0x20]
mov eax, 0x51eb851f
mul ecx
shr edx, 5
imul edx, edx, 0x64
mov eax, ecx
sub eax, edx
add esp, 0x10
mov dword [0x4518d8], eax
cmp ecx, 0x64
jb 0x40e596
mov eax, 0xd1b71759
mul ecx
shr edx, 0xd
mov eax, edx
imul eax, eax, 0x2710
sub ecx, eax
imul ecx, ecx, 0x3e8
mov dword [esi + 0x1440], 0x63
mov dword [esi + 0x1448], ebx
mov dword [esi + 0x1444], ecx
mov dword [esi + 0x144c], edx
add dword [esi + 0x1428], ebx
push edi
push ebx
lea ecx, [esp + 0x1f]
push ebx
push ecx
mov byte [esp + 0x27], 0
call fcn.0042d9ee
push edi
call fcn.0042d6d2
add esp, 0x14
cmp dword [esi + 0x18], 0
jle 0x40e5d3
call fcn.0042ede0
cdq
mov ecx, 0xf
idiv ecx
mov eax, dword [0x453308]
add edx, 0x23
mov word [eax + 0x32a], dx
mov eax, dword [esp + 0x1c]
mov cl, byte [esp + 0x17]
cmp eax, 0x1ef
je 0x40e5e9
cmp eax, 0x36b
jne 0x40e5ee
cmp cl, 0x59
je 0x40e611
cmp cl, 0x62
je 0x40e611
cmp cl, 0x63
jne 0x40e628
mov edx, dword [0x453308]
mov ecx, 2
mov word [0x4518a0], cx
mov word [edx + 0x32e], bx
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0042cefe
add esp, 0x58
ret 4
cmp eax, 0x1ef
jne 0x40e63b
mov eax, dword [0x453308]
mov word [eax + 0x32e], bx
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor al, al
call fcn.0042cefe
add esp, 0x58
ret 4