Function at 0x41b740
Capabilities:
Create process on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4440ca
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x4720c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x94], esi
cmp dword [esi], 0
jbe 0x41bcf5
call fcn.0041b4e0
mov ecx, esi
call fcn.00414430
mov ecx, esi
mov byte [ebp - 0x6a], al
call fcn.004141d0
cmp byte [ebp - 0x6a], 0
mov byte [ebp - 0x69], al
je 0x41b7a5
test al, al
jne 0x41bcf5
mov ecx, dword [esi]
lea eax, [ebp - 0x68]
push eax
push 0x413b30
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], 0
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x10044
push str.samp.exe_update
push 0x448448
push dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x41bcf5
cmp byte [ebp - 0x6a], 0
jne 0x41b7ee
mov ecx, esi
call fcn.00413f00
cmp byte [ebp - 0x69], 0
jne 0x41b7fb
mov ecx, esi
call fcn.00413c30
mov eax, dword [esi]
mov ecx, esi
push eax
mov dword [ebp - 0x78], eax
call fcn.0041b460
mov esi, dword [ebp - 0x78]
test al, al
je 0x41b89b
sub esp, 8
mov dword [ebp - 0x7c], esi
mov eax, esp
mov dword [ebp - 0x80], 0x20000000
lea ecx, [ebp - 0x80]
push 0x13
mov dword [eax], 1
mov dword [eax + 4], ecx
lea eax, [ebp - 0x28]
push str.taskkill__F__PID_
push eax
call fcn.00409e10
add esp, 0x14
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x41b889
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41b87f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bd10
push ecx
push edx
call fcn.00424542
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
xor edi, edi
nop dword [eax]
push esi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41b90a
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41b903
cmp dword [ebp - 0x64], 0x103
jne 0x41b903
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 1
push eax
mov dword [ebp - 0x70], 0
call fcn.00418e60
inc edi
add esp, 4
cmp edi, 5
jge 0x41bcf5
mov esi, dword [ebp - 0x78]
jmp 0x41b8a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x64], 0
lea eax, [ebp - 0xdc]
push dword [ebp - 0x64]
push 8
push str.samp.exe
push eax
call fcn.00414f20
lea eax, [ebp - 0x10c]
mov dword [ebp - 4], 0
push eax
call fcn.00420780
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041a580
add esp, 0x20
lea ecx, [ebp - 0x10c]
call fcn.0041a0e0
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 4
call fcn.0041a0e0
cmp byte [ebp - 0x6a], 0
jne 0x41bc37
mov byte [ebp - 0x64], 0
lea eax, [ebp - 0xc4]
push dword [ebp - 0x64]
push 0xf
push str.samp.update.exe
push eax
call fcn.00414f20
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 5
push eax
call fcn.00420780
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041a580
add esp, 0x20
lea ecx, [ebp - 0xf4]
call fcn.0041a0e0
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 9
call fcn.0041a0e0
xor edi, edi
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x58]
push eax
call fcn.00414730
mov esi, eax
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x69]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x90]
push ecx
push eax
call fcn.00415030
cmp dword [ebp - 0x7c], 0x10
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xb
cmovae eax, dword [ebp - 0x90]
add esp, 8
mov edx, esp
lea ecx, [eax + 1]
mov dword [edx], eax
mov dword [ebp - 0x64], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41ba27
sub eax, dword [ebp - 0x64]
mov dword [edx + 4], eax
lea eax, [ebp - 0xac]
push eax
call fcn.00412840
mov edx, dword [esi + 0x10]
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x41ba4e
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x41ba59
mov eax, dword [eax]
push edx
push esi
push ecx
push eax
call fcn.00418760
mov ecx, dword [ebp - 0x98]
add esp, 0x10
mov byte [ebp - 0x69], al
cmp ecx, 0x10
jb 0x41baa2
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41ba98
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bd10
push ecx
push edx
call fcn.00424542
add esp, 8
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
mov byte [ebp - 4], 0xa
cmp ecx, 0x10
jb 0x41baf8
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41baee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bd10
push ecx
push edx
call fcn.00424542
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
mov byte [ebp - 4], 9
cmp ecx, 0x10
jb 0x41bb45
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41bb3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bd10
push ecx
push edx
call fcn.00424542
add esp, 8
cmp byte [ebp - 0x69], 0
jne 0x41bb6f
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 1
push eax
mov dword [ebp - 0x70], 0
call fcn.00418e60
inc edi
add esp, 4
cmp edi, 0xa
jl 0x41b9d1
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x60]
push 0xffffffffffffffff
push 3
lea eax, [ebp - 0x40]
mov dword [ebp - 0x84], 0
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
mov dword [ebp - 0x80], 0xffff
call fcn.004234e1
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x7c], eax
push ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.0041f840
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], 0x472050
test eax, eax
je 0x41bc21
cmp eax, 1
je 0x41bbfa
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00423781
mov dword [ebp - 0x74], eax
test edx, edx
jne 0x41bd15
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 1
push eax
mov dword [ebp - 0x70], edx
call fcn.00418e60
add esp, 4
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00423921
test eax, eax
jne 0x41bd24
jmp 0x41bc2b
test ecx, ecx
jne 0x41bd37
jmp 0x41bbfa
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0041a0e0
lea eax, [ebp - 0xf4]
push eax
call fcn.00420780
add esp, 4
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 0xc
jb 0x41bc54
mov ecx, dword [eax]
lea edx, [ebp - 0x69]
push edx
push dword [eax + 0x10]
lea eax, [ebp - 0xc4]
push ecx
push eax
call fcn.00415030
cmp dword [ebp - 0xb0], 0x10
lea esi, [ebp - 0xc4]
lea ecx, [ebp - 0x69]
mov byte [ebp - 4], 0xd
cmovae esi, dword [ebp - 0xc4]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.00415030
add esp, 0x20
lea eax, [ebp - 0xac]
cmp dword [ebp - 0x98], 0x10
cmovae eax, dword [ebp - 0xac]
push 1
push esi
push 0x4452ad
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0xac]
call fcn.0040b410
lea ecx, [ebp - 0xc4]
call fcn.0040b410
lea ecx, [ebp - 0xf4]
call fcn.0041a0e0
lea ecx, [ebp - 0x40]
call fcn.0041a0e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00424555
mov esp, ebp
pop ebp
ret
call fcn.0042944f
lea eax, [ebp - 0x40]
push eax
push edx
push str.remove
call fcn.0041fd20
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push eax
push str.rename
call fcn.0041fca0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x74]
push eax
push str.exists
call fcn.0041fbc0
int3