Function at 0x403360
Capabilities:
Create process on windows
Delete directory
Delete file
Delete registry key
Enumerate files on windows
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x424c71
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d8
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov eax, dword [ebp + 0xa4]
xor ebx, ebx
push eax
push ebx
push 0x42f514
push 0x42f508
mov dword [ebp + 0xb4], ebx
call edi
mov ecx, dword [0x42f690]
mov dword [esp + 0x1c], ecx
cmp eax, ebx
mov dword [esp + 0x2f0], ebx
je 0x4033ff
mov eax, dword [ebp + 0xa4]
lea edx, [esp + 0x144]
push eax
push 0x64
push edx
push 0x42f4e0
push 0x42f4d8
push 0x42f508
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x144]
lea ecx, [esp + 0x1c]
push eax
call fcn.00419df7
mov ecx, dword [esp + 0x1c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push 0x42f4c4
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, ebp
call fcn.00403c20
mov eax, dword [ebp + 0xa8]
mov ecx, ebp
push eax
call fcn.00403d10
mov eax, dword [ebp + 0xa4]
push eax
push ebx
push 0x42f4bc
push 0x42f4b4
call edi
mov esi, eax
mov eax, dword [ebp + 0xa4]
push eax
push ebx
push 0x42f4a8
push 0x42f4a0
mov dword [esp + 0x24], esi
call edi
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xa4]
push eax
push ebx
push 0x42f498
push 0x42f494
call edi
mov edx, dword [esp + 0x18]
mov ebx, eax
lea eax, [ebx + edx]
lea ecx, [eax + esi]
test ecx, ecx
mov dword [ebp + 0xb0], ecx
je 0x403a99
mov eax, dword [ebp + 0xac]
push 0
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv ecx
mov ecx, dword [ebp + 0x78]
push eax
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x42f690]
mov dword [esp + 0x10], edx
xor edi, edi
mov byte [esp + 0x2f0], 1
test ebx, ebx
jle 0x403601
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push 0
push 0
lea eax, [esp + 0x34]
push 0
push eax
call esi
test eax, eax
je 0x403500
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
lea eax, [esp + 0x34]
push 0
push eax
call esi
test eax, eax
jne 0x4034d7
cmp dword [ebp + 0xb4], 1
je 0x403785
push edi
lea ecx, [esp + 0x14]
push 0x42f48c
push ecx
call fcn.00419293
mov eax, dword [ebp + 0xa4]
add esp, 0xc
lea edx, [esp + 0x44]
push eax
mov eax, dword [esp + 0x14]
push 0x100
push edx
push 0x433528
push eax
push 0x42f494
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0x44]
test al, al
je 0x4035f8
lea ecx, [esp + 0x44]
push ecx
lea ecx, [ebp + 0x98]
call fcn.00419df7
push 0
mov ecx, ebp
call fcn.0041ca99
lea edx, [esp + 0x44]
lea eax, [esp + 0x10]
push edx
push 0x42f478
push eax
call fcn.00419293
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x1f
ja 0x4035bc
lea edx, [esp + 0x44]
push eax
push edx
lea eax, [esp + 0x18]
push 0x42f458
push eax
call fcn.00419293
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x1c]
push 0x10
push ecx
push edx
call fcn.00402ab0
add esp, 0x1c
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp + 0xac]
push 0
inc edx
mov eax, edx
mov dword [ebp + 0xac], edx
mov ecx, dword [ebp + 0x78]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv dword [ebp + 0xb0]
push eax
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
inc edi
cmp edi, ebx
jl 0x4034be
mov eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
jle 0x40373a
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push 0
push 0
lea edx, [esp + 0x34]
push 0
push edx
call ebx
test eax, eax
je 0x403651
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
lea edx, [esp + 0x34]
push 0
push edx
call ebx
test eax, eax
jne 0x403628
cmp dword [ebp + 0xb4], 1
je 0x403785
push esi
lea eax, [esp + 0x14]
push 0x42f44c
push eax
call fcn.00419293
mov eax, dword [ebp + 0xa4]
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x44]
push eax
push 0x100
push ecx
push 0x433528
push edx
push 0x42f4b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [ebp + 0xa4]
lea eax, [esp + 0x44]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4036c5
test cl, cl
je 0x4036c1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4036c5
add eax, 2
add edi, 2
test cl, cl
jne 0x4036a1
xor eax, eax
jmp 0x4036ca
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40372b
mov al, byte [esp + 0x44]
test al, al
je 0x40372b
lea eax, [esp + 0x44]
lea ecx, [ebp + 0x98]
push eax
call fcn.00419df7
push 0
mov ecx, ebp
call fcn.0041ca99
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp + 0xac]
push 0
inc edx
mov eax, edx
mov dword [ebp + 0xac], edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv dword [ebp + 0xb0]
mov edx, dword [ebp + 0x78]
push eax
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x40360f
jmp 0x403740
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push 0
push 0
lea eax, [esp + 0x34]
push 0
push eax
call ebx
test eax, eax
je 0x40377c
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
lea eax, [esp + 0x34]
push 0
push eax
call ebx
test eax, eax
jne 0x403753
cmp dword [ebp + 0xb4], 1
jne 0x403794
mov dword [ebp + 0xb4], 3
jmp 0x403a88
mov ebx, dword [esp + 0x18]
lea eax, [ebx + ebx*4]
lea eax, [eax + eax*4]
lea edi, [eax + eax*4]
shl edi, 1
push edi
call fcn.004199f3
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x24], esi
and ecx, 3
dec ebx
test ebx, ebx
rep stosb byte es:[edi], al
mov dword [esp + 0x20], ebx
jl 0x403857
lea eax, [ebx + ebx*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [esi + eax*2]
mov dword [esp + 0x14], ecx
push ebx
lea edx, [esp + 0x14]
push 0x42f440
push edx
call fcn.00419293
mov eax, dword [ebp + 0xa4]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push eax
lea eax, [esp + 0x48]
push 0x100
push eax
push 0x433528
push ecx
push 0x42f4a0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, eax
sub eax, 0xfa
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x14], eax
and ecx, 3
dec ebx
test ebx, ebx
rep movsb byte es:[edi], byte [esi]
jge 0x4037e3
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov eax, dword [ebp + 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test ebx, ebx
mov dword [esp + 0x20], ebx
jl 0x403a7b
lea eax, [ebx + ebx*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [esi + eax*2]
mov dword [esp + 0x18], ecx
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push 0
push 0
lea edx, [esp + 0x34]
push 0
push edx
call edi
test eax, eax
je 0x4038c2
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
lea edx, [esp + 0x34]
push 0
push edx
call edi
test eax, eax
jne 0x403899
cmp dword [ebp + 0xb4], 1
je 0x403785
mov eax, dword [esp + 0x18]
mov edi, 0x433528
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4038fc
test cl, cl
je 0x4038f8
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4038fc
add eax, 2
add edi, 2
test cl, cl
jne 0x4038d8
xor eax, eax
jmp 0x403901
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x403a60
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
call fcn.00419cdc
push 0x42f438
lea ecx, [esp + 0x18]
mov byte [esp + 0x2f4], 2
call fcn.00419efc
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1a8]
push ecx
push edx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x403a47
test byte [esp + 0x1a8], 0x10
je 0x4039e6
mov edi, 0x42f434
lea eax, [esp + 0x1d4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x40398b
test cl, cl
je 0x403987
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x40398b
add eax, 2
add edi, 2
test cl, cl
jne 0x403967
xor eax, eax
jmp 0x403990
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4039cd
mov edi, 0x42f430
lea eax, [esp + 0x1d4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4039c4
test cl, cl
je 0x4039c0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4039c4
add eax, 2
add edi, 2
test cl, cl
jne 0x4039a0
xor eax, eax
jmp 0x4039c9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4039e6
lea eax, [esp + 0x1a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40394d
jmp 0x4039eb
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
jne 0x403a47
lea ecx, [esp + 0x44]
push ecx
lea ecx, [ebp + 0x98]
call fcn.00419df7
push ebx
mov ecx, ebp
call fcn.0041ca99
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, dword [ebp + 0xac]
push ebx
inc eax
mov dword [ebp + 0xac], eax
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv dword [ebp + 0xb0]
push eax
mov eax, dword [ebp + 0x78]
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x2f0], 1
call fcn.00419cb2
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
dec ebx
sub ecx, 0xfa
mov dword [esp + 0x20], ebx
test ebx, ebx
mov dword [esp + 0x18], ecx
jge 0x403880
test esi, esi
je 0x403a88
push esi
call fcn.00419a1c
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x2f0], 0
call fcn.00419cb2
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2f0], 0xffffffff
call fcn.00419cb2
mov ecx, dword [esp + 0x2e8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2e4
ret