Function at 0x403b70
Capabilities:
Enumerate process modules
Enumerate processes
Get disk size
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1534
call fcn.00456cb0
mov eax, dword [0x470004]
xor eax, esp
mov dword [esp + 0x1530], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [0x472e78], 0
mov dword [esp + 0x10], edi
mov dword [0x472674], 0
push dword [edi + 0x10]
mov esi, dword [edi + 8]
push esi
push 0x469504
push 0x472678
call fcn.00402f50
push str.jre7_binjavaw
push esi
push 0x469504
push 0x472a78
call fcn.00402f50
add esp, 0x20
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [esp + 0xc], esi
cmp esi, 0xffffffff
je 0x403d2c
lea eax, [esp + 0x538]
mov dword [esp + 0x538], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x403c1c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403d2c
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x540]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x403d0e
push 0x104
lea eax, [esp + 0x434]
push 0
push eax
call fcn.0043e460
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 0x400
lea eax, [esp + 0x38]
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x403d0b
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
shr ebx, 2
xor esi, esi
nop word [eax + eax]
push 0x104
lea eax, [esp + 0x434]
push eax
push dword [esp + esi*4 + 0x38]
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
lea eax, [esp + 0x430]
push 0x472a78
push eax
call fcn.0043d9c0
add esp, 8
test eax, eax
je 0x403ccd
mov dword [0x472e78], 1
jmp 0x403cf8
lea eax, [esp + 0x430]
push 0x472678
push eax
call fcn.0043d9c0
mov ecx, dword [0x472674]
add esp, 8
test eax, eax
mov eax, 2
cmovne ecx, eax
mov dword [0x472674], ecx
inc esi
cmp esi, ebx
jle 0x403c90
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
lea eax, [esp + 0x538]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x403c22
push esi
call edi
mov edi, dword [esp + 0x10]
mov eax, dword [0x472674]
add eax, dword [0x472e78]
je 0x403dd7
sub eax, 1
je 0x403d80
sub eax, 1
je 0x403d64
push dword [edi + 0x10]
lea eax, [esp + 0x53c]
push dword [edi + 8]
push 0x4695c4
push eax
call fcn.00404010
add esp, 0x10
jmp 0x403d98
mov eax, dword [edi + 0x10]
push eax
push eax
lea eax, [esp + 0x540]
push 0x4695a8
push eax
call fcn.00404010
add esp, 0x10
jmp 0x403d98
push dword [edi + 8]
lea eax, [esp + 0x53c]
push 0x469584
push eax
call fcn.00404010
add esp, 0xc
mov ecx, dword [0x472670]
mov byte [edi + 0x28], 0
test ecx, ecx
je 0x403dad
mov eax, dword [ecx]
push 0
call dword [eax + 8]
push 0x40
push dword [edi + 4]
lea eax, [esp + 0x540]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x153c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00405b44
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0x1c]
lea eax, [esp + 0x539]
push 0x3ff
push 0
push eax
call fcn.0043e460
mov al, byte [esi]
add esp, 0xc
mov byte [esp + 0x538], al
test al, al
je 0x403e23
lea ecx, [esp + 0x538]
mov edx, ecx
sub esi, edx
nop dword [eax]
cmp al, 0x5c
je 0x403e23
cmp al, 0x2f
je 0x403e23
mov al, byte [esi + ecx + 1]
inc ecx
mov byte [ecx], al
test al, al
jne 0x403e10
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x544]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
shrd ecx, eax, 0x14
cmp ecx, 0xb4
jae 0x403e90
push ecx
lea eax, [esp + 0x93c]
push 0x4695e8
push eax
call fcn.00402f50
mov ecx, dword [0x472670]
add esp, 0xc
mov byte [edi + 0x28], 0
test ecx, ecx
je 0x403e7f
mov eax, dword [ecx]
push 0
call dword [eax + 8]
push 0x40
push dword [edi + 4]
lea eax, [esp + 0x940]
jmp 0x403db9
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x10]
call fcn.00403460
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x403ed1
mov ecx, dword [0x472670]
mov byte [edi + 0x28], al
test ecx, ecx
je 0x403ec2
mov eax, dword [ecx]
push ebx
call dword [eax + 8]
push 0x40
push dword [edi + 4]
push 0x469624
jmp 0x403dba
push dword [edi + 8]
lea eax, [esp + 0xd3c]
push dword [edi + 0x1c]
push str._s_s_
push eax
call fcn.00404050
mov al, byte [edi + 0x29]
add esp, 0x10
mov ecx, dword [0x472670]
mov byte [esp + 0x28], al
test ecx, ecx
je 0x403f09
mov eax, dword [esp + 0x18]
mov edx, dword [ecx]
lea eax, [eax + eax*2]
push eax
call dword [edx]
xor edi, edi
cmp dword [esp + 0xc], edi
jle 0x403f5d
mov ecx, dword [ebx + edi*4]
push ecx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.00405470
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x403fd9
push dword [esp + 0x28]
lea eax, [esp + 0xd3c]
mov ecx, ebx
push eax
call fcn.00405810
push ebx
mov esi, eax
call fcn.0044165e
add esp, 0xc
test esi, esi
jne 0x403fcf
mov ebx, dword [esp + 0x14]
inc edi
cmp edi, dword [esp + 0xc]
jl 0x403f11
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0xc]
xor esi, esi
test ebx, ebx
jle 0x403f94
nop
mov eax, dword [esp + 0x14]
mov edi, dword [eax + esi*4]
mov eax, dword [edi]
test eax, eax
je 0x403f86
push eax
call fcn.0044165e
add esp, 4
push edi
call fcn.0044165e
inc esi
add esp, 4
cmp esi, ebx
jl 0x403f70
push dword [esp + 0x14]
call fcn.0044165e
mov esi, dword [esp + 0x14]
add esp, 4
cmp dword [esp + 0x18], 0
je 0x403fe6
mov ecx, dword [0x472670]
mov byte [esi + 0x28], 0
test ecx, ecx
je 0x403fc0
mov eax, dword [ecx]
push 0
call dword [eax + 8]
push 0x40
push dword [esi + 4]
push 0x469648
jmp 0x403dba
mov dword [esp + 0x18], 1
jmp 0x403f65
mov dword [esp + 0x18], 2
jmp 0x403f65
lea eax, [esp + 0xd38]
mov ecx, esi
push eax
push dword [esp + 0x24]
call fcn.00403710
push 0
mov byte [esi + 0x28], 0
call fcn.0044365d
int3