Function at 0x4ed440
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51cc89
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x57b728]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
push 0
push 0
call dword [eax + 0x108]
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x4ed4b0
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x124]
mov esi, eax
test esi, esi
je 0x4ed4c6
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4ed4b0
push 0
push 0x32
push 0x82
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_SetTimer]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0xffffffffffffffff
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00417cd0
push 0xffffffffffffffff
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
push eax
lea ecx, [ebp - 0x34]
call fcn.00417cd0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00419830
mov esi, dword [ebp + 8]
mov byte [ebp + 0xf], 0
test esi, esi
jne 0x4ed573
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x58]
call fcn.00417cd0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00419a90
push pe_nt_image_headers32
call fcn.004efd54
mov esi, eax
add esp, 4
mov dword [ebp + 0xc], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x4ed554
push 1
push 0
push 0
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
push 0
mov ecx, esi
call fcn.00414010
mov esi, eax
jmp 0x4ed556
xor esi, esi
push ebx
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 2
call fcn.00417e70
lea ecx, [ebp - 0x58]
mov byte [ebp + 0xf], 1
mov byte [ebp - 4], 1
call fcn.00417dd0
push 0x51e990
lea ecx, [ebp - 0x34]
call fcn.00419160
test al, al
jne 0x4ed6eb
push str..cfg
lea ecx, [ebp - 0x34]
call fcn.00419160
test al, al
jne 0x4ed6eb
push str..ini
lea ecx, [ebp - 0x34]
call fcn.00419160
test al, al
jne 0x4ed6eb
push str..sql
lea ecx, [ebp - 0x34]
call fcn.00419160
test al, al
jne 0x4ed6eb
push str..xml
lea ecx, [ebp - 0x34]
call fcn.00419160
test al, al
jne 0x4ed6eb
push str..bmp
lea ecx, [ebp - 0x34]
call fcn.00419160
test al, al
jne 0x4ed6c7
push 0x5239fc
lea ecx, [ebp - 0x34]
call fcn.00419160
test al, al
jne 0x4ed6c7
push str..gif
lea ecx, [ebp - 0x34]
call fcn.00419160
test al, al
jne 0x4ed6c7
push str..jpg
lea ecx, [ebp - 0x34]
call fcn.00419160
test al, al
jne 0x4ed6c7
push str..png
lea ecx, [ebp - 0x34]
call fcn.00419160
test al, al
jne 0x4ed6c7
push 0x5239f4
lea ecx, [ebp - 0x34]
call fcn.00419160
test al, al
jne 0x4ed6c7
push str..wav
lea ecx, [ebp - 0x34]
call fcn.00419160
test al, al
jne 0x4ed691
push str..mp3
lea ecx, [ebp - 0x34]
call fcn.00419160
test al, al
jne 0x4ed691
push dword [ebp + 0x10]
mov eax, dword [edi]
push esi
lea ecx, [ebp - 0x34]
push ecx
mov ecx, edi
call dword [eax + 0x164]
mov edi, eax
jmp 0x4ed717
cmp byte [ebp + 0xf], 0
je 0x4ed6ac
test esi, esi
je 0x4ed6ac
mov eax, dword [esi + 4]
push 1
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax]
push 1
push 0
push 0
push ebx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov bl, 1
jmp 0x4ed780
push 0x100
call fcn.004efd54
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x4ed711
push esi
mov ecx, eax
call fcn.004ec410
mov edi, eax
jmp 0x4ed713
push 0x90
call fcn.004efd54
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4ed711
push 1
push esi
mov ecx, eax
call fcn.0045f760
mov edi, eax
jmp 0x4ed713
xor edi, edi
mov byte [ebp - 4], 1
test edi, edi
jne 0x4ed754
cmp byte [ebp + 0xf], 0
je 0x4ed736
test esi, esi
je 0x4ed736
mov eax, dword [esi + 4]
push 1
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax]
mov edi, dword [ebp - 0x10]
push ebx
mov esi, dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
push str.The_file___s__is_not_supported.
mov ecx, edi
call dword [esi + 0x108]
xor bl, bl
jmp 0x4ed780
cmp byte [ebp + 0x10], 0
jne 0x4ed765
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x134]
mov esi, dword [ebp - 0x10]
push ebx
mov esi, dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov ecx, dword [ebp - 0x10]
push eax
mov eax, dword [esi + 0x138]
push edi
call eax
mov bl, al
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.00417dd0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 0xffffffff
call fcn.00417dd0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc