joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e080
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cd40
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x234], esi
call fcn.004dcc10
mov eax, dword fs:[0x2c]
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [0x54f7f4]
cmp eax, dword [ecx + 4]
jle 0x48e12b
push 0x54f7f4
call fcn.004db39b
add esp, 4
cmp dword [0x54f7f4], 0xffffffff
jne 0x48e12b
push 0x514160
mov dword [0x54f7f8], 0
mov dword [0x54f808], 0
mov dword [0x54f80c], 7
call fcn.004db253
push 0x54f7f4
call fcn.004db351
add esp, 8
cmp dword [0x54f808], 0
jne 0x48e211
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x230], ax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e180
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0044a750
mov dword [ebp - 4], 0
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
mov ecx, 0x54f7f8
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0044a750
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x48e211
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48e207
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48e239
push edx
push ecx
call fcn.004dafca
add esp, 8
push 0x54f7f8
mov ecx, esi
call fcn.0044add0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
call fcn.004e002c
int3
Function at 0x48e240
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cd97
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x20a
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 1
push eax
call fcn.004dcc10
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e2d6
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0044a750
mov ecx, dword [esi + 0x10]
mov eax, esi
cmp ecx, 1
jb 0x48e331
cmp dword [esi + 0x14], 8
jb 0x48e306
mov eax, dword [esi]
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x530e54]
je 0x48e32f
add ecx, 2
cmp ecx, 4
jb 0x48e310
push 1
push 0x5329c0
mov ecx, esi
call fcn.0044ae60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret

Function at 0x48e350
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cd97
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x20a
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 1
push eax
call fcn.004dcc10
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e3e6
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0044a750
mov ecx, dword [esi + 0x10]
mov eax, esi
cmp ecx, 1
jb 0x48e441
cmp dword [esi + 0x14], 8
jb 0x48e416
mov eax, dword [esi]
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x530e54]
je 0x48e43f
add ecx, 2
cmp ecx, 4
jb 0x48e420
push 1
push 0x5329c0
mov ecx, esi
call fcn.0044ae60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
Function at 0x48e460
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cd97
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x20a
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 1
push eax
call fcn.004dcc10
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 2
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e4f6
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0044a750
mov ecx, dword [esi + 0x10]
mov eax, esi
cmp ecx, 1
jb 0x48e551
cmp dword [esi + 0x14], 8
jb 0x48e526
mov eax, dword [esi]
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x530e54]
je 0x48e54f
add ecx, 2
cmp ecx, 4
jb 0x48e530
push 1
push 0x5329c0
mov ecx, esi
call fcn.0044ae60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret

Function at 0x48e570
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cdf7
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x220], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
push 0x20a
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 1
push eax
call fcn.004dcc10
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push esi
push 2
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e610
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0044a750
mov ecx, dword [edi + 0x10]
mov eax, edi
cmp ecx, 1
jb 0x48e668
cmp dword [edi + 0x14], 8
jb 0x48e640
mov eax, dword [edi]
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
cmp ax, word [ecx + 0x530e54]
je 0x48e666
add ecx, 2
cmp ecx, 4
jb 0x48e647
push 1
push 0x5329c0
mov ecx, edi
call fcn.0044ae60
mov eax, edi
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.004dafe6
mov esp, ebp
pop ebp
ret
Function at 0x490270
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d06d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push esi
push edi
mov eax, dword [0x54b144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0x44
xor eax, eax
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x3a], xmm0
movlpd qword [ebp - 0x32], xmm0
mov word [ebp - 0x2a], ax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x40], 0x181
call fcn.004501e0
mov ecx, eax
test ecx, ecx
je 0x490412
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
mov edi, dword [ebp + 8]
push esi
push edi
push str.__s___s
push eax
mov dword [ebp - 4], 0
call fcn.0048cb40
add esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x49031e
mov eax, 0xa
jmp 0x490320
xor eax, eax
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x490371
push esi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QMTFunction::RunApp_CreateProcessW_error:_d__wait:_d__show:_d__path:_s__cmd:_s
push 0x54bba8
call fcn.0048d420
add esp, 0x1c
mov dword [ebp - 0x14], 0
jmp 0x4903dc
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x14], esi
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
test eax, eax
je 0x4903bd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4903ac
push dword [ebp - 0x10]
push str.CQMTProcess::RunApp_WAIT_TIMEOUT_path_s.
push 0x54bba8
call fcn.0048d420
add esp, 0xc
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4903bd
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 1
test edi, edi
je 0x4903d5
push edi
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4903dc
push esi
call eax
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4903fe
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00450130
int3
Function at 0x490420
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 0x234], eax
mov dword [eax], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x490477
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x490490
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x228], ebx
jbe 0x4904ac
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004e0469
add esp, 8
test eax, eax
je 0x4904bf
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x490490
jmp 0x4904d2
mov ecx, dword [ebp - 0x234]
mov ebx, 1
mov eax, dword [ebp - 0x228]
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dafe6
mov esp, ebp
pop ebp
ret

Function at 0x4904f0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, 1
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x234], 0
nop
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x490585
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x49057e
nop dword [eax + eax]
cmp dword [ebp - 0x228], 0
jbe 0x49056d
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004e0469
add esp, 8
test eax, eax
je 0x490598
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x490550
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x228]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
xor ebx, ebx
push ebx
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4905f9
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x1f4
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x4905f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4905f9
push edi
push str.QMTProcess::CloseProcessByID___d
push 0x54bba8
call fcn.0048d420
add esp, 0xc
mov eax, dword [ebp - 0x234]
inc eax
mov dword [ebp - 0x234], eax
test edi, edi
je 0x490585
mov edi, dword [ebp - 0x238]
cmp eax, 0xa
jl 0x490520
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
Function at 0x490b00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0x228
mov dword [ebp - 0x234], eax
xor ebx, ebx
lea eax, [ebp - 0x22c]
push ebx
push eax
call fcn.004dcc10
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x490bbc
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x490bb5
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
nop dword [eax + eax]
mov ecx, dword [ebp - 0x228]
cmp ecx, edi
je 0x490b9c
test ecx, ecx
je 0x490b9c
cmp ecx, 4
je 0x490b9c
push dword [ebp - 0x234]
lea eax, [ebp - 0x20c]
push eax
call fcn.004e0469
add esp, 8
test eax, eax
je 0x490baf
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x490b70
jmp 0x490bb4
mov ebx, 1
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
Function at 0x490bd0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d0f0
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x54b144]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], ebx
call fcn.004501e0
mov ecx, eax
test ecx, ecx
je 0x490d44
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x240], esi
push 0
push 2
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x490c63
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x490c99
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 0xfffffff0
push esi
call fcn.0048ce30
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x490d26
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x490d26
mov ebx, dword [ebp + 0xc]
nop dword [eax]
cmp dword [ebp - 0x234], ebx
je 0x490cbb
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x490ca0
jmp 0x490cec
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490cc4
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.0044f440
mov esi, dword [ebp - 0x240]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 0xfffffff0
push esi
call fcn.0048ce30
mov ebx, dword [ebp - 0x244]
add eax, 0x10
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x490d26
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.004dafe6
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00450130
int3
Function at 0x490d50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d130
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x54b144]
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 ebx, dword [ebp + 8]
push 0x18
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
call fcn.004daf9a
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x248], eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov dword [ebp - 0x240], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x490df8
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x490e23
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
lea ecx, [ebp - 0x248]
call fcn.00490fe0
mov eax, esi
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.004dafe6
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x248]
call fcn.00490f00
mov ecx, dword [ebp - 0x224]
mov dword [eax], ecx
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x490e23
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 0xa
nop word [eax + eax]
mov esi, dword [ebp - 0x248]
mov ecx, esi
mov edx, dword [ebp - 0x240]
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x490e8b
cmp dword [eax + 0x10], edx
jae 0x490e81
mov eax, dword [eax + 8]
jmp 0x490e85
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x490e77
cmp byte [ecx + 0xd], 0
jne 0x490edc
cmp edx, dword [ecx + 0x10]
jb 0x490edc
cmp ecx, esi
je 0x490edc
mov eax, edi
dec edi
test eax, eax
je 0x490edc
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x248]
call fcn.00490f00
mov ecx, dword [eax]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x240], ecx
cmp eax, dword [ebx + 8]
je 0x490ecb
mov dword [eax], ecx
add dword [ebx + 4], 4
jmp 0x490e60
lea ecx, [ebp - 0x240]
push ecx
push eax
mov ecx, ebx
call fcn.0047e000
jmp 0x490e60
mov esi, 1
jmp 0x490dfa
Function at 0x4917c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d19d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x54b144]
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 ebx, ecx
mov dword [ebp - 0x18], ebx
cmp dword [ebx + 8], 0
jne 0x491934
mov edi, dword [ebp + 8]
test edi, edi
je 0x49184d
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x491806
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x49184d
lea ebx, [ecx + ecx]
mov eax, ebx
call fcn.004db4d0
mov esi, esp
test esi, esi
je 0x49184d
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x49184f
xor esi, esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push esi
call fcn.004919b0
mov dword [ebp - 4], 0
mov eax, 0x532a44
mov esi, dword [ebp - 0x14]
sub eax, esi
push 2
push 0x532a44
mov dword [ebp - 0x1c], eax
mov edi, dword [esi - 0xc]
call fcn.004e0108
mov edx, eax
mov ecx, SysReAllocString
sub ecx, edx
mov dword [ebp - 0x20], edx
add esp, 8
cmp ecx, edi
jl 0x4919a4
lea ebx, [edi + edx]
test ebx, ebx
js 0x4919a4
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x4918c0
push ebx
lea ecx, [ebp - 0x14]
call fcn.0046d820
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
cmp eax, edi
ja 0x4918cb
add eax, esi
jmp 0x4918d0
mov eax, 0x532a44
push edx
push eax
push edx
lea eax, [edi + esi]
push eax
call fcn.0046d950
lea edi, [esi - 0x10]
add esp, 0x10
cmp ebx, dword [edi + 8]
jg 0x4919a4
push 0
mov dword [edi + 4], ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
mov byte [ebx + esi], 0
push dword [edi + 4]
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x491914
call fcn.004714b0
mov esi, eax
jmp 0x491916
xor esi, esi
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x49197c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x49197c
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x18]
push 0
push eax
mov eax, dword [ebp + 0xc]
add eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
jne 0x49195c
call fcn.004714b0
mov esi, eax
test esi, esi
js 0x49197c
push 0
lea eax, [ebp - 0x18]
push eax
push 4
push 0x5346c0
push dword [ebx]
call edi
test eax, eax
jne 0x49197a
call fcn.004714b0
mov esi, eax
jmp 0x49197c
xor esi, esi
not esi
shr esi, 0x1f
mov eax, esi
lea esp, [ebp - 0x30]
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.004dafe6
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.00450130
int3