Function at 0x100049f0
Capabilities:
Create directory
Create process on windows
Delete directory
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x53c
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.10003f10
mov dword [0x10026cd4], eax
mov eax, dword [0x10026cd4]
push eax
mov ecx, dword [0x10026ca4]
push ecx
push 0x100223cc
lea edx, [ebp - 0x108]
push edx
call fcn.100011b0
add esp, 0x10
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [0x1002692c], 0
jne 0x10004afd
call fcn.10003f10
push eax
lea ecx, [ebp - 0x108]
push ecx
push 0x100223d4
lea edx, [ebp - 0x518]
push edx
call fcn.100011b0
add esp, 0x10
mov dword [ebp - 0x528], 0x10026a38
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x520], eax
mov ecx, dword [ebp - 0x520]
mov dword [ebp - 0x538], ecx
mov edx, dword [ebp - 0x528]
mov al, byte [edx]
mov byte [ebp - 0x519], al
mov ecx, dword [ebp - 0x520]
mov dl, byte [ebp - 0x519]
mov byte [ecx], dl
mov eax, dword [ebp - 0x528]
add eax, 1
mov dword [ebp - 0x528], eax
mov ecx, dword [ebp - 0x520]
add ecx, 1
mov dword [ebp - 0x520], ecx
cmp byte [ebp - 0x519], 0
jne 0x10004a8d
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [ebp - 0x20c]
push eax
push 0x10026930
push 0x10026a38
lea ecx, [ebp - 0x518]
push ecx
call fcn.10004660
add esp, 0x10
cmp dword [0x1002692c], 1
jne 0x10004bba
call fcn.10003f10
push eax
lea edx, [ebp - 0x108]
push edx
push str._s_s.lnk
lea eax, [ebp - 0x414]
push eax
call fcn.100011b0
add esp, 0x10
mov dword [ebp - 0x52c], 0x10026b40
lea ecx, [ebp - 0x310]
mov dword [ebp - 0x524], ecx
mov edx, dword [ebp - 0x524]
mov dword [ebp - 0x53c], edx
mov eax, dword [ebp - 0x52c]
mov cl, byte [eax]
mov byte [ebp - 0x51a], cl
mov edx, dword [ebp - 0x524]
mov al, byte [ebp - 0x51a]
mov byte [edx], al
mov ecx, dword [ebp - 0x52c]
add ecx, 1
mov dword [ebp - 0x52c], ecx
mov edx, dword [ebp - 0x524]
add edx, 1
mov dword [ebp - 0x524], edx
cmp byte [ebp - 0x51a], 0
jne 0x10004b4d
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea ecx, [ebp - 0x310]
push ecx
push 0
push 0x10026b40
lea edx, [ebp - 0x414]
push edx
call fcn.10004660
add esp, 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push 0x100223ec
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x534], eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x534], 0x20
jle 0x10004c42
mov byte [0x10026920], 0
mov dword [ebp - 0x530], 0
jmp 0x10004c10
mov ecx, dword [ebp - 0x530]
add ecx, 1
mov dword [ebp - 0x530], ecx
cmp dword [ebp - 0x530], 0x64
jge 0x10004c42
push 0
push 0x10004560
call dword [sym.imp.USER32.dll_EnumWindows]
movzx edx, byte [0x10026920]
test edx, edx
je 0x10004c35
jmp 0x10004c42
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10004c01
lea eax, [ebp - 0x414]
push eax
call fcn.1000c3bf
add esp, 4
lea ecx, [ebp - 0x518]
push ecx
call fcn.1000c3bf
add esp, 4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10005dcc
mov esp, ebp
pop ebp
ret