Function at 0x411bd0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push ebx
push esi
push edi
lea edi, [ebp - 0x60]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x41d007
call fcn.00411375
mov esi, esp
push 0x7a120
call dword [sym.imp.ucrtbased.dll_malloc]
add esp, 4
cmp esi, esp
call fcn.00411285
mov dword [ebp - 8], eax
mov esi, esp
push 0x1388
call dword [sym.imp.ucrtbased.dll_malloc]
add esp, 4
cmp esi, esp
call fcn.00411285
mov dword [ebp - 0x14], eax
mov esi, esp
push 0x3e8
call dword [sym.imp.ucrtbased.dll_malloc]
add esp, 4
cmp esi, esp
call fcn.00411285
mov dword [ebp - 0x20], eax
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x14]
mov byte [edx + ecx], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0
push 0x418b80
call fcn.004112c6
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x411c7a
jmp 0x411e70
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00411325
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x411d7d
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004113bb
add esp, 4
push eax
call fcn.00411f40
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x411d7d
mov esi, esp
push 0x418b84
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004113bb
add esp, 4
push eax
call dword [sym.imp.ucrtbased.dll_fopen]
add esp, 8
cmp esi, esp
call fcn.00411285
mov dword [ebp - 0x50], eax
mov esi, esp
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00411082
add esp, 4
push eax
push 1
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.ucrtbased.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.00411285
mov esi, esp
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.ucrtbased.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.00411285
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00411082
add esp, 4
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00411082
add esp, 4
add eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004113bb
add esp, 4
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0041123f
add esp, 8
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00411082
add esp, 4
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00412090
add esp, 8
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0041141a
add esp, 8
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0041120d
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x411c7a
mov eax, dword [ebp - 0x14]
push eax
push 0x418c80
call fcn.004110e6
add esp, 8
mov esi, esp
push 0x418b8c
push str.j_embedded_file.bin
call dword [sym.imp.ucrtbased.dll_fopen]
add esp, 8
cmp esi, esp
call fcn.00411285
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x411ddc
push str.Failed_to_open_output_file__n
call fcn.004110e6
add esp, 4
jmp 0x411e70
mov esi, esp
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
push 1
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ucrtbased.dll_fwrite]
add esp, 0x10
cmp esi, esp
call fcn.00411285
mov esi, esp
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.ucrtbased.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.00411285
mov esi, esp
push 0x418b8c
push str.j_embedded_file.dat
call dword [sym.imp.ucrtbased.dll_fopen]
add esp, 8
cmp esi, esp
call fcn.00411285
mov dword [ebp - 0x5c], eax
mov esi, esp
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004113ca
add esp, 4
push eax
push 1
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ucrtbased.dll_fwrite]
add esp, 0x10
cmp esi, esp
call fcn.00411285
mov esi, esp
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.ucrtbased.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.00411285
pop edi
pop esi
pop ebx
add esp, 0x120
cmp ebp, esp
call fcn.00411285
mov esp, ebp
pop ebp
ret