Function at 0x11000
Capabilities:
Check os version
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x130d8
push 0x127c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffd40
push ebx
push esi
push edi
mov dword [ebp - 0x294], ecx
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x24c], 0
mov eax, dword [0x130a8]
mov dword [ebp - 0x264], eax
mov ecx, dword [0x130ac]
mov dword [ebp - 0x260], ecx
mov edx, dword [0x130b0]
mov dword [ebp - 0x25c], edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x244], 0x18
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x238], 0x200
mov eax, dword [ebp + 8]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
push 0
push 0
push 0x60
push 5
push 1
push 6
push 0
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x244]
push edx
push 0x120116
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jge 0x11115
mov ecx, dword [ebp - 0x268]
mov dword [ebp - 0x298], ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x10]
push edx
call sub.ntoskrnl.exe__local_unwind2
add esp, 8
mov eax, dword [ebp - 0x298]
jmp 0x11d5d
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x278], 0
push 0
push 0
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x270]
push ecx
call dword [sym.imp.ntoskrnl.exe_PsGetVersion]
cmp dword [ebp - 0x270], 6
jne 0x11160
cmp dword [ebp - 0x278], 0
je 0x1115c
cmp dword [ebp - 0x278], 1
jne 0x11160
mov byte [ebp + 0x14], 1
movzx edx, byte [ebp + 0x14]
test edx, edx
je 0x111c9
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], ecx
push 0
push 0x400
mov edx, dword [ebp - 0x27c]
push edx
mov eax, dword [ebp - 0x280]
push eax
call sub.ntoskrnl.exe__allmul
push 0
push 0x400
push edx
push eax
call sub.ntoskrnl.exe__allmul
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], edx
push 0x14
push 8
lea ecx, [ebp - 0x280]
push ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwSetInformationFile]
push 0x200
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jne 0x11208
mov dword [ebp - 0x29c], 0xc000009a
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
push ecx
call sub.ntoskrnl.exe__local_unwind2
add esp, 8
mov eax, dword [ebp - 0x29c]
jmp 0x11d5d
cmp dword [ebp + 0x10], 0
je 0x1122d
mov edx, dword [ebp + 0x10]
movsx eax, byte [edx]
test eax, eax
je 0x1122d
push 0xb
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x264]
push edx
call sub.ntoskrnl.exe_strncpy
add esp, 0xc
mov eax, dword [ebp + 0xc]
shl eax, 0xb
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0x10001
jae 0x1124f
mov dword [ebp - 0x248], 0x10001
mov byte [ebp - 0x228], 0xeb
mov byte [ebp - 0x227], 0x58
mov byte [ebp - 0x226], 0x90
push 8
push str.MSDOS5.0
lea ecx, [ebp - 0x225]
push ecx
call sub.ntoskrnl.exe_strncpy
add esp, 0xc
mov word [ebp - 0x21d], 0x200
mov byte [ebp - 0x21b], 1
mov word [ebp - 0x21a], 0x20
cmp dword [ebp + 0xc], 0x800
jbe 0x112a6
mov dword [ebp - 0x204], 0x26
cmp dword [ebp + 0xc], 0x7800
jbe 0x112b9
mov dword [ebp - 0x204], 0x40
mov byte [ebp - 0x218], 2
mov word [ebp - 0x217], 0
mov word [ebp - 0x215], 0
mov byte [ebp - 0x213], 0xf8
mov word [ebp - 0x212], 0
mov word [ebp - 0x210], 8
mov word [ebp - 0x20e], 0x10
mov dword [ebp - 0x20c], 1
mov edx, dword [ebp - 0x248]
mov dword [ebp - 0x208], edx
movzx eax, word [ebp - 0x217]
shl eax, 5
movzx ecx, word [ebp - 0x21d]
lea eax, [eax + ecx - 1]
movzx ecx, word [ebp - 0x21d]
cdq
idiv ecx
mov dword [ebp - 0x1c], eax
movzx edx, word [ebp - 0x21a]
add edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x208]
sub eax, edx
mov dword [ebp - 0x274], eax
movzx ecx, byte [ebp - 0x21b]
shl ecx, 8
movzx edx, byte [ebp - 0x218]
add ecx, edx
mov dword [ebp - 0x26c], ecx
mov eax, dword [ebp - 0x26c]
shr eax, 1
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ebp - 0x274]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0x26c]
mov dword [ebp - 0x204], eax
mov word [ebp - 0x200], 0
mov word [ebp - 0x1fe], 0
mov dword [ebp - 0x1fc], 2
mov word [ebp - 0x1f8], 1
mov word [ebp - 0x1f6], 6
push 0xc
push 0
lea eax, [ebp - 0x1f4]
push eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
mov byte [ebp - 0x1e8], 0x80
mov byte [ebp - 0x1e7], 0
mov byte [ebp - 0x1e6], 0x29
mov dword [ebp - 0x1e5], 0x87654321
push 0xb
push str.NO_NAME
lea ecx, [ebp - 0x1e1]
push ecx
call sub.ntoskrnl.exe_strncpy
add esp, 0xc
push 8
push str.FAT32
lea edx, [ebp - 0x1d6]
push edx
call sub.ntoskrnl.exe_strncpy
add esp, 0xc
push 0x1a4
push 0
lea eax, [ebp - 0x1ce]
push eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
mov word [ebp - 0x2a], 0xaa55
push 0x200
push 0
mov ecx, dword [ebp - 0x24c]
push ecx
call sub.ntoskrnl.exe_memset
add esp, 0xc
mov dword [ebp - 0x284], 0
jmp 0x11462
mov edx, dword [ebp - 0x284]
add edx, 1
mov dword [ebp - 0x284], edx
movzx eax, word [ebp - 0x21a]
cmp dword [ebp - 0x284], eax
jae 0x114ed
mov ecx, dword [ebp - 0x284]
shl ecx, 9
xor edx, edx
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x254], edx
push 0
lea eax, [ebp - 0x258]
push eax
push 0x200
mov ecx, dword [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jge 0x114e8
mov ecx, dword [ebp - 0x268]
mov dword [ebp - 0x2a0], ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x10]
push edx
call sub.ntoskrnl.exe__local_unwind2
add esp, 8
mov eax, dword [ebp - 0x2a0]
jmp 0x11d5d
jmp 0x11453
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
push 0
lea eax, [ebp - 0x258]
push eax
push 0x200
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jge 0x11561
mov ecx, dword [ebp - 0x268]
mov dword [ebp - 0x2a4], ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x10]
push edx
call sub.ntoskrnl.exe__local_unwind2
add esp, 8
mov eax, dword [ebp - 0x2a4]
jmp 0x11d5d
movzx eax, word [ebp - 0x1f6]
shl eax, 9
cdq
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], edx
push 0
lea eax, [ebp - 0x258]
push eax
push 0x200
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jge 0x115d8
mov ecx, dword [ebp - 0x268]
mov dword [ebp - 0x2a8], ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x10]
push edx
call sub.ntoskrnl.exe__local_unwind2
add esp, 8
mov eax, dword [ebp - 0x2a8]
jmp 0x11d5d
mov eax, dword [ebp - 0x24c]
mov dword [eax], 0x41615252
mov ecx, dword [ebp - 0x24c]
mov dword [ecx + 0x1e4], 0x61417272
mov edx, dword [ebp - 0x24c]
mov dword [edx + 0x1e8], 0x189b6
mov eax, dword [ebp - 0x24c]
mov dword [eax + 0x1ec], 3
mov ecx, dword [ebp - 0x24c]
mov dword [ecx + 0x1fc], 0xaa550000
movzx eax, word [ebp - 0x1f8]
shl eax, 9
cdq
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], edx
push 0
lea edx, [ebp - 0x258]
push edx
push 0x200
mov eax, dword [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jge 0x1169b
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x2ac], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
push ecx
call sub.ntoskrnl.exe__local_unwind2
add esp, 8
mov eax, dword [ebp - 0x2ac]
jmp 0x11d5d
mov edx, dword [ebp - 0x24c]
mov dword [edx], 0x41615252
mov eax, dword [ebp - 0x24c]
mov dword [eax + 0x1e4], 0x61417272
mov ecx, dword [ebp - 0x24c]
mov dword [ecx + 0x1e8], 0xffffffff
mov edx, dword [ebp - 0x24c]
mov dword [edx + 0x1ec], 2
mov eax, dword [ebp - 0x24c]
mov dword [eax + 0x1fc], 0xaa550000
movzx eax, word [ebp - 0x1f6]
movzx ecx, word [ebp - 0x1f8]
add eax, ecx
shl eax, 9
cdq
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], edx
push 0
lea edx, [ebp - 0x258]
push edx
push 0x200
mov eax, dword [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jge 0x11767
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x2b0], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
push ecx
call sub.ntoskrnl.exe__local_unwind2
add esp, 8
mov eax, dword [ebp - 0x2b0]
jmp 0x11d5d
push 0x200
push 0
mov edx, dword [ebp - 0x24c]
push edx
call sub.ntoskrnl.exe_memset
add esp, 0xc
mov eax, dword [ebp - 0x24c]
mov byte [eax + 0x1fe], 0x55
mov ecx, dword [ebp - 0x24c]
mov byte [ecx + 0x1ff], 0xaa
movzx eax, word [ebp - 0x1f8]
add eax, 1
shl eax, 9
cdq
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], edx
push 0
lea edx, [ebp - 0x258]
push edx
push 0x200
mov eax, dword [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jge 0x11811
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x2b4], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
push ecx
call sub.ntoskrnl.exe__local_unwind2
add esp, 8
mov eax, dword [ebp - 0x2b4]
jmp 0x11d5d
movzx edx, word [ebp - 0x1f6]
movzx eax, word [ebp - 0x1f8]
lea eax, [edx + eax + 1]
shl eax, 9
cdq
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], edx
push 0
lea ecx, [ebp - 0x258]
push ecx
push 0x200
mov edx, dword [ebp - 0x24c]
push edx
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jge 0x11893
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x2b8], edx
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call sub.ntoskrnl.exe__local_unwind2
add esp, 8
mov eax, dword [ebp - 0x2b8]
jmp 0x11d5d
push 0x200
push 0
mov ecx, dword [ebp - 0x24c]
push ecx
call sub.ntoskrnl.exe_memset
add esp, 0xc
mov edx, dword [ebp - 0x24c]
mov dword [edx], 0xffffff8
mov eax, dword [ebp - 0x24c]
mov dword [eax + 4], 0xffffffff
mov ecx, dword [ebp - 0x24c]
mov dword [ecx + 8], 0xfffffff
movzx eax, word [ebp - 0x21a]
shl eax, 9
cdq
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], edx
push 0
lea edx, [ebp - 0x258]
push edx
push 0x200
mov eax, dword [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jge 0x11946
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x2bc], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
push ecx
call sub.ntoskrnl.exe__local_unwind2
add esp, 8
mov eax, dword [ebp - 0x2bc]
jmp 0x11d5d
push 0x200
push 0
mov edx, dword [ebp - 0x24c]
push edx
call sub.ntoskrnl.exe_memset
add esp, 0xc
movzx eax, word [ebp - 0x21a]
add eax, 1
mov dword [ebp - 0x288], eax
jmp 0x1197d
mov ecx, dword [ebp - 0x288]
add ecx, 1
mov dword [ebp - 0x288], ecx
movzx edx, word [ebp - 0x21a]
add edx, dword [ebp - 0x204]
cmp dword [ebp - 0x288], edx
jae 0x11a0e
mov eax, dword [ebp - 0x288]
shl eax, 9
xor ecx, ecx
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], ecx
push 0
lea edx, [ebp - 0x258]
push edx
push 0x200
mov eax, dword [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jge 0x11a09
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x2c0], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
push ecx
call sub.ntoskrnl.exe__local_unwind2
add esp, 8
mov eax, dword [ebp - 0x2c0]
jmp 0x11d5d
jmp 0x1196e
push 0x200
push 0
mov edx, dword [ebp - 0x24c]
push edx
call sub.ntoskrnl.exe_memset
add esp, 0xc
movzx eax, word [ebp - 0x21a]
add eax, dword [ebp - 0x204]
shl eax, 9
xor ecx, ecx
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], ecx
push 0
lea edx, [ebp - 0x258]
push edx
push 0x200
mov eax, dword [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jge 0x11aa2
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x2c4], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
push ecx
call sub.ntoskrnl.exe__local_unwind2
add esp, 8
mov eax, dword [ebp - 0x2c4]
jmp 0x11d5d
push 0x200
push 0
mov edx, dword [ebp - 0x24c]
push edx
call sub.ntoskrnl.exe_memset
add esp, 0xc
movzx eax, word [ebp - 0x21a]
mov ecx, dword [ebp - 0x204]
lea edx, [eax + ecx + 1]
mov dword [ebp - 0x28c], edx
jmp 0x11ae0
mov eax, dword [ebp - 0x28c]
add eax, 1
mov dword [ebp - 0x28c], eax
movzx ecx, word [ebp - 0x21a]
mov edx, dword [ebp - 0x204]
lea eax, [ecx + edx*2 + 1]
cmp dword [ebp - 0x28c], eax
jae 0x11b75
mov ecx, dword [ebp - 0x28c]
shl ecx, 9
xor edx, edx
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x254], edx
push 0
lea eax, [ebp - 0x258]
push eax
push 0x200
mov ecx, dword [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jge 0x11b70
mov ecx, dword [ebp - 0x268]
mov dword [ebp - 0x2c8], ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x10]
push edx
call sub.ntoskrnl.exe__local_unwind2
add esp, 8
mov eax, dword [ebp - 0x2c8]
jmp 0x11d5d
jmp 0x11ad1
push 0x200
push 0
mov eax, dword [ebp - 0x24c]
push eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
push 0xb
lea ecx, [ebp - 0x264]
push ecx
mov edx, dword [ebp - 0x24c]
push edx
call sub.ntoskrnl.exe_strncpy
add esp, 0xc
mov eax, dword [ebp - 0x24c]
mov byte [eax + 0xb], 8
movzx ecx, word [ebp - 0x21a]
movzx edx, byte [ebp - 0x218]
imul edx, dword [ebp - 0x204]
add ecx, edx
shl ecx, 9
xor eax, eax
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x254], eax
push 0
lea ecx, [ebp - 0x258]
push ecx
push 0x200
mov edx, dword [ebp - 0x24c]
push edx
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jge 0x11c35
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x2cc], edx
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call sub.ntoskrnl.exe__local_unwind2
add esp, 8
mov eax, dword [ebp - 0x2cc]
jmp 0x11d5d
push 0x200
push 0
mov ecx, dword [ebp - 0x24c]
push ecx
call sub.ntoskrnl.exe_memset
add esp, 0xc
movzx edx, word [ebp - 0x21a]
movzx eax, byte [ebp - 0x218]
imul eax, dword [ebp - 0x204]
lea ecx, [edx + eax + 1]
mov dword [ebp - 0x290], ecx
jmp 0x11c7b
mov edx, dword [ebp - 0x290]
add edx, 1
mov dword [ebp - 0x290], edx
movzx eax, word [ebp - 0x21a]
movzx ecx, byte [ebp - 0x218]
imul ecx, dword [ebp - 0x204]
add eax, ecx
movzx edx, byte [ebp - 0x21b]
lea eax, [eax + edx + 1]
cmp dword [ebp - 0x290], eax
jae 0x11d1e
mov ecx, dword [ebp - 0x290]
shl ecx, 9
xor edx, edx
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x254], edx
push 0
lea eax, [ebp - 0x258]
push eax
push 0x200
mov ecx, dword [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jge 0x11d19
mov ecx, dword [ebp - 0x268]
mov dword [ebp - 0x2d0], ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x10]
push edx
call sub.ntoskrnl.exe__local_unwind2
add esp, 8
mov eax, dword [ebp - 0x2d0]
jmp 0x11d5d
jmp 0x11c6c
mov dword [ebp - 4], 0xffffffff
call fcn.00011d2c
jmp 0x11d5b
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10