Function at 0x4014e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x218
mov eax, dword [0x411280]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x220]
push 0x100
lea ecx, [esp + 0x18]
push ecx
push 0
mov dword [esp + 0x14], eax
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401518
sub eax, edx
lea eax, [esp + eax + 0x14]
lea edx, [esp + 0x14]
cmp eax, edx
jbe 0x401541
lea ecx, [ecx]
cmp byte [eax], 0x2e
je 0x401541
mov byte [eax], 0
dec eax
lea ecx, [esp + 0x14]
cmp eax, ecx
ja 0x401530
mov byte [eax], 0
lea eax, [esp + 0x14]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x401550
mov edx, dword [str._script.py]
mov ecx, dword [0x40e22c]
mov dword [eax], edx
mov dx, word [0x40e230]
mov dword [eax + 4], ecx
mov cl, byte [0x40e232]
push esi
mov word [eax + 8], dx
lea edx, [esp + 0x18]
push 0
push edx
mov byte [eax + 0xa], cl
call fcn.0040c991
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
jne 0x4015c8
lea eax, [esp + 0x18]
push eax
push str.Cannot_open__s_n
call fcn.004018e1
add eax, 0x40
push eax
call fcn.004017c5
add esp, 0xc
lea eax, [esi + 3]
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00401ee2
add esp, 0x218
ret
push edi
push 0x100
lea ecx, [esp + 0x120]
push ecx
push esi
call fcn.0040c175
push esi
lea edi, [esp + eax + 0x12c]
call fcn.0040a091
lea eax, [esp + 0x12c]
add esp, 0x10
dec eax
inc eax
cmp eax, edi
jae 0x401609
mov cl, byte [eax]
test cl, cl
je 0x401609
cmp cl, 0xa
je 0x401609
cmp cl, 0xd
jne 0x4015f4
push 2
lea edx, [esp + 0x120]
push 0x40e214
push edx
mov byte [eax], 0
call fcn.00404502
add esp, 0xc
test eax, eax
je 0x401659
mov eax, dword [str._python.exe]
mov ecx, dword [0x40e208]
mov edx, dword [0x40e20c]
mov dword [esp + 0x11c], eax
mov al, byte [0x40e210]
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], edx
mov byte [esp + 0x128], al
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x122]
push edx
call fcn.004011f0
mov esi, dword [eax]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
push esi
call fcn.004010a0
mov edi, eax
add esp, 0x10
mov dword [esp + 0xc], edi
test edi, edi
jne 0x401694
push esi
push str.Cannot_find_Python_executable__s_n
jmp 0x401749
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x22c]
lea eax, [ebx + ebp]
mov dword [esp + 0x1c], eax
inc eax
push 4
push eax
call fcn.00404502
mov esi, eax
push edi
mov dword [esp + 0x1c], esi
call section..text
mov dword [esi], eax
mov edi, 1
add esp, 0xc
add esi, 4
cmp ebx, edi
jle 0x4016ea
mov edi, edi
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + edi*4]
push edx
call section..text
mov dword [esi], eax
inc edi
add esp, 4
add esi, 4
cmp edi, ebx
jl 0x4016d0
lea eax, [esp + 0x24]
push eax
call section..text
mov dword [esi], eax
mov edi, 1
add esp, 4
add esi, 4
cmp ebp, edi
jle 0x40171f
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + edi*4]
push edx
call section..text
mov dword [esi], eax
inc edi
add esp, 4
add esi, 4
cmp edi, ebp
jl 0x401705
cmp dword [esp + 0x234], 0
pop ebp
mov dword [esi], 0
pop ebx
je 0x401776
mov eax, dword [esp + 8]
mov esi, dword [esp + 0xc]
push eax
push esi
call fcn.00404502
add esp, 8
push esi
push str.Could_not_exec__s
call fcn.004018e1
add eax, 0x40
push eax
call fcn.004017c5
add esp, 0xc
pop edi
mov eax, 2
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00401ee2
add esp, 0x218
ret
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push ecx
push edx
push eax
call fcn.00401410
push eax
call fcn.00401350
mov ecx, dword [esp + 0x22c]
add esp, 0x10
pop edi
pop esi
xor ecx, esp
call fcn.00401ee2
add esp, 0x218
ret