joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008bce0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd8d8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x100e6008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x64], eax
mov eax, dword [eax]
xor edi, edi
test eax, eax
je 0x1008be51
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100c78c4
push eax
call esi
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x64]
push str.RegQueryValueExW
push dword [eax]
call esi
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
push 0x100c78e0
push dword [eax]
call esi
mov esi, eax
cmp dword [ebp - 0x58], edi
je 0x1008be51
cmp dword [ebp - 0x68], edi
je 0x1008be51
test esi, esi
je 0x1008be51
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x40], 0x65004b
mov dword [ebp - 0x3c], 0x620079
mov dword [ebp - 0x38], 0x61006f
mov dword [ebp - 0x34], 0x640072
mov dword [ebp - 0x30], 0x4c0020
mov dword [ebp - 0x2c], 0x790061
mov dword [ebp - 0x28], 0x75006f
mov dword [ebp - 0x24], 0x5c0074
mov dword [ebp - 0x20], 0x720050
mov dword [ebp - 0x1c], 0x6c0065
mov dword [ebp - 0x18], 0x61006f
mov dword [ebp - 0x14], 0x64
mov dword [ebp - 0x60], edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x5c]
push eax
push 0x20019
push edi
lea eax, [ebp - 0x40]
mov dword [ebp - 0x5c], edi
push eax
push 0x20019
lea ecx, [ebp - 0x60]
call fcn.1009b900
push eax
call dword [ebp - 0x58]
test eax, eax
jne 0x1008be27
mov dword [ebp - 0x44], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0x14
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push 0x100c9358
push dword [ebp - 0x5c]
movups xmmword [ebp - 0x54], xmm0
call dword [ebp - 0x68]
test eax, eax
jne 0x1008be22
push 0x10
push eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
add esp, 0xc
mov edi, eax
push dword [ebp - 0x5c]
call esi
lea ecx, [ebp - 0x60]
call fcn.1009ba90
test edi, edi
je 0x1008be3e
mov ecx, dword [ebp - 0x64]
push edi
call fcn.1008be70
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.1009ba90
mov eax, edi
jmp 0x1008be53
xor eax, eax
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.100ab466
mov esp, ebp
pop ebp
ret
Function at 0x1008be70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd910
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x100e6008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x80], eax
mov eax, dword [eax]
mov edi, dword [ebp + 8]
test eax, eax
je 0x1008c046
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100c78c4
push eax
call esi
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x80]
push str.RegQueryValueExW
push dword [eax]
call esi
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x80]
push 0x100c78e0
push dword [eax]
call esi
cmp dword [ebp - 0x60], 0
mov esi, eax
je 0x1008c046
cmp dword [ebp - 0x84], 0
je 0x1008c046
test esi, esi
je 0x1008c046
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x48], 0x65004b
mov dword [ebp - 0x44], 0x620079
mov dword [ebp - 0x40], 0x61006f
mov dword [ebp - 0x3c], 0x640072
mov dword [ebp - 0x38], 0x4c0020
mov dword [ebp - 0x34], 0x790061
mov dword [ebp - 0x30], 0x75006f
mov dword [ebp - 0x2c], 0x5c0074
mov dword [ebp - 0x28], 0x750053
mov dword [ebp - 0x24], 0x730062
mov dword [ebp - 0x20], 0x690074
mov dword [ebp - 0x1c], 0x750074
mov dword [ebp - 0x18], 0x650074
mov dword [ebp - 0x14], 0x73
mov dword [ebp - 0x80], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x7c], 0
push eax
push 0x20019
lea ecx, [ebp - 0x80]
call fcn.1009b900
push eax
call dword [ebp - 0x60]
test eax, eax
je 0x1008c037
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x78]
push edi
push str._08x
push eax
call fcn.1001a620
add esp, 0xc
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x64], 8
lea ecx, [ebp - 0x60]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x60], 0x14
cmovae eax, dword [ebp - 0x78]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push 0
push 0
push eax
push dword [ebp - 0x7c]
movups xmmword [ebp - 0x5c], xmm0
call dword [ebp - 0x84]
test eax, eax
jne 0x1008c026
push 0x10
push eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
add esp, 0xc
mov edi, eax
push dword [ebp - 0x7c]
call esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.10006d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.1009ba90
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.100ab466
mov esp, ebp
pop ebp
ret 4
Function at 0x750014c8
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x378
push ebx
push esi
push edi
xor edi, edi
push edi
push dword [ebp + 0x7c]
call dword [0x75001038]
mov ebx, eax
mov esi, 0x200
cmp ebx, esi
mov dword [ebp + 0x64], ebx
jae 0x750014f7
xor eax, eax
jmp 0x750015f7
push edi
push edi
push edi
push dword [ebp + 0x7c]
call dword [0x75001034]
lea eax, [ebp - 0x84]
add ebx, 0xffffff80
push eax
mov dword [ebp + 0x68], ebx
call fcn.75001ed9
cmp ebx, edi
mov ebx, dword [0x75001030]
pop ecx
mov dword [ebp + 0x6c], edi
jle 0x75001570
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0x70], edi
sub eax, dword [ebp + 0x6c]
cmp eax, esi
jbe 0x75001532
mov eax, esi
lea ecx, [ebp + 0x70]
push edi
push ecx
push eax
lea eax, [ebp - 0x304]
push eax
push dword [ebp + 0x7c]
call ebx
cmp dword [ebp + 0x70], edi
je 0x75001570
push dword [ebp + 0x70]
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.75002798
mov eax, dword [ebp + 0x6c]
add esp, 0xc
add eax, dword [ebp + 0x70]
cmp eax, dword [ebp + 0x68]
mov dword [ebp + 0x6c], eax
jl 0x75001523
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp + 0x54]
push eax
call fcn.75002833
mov esi, 0x80
lea eax, [ebp - 0x2c]
push esi
push edi
push eax
call fcn.750028a0
add esp, 0x14
lea eax, [ebp + 0x70]
push edi
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
push dword [ebp + 0x7c]
call ebx
push 0x75001120
lea eax, [ebp - 0x2c]
push 0x750010a0
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.750013c2
lea eax, [ebp - 0x85]
mov cl, byte [ebp + edi - 0x2c]
inc edi
mov byte [eax], cl
dec eax
cmp edi, esi
jl 0x750015bf
mov eax, dword [ebp + 0x64]
add eax, 0xffffff80
cmp dword [ebp - 0xf4], eax
jne 0x750014f0
lea eax, [ebp + 0x54]
push 0x10
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.75002c40
add esp, 0xc
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret
Function at 0x750015ff
Capabilities:
Create process on windows
Delete file
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [0x75001098]
push esi
lea eax, [ebp - 0xc]
push 1
push eax
push dword [ebp + 8]
call edi
push esi
lea eax, [ebp - 0xc]
push 4
push eax
push dword [ebp + 8]
call edi
lea eax, [ebp - 0x268]
push eax
push 0x104
call dword [0x75001024]
lea eax, [ebp - 0x164]
push eax
push esi
lea eax, [ebp - 0x268]
push 0x750011f8
push eax
call dword [0x75001028]
push esi
push 0x80
push 2
push esi
push 3
lea eax, [ebp - 0x164]
push 0xc0000000
push eax
call dword [0x7500102c]
cmp eax, esi
mov dword [ebp - 4], eax
je 0x75001795
cmp eax, 0xffffffff
je 0x75001795
mov ebx, 0x400
push esi
lea eax, [ebp - 0x668]
push ebx
push eax
mov dword [ebp - 8], esi
push dword [ebp + 8]
call edi
cmp eax, esi
jle 0x75001798
add dword [ebp - 8], eax
lea ecx, [ebp - 0xc]
push esi
push ecx
push eax
lea eax, [ebp - 0x668]
push eax
push dword [ebp - 4]
call dword [0x7500104c]
push esi
lea eax, [ebp - 0x668]
push ebx
push eax
push dword [ebp + 8]
call edi
cmp eax, esi
jg 0x750016a6
cmp dword [ebp - 8], 0x200
jb 0x75001798
push dword [ebp - 4]
call fcn.750014c8
pop ecx
push dword [ebp - 4]
test eax, eax
jne 0x750016f9
call dword [fcn.75001048]
jmp 0x75001798
mov edi, dword [fcn.75001048]
call edi
push 0x44
lea eax, [ebp - 0x60]
pop ebx
push ebx
push esi
push eax
call fcn.750028a0
xor eax, eax
mov dword [ebp - 0x60], ebx
inc eax
mov dword [ebp - 0x34], 0x87
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x164]
mov dword [ebp - 0x4c], esi
push eax
lea eax, [ebp - 0x668]
push 0x750011f0
push eax
mov dword [ebp - 0x50], esi
mov word [ebp - 0x30], si
call dword [0x75001058]
add esp, 0x18
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x668]
push esi
push eax
push esi
call dword [0x75001044]
test eax, eax
je 0x75001798
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [0x75001040]
push dword [ebp - 0x18]
call edi
push dword [ebp - 0x1c]
call edi
lea eax, [ebp - 0x164]
push eax
call dword [0x7500103c]
push dword [ebp + 8]
call dword [fcn.75001094]
jmp 0x750017b3
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [fcn.75001094]
cmp dword [ebp - 4], esi
je 0x750017b3
lea eax, [ebp - 0x164]
push eax
call dword [0x7500103c]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x75001b03
Capabilities:
Terminate process

Disassembly:
push esi
push dword [esp + 8]
push 0
push 0x1f0fff
call dword [fcn.75001014]
mov esi, eax
test esi, esi
je 0x75001b2b
push 0
push esi
call dword [fcn.75001018]
push esi
call dword [fcn.75001048]
pop esi
ret
Function at 0x75001d99
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push dword [ebp + 8]
xor ebx, ebx
mov word [ebp - 0x1c], 2
mov dword [ebp - 0x18], ebx
call dword [fcn.75001060]
push 6
push 1
push 2
mov word [ebp - 0x1a], ax
call dword [fcn.75001078]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 8], esi
jne 0x75001dd6
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0x1c]
push 0x10
push eax
push esi
call dword [fcn.75001064]
test eax, eax
je 0x75001df3
push esi
call dword [fcn.75001094]
push 2
pop eax
jmp 0x75001dd2
push 0x7fffffff
push esi
call dword [fcn.75001068]
test eax, eax
je 0x75001e0e
push esi
call dword [fcn.75001094]
push 3
jmp 0x75001df0
mov eax, dword [ebp + 0xc]
mov esi, dword [fcn.75001000]
cmp eax, ebx
mov edi, 0x75001a68
jle 0x75001e38
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp - 8]
push edi
push ebx
push ebx
call esi
dec dword [ebp - 4]
jne 0x75001e23
mov eax, dword [ebp + 0xc]
mov dword [0x75002d40], ebx
mov dword [0x75002d44], eax
mov dword [ebp - 4], ebx
push 0x100
call dword [fcn.75001020]
mov eax, dword [0x75002d44]
add eax, 0xfffffffe
cmp dword [0x75002d40], eax
jl 0x75001e74
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp - 8]
push edi
push ebx
push ebx
call esi
inc dword [0x75002d44]
cmp dword [ebp - 4], 4
jle 0x75001e82
call fcn.75001b2d
mov dword [ebp - 4], ebx
inc dword [ebp - 4]
jmp 0x75001e46

Function at 0x75001eac
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
dec eax
jne 0x75001ed2
mov eax, dword [ebp + 8]
mov dword [0x75002d48], eax
lea eax, [ebp + 0xc]
push eax
xor eax, eax
push eax
push eax
push 0x75001e87
push eax
push eax
call dword [fcn.75001000]
xor eax, eax
inc eax
pop ebp
ret 0xc

Function at 0x75001ed9
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x4022a0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40803c]
sub esp, 4
test ebx, ebx
je 0x4022eb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x4022e4
test esi, esi
je 0x4022e4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4022c0
mov dword [esp], 0x408044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x4024d0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x402520
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x4025f8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40255e
cmp eax, 4
jne 0x402580
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40256e
cmp edx, 4
je 0x40256e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.004024d0
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x406037
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x406046
pop dword [ebp - 0x1c]
mov eax, 0x2fa717b4
sub eax, 0x2f66b76e
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x6d3741d0
sub dword [ebp - 0x2c], 0x1ee4fc85
mov dword [ebp - 0x28], 0xe0848b28
add dword [ebp - 0x28], 0x51aec11d
mov dword [ebp - 0x24], 0xd3e28f12
sub dword [ebp - 0x24], 0x87964ae4
mov dword [ebp - 0x20], 0xc398ea9
add dword [ebp - 0x20], 0xf3c67157
lea eax, [ebp - 0x2c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x7941676d
sub dword [ebp - 0x2c], 0x4cefe17
mov dword [ebp - 0x28], 0xa4b56ed3
sub dword [ebp - 0x28], 0x63490d5e
mov dword [ebp - 0x24], 0x77a21514
add dword [ebp - 0x24], 0xebcd5758
mov dword [ebp - 0x20], 0x94a0bda7
add dword [ebp - 0x20], 0x6b5f4259
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3b6af
push 0
call eax
mov ecx, 0x4f5c
xor edx, edx
add edx, eax
mov edi, 0xc751b402
sub edi, 0xc7100402
add edi, dword [ebp - 0x1c]
mov esi, 0xae79daa7
sub esi, 0x8c41c2f5
add dword [ebp - 0x18], 0xa5b04740
mov ebx, dword [edi]
xor dword [ebp - 4], 0x5c0e4270
xor ebx, esi
sub dword [ebp - 8], 0xa0f43a1
mov dword [edx], ebx
xor dword [ebp - 0x10], edi
add edx, 0xfb4e7e7f
sub edx, 0xfb4e7e7b
add edi, 4
loop 0x40615a
add eax, 0x3b8317fb
sub eax, 0x3b81e7b8
mov ebx, eax
add eax, 0x51f33738
add eax, 0xae0cc8cd
mov ecx, 0x2232d8dd
add ecx, 0xde0d2723
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x17f2a80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x130c000]
push edi
or ebp, 0xffffffff
jmp 0x17f2aa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x17f2aa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x17f2a98
mov eax, 1
add ebx, ebx
jne 0x17f2abb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x17f2acc
jne 0x17f2aeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x17f2aeb
dec eax
add ebx, ebx
jne 0x17f2ad8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x17f2ab0
add ebx, ebx
jne 0x17f2ae7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x17f2b3d
xor ecx, ecx
sub eax, 3
jb 0x17f2b03
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x17f2b72
sar eax, 1
mov ebp, eax
jmp 0x17f2b0e
add ebx, ebx
jne 0x17f2b0e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x17f2adc
inc ecx
add ebx, ebx
jne 0x17f2b1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x17f2adc
add ebx, ebx
jne 0x17f2b29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x17f2b1e
jne 0x17f2b3a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x17f2b1e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x17f2b5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x17f2b4e
jmp 0x17f2a9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x17f2b5c
add edi, ecx
jmp 0x17f2a9e
pop esi
mov edi, esi
mov ecx, 0xd3e4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x17f2b7a
cmp byte [edi], 0x23
jne 0x17f2b7a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x17f2b7f
lea edi, [esi + 0x13ee000]
mov eax, dword [edi]
or eax, eax
je 0x17f2bee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x243bd30]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x243be60]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x17f2bac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x243be68]
or eax, eax
je 0x17f2be8
mov dword [ebx], eax
add ebx, 4
jmp 0x17f2bc9
call dword [esi + 0x243be64]
mov ebp, dword [esi + 0x243be6c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x17f2c22
sub esp, 0xffffff80
jmp 0x6bffa0
Function at 0x4018f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x41007c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4019a6
push 0x124
lea eax, [ebp - 0x12c]
push esi
push eax
call fcn.00407c50
add esp, 0xc
lea ecx, [ebp - 0x130]
push ecx
push ebx
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x40199f
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea edx, [ebp - 0x10c]
push str.explorer.exe
push edx
call fcn.00403a9d
add esp, 8
test eax, eax
jne 0x401984
mov eax, dword [ebp - 0x128]
push eax
push 0
push 0x410
mov esi, eax
call edi
cmp eax, 0xffffffff
jne 0x401998
xor esi, esi
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x401953
jmp 0x40199f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040338b
mov esp, ebp
pop ebp
ret
Function at 0x4019c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40be8f
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x41007c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
push edi
push 2
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x160], edi
mov dword [ebp - 0x164], edi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x168], esi
cmp esi, 0xffffffff
je 0x401b74
push 0x124
lea edx, [ebp - 0x158]
push edi
push edx
call fcn.00407c50
add esp, 0xc
lea eax, [ebp - 0x15c]
push eax
push esi
mov dword [ebp - 0x15c], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, edi
je 0x401b65
mov ecx, dword [ebp - 0x170]
push ecx
lea edx, [ebp - 0x138]
push edx
call fcn.00403a9d
add esp, 8
test eax, eax
jne 0x401b4f
mov eax, dword [ebp - 0x154]
push eax
push 0
push 0x410
mov dword [ebp - 0x164], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, 0xffffffff
je 0x401b0f
mov ecx, edi
lea ebx, [ebp - 0x30]
call fcn.00401e10
mov ecx, dword [ebp - 0x16c]
or dword [ebp - 0x160], 1
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x401ab3
sub ecx, esi
mov esi, dword [eax + 0x10]
mov ebx, ecx
mov ecx, esi
cmp ecx, esi
jae 0x401ac7
mov ecx, esi
cmp esi, ebx
jb 0x401acf
mov ecx, ebx
cmp dword [eax + 0x14], 0x10
jb 0x401ad9
mov edx, dword [eax]
jmp 0x401adb
mov edx, eax
mov eax, ecx
mov ecx, dword [ebp - 0x16c]
call fcn.00401040
test eax, eax
jne 0x401afe
cmp esi, ebx
jae 0x401af5
or eax, 0xffffffff
jmp 0x401afc
xor eax, eax
cmp esi, ebx
setne al
test eax, eax
mov esi, dword [ebp - 0x168]
sete al
test al, al
je 0x401b0f
mov bl, 1
jmp 0x401b11
xor bl, bl
mov dword [ebp - 4], 0xffffffff
test byte [ebp - 0x160], 1
je 0x401b3a
and dword [ebp - 0x160], 0xfffffffe
cmp dword [ebp - 0x1c], 0x10
jb 0x401b3a
mov eax, dword [ebp - 0x30]
push eax
call fcn.00403841
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x401b65
mov dword [ebp - 0x164], 0
lea ecx, [ebp - 0x15c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x401a5a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x164]
jmp 0x401b76
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040338b
mov esp, ebp
pop ebp
ret