joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477a10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x477a63
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x477a4a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47e3f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ab7ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0047ed10
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4ba71c
call fcn.0049d17b
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x47e483
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0049d17b
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x47e47c
push 0
mov ecx, eax
call fcn.00475520
mov dword [esi + 0xc], eax
jmp 0x47e485
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x47e485
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x49f80b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x49f843
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0049d895
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049d86d
jmp 0x49f84f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a0f02
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a0f44
call fcn.004a69b7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a0f44
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a0f3b
xor eax, eax
jmp 0x4a0f4c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a0f52
pop edi
pop esi
pop ebx
ret 4
Function at 0x4a6ee7
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4a6f15
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a6f33
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a6e4d
jmp 0x4a6f33
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a6f33
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a6e4d
test edi, edi
mov eax, edi
jne 0x4a6f1d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40644e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40645d
pop dword [ebp - 0x40]
mov eax, 0xf634d6dd
add eax, 0xa0b8d80
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xd2e76888
add dword [ebp - 0x50], 0x7b6adcc3
mov dword [ebp - 0x4c], 0x6c67a1d1
add dword [ebp - 0x4c], 0xc5cbaa74
mov dword [ebp - 0x48], 0xe1a3e04b
add dword [ebp - 0x48], 0x6aa863e3
mov dword [ebp - 0x44], 0x1ed5eda6
sub dword [ebp - 0x44], 0x1ed5eda6
lea eax, [ebp - 0x50]
push eax
mov eax, 0xc14f84a2
sub eax, 0xc10f042a
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x4efa5124
add dword [ebp - 0x50], 0x25781832
mov dword [ebp - 0x4c], 0xf2bb25e3
add dword [ebp - 0x4c], 0x4eb13b92
mov dword [ebp - 0x48], 0xbe034480
add dword [ebp - 0x48], 0xa56c27ec
mov dword [ebp - 0x44], 0x4b67edce
add dword [ebp - 0x44], 0xb4981232
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x4fc0e267
sub eax, 0x4f8061eb
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3446b
push 0
call eax
mov ecx, 0x4f771fbc
sub ecx, 0x4f76e2d7
mov edi, eax
mov ebx, 0x9e65347c
add ebx, 0x61dfdf84
add ebx, dword [ebp - 0x40]
mov edx, 0x4945c061
sub edx, 0x6245737e
xor dword [ebp - 0x20], esi
mov esi, dword [ebx]
sub dword [ebp - 4], ebx
xor esi, edx
add dword [ebp - 8], eax
mov dword [edi], esi
add edi, 0x96ab01ea
sub edi, 0x96ab01e6
add ebx, 4
loop 0x40657f
add eax, 0xe667
mov ebx, eax
add eax, 0x9b654d2e
add eax, 0x649ab2d7
mov ecx, 0x3dc858f2
sub ecx, 0x3d8858f2
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x4068f3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x40692a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406904
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x4068ff
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40695b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x40693d
pop edi
not eax
pop esi
ret 0xc
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4274d2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x4274e1
pop dword [ebp - 0x2c]
mov eax, 0xa676c0a2
add eax, 0x59cbb43f
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x5235f
push 0
mov eax, 0xe449328f
add eax, 0x1bfbb045
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x4e31
xor edx, edx
add edx, eax
mov edi, 0x27778219
add edi, 0xd8d00de7
add edi, dword [ebp - 0x2c]
mov esi, 0x73aa0da
sub esi, 0x4d50c761
xor dword [ebp - 0xc], 0xeb2d59d2
mov ebx, dword [edi]
xor dword [ebp - 0x1c], 0x4994a484
add ebx, esi
mov dword [ebp - 0x14], 0xe8e3a28e
mov dword [edx], ebx
xor dword [ebp - 0xc], edx
add edx, 4
add edi, 4
loop 0x42753c
add eax, 0x12b97
xor ebx, ebx
add ebx, eax
add eax, 0xb0c8b0c2
sub eax, 0xb0c8b0bd
mov ecx, 0x400000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x444db9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46f748
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x444dfc
push str.SystemFunction040
push dword [0x46f748]
call edi
push str.SystemFunction041
push dword [0x46f748]
mov dword [0x46f738], eax
call edi
mov dword [0x46f73c], eax
jmp 0x444e01
mov eax, dword [0x46f73c]
cmp dword [0x46f738], 0
je 0x444e12
test eax, eax
jne 0x444eb9
push 0x46f74c
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x444ec3
push str.CryptProtectMemory
push dword [0x46f74c]
call edi
cmp dword [0x46f738], 0
mov dword [0x46f740], eax
jne 0x444e77
test eax, eax
jne 0x444e77
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x444e61
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x444e68
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work35_swix_srclibsdutilcryputil.cpp
call fcn.004013b3
jmp 0x444ec3
push str.CryptUnprotectMemory
push dword [0x46f74c]
call edi
cmp dword [0x46f73c], 0
mov dword [0x46f744], eax
jne 0x444eb9
test eax, eax
jne 0x444eb9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x444ead
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x444eb4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x444e6b
mov dword [0x46f750], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x100028ba
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x100028c9
pop dword [ebp - 0x14]
mov eax, 0x100028c9
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xaec6a1bd
sub dword [ebp - 0x24], 0x60745c72
mov dword [ebp - 0x20], 0x20eee5fe
sub dword [ebp - 0x20], 0xeebb99b9
mov dword [ebp - 0x1c], 0xb088b2cc
sub dword [ebp - 0x1c], 0x643c6e9e
mov dword [ebp - 0x18], 0x47d0083
sub dword [ebp - 0x18], 0x47d0083
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x74f1cf67
add dword [ebp - 0x24], 0xff8099ef
mov dword [ebp - 0x20], 0x3d3222c9
add dword [ebp - 0x20], 0x43a3eac
mov dword [ebp - 0x1c], 0x440894a0
sub dword [ebp - 0x1c], 0xe0992834
mov dword [ebp - 0x18], 0x1333382b
add dword [ebp - 0x18], 0xecccc7d5
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xed9e8dd6
add eax, 0x226362c6
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x36748
push 0
call eax
mov ecx, 0xfa8a484e
add ecx, 0x575ec4e
xor edx, edx
add edx, eax
mov esi, 0xfcdd0064
add esi, 0x1325999c
add esi, dword [ebp - 0x14]
mov ebx, 0x8b0a675d
xor dword [ebp - 0x10], eax
mov edi, dword [esi]
sub dword [ebp - 4], edx
xor edi, ebx
mov dword [edx], edi
add dword [ebp - 0xc], 0x7ad0d650
add edx, 4
add esi, 4
loop 0x100029dd
add eax, 0xa457f4b7
add eax, 0x5ba8d08c
mov ebx, eax
add eax, 0x8c04bf62
sub eax, 0x8c04bf5d
mov ecx, 0xbfd7c0a2
add ecx, 0x50283f5e
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x1001cc37
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
jne 0x1001ccba
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push 0
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x1001cc84
mov byte [esi + 0x2d], 0xff
test edi, edi
je 0x1001cc84
cmp edi, ebx
jge 0x1001cc84
mov eax, dword [ebp + 0xc]
mov ecx, ebx
sub ecx, edi
push ecx
add eax, edi
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [esi + 0x18], 0
je 0x1001ccb4
add dword [esi + 0x1c], ebx
cmp dword [esi + 0x1c], 0xffff
jle 0x1001ccb4
xor eax, eax
mov word [esi + 0x1e], ax
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
push 1
push dword [esi + 0x20]
push eax
push ecx
call dword [edx + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, edi
pop edi
pop ebx
jmp 0x1001cccc
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret 0xc
Function at 0x1001cf62
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
cmp byte [0x100269c0], al
je 0x1001cf99
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x1001cffd
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.100028ba
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.100028ba
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
push ebx
lea eax, [ebp - 0x108]
push eax
call fcn.100028ba
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001ddeb
leave
ret 0x10

Function at 0x1001d00e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100269c0], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1001d03a
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1001d06b
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1001d069
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.100028ba
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1001d06b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1001ddeb
leave
ret 8

Function at 0x1001d106
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100269c0], 0
mov eax, dword [ebp + 8]
je 0x1001d12e
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x1001d148
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.100028ba
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.1001ddeb
leave
ret 4

Function at 0x1001ddeb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100268b0]
jne 0x1001ddf5
repz ret
jmp fcn.1001e62c
Function at 0x1022fe6
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0101cbb9
xor ebx, ebx
cmp dword [0x102bcdc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x10230bb
push 0x100e2c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x1023026
xor eax, eax
jmp 0x102317f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100e2bc
push edi
call esi
cmp eax, ebx
je 0x102301f
push eax
call fcn.0101cb51
mov dword [esp], 0x100e2ac
push edi
mov dword [0x102bcdc], eax
call esi
push eax
call fcn.0101cb51
mov dword [esp], 0x100e298
push edi
mov dword [0x102bce0], eax
call esi
push eax
call fcn.0101cb51
mov dword [0x102bce4], eax
lea eax, [ebp - 8]
push eax
call fcn.0101be5c
test eax, eax
pop ecx
pop ecx
je 0x1023089
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0101a31d
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x10230bb
push 0x100e27c
push edi
call esi
push eax
call fcn.0101cb51
cmp eax, ebx
pop ecx
mov dword [0x102bcec], eax
je 0x10230bb
push 0x100e264
push edi
call esi
push eax
call fcn.0101cb51
pop ecx
mov dword [0x102bce8], eax
mov eax, dword [0x102bce8]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x1023134
cmp dword [0x102bcec], esi
je 0x1023134
push eax
call fcn.0101cbc7
pop ecx
call eax
cmp eax, ebx
je 0x1023101
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x102bcec]
call fcn.0101cbc7
pop ecx
call eax
test eax, eax
je 0x1023101
test byte [ebp - 0x18], 1
jne 0x1023134
lea eax, [ebp - 0xc]
push eax
call fcn.0101be98
test eax, eax
pop ecx
je 0x102311c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0101a31d
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x102312b
or dword [ebp + 0x10], 0x200000
jmp 0x1023165
or dword [ebp + 0x10], 0x40000
jmp 0x1023165
mov eax, dword [0x102bce0]
cmp eax, esi
je 0x1023165
push eax
call fcn.0101cbc7
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1023165
mov eax, dword [0x102bce4]
cmp eax, esi
je 0x1023165
push dword [ebp - 4]
push eax
call fcn.0101cbc7
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x102bcdc]
call fcn.0101cbc7
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x419d80
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5460
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x50e770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x419ef6
cmp word [esi], 0
je 0x419ef6
xorps xmm0, xmm0
push 0
movq qword [ebp - 0x18], xmm0
push 0
mov dword [ebp - 0x14], 0
call fcn.00424d40
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push esi
mov dword [ebp - 0x1c], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
call fcn.00424ab0
xor eax, eax
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.00424cd0
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x44]
mov esi, dword [ebp - 0x34]
xor eax, eax
mov word [ebp - 0x38], ax
cmp edi, 8
lea eax, [ebp - 0x34]
mov dword [ebp - 0x44], 0x700075
mov dword [ebp - 0x40], 0x610064
cmovae eax, esi
mov dword [ebp - 0x3c], 0x650074
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x419e7c
test dx, dx
je 0x419e78
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x419e7c
add ecx, 4
add eax, 4
test dx, dx
jne 0x419e56
xor eax, eax
jmp 0x419e81
sbb eax, eax
or eax, 1
test eax, eax
jne 0x419ec1
cmp edi, 8
jb 0x419e93
push esi
call fcn.0045e46c
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], 7
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
call fcn.0041ac30
push dword [ebp - 0x18]
call fcn.0045e46c
add esp, 4
mov eax, 1
jmp 0x419ef8
cmp edi, 8
jb 0x419ecf
push esi
call fcn.0045e46c
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], 7
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
call fcn.0041ac30
push dword [ebp - 0x18]
call fcn.0045e46c
add esp, 4
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.0045e471
mov esp, ebp
pop ebp
ret
Function at 0x41cfe0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x50e770]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x228
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], 0
push 0
push eax
mov esi, ecx
call fcn.00464400
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x41d179
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41d179
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp esi, 2
jne 0x41d0d0
lea eax, [ebp - 0x20c]
test eax, eax
je 0x41d167
cmp word [ebp - 0x20c], 0x5a
jne 0x41d167
cmp word [ebp - 0x20a], 0x68
jne 0x41d167
cmp word [ebp - 0x208], 0x75
jne 0x41d167
cmp word [ebp - 0x206], 0x44
jne 0x41d167
cmp word [ebp - 0x204], 0x6f
jne 0x41d167
cmp word [ebp - 0x202], 0x6e
jne 0x41d167
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e471
mov esp, ebp
pop ebp
ret
cmp esi, 6
jne 0x41d10b
push 0
push 0
push 0x61
push 0x44
push 0x73
push 0x70
push 0x69
lea edx, [esi + 0x42]
lea ecx, [ebp - 0x20c]
call fcn.0041cf50
add esp, 0x1c
test al, al
jne 0x41d0ba
push 0
push 0
push 0x72
push 0x6f
push 0x77
push 0x53
push 0x52
lea edx, [esi + 0x42]
jmp 0x41d151
cmp esi, 1
jne 0x41d123
push 0
push 0
push 0x72
push 0x54
push 0x43
push 0x50
push 0x51
lea edx, [esi + 0x50]
jmp 0x41d151
cmp esi, 3
jne 0x41d13b
push 0
push 0
push 0x61
push 0x72
push 0x74
push 0x65
push 0x78
lea edx, [esi + 0x68]
jmp 0x41d151
cmp esi, 5
jne 0x41d167
push 0x65
push 0x66
push 0x61
push 0x53
push 0x35
push 0x34
push 0x33
lea edx, [esi + 0x2d]
lea ecx, [ebp - 0x20c]
call fcn.0041cf50
add esp, 0x1c
test al, al
jne 0x41d0ba
lea eax, [ebp - 0x230]
push eax
push edi
call ebx
test eax, eax
jne 0x41d053
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045e471
mov esp, ebp
pop ebp
ret

Function at 0x41d1a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x50e770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x228
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], 0
push 0
push eax
call fcn.00464400
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x41d23b
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41d23b
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
push 0x65
push 0x66
push 0x61
push 0x53
push 0x35
push 0x34
push 0x33
mov edx, 0x32
lea ecx, [ebp - 0x20c]
call fcn.0041cf50
add esp, 0x1c
test al, al
jne 0x41d254
lea eax, [ebp - 0x230]
push eax
push esi
call edi
test eax, eax
jne 0x41d208
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e471
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0045e471
mov esp, ebp
pop ebp
ret
Function at 0x41d270
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x50e770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x228
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], 0
push 0
push eax
call fcn.00464400
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x41d30b
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41d30b
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
push 0
push 0
push 0x61
push 0x72
push 0x74
push 0x65
push 0x78
mov edx, 0x6b
lea ecx, [ebp - 0x20c]
call fcn.0041cf50
add esp, 0x1c
test al, al
jne 0x41d324
lea eax, [ebp - 0x230]
push eax
push esi
call edi
test eax, eax
jne 0x41d2d8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e471
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0045e471
mov esp, ebp
pop ebp
ret
Function at 0x41e580
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x50e770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push ecx
push 0
push 0x410
mov edi, edx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x208
mov esi, eax
call fcn.0045dcd1
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00464400
add esp, 0x10
lea eax, [ebp - 0x210]
push 0x104
push eax
push 0
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push 0x104
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
cmp word [ebp - 0x210], 0
jne 0x41e605
xor eax, eax
jmp 0x41e61f
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e610
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x210]
mov ecx, edi
push eax
call fcn.0041c820
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045e471
mov esp, ebp
pop ebp
ret