joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b1513
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x70d514]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
call fcn.005de8c0
mov esi, eax
test esi, esi
jne 0x5b1548
or eax, 0xffffffff
jmp 0x5b16ad
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x5b1552
mov eax, dword [ebx]
push eax
push 0x2712
push esi
call fcn.005e1f00
add esp, 0xc
cmp dword [edi + 0x10], 0
je 0x5b157e
cmp dword [edi + 0x14], 0x10
jb 0x5b156f
mov edi, dword [edi]
push edi
push 0x271f
push esi
call fcn.005e1f00
add esp, 0xc
xor edi, edi
inc edi
push edi
push 0x63
push esi
call fcn.005e1f00
push edi
push 0x34
push esi
call fcn.005e1f00
add esp, 0x18
push 0
call fcn.005b96d6
push eax
mov ecx, ebx
call fcn.005a830b
cmp eax, 0xffffffff
mov edx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_114.0.0.0_Safari_537.36
mov ecx, str.m_installer
cmove ecx, edx
push ecx
push 0x2722
push esi
call fcn.005e1f00
push 2
push 0x54
push esi
call fcn.005e1f00
push edi
push 0x29
push esi
call fcn.005e1f00
push 0x32
push 0x44
push esi
call fcn.005e1f00
push edi
push 0xd5
push esi
call fcn.005e1f00
add esp, 0x3c
cmp byte [ebp + 0x14], 0
jne 0x5b1619
mov edi, dword [ebp - 0x24]
mov ecx, edi
call fcn.005b13b3
cmp dword [eax + 0x10], 0
je 0x5b1619
mov ecx, edi
call fcn.005b13b3
cmp dword [eax + 0x14], 0x10
jb 0x5b1612
mov eax, dword [eax]
mov ecx, 0x2751
jmp 0x5b161e
push 0x40
pop ecx
xor eax, eax
push eax
push ecx
push esi
call fcn.005e1f00
and dword [ebp - 0x1c], 0
and dword [ebp - 0xc], 0
push 0x5b16be
push 0x4e2b
push esi
mov dword [ebp - 8], 0xf
call fcn.005e1f00
push dword [ebp - 0x20]
push 0x2711
push esi
call fcn.005e1f00
lea eax, [ebp - 0x1c]
push eax
push 0x272d
push esi
call fcn.005e1f00
push esi
call fcn.005de920
push esi
mov edi, eax
call fcn.005de8a0
mov ecx, dword [ebp - 8]
add esp, 0x38
cmp ecx, 0x10
jb 0x5b16ab
mov eax, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
cmp ecx, 0x1000
jb 0x5b16a2
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00447b40
mov eax, dword [ebp - 0x24]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
push ecx
push eax
call fcn.006284e7
pop ecx
pop ecx
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006284fa
leave
ret 0x10

Function at 0x5b24ea
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x20], 0
je 0x5b2529
push 2
push dword [esi + 0x12c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0xb8]
mov byte [esi + 0x20], 0
test eax, eax
je 0x5b251d
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
and dword [esi + 0xb8], 0
push dword [esi + 0x158]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x5b2e0d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea eax, [esi + 0xc8]
mov byte [esi + 0xe0], 1
mov byte [esi + 0x21], bl
mov dword [esi + 0x104], ebx
mov dword [eax + 0x10], ebx
cmp dword [eax + 0x14], 0x10
jb 0x5b2e38
mov eax, dword [eax]
mov byte [eax], bl
lea eax, [esi + 0x24]
mov dword [eax + 0x10], ebx
cmp dword [eax + 0x14], 0x10
jb 0x5b2e48
mov eax, dword [eax]
push edi
push dword [ebp + 0xc]
lea ecx, [esi + 0xe4]
mov byte [eax], bl
call fcn.00449300
mov eax, dword [ebp + 0x10]
lea edi, [esi + 0x10c]
cmp dword [eax + 0x10], ebx
je 0x5b2e6f
push eax
mov ecx, edi
call fcn.00449300
push dword [ebp + 8]
mov ecx, esi
call fcn.005b2955
cmp dword [esi + 0x11c], ebx
je 0x5b2e96
push edi
call fcn.005b6f89
pop ecx
test al, al
je 0x5b2e96
push 1
push edi
call fcn.005b853c
pop ecx
pop ecx
lea eax, [ebp - 4]
mov byte [esi + 0x20], 1
push eax
push ebx
push esi
push fcn.005b1957
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x12c], eax
pop edi
cmp dword [esi + 0x150], ebx
jne 0x5b2ec4
cmp dword [esi + 0x154], ebx
je 0x5b2ecb
mov ecx, esi
call fcn.005b2fc2
pop esi
mov al, 1
pop ebx
leave
ret 0xc

Function at 0x5b2f5b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x11c], ebx
je 0x5b2f8a
push edi
lea edi, [esi + 0x10c]
push edi
call fcn.005b6f89
pop ecx
test al, al
je 0x5b2f89
push 1
push edi
call fcn.005b853c
pop ecx
pop ecx
pop edi
lea eax, [ebp - 4]
mov byte [esi + 0x20], 1
push eax
push ebx
push esi
push 0x5b1a38
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x12c], eax
cmp dword [esi + 0x150], ebx
jne 0x5b2fb7
cmp dword [esi + 0x154], ebx
je 0x5b2fbe
mov ecx, esi
call fcn.005b2fc2
pop esi
pop ebx
leave
ret
Function at 0x5b4663
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10018
call fcn.00628620
mov eax, dword [0x70d514]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push 0x208
push ebx
mov dword [ebp - 0x1000c], eax
mov dword [ebp - 0x10010], 0x104
call fcn.0062f122
mov dword [ebp - 0x10014], eax
lea eax, [ebp - 0x10014]
push eax
push esi
call fcn.005b9a24
mov edi, dword [ebp - 0x10014]
add esp, 0x10
push ebx
push 0x80
push 3
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 1
push accept
push edi
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x5b4717
lea eax, [ebp - 0x10014]
push eax
push dword [ebp - 0x1000c]
call fcn.005b9a24
mov edi, dword [ebp - 0x10014]
pop ecx
pop ecx
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push edi
call ebx
cmp eax, 0xffffffff
jne 0x5b4735
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
test edi, edi
je 0x5b4724
push edi
call fcn.0062f107
pop ecx
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006284fa
leave
ret
mov edi, eax
push 0
lea eax, [ebp - 0x10008]
push eax
push 0xffff
lea eax, [ebp - 0x10004]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne bl
test eax, eax
je 0x5b479d
cmp dword [ebp - 0x10008], 0
je 0x5b47ab
push 0
lea eax, [ebp - 0x10018]
push eax
push dword [ebp - 0x10008]
lea eax, [ebp - 0x10004]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne al
xor ecx, ecx
movzx ebx, al
mov eax, dword [ebp - 0x10008]
cmp dword [ebp - 0x10018], eax
cmovne ebx, ecx
jmp 0x5b47a3
mov eax, dword [ebp - 0x10008]
test eax, eax
je 0x5b47ab
test bl, bl
jne 0x5b4737
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
mov edi, dword [ebp - 0x10014]
jmp 0x5b4719

Function at 0x5b49da
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x14
mov eax, 0x655d18
call fcn.0062853a
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
push dword [ebp + 8]
call fcn.005b9a24
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
call fcn.005b9a24
add esp, 0x10
push dword [ebp - 0x18]
push dword [ebp - 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x5b4a58
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push 0
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5b4a58
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [ebp - 0x10]
push eax
push dword [ebp + 0x10]
call fcn.005b8e5b
add esp, 0xc
cmp dword [ebp - 0x18], 0
je 0x5b4a67
push dword [ebp - 0x18]
call fcn.0062f107
pop ecx
cmp dword [ebp - 0x20], 0
je 0x5b4a76
push dword [ebp - 0x20]
call fcn.0062f107
pop ecx
call fcn.00628508
ret
Function at 0x5b6f89
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
lea eax, [ebp - 8]
and dword [ebp - 4], 0
push ebx
push eax
push dword [ebp + 8]
call fcn.005b9a24
pop ecx
pop ecx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
cmp dword [ebp - 8], 0
je 0x5b6fc3
push dword [ebp - 8]
call fcn.0062f107
pop ecx
mov al, bl
pop ebx
leave
ret
Function at 0x5b6ffa
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Create process on windows
Terminate process

Disassembly:
push 0x84
mov eax, 0x6564bb
call fcn.0062856d
cmp byte [0x70d234], 0
jne 0x5b701c
mov al, byte [0x713304]
jmp 0x5b71d0
lea eax, [ebp - 0x28]
push eax
call fcn.005b6c02
pop ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x5b71c0
call fcn.005b6a63
push eax
lea ecx, [ebp - 0x28]
call fcn.005a7c64
test al, al
jne 0x5b71c0
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x30]
inc ebx
push eax
mov byte [ebp - 4], bl
call fcn.005b943c
push eax
call fcn.005b9a24
mov esi, dword [ebp - 0x30]
pop ecx
pop ecx
push esi
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [ebp - 0x34], edi
test edi, edi
jne 0x5b707f
xor bl, bl
jmp 0x5b7099
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x5b70a5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x713304], bl
mov byte [0x70d234], 0
jmp 0x5b71b3
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005b9a24
pop ecx
pop ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
call fcn.005b397f
push dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x3c]
push esi
push edi
call fcn.00634583
mov eax, dword [ebp - 0x38]
add esp, 0xc
jmp 0x5b70de
cmp word [edi + eax*2], 0x5c
je 0x5b70e5
sub eax, 1
jns 0x5b70d7
jmp 0x5b70eb
xor ecx, ecx
mov word [edi + eax*2], cx
push 0x44
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.0062b760
add esp, 0xc
mov dword [ebp - 0x90], 0x44
xor eax, eax
mov dword [ebp - 0x64], ebx
mov word [ebp - 0x60], ax
push ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x90]
push eax
push edi
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x5b718e
push 0x7d0
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x5b7171
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x5b717c
cmp dword [ebp - 0x2c], 0x66
jne 0x5b717c
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x713304], bl
jmp 0x5b71a1
push 0
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov byte [0x70d234], 0
test edi, edi
je 0x5b71b3
push edi
call fcn.0062f107
pop ecx
test esi, esi
je 0x5b71c6
push esi
call fcn.0062f107
pop ecx
jmp 0x5b71c6
mov byte [0x70d234], bl
lea ecx, [ebp - 0x28]
call fcn.00449330
mov al, bl
call fcn.0062851c
ret
Function at 0x5b71d6
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa00
mov eax, dword [0x70d514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 2
mov dword [ebp - 0xa00], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x5b7273
lea eax, [ebp - 0xa00]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x5b7273
mov ebx, 0x3e8
lea eax, [ebp - 0x9dc]
push ebx
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.00633f97
lea eax, [ebp - 0x3ec]
jmp 0x5b7254
push ebx
lea eax, [ebp - 0x9dc]
push eax
lea eax, [ebp - 0x7d4]
push eax
call fcn.00633f97
lea eax, [ebp - 0x7d4]
push edi
push eax
call fcn.006345d0
add esp, 0x14
test eax, eax
je 0x5b728b
lea eax, [ebp - 0xa00]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x5b723a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006284fa
leave
ret
mov al, 1
jmp 0x5b727c
Function at 0x5b746f
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x70
mov eax, 0x656536
call fcn.0062856d
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
push ebx
push 0x80
push 3
push ebx
push 7
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5b74f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005b9b0e
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x40]
push str.CreateFile_error:
push eax
call fcn.005a0e81
mov edi, eax
mov esi, 0x70d09c
add esp, 0x14
cmp edi, esi
je 0x5b74e3
mov ecx, esi
call fcn.00449330
push edi
mov ecx, esi
call fcn.00449550
lea ecx, [ebp - 0x40]
call fcn.00449330
lea ecx, [ebp - 0x28]
call fcn.00449330
jmp 0x5b761b
lea eax, [ebp - 0x78]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x5b75be
mov eax, dword [ebp + 0x10]
cdq
mov ecx, eax
cmp dword [ebp - 0x74], edx
jg 0x5b75be
mov eax, dword [ebp - 0x78]
jl 0x5b7527
cmp eax, ecx
ja 0x5b75be
inc eax
push eax
push dword [esi]
mov dword [esi + 4], eax
call fcn.0062f122
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x7c]
mov dword [esi], eax
push ecx
push dword [ebp - 0x78]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5b756b
mov ecx, dword [ebp - 0x78]
cmp dword [ebp - 0x7c], ecx
jne 0x5b756b
cmp ebx, dword [ebp - 0x74]
jne 0x5b756b
mov eax, dword [esi]
push edi
mov byte [ecx + eax], bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x5b761d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.005b9b0e
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x70]
push str.ReadFile_error:
push eax
call fcn.005a0e81
mov ebx, eax
mov esi, 0x70d09c
add esp, 0x14
cmp ebx, esi
je 0x5b75b1
mov ecx, esi
call fcn.00449330
push ebx
mov ecx, esi
call fcn.00449550
lea ecx, [ebp - 0x70]
call fcn.00449330
lea ecx, [ebp - 0x58]
jmp 0x5b760f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005b9b0e
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push str.GetFileSizeEx_error:
push eax
call fcn.005a0e81
mov ebx, eax
mov esi, 0x70d09c
add esp, 0x14
cmp ebx, esi
je 0x5b7604
mov ecx, esi
call fcn.00449330
push ebx
mov ecx, esi
call fcn.00449550
lea ecx, [ebp - 0x40]
call fcn.00449330
lea ecx, [ebp - 0x28]
call fcn.00449330
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
call fcn.0062851c
ret
Function at 0x5b797a
Capabilities:
Get common file path

Disassembly:
push 0x40
mov eax, 0x6565fd
call fcn.0062856d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x71399c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7132c4]
cmp eax, dword [ecx + 4]
jg 0x5b7a88
cmp dword [0x70d10c], 0
mov ebx, 0x70d0fc
jne 0x5b7a80
push 0x208
push 0
mov dword [ebp - 0x48], 0x104
call fcn.0062f122
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x4c], esi
and dword [ebp - 4], 0
push 1
push 0x1c
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.005ba745
push str.Media_Get_LLCMediaGet2_
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.005a0e4e
mov edi, eax
add esp, 0x14
cmp edi, ebx
je 0x5b7a65
mov eax, dword [0x70d110]
cmp eax, 0x10
jb 0x5b7a45
mov ecx, dword [0x70d0fc]
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
cmp eax, 0x1000
jb 0x5b7a3c
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00447b40
mov eax, dword [ebp - 0x44]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x48]
push eax
push ecx
call fcn.006284e7
pop ecx
pop ecx
and dword [0x70d10c], 0
mov ecx, ebx
push edi
mov dword [0x70d110], 0xf
mov byte [0x70d0fc], 0
call fcn.00449550
lea ecx, [ebp - 0x28]
call fcn.00449330
lea ecx, [ebp - 0x40]
call fcn.00449330
test esi, esi
je 0x5b7a80
push esi
call fcn.0062f107
pop ecx
mov eax, ebx
call fcn.0062851c
ret
mov esi, 0x7132c4
push esi
call fcn.006287aa
cmp dword [0x7132c4], 0xffffffff
pop ecx
jne 0x5b79a6
push 0x65b278
call fcn.00628bdf
push esi
call fcn.00628760
pop ecx
pop ecx
jmp 0x5b79a6
Function at 0x5b8081
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6566e5
mov eax, dword fs:[0]
push eax
mov eax, 0x1844
call fcn.00628620
mov eax, dword [0x70d514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1850], eax
lea eax, [ebp - 0x184c]
push eax
push 0x1000
lea eax, [ebp - 0x17e0]
mov dword [ebp - 0x1848], ebx
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x5b8143
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x17f8]
push eax
call fcn.005b9b0e
and dword [ebp - 4], 0
lea eax, [ebp - 0x17f8]
push eax
lea eax, [ebp - 0x1810]
push str.EnumProcesses_error:
push eax
call fcn.005a0e81
mov edi, eax
mov esi, 0x70d09c
add esp, 0x14
cmp edi, esi
je 0x5b812d
mov ecx, esi
call fcn.00449330
push edi
mov ecx, esi
call fcn.00449550
lea ecx, [ebp - 0x1810]
call fcn.00449330
lea ecx, [ebp - 0x17f8]
jmp 0x5b825f
mov edi, dword [ebp - 0x184c]
shr edi, 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, esi
mov dword [ebp - 0x1844], eax
test edi, edi
je 0x5b8206
cmp eax, dword [ebp + esi*4 - 0x17e0]
je 0x5b81f7
push dword [ebp + esi*4 - 0x17e0]
mov eax, dword [ebp - 0x1850]
push 0
or eax, 0x410
push eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x5b81f1
push 0x3e8
lea eax, [ebp - 0x7e0]
push eax
push 0
push ebx
call sub.PSAPI.DLL_GetModuleBaseNameW
lea eax, [ebp - 0x7e0]
push eax
lea eax, [ebp - 0x17f8]
push eax
call fcn.005ba745
lea eax, [ebp - 0x17f8]
push eax
call fcn.005ba16f
add esp, 0xc
lea ecx, [ebp - 0x17f8]
push dword [ebp - 0x1848]
call fcn.005a7c64
test al, al
jne 0x5b8280
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x17f8]
call fcn.00449330
mov eax, dword [ebp - 0x1844]
inc esi
cmp esi, edi
jb 0x5b8162
mov ebx, dword [ebp - 0x1848]
push ebx
lea eax, [ebp - 0x1840]
push str.Process
push eax
call fcn.005a0eb7
push str._not_found
push eax
lea eax, [ebp - 0x1828]
mov dword [ebp - 4], 1
push eax
call fcn.005a0e4e
mov edi, eax
mov esi, 0x70d09c
add esp, 0x18
cmp edi, esi
je 0x5b824e
mov ecx, esi
call fcn.00449330
push edi
mov ecx, esi
call fcn.00449550
lea ecx, [ebp - 0x1828]
call fcn.00449330
lea ecx, [ebp - 0x1840]
call fcn.00449330
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006284fa
leave
ret
lea ecx, [ebp - 0x17f8]
call fcn.00449330
mov eax, ebx
jmp 0x5b8266
Function at 0x5b828f
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0x28
mov eax, 0x655c02
call fcn.0062856d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x71399c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7132dc]
cmp eax, dword [ecx + 4]
jg 0x5b8387
cmp dword [0x70d19c], 0
jne 0x5b837c
push 0x208
xor ebx, ebx
mov dword [ebp - 0x30], 0x104
push ebx
call fcn.0062f122
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
push ebx
push 0x26
push esi
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x5b8371
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.005ba745
mov edi, eax
pop ecx
pop ecx
cmp edi, 0x70d18c
je 0x5b8369
mov ecx, dword [0x70d1a0]
cmp ecx, 0x10
jb 0x5b8348
mov eax, dword [0x70d18c]
inc ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
cmp ecx, 0x1000
jb 0x5b833f
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00447b40
mov eax, dword [ebp - 0x30]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
push ecx
push eax
call fcn.006284e7
pop ecx
pop ecx
push edi
mov ecx, 0x70d18c
mov dword [0x70d19c], ebx
mov dword [0x70d1a0], 0xf
mov byte [0x70d18c], bl
call fcn.00449550
lea ecx, [ebp - 0x28]
call fcn.00449330
test esi, esi
je 0x5b837c
push esi
call fcn.0062f107
pop ecx
mov eax, 0x70d18c
call fcn.0062851c
ret
mov esi, 0x7132dc
push esi
call fcn.006287aa
cmp dword [0x7132dc], 0xffffffff
pop ecx
jne 0x5b82bb
push 0x65b28c
call fcn.00628bdf
push esi
call fcn.00628760
pop ecx
pop ecx
jmp 0x5b82bb

Function at 0x5b83b7
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0x28
mov eax, 0x655c02
call fcn.0062856d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x71399c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7132e0]
cmp eax, dword [ecx + 4]
jg 0x5b84af
cmp dword [0x70d1b4], 0
jne 0x5b84a4
push 0x208
xor ebx, ebx
mov dword [ebp - 0x30], 0x104
push ebx
call fcn.0062f122
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
push ebx
push 0x2a
push esi
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x5b8499
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.005ba745
mov edi, eax
pop ecx
pop ecx
cmp edi, 0x70d1a4
je 0x5b8491
mov ecx, dword [0x70d1b8]
cmp ecx, 0x10
jb 0x5b8470
mov eax, dword [0x70d1a4]
inc ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
cmp ecx, 0x1000
jb 0x5b8467
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00447b40
mov eax, dword [ebp - 0x30]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
push ecx
push eax
call fcn.006284e7
pop ecx
pop ecx
push edi
mov ecx, 0x70d1a4
mov dword [0x70d1b4], ebx
mov dword [0x70d1b8], 0xf
mov byte [0x70d1a4], bl
call fcn.00449550
lea ecx, [ebp - 0x28]
call fcn.00449330
test esi, esi
je 0x5b84a4
push esi
call fcn.0062f107
pop ecx
mov eax, 0x70d1a4
call fcn.0062851c
ret
mov esi, 0x7132e0
push esi
call fcn.006287aa
cmp dword [0x7132e0], 0xffffffff
pop ecx
jne 0x5b83e3
push 0x65b296
call fcn.00628bdf
push esi
call fcn.00628760
pop ecx
pop ecx
jmp 0x5b83e3