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.pyw]
mov ecx, dword [0x40e22c]
mov dword [eax], edx
mov edx, dword [0x40e230]
mov dword [eax + 4], ecx
push esi
mov dword [eax + 8], edx
lea eax, [esp + 0x18]
push 0
push eax
call fcn.0040ca21
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
jne 0x4015bd
lea ecx, [esp + 0x18]
push ecx
push str.Cannot_open__s_n
call fcn.004018e6
add eax, 0x40
push eax
call fcn.004017ca
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 edx, [esp + 0x120]
push edx
push esi
call fcn.0040c205
push esi
lea edi, [esp + eax + 0x12c]
call fcn.0040a121
lea eax, [esp + 0x12c]
add esp, 0x10
dec eax
lea esp, [esp]
inc eax
cmp eax, edi
jae 0x401605
mov cl, byte [eax]
test cl, cl
je 0x401605
cmp cl, 0xa
je 0x401605
cmp cl, 0xd
jne 0x4015f0
push 2
mov byte [eax], 0
lea eax, [esp + 0x120]
push 0x40e214
push eax
call fcn.00409d20
add esp, 0xc
test eax, eax
je 0x401656
mov ecx, dword [str._python.exe]
mov edx, dword [0x40e208]
mov eax, dword [0x40e20c]
mov dword [esp + 0x11c], ecx
mov cl, byte [0x40e210]
mov dword [esp + 0x120], edx
mov dword [esp + 0x124], eax
mov byte [esp + 0x128], cl
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x122]
push eax
call fcn.004011f0
mov esi, dword [eax]
lea ecx, [esp + 0x24]
push ecx
push esi
mov dword [esp + 0x28], eax
call fcn.004010a0
mov edi, eax
add esp, 0x10
mov dword [esp + 0xc], edi
test edi, edi
jne 0x401691
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.00409d20
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
jmp 0x4016d0
mov edx, dword [esp + 0x20]
mov eax, dword [edx + edi*4]
push eax
call section..text
mov dword [esi], eax
inc edi
add esp, 4
add esi, 4
cmp edi, ebx
jl 0x4016d0
lea ecx, [esp + 0x24]
push ecx
call section..text
mov dword [esi], eax
mov edi, 1
add esp, 4
add esi, 4
cmp ebp, edi
jle 0x40171f
mov edx, dword [esp + 0x18]
mov eax, dword [edx + edi*4]
push eax
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 ecx, dword [esp + 8]
mov esi, dword [esp + 0xc]
push ecx
push esi
call fcn.00409d20
add esp, 8
push esi
push str.Could_not_exec__s
call fcn.004018e6
add eax, 0x40
push eax
call fcn.004017ca
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 edx, dword [esp + 0x14]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
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