Function at 0x40deb0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x58
mov eax, dword [0x450c10]
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.0042cab0
mov ebx, dword [esp + 0x78]
push ebx
lea ecx, [esp + 0x34]
push str.CodeSav_02d.t1
push ecx
call fcn.0042e7a3
lea edx, [esp + 0x3c]
push 0x44446c
push edx
call fcn.0042d66f
mov edi, eax
add esp, 0x20
cmp edi, ebp
je 0x40e65e
push edi
push 1
lea eax, [esp + 0x24]
push 4
push eax
mov dword [esi + 0x14ec], ebx
mov dword [esp + 0x2c], ebp
call fcn.0042d58e
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 0x40e65e
push edi
push 1
lea ecx, [esi + 0x13f0]
push 4
push ecx
call fcn.0042d58e
push edi
push 1
lea ebx, [esi + 0x13f4]
push 4
push ebx
call fcn.0042d58e
mov eax, dword [ebx]
add esp, 0x20
cmp eax, ebp
jle 0x40df9f
mov ecx, dword [0x452318]
push eax
call fcn.004247e0
mov ecx, dword [0x452308]
push 1
call fcn.00410770
mov dword [ebx], ebp
push edi
push 1
lea ebx, [esi + 0x13f8]
push 4
push ebx
call fcn.0042d58e
mov eax, dword [ebx]
add esp, 0x10
cmp eax, ebp
jle 0x40dfc7
mov edx, dword [0x452308]
mov dword [edx + 0x5a4], eax
mov dword [ebx], ebp
push edi
push 1
lea eax, [esi + 0x13fc]
push 4
push eax
call fcn.0042d58e
push edi
push 1
push 0x14
push 0x4531e8
call fcn.0042d58e
push edi
push 1
push 0x14
push 0x452860
call fcn.0042d58e
push edi
push 1
lea ecx, [esp + 0x50]
push 4
push ecx
mov dword [esp + 0x58], ebp
call fcn.0042d58e
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 [0x452308]
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.0042d58e
mov ecx, dword [esp + 0x28]
mov eax, 0x51eb851f
mul ecx
shr edx, 5
imul edx, edx, 0x64
sub ecx, edx
mov edx, dword [0x452308]
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.0042d58e
mov ecx, dword [esp + 0x38]
mov eax, 0x51eb851f
mul ecx
shr edx, 5
imul edx, edx, 0x64
sub ecx, edx
mov edx, dword [0x452308]
mov dword [edx + 0x368], ecx
mov eax, 0x51eb851f
mul dword [esp + 0x38]
add esp, 0x20
shr edx, 5
mov ebp, edx
mov ecx, dword [0x452308]
imul ebp, ebp, 0x3e8
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x39c], eax
mov eax, dword [0x455448]
mov edx, dword [eax + 8]
mov ecx, dword [0x452308]
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 [0x452308]
test ebx, ebx
jle 0x40e1aa
test ebp, ebp
jle 0x40e1aa
push 0xffffffffffffffff
push 1
push ebp
call fcn.00410230
cmp dword [esp + 0x20], 0
jle 0x40e18b
cmp ebx, 0x63
je 0x40e14a
mov ecx, dword [0x452308]
mov dword [ecx + 0x390], eax
jmp 0x40e156
mov edx, dword [0x452308]
mov dword [edx + 0x390], eax
mov eax, dword [0x452308]
cmp dword [eax + 0x390], 0xffffffff
je 0x40e1aa
call fcn.0042e980
cdq
mov ecx, 0xf
idiv ecx
mov eax, dword [0x452308]
mov ecx, dword [esp + 0x20]
push 0
push 1
push ecx
add edx, 0x23
mov word [eax + 0x32a], dx
jmp 0x40e19d
mov edx, dword [0x452308]
push 2
push 1
mov dword [edx + 0x390], eax
push 1
mov ecx, dword [0x452308]
push ebp
push ebx
call fcn.004100a0
push edi
mov ebx, 1
push ebx
push 4
push 0x455798
call fcn.0042d58e
push edi
push ebx
push 4
push 0x455790
call fcn.0042d58e
push edi
push ebx
push 4
push 0x455794
call fcn.0042d58e
push edi
push ebx
lea eax, [esp + 0x48]
push 4
push eax
mov dword [esp + 0x50], 0
call fcn.0042d58e
mov ebp, dword [esp + 0x50]
mov eax, 0x51eb851f
mul ebp
mov ecx, edx
shr ecx, 5
mov edx, ecx
imul edx, edx, 0x64
sub ebp, edx
add esp, 0x40
mov dword [0x4508b8], ebp
cmp ecx, 0x64
jb 0x40e261
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.0042d58e
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 [0x4508bc], ebp
cmp ecx, 0x64
jb 0x40e2e1
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.0042d58e
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 [0x4508c0], ebp
cmp ecx, 0x64
jb 0x40e361
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.0042d58e
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 [0x4508c4], ebp
cmp ecx, 0x64
jb 0x40e3e1
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.0042d58e
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 [0x4508c8], ebp
cmp ecx, 0x64
jb 0x40e461
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.0042d58e
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 [0x4508d4], ebp
cmp ecx, 0x64
jb 0x40e4e1
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.0042d58e
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 [0x4508cc], eax
cmp ecx, 0x64
jb 0x40e54d
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.0042d58e
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 [0x4508d8], eax
cmp ecx, 0x64
jb 0x40e5b9
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.0042d58e
push edi
call fcn.0042d272
add esp, 0x14
cmp dword [esi + 0x18], 0
jle 0x40e5f6
call fcn.0042e980
cdq
mov ecx, 0xf
idiv ecx
mov eax, dword [0x452308]
add edx, 0x23
mov word [eax + 0x32a], dx
mov eax, dword [esp + 0x1c]
mov cl, byte [esp + 0x17]
cmp eax, 0x1ef
je 0x40e60c
cmp eax, 0x36b
jne 0x40e611
cmp cl, 0x59
je 0x40e634
cmp cl, 0x62
je 0x40e634
cmp cl, 0x63
jne 0x40e64b
mov edx, dword [0x452308]
mov ecx, 2
mov word [0x4508a0], 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.0042ca93
add esp, 0x58
ret 4
cmp eax, 0x1ef
jne 0x40e65e
mov eax, dword [0x452308]
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.0042ca93
add esp, 0x58
ret 4