Function at 0x408a08
Capabilities:
Create directory
Create process on windows
Delete directory
Delete file
Get file size
Read file on windows
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb50
push ebx
push esi
push edi
mov eax, 0x476aac
call fcn.00468644
mov esi, 0x47646c
lea edi, [ebp - 0x4a0]
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x4a0], 0x44
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp + 0xc]
mov cl, byte [edx + 7]
mov byte [ebp - 0x35], cl
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x1a0], edx
mov ecx, dword [ebp + 8]
or dword [ecx + 0x1a0], 0x20
mov eax, dword [ecx + 0x1a0]
mov edx, dword [ebp + 8]
mov dword [edx + 0x1a0], eax
mov ecx, dword [ebp + 8]
or dword [ecx + 0x1a0], 0x10
mov eax, dword [ecx + 0x1a0]
mov edx, dword [ebp + 8]
mov dword [edx + 0x1a0], eax
mov ecx, dword [ebp + 8]
or dword [ecx + 0x1a0], 1
mov eax, dword [ecx + 0x1a0]
mov edx, dword [ebp + 8]
mov dword [edx + 0x1a0], eax
mov ecx, dword [ebp + 8]
or dword [ecx + 0x1a0], 2
mov eax, dword [ecx + 0x1a0]
mov edx, dword [ebp + 8]
mov dword [edx + 0x1a0], eax
mov ecx, dword [ebp + 8]
or dword [ecx + 0x1a0], 0x3f
mov eax, dword [ecx + 0x1a0]
mov edx, dword [ebp + 8]
mov dword [edx + 0x1a0], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1a0], 0xffffffff
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [eax], edx
movsx ecx, byte [ebp - 0x35]
add ecx, 0xffffffbf
cmp ecx, 0xf
ja case.default.0x408af5
jmp dword [ecx*4 + 0x408afc]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1a4], 0xffffffff
je 0x408b63
mov edx, dword [ebp + 8]
push dword [edx + 0x1a4]
call sub.KERNEL32.DLL_CloseHandle
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1a4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 8
push eax
lea edx, [ebp - 0x45c]
push edx
call fcn.004683d8
add esp, 8
mov word [ebp - 0x20], 8
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x45c]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov edx, dword [ebp + 8]
mov dword [edx + 0x1a4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1a4], 0xffffffff
je 0x408c49
push 0
mov ecx, dword [ebp + 8]
push dword [ecx + 0x1a4]
call sub.KERNEL32.DLL_GetFileSize
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x408c07
push 0x4764b0
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ebp + 8]
push dword [eax + 0x1a4]
call sub.KERNEL32.DLL_CloseHandle
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1a4], 0xffffffff
jmp 0x408c67
push 0x4764c5
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
mov eax, dword [ebp - 0x34]
add eax, 6
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov dword [edx], ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], 0xa
push 0
lea edx, [ebp - 0x4c]
push edx
push 0
mov ecx, dword [ebp + 8]
push dword [ecx + 0x1a4]
call sub.KERNEL32.DLL_SetFilePointer
jmp 0x408c67
push 0x4764cc
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov word [ebp - 0x20], 0
jmp 0x40976e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1a4], 0xffffffff
je 0x408d02
mov word [ebp - 0x20], 0x14
mov eax, dword [ebp + 8]
push dword [eax + 0x1a4]
call sub.KERNEL32.DLL_CloseHandle
mov edx, dword [ebp + 8]
mov dword [edx + 0x1a4], 0xffffffff
push 0x4764f2
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
mov word [ebp - 0x20], 0
jmp 0x408d12
push 0x476518
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x40976e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1a4], 0xffffffff
je 0x408d4c
mov edx, dword [ebp + 8]
push dword [edx + 0x1a4]
call sub.KERNEL32.DLL_CloseHandle
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1a4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 8
push eax
lea edx, [ebp - 0x45c]
push edx
call fcn.004683d8
add esp, 8
mov word [ebp - 0x20], 0x20
lea edx, [ebp - 0x45c]
mov eax, dword [ebp + 8]
call fcn.00409970
test al, al
jne 0x408dce
push 0
push 0x20
push 4
push 0
push 2
push 0x40000000
lea ecx, [ebp - 0x45c]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov edx, dword [ebp + 8]
mov dword [edx + 0x1a4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1a4], 0xffffffff
jne 0x408dbc
push 0x47652e
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
jmp 0x408dde
push 0x476541
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
jmp 0x408dde
push 0x476554
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
mov word [ebp - 0x20], 0
jmp 0x408e01
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x40976e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1a4], 0xffffffff
je 0x408f57
mov word [ebp - 0x20], 0x2c
mov edx, dword [ebp + 0xc]
add edx, 8
mov dword [ebp - 0x40], edx
push 0
push 0
mov ecx, dword [ebp - 0x40]
push dword [ecx]
mov eax, dword [ebp + 8]
push dword [eax + 0x1a4]
call sub.KERNEL32.DLL_SetFilePointer
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffff
je 0x408f00
push 0x47657e
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
mov edx, dword [ebp + 0xc]
add edx, 0xc
mov dword [ebp - 0x40], edx
mov ecx, dword [ebp - 0x40]
cmp dword [ecx], 0x200
jle 0x408e9e
push 0x476585
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x408f1e
push 0
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
push dword [ecx]
mov eax, dword [ebp - 0x34]
add eax, 0xa
push eax
mov edx, dword [ebp + 8]
push dword [edx + 0x1a4]
call sub.KERNEL32.DLL_ReadFile
test eax, eax
je 0x408ee0
mov ecx, dword [ebp - 0x34]
add ecx, 6
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [eax], edx
mov ecx, dword [ebp - 0x3c]
add ecx, 0xa
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
jmp 0x408f1e
push 0x47659c
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x408f1e
push 0x4765ad
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov word [ebp - 0x20], 0
jmp 0x40976e
push 0x4765d9
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x40976e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1a4], 0xffffffff
je 0x4090be
mov word [ebp - 0x20], 0x38
mov eax, dword [ebp + 0xc]
add eax, 8
mov dword [ebp - 0x40], eax
push 0
push 0
mov edx, dword [ebp - 0x40]
push dword [edx]
mov ecx, dword [ebp + 8]
push dword [ecx + 0x1a4]
call sub.KERNEL32.DLL_SetFilePointer
cmp eax, dword [ebp - 0x48]
sete al
and eax, 1
cmp dword [ebp - 0x48], 0xffffffff
je 0x409067
push 0x4765f3
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
mov edx, dword [ebp + 0xc]
add edx, 0xc
mov dword [ebp - 0x40], edx
mov ecx, dword [ebp - 0x40]
cmp dword [ecx], 0x200
jle 0x409007
push 0x4765fa
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x409085
push 0
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
push dword [ecx]
mov eax, dword [ebp + 0xc]
add eax, 0x10
push eax
mov edx, dword [ebp + 8]
push dword [edx + 0x1a4]
call sub.KERNEL32.DLL_WriteFile
test eax, eax
je 0x409047
mov ecx, dword [ebp - 0x34]
add ecx, 6
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [eax], edx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0xa
jmp 0x409085
push 0x476611
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x409085
push 0x476622
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov word [ebp - 0x20], 0
jmp 0x40976e
push 0x476649
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x40976e
mov eax, dword [ebp + 0xc]
add eax, 8
push eax
lea eax, [ebp - 0x45c]
push eax
call fcn.004683d8
add esp, 8
mov word [ebp - 0x20], 0x44
lea edx, [ebp - 0x45c]
lea eax, [ebp - 4]
call fcn.0047267c
inc dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
add ecx, 0x48
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x1a0]
call fcn.0045dddc
test eax, eax
sete al
and eax, 1
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0047274c
pop ecx
test cl, cl
je 0x40916c
mov eax, dword [ebp + 8]
push dword [eax + 0x48]
mov edx, dword [ebp + 8]
push dword [edx + 0x50]
mov ecx, dword [ebp + 8]
push dword [ecx + 0x4c]
mov eax, dword [ebp + 8]
push dword [eax + 0x54]
push 0x476661
push dword [ebp - 0x34]
call fcn.00469db4
add esp, 0x18
jmp 0x40917c
push 0x47668d
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x40976e
mov eax, dword [ebp + 8]
add eax, 0x48
call fcn.0045de2c
test eax, eax
jne 0x4091c8
mov edx, dword [ebp + 8]
push dword [edx + 0x48]
mov ecx, dword [ebp + 8]
push dword [ecx + 0x50]
mov eax, dword [ebp + 8]
push dword [eax + 0x4c]
mov edx, dword [ebp + 8]
push dword [edx + 0x54]
push 0x4766a5
push dword [ebp - 0x34]
call fcn.00469db4
add esp, 0x18
jmp 0x4091d8
push 0x4766d1
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x40976e
mov eax, dword [ebp + 0xc]
add eax, 8
push eax
lea edx, [ebp - 0x45c]
push edx
call fcn.004683d8
add esp, 8
lea ecx, [ebp - 0x4b0]
push ecx
lea eax, [ebp - 0x4a0]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x45c]
push edx
push 0
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
setne cl
and ecx, 1
mov byte [ebp - 0x51], cl
cmp byte [ebp - 0x51], 0
je 0x409262
push 0x4766e9
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
push dword [ebp - 0x4ac]
call sub.KERNEL32.DLL_CloseHandle
push dword [ebp - 0x4b0]
call sub.KERNEL32.DLL_CloseHandle
jmp 0x409272
push 0x4766fb
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x40976e
mov eax, dword [ebp + 0xc]
add eax, 8
push eax
lea ecx, [ebp - 0x45c]
push ecx
call fcn.004683d8
add esp, 8
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x45c]
mov eax, dword [ebp + 8]
call fcn.0040978c
test al, al
je 0x4092c2
push 0x47670d
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
jmp 0x4092d2
push 0x47671f
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x40976e
mov eax, dword [ebp + 0xc]
add eax, 8
push eax
lea ecx, [ebp - 0x45c]
push ecx
call fcn.004683d8
add esp, 8
mov word [ebp - 0x20], 0x50
push 0x476731
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
lea edx, [ebp - 0x45c]
mov eax, dword [ebp + 8]
call fcn.00409970
test al, al
jne 0x409357
push 0
lea ecx, [ebp - 0x45c]
push ecx
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x409347
push 0x476744
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
jmp 0x409357
push 0x47675b
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
mov word [ebp - 0x20], 0
jmp 0x40937a
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x40976e
mov eax, dword [ebp + 0xc]
add eax, 8
push eax
lea ecx, [ebp - 0x45c]
push ecx
call fcn.004683d8
add esp, 8
mov word [ebp - 0x20], 0x5c
push 0x476785
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
lea edx, [ebp - 0x45c]
mov eax, dword [ebp + 8]
call fcn.00409970
test al, al
je 0x4093fd
lea ecx, [ebp - 0x45c]
push ecx
call sub.KERNEL32.DLL_RemoveDirectoryA
test eax, eax
je 0x4093ed
push 0x47679a
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
jmp 0x4093fd
push 0x4767b1
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
mov word [ebp - 0x20], 0
jmp 0x409420
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x40976e
mov eax, dword [ebp + 0xc]
add eax, 8
push eax
lea ecx, [ebp - 0x45c]
push ecx
call fcn.004683d8
add esp, 8
mov word [ebp - 0x20], 0x68
push 0x4767db
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
lea edx, [ebp - 0x45c]
mov eax, dword [ebp + 8]
call fcn.00409970
test al, al
jne 0x409481
push 0x4767ee
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
mov word [ebp - 0x20], 0
jmp 0x4094a4
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x40976e
mov eax, dword [ebp + 0xc]
add eax, 8
push eax
lea edx, [ebp - 0x45c]
push edx
call fcn.004683d8
add esp, 8
mov word [ebp - 0x20], 0x74
push 0x476816
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
lea edx, [ebp - 0x45c]
mov eax, dword [ebp + 8]
call fcn.00409970
test al, al
jne 0x409505
push 0x476829
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
mov word [ebp - 0x20], 0
jmp 0x409528
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x40976e
mov eax, dword [ebp + 0xc]
add eax, 8
push eax
lea edx, [ebp - 0x45c]
push edx
call fcn.004683d8
add esp, 8
mov word [ebp - 0x20], 0x80
push 0x476851
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
lea edx, [ebp - 0x45c]
mov eax, dword [ebp + 8]
call fcn.00409970
test al, al
je 0x4095ab
lea ecx, [ebp - 0x45c]
push ecx
call sub.KERNEL32.DLL_DeleteFileA
test eax, eax
je 0x40959b
push 0x476866
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
jmp 0x4095ab
push 0x476880
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
mov word [ebp - 0x20], 0
jmp 0x4095ce
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x40976e
mov eax, dword [ebp + 0xc]
add eax, 8
push eax
lea ecx, [ebp - 0x45c]
push ecx
call fcn.004683d8
add esp, 8
mov eax, dword [sym.hws.exe__Form2]
mov edx, dword [eax]
mov ecx, dword [edx + 0x2d0]
add ecx, 0x208
mov dword [ebp - 0x58], ecx
mov word [ebp - 0x20], 0x8c
lea edx, [ebp - 0x45c]
lea eax, [ebp - 8]
call fcn.0047267c
inc dword [ebp - 0x14]
mov edx, dword [eax]
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0047274c
mov ecx, dword [sym.hws.exe__Form2]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2d0]
add edx, 0x208
mov dword [ebp - 0x5c], edx
mov word [ebp - 0x20], 0x98
mov edx, 0x4768ad
lea eax, [ebp - 0xc]
call fcn.0047267c
inc dword [ebp - 0x14]
mov edx, dword [eax]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0047274c
push 0x4768ae
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x40976e
mov eax, dword [ebp + 0xc]
add eax, 8
push eax
lea edx, [ebp - 0x45c]
push edx
call fcn.004683d8
add esp, 8
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x45c]
mov eax, dword [ebp + 8]
call fcn.0040978c
test al, al
je 0x409730
push dword [ebp - 0x44]
push 1
push 1
call sub.KERNEL32.DLL_OpenProcess
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x40971e
push 0
push dword [ebp - 0x50]
call sub.KERNEL32.DLL_TerminateProcess
test eax, eax
je 0x40970c
push 0x4768c1
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
jmp 0x409740
push 0x4768dd
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
jmp 0x409740
push 0x4768f9
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
jmp 0x409740
push 0x476915
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x40976e
push 0x476927
push dword [ebp - 0x34]
call fcn.004683d8
add esp, 8
push dword [ebp - 0x34]
call fcn.00468408
pop ecx
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
mov byte [eax + ecx], 0
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret