Function at 0x40a030
Capabilities:
Accept command line arguments
Create process on windows
Extract resource via kernel32 functions
Set environment variable
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
mov eax, dword [0x425004]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push esi
push edi
call fcn.0040dbe3
call fcn.0040dbe9
push 0x1000
mov edx, str._CACHE_DIR__COMPANY__PRODUCT__VERSION_
mov ecx, 0x426c60
call fcn.00409650
add esp, 4
test al, al
je 0x40a4df
push 1
push 0x409ff0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x40a4e9
push 0xa
push 0x1b
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [0x434470], eax
mov cx, word [eax]
mov word [esp + 0xc], cx
mov cl, byte [eax + 2]
add eax, 3
cmp byte [esp + 0xc], 0x4b
mov dword [0x42644c], eax
jne 0x40a4da
cmp byte [esp + 0xd], 0x41
jne 0x40a4da
cmp cl, 0x59
jne 0x40a4da
push 0x20000
mov dword [0x426c50], 0
call fcn.00410569
add esp, 4
mov dword [0x42a460], eax
test eax, eax
je 0x40a4fd
movq xmm0, qword [0x4232b8]
mov edi, dword [0x4232c0]
push 0x27420
movq qword [esp + 0x1c], xmm0
call fcn.00410569
mov esi, eax
add esp, 4
test esi, esi
je 0x40a4f3
movq xmm0, qword [esp + 0x18]
mov ecx, esi
movq qword [esi + 0x736c], xmm0
mov dword [esi + 0x7374], edi
call fcn.00404ea0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x426448], esi
nop dword [eax]
nop dword [eax + eax]
mov edx, 2
lea ecx, [esp + 0xc]
mov esi, 0x428c60
call fcn.00409c20
mov ax, word [esp + 0xc]
mov word [0x428c60], ax
test ax, ax
je 0x40a3ac
nop word [eax + eax]
mov edx, 2
lea ecx, [esp + 0xc]
lea esi, [esi + 2]
call fcn.00409c20
mov ax, word [esp + 0xc]
mov word [esi], ax
test ax, ax
jne 0x40a190
cmp word [0x428c60], ax
je 0x40a3ac
xor eax, eax
mov edx, 0x1000
mov ecx, 0x432470
mov word [0x432470], ax
cmp word [0x426c60], ax
je 0x40a1fb
mov esi, 0x426c60
sub esi, ecx
nop dword [eax]
cmp edx, 1
jb 0x40a50c
mov ax, word [esi + ecx]
dec edx
mov word [ecx], ax
add ecx, 2
cmp word [esi + ecx], 0
jne 0x40a1e0
xor eax, eax
mov word [ecx], ax
mov ecx, 0x1000
cmp word [0x432470], 0
mov eax, 0x432470
je 0x40a227
add eax, 2
dec ecx
cmp word [eax], 0
jne 0x40a214
cmp ecx, 1
jb 0x40a50c
mov dword [eax], 0x5c
mov edx, 0x1000
cmp word [0x432470], 0
mov eax, 0x432470
je 0x40a24b
add eax, 2
dec edx
cmp word [eax], 0
jne 0x40a241
mov esi, 0x428c60
sub esi, eax
cmp edx, 1
jb 0x40a50c
mov cx, word [esi + eax]
dec edx
mov word [eax], cx
add eax, 2
cmp word [esi + eax], 0
jne 0x40a252
xor ecx, ecx
mov word [eax], cx
cmp word [0x426450], cx
jne 0x40a2b6
cmp word [0x432470], 0
mov edx, 0x1000
mov ecx, 0x426450
je 0x40a2b1
mov esi, 0x432470
sub esi, ecx
cmp edx, 1
jb 0x40a50c
mov ax, word [esi + ecx]
dec edx
mov word [ecx], ax
add ecx, 2
cmp word [esi + ecx], 0
jne 0x40a296
xor eax, eax
mov word [ecx], ax
mov edx, 8
lea ecx, [esp + 0x18]
call fcn.00409c20
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov edx, 4
call fcn.00409c20
call fcn.00409390
cmp dword [esp + 0x20], eax
jne 0x40a2ee
or ecx, 0xffffffff
mov dword [esp + 0x10], ecx
jmp 0x40a321
mov ecx, 0x432470
call fcn.00409eb0
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push 0x432470
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
mov dword [esp + 0x10], ecx
cmp ecx, 0xffffffff
je 0x40a507
test ebx, ebx
jne 0x40a332
test edi, edi
je 0x40a395
nop dword [eax]
test ebx, ebx
ja 0x40a342
jb 0x40a33e
cmp edi, 0x8000
ja 0x40a342
mov esi, edi
jmp 0x40a347
mov esi, 0x8000
mov edx, esi
mov ecx, 0x42a470
call fcn.00409c20
mov ecx, dword [esp + 0x10]
cmp ecx, 0xffffffff
je 0x40a384
push 0
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
push esi
push 0x42a470
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40a502
mov ecx, dword [esp + 0x10]
mov eax, esi
cdq
sub edi, eax
sbb ebx, edx
test ebx, ebx
ja 0x40a342
jb 0x40a395
test edi, edi
jne 0x40a330
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ecx, 0xffffffff
je 0x40a160
push ecx
call ebx
jmp 0x40a160
call fcn.00405070
push dword [0x42a460]
call fcn.00410514
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x422af8
lea eax, [esp + 0x88]
push 0x80
push eax
call fcn.00401040
add esp, 0x10
lea eax, [esp + 0x80]
push eax
push str.NUITKA_ONEFILE_PARENT
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea eax, [esp + 0x28]
mov dword [esp + 0x38], 0x44
push eax
lea eax, [esp + 0x3c]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
movlpd qword [esp + 0x5c], xmm0
movlpd qword [esp + 0x64], xmm0
movlpd qword [esp + 0x6c], xmm0
movlpd qword [esp + 0x74], xmm0
movlpd qword [esp + 0x7c], xmm0
movlpd qword [esp + 0x84], xmm0
movlpd qword [esp + 0x8c], xmm0
movlpd qword [esp + 0x94], xmm0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0x426450
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40a511
push dword [esp + 0x2c]
call ebx
mov eax, dword [esp + 0x28]
mov dword [0x426444], eax
mov dword [esp + 0x14], 0
test eax, eax
je 0x40a4ba
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x14]
push eax
push dword [0x426444]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x40a4a8
mov dword [esp + 0x14], 1
push dword [0x426444]
call ebx
mov dword [0x426444], 0
call fcn.00409fb0
mov ecx, dword [esp + 0x104]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040a51f
mov esp, ebp
pop ebp
ret 0x10
call fcn.00409ba0
mov ecx, str._CACHE_DIR__COMPANY__PRODUCT__VERSION_
call fcn.00409c00
mov ecx, str.Error__failed_to_register_signal_handler.
call fcn.00409b40
mov dword [0x426448], 0
call fcn.00409bb0
call fcn.00409b80
call fcn.00409bd0
call fcn.0040d6f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.00409bc0
int3