Function at 0x481d20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
xor eax, eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x481f93
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x12c]
xor eax, eax
call fcn.00480cbc
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 8]
mov edx, 0x481fa8
call fcn.00480c1c
mov eax, dword [ebp - 8]
call fcn.00480d60
test al, al
je 0x481da3
lea eax, [ebp - 0xc]
mov ecx, 0x481fb8
mov edx, dword [ebp - 8]
call fcn.00404f54
mov eax, dword [ebp - 0xc]
call fcn.00480d60
test al, al
je 0x481d98
mov eax, dword [ebp - 0xc]
call fcn.00480ed8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00480e2c
mov eax, dword [ebp - 8]
call fcn.00480f5c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x481f65
push 0
lea eax, [ebp - 0x14]
push eax
push 0xd
push 0x481fcc
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetLocalTime
push pe_nt_image_headers32
lea eax, [ebp - 0x128]
push eax
push 0
lea eax, [ebp - 0x28]
push eax
push 0x80000000
call sub.kernel32.dll_GetThreadLocale_1
push eax
call sub.kernel32.dll_GetDateFormatA
dec eax
mov dword [ebp - 0x10], eax
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x128]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0x14]
push eax
push 1
push 0x481fe4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
push pe_nt_image_headers32
lea eax, [ebp - 0x128]
push eax
push 0
lea eax, [ebp - 0x28]
push eax
push 0x80000000
call sub.kernel32.dll_GetThreadLocale_1
push eax
call sub.kernel32.dll_GetTimeFormatA
dec eax
mov dword [ebp - 0x10], eax
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x128]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0x14]
push eax
push 2
push 0x481ff0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0x14]
push eax
push 8
push 0x481ffc
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
lea eax, [ebp - 0x18]
call fcn.00481780
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
call fcn.004048a8
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0x14]
push eax
push 2
push 0x481ff0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0x14]
push eax
push 8
push 0x482010
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
lea eax, [ebp - 0x18]
call fcn.00481b24
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
call fcn.004048a8
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0x14]
push eax
push 2
push 0x481ff0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0x14]
push eax
push 0x43
push 0x482024
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0x14]
push eax
push 2
push 0x481ff0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0x14]
push eax
push 2
push 0x481ff0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481f9a
lea eax, [ebp - 0x12c]
call fcn.00404cc8
lea eax, [ebp - 0x18]
call fcn.004045e8
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404ce0
ret