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

Disassembly:
xor eax, eax
cmp dword [esp + 8], eax
je 0x428b75
push esi
mov esi, dword [esp + 8]
push edi
movzx ecx, byte [esi]
mov dx, ax
dec dword [esp + 0x10]
shr dx, 0xc
movzx edx, dl
shl eax, 4
mov edi, ecx
shr edi, 4
xor edx, edi
xor ax, word [edx*2 + 0x58ce14]
and ecx, 0xf
movzx eax, ax
mov dx, ax
shr dx, 0xc
movzx edx, dl
shl eax, 4
xor edx, ecx
xor ax, word [edx*2 + 0x58ce14]
inc esi
cmp dword [esp + 0x10], 0
movzx eax, ax
jne 0x428b28
pop edi
pop esi
ret

Function at 0x428d5c
Capabilities:
Read file via mapping

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 4], edi
jne 0x428da1
push dword [esp + 0xc]
push edi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp eax, edi
mov dword [esi], eax
jne 0x428d7e
xor eax, eax
jmp 0x428da4
push 0x3fe0
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
jne 0x428d9e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], edi
jmp 0x428d7a
mov dword [esi + 4], eax
xor eax, eax
inc eax
pop edi
pop esi
ret 4

Function at 0x428eb6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
jmp 0x428ee8
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x428ef4
add esi, dword [ebp - 4]
cmp dword [ebp + 0x10], esi
jne 0x428ebf
xor eax, eax
pop esi
leave
ret 0xc
mov eax, 0xe00c0009
jmp 0x428eef

Function at 0x428efb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
jmp 0x428f2d
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x428f39
add esi, dword [ebp - 4]
cmp dword [ebp + 0x10], esi
jne 0x428f04
xor eax, eax
pop esi
leave
ret 0xc
mov eax, 0xe00c000b
jmp 0x428f34
Function at 0x42c2bf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x29c]
sub esp, 0x31c
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp + 0x298], eax
push ebx
mov ebx, dword [ebp + 0x2a8]
push esi
push edi
mov edi, dword [ebp + 0x2a4]
xor esi, esi
push 0x206
lea eax, [ebp - 0x6e]
push esi
push eax
mov word [ebp - 0x70], si
call sub.MSVCR80.dll_memset
add esp, 0xc
mov ecx, 0x5e5c20
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
mov ecx, edi
mov dword [ebp - 0x7c], eax
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push dword [ebp - 0x7c]
lea eax, [ebp - 0x70]
push 0x58d2b4
push 0x104
push eax
call fcn.00429aa2
add esp, 0x14
lea eax, [ebp - 0x74]
push eax
push 0x20219
push esi
lea eax, [ebp - 0x70]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x74], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42c358
mov eax, 0xe00c0012
jmp 0x42c3d3
mov edi, 0xfe
push edi
lea eax, [ebp + 0x19a]
push esi
push eax
mov dword [ebp - 0x78], esi
mov word [ebp + 0x198], si
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x198]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push str.Name
push dword [ebp - 0x74]
mov dword [ebp - 0x80], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp edi, esi
jne 0x42c3c3
cmp dword [ebp - 0x78], 1
jne 0x42c3c3
push str..Pipe_
mov ecx, ebx
call dword [0x586418]
lea eax, [ebp + 0x198]
push eax
mov ecx, ebx
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
jmp 0x42c3c8
mov edi, 0xe00c001f
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp + 0x298]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056f17c
add ebp, 0x29c
leave
ret 8

Function at 0x4460d8
Capabilities:
Set registry value

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, ecx
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea eax, [eax + eax + 1]
push eax
push dword [esp + 0x10]
push 1
push 0
push dword [esp + 0x18]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
ret 8
Function at 0x446175
Capabilities:
Delete registry value
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x2001f
xor edi, edi
push edi
push dword [ebp + 0xc]
mov ebx, ecx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4461af
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp + 8]
call esi
xor eax, eax
jmp 0x4461d9
cmp dword [ebp + 0x10], edi
je 0x4461e0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
call esi
push dword [ebp + 8]
call esi
cmp ebx, edi
jne 0x4461ab
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
mov dword [ebp + 0x10], edi
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x10]
push eax
push edi
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x446276
cmp dword [ebp + 0x10], edi
jbe 0x446251
mov eax, dword [ebp - 8]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0056eafa
mov esi, eax
mov eax, dword [ebp - 8]
pop ecx
inc eax
push eax
push esi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x44626f
push edi
push esi
push dword [ebp - 4]
mov ecx, ebx
call fcn.00446175
test eax, eax
push esi
je 0x446270
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
cmp dword [ebp + 0x10], edi
pop ecx
ja 0x4461e3
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
jmp 0x4461cd
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4461ab

Function at 0x446506
Capabilities:
Create thread
Terminate thread

Disassembly:
push ecx
mov eax, dword [0x5e5710]
xor eax, esp
mov dword [esp], eax
push esi
push edi
push dword [esp + 0x1c]
mov esi, ecx
call fcn.004463b3
mov eax, dword [esi]
xor edi, edi
cmp eax, edi
je 0x446538
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], edi
mov eax, dword [esp + 0x14]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x44654c
mov dword [esi + 4], eax
jmp 0x44654f
mov dword [esi + 4], esi
lea eax, [esi + 0xc]
push eax
push edi
push esi
push 0x4463da
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
cmp eax, edi
setne cl
mov dword [esi], eax
pop edi
pop esi
mov eax, ecx
mov ecx, dword [esp]
xor ecx, esp
call fcn.0056f17c
pop ecx
ret 0x10
Function at 0x44657d
Capabilities:
Terminate thread

Disassembly:
push esi
push dword [esp + 8]
mov esi, ecx
call fcn.004463b3
cmp dword [esp + 0xc], 0
je 0x4465ae
mov eax, dword [esi]
test eax, eax
je 0x4465ae
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi], 0
or dword [esi + 0xc], 0xffffffff
pop esi
ret 8

Function at 0x446658
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
ret

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

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x447151
xor eax, eax
ret
mov eax, dword [esp + 0xc]
cmp eax, 8
push ebx
push esi
mov esi, dword [esp + 0xc]
not esi
mov ecx, 0xff
jb 0x44720c
push edi
mov edi, eax
shr edi, 3
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5904c0]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5904c0]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5904c0]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5904c0]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5904c0]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5904c0]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5904c0]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5904c0]
inc edx
sub eax, 8
dec edi
jne 0x447171
pop edi
test eax, eax
je 0x447225
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x5904c0]
inc edx
dec eax
jne 0x447210
mov eax, esi
pop esi
not eax
pop ebx
ret

Function at 0x44722c
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
movzx edx, byte [esp + 8]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x5904c0]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x5904c0]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x4476e3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x447717
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x447712
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x44773f
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x447728
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x14]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call sub.MSVCR80.dll_memcpy
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x4487a7
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp + 0x394], eax
push ebx
mov ebx, dword [sym.imp.MSVCR80.dll_wcsncpy]
push esi
mov esi, dword [ebp + 0x3a4]
push edi
mov edi, dword [ebp + 0x3a0]
test edi, edi
mov dword [ebp - 0x80], edi
je 0x44882c
push 0x104
lea eax, [ebp - 0x7c]
push edi
push eax
call ebx
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
add esp, 0x10
test eax, eax
jbe 0x448812
lea eax, [ebp + eax*2 - 0x7e]
movzx ecx, word [eax]
cmp cx, 0x2f
je 0x44880e
cmp cx, 0x5c
jne 0x448812
and word [eax], 0
lea eax, [ebp - 0x7c]
push eax
call fcn.00446658
test al, al
pop ecx
jne 0x44882c
push 0
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx ecx, word [esi]
test cx, cx
je 0x4488f6
mov eax, esi
mov edx, esi
movzx ecx, cx
cmp cx, 0x2f
je 0x44884b
cmp cx, 0x5c
jne 0x44884d
mov eax, edx
inc edx
inc edx
movzx ecx, word [edx]
test cx, cx
jne 0x44883f
cmp eax, esi
je 0x448886
sub eax, esi
sar eax, 1
add eax, eax
mov edi, eax
push edi
lea eax, [ebp - 0x7c]
push esi
push eax
call sub.MSVCR80.dll_memcpy
and word [ebp + edi - 0x7c], 0
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call fcn.004487a7
mov edi, dword [ebp - 0x80]
add esp, 0x14
and word [ebp + 0x18c], 0
test edi, edi
je 0x4488a4
push 0x104
lea eax, [ebp + 0x18c]
push edi
push eax
call ebx
add esp, 0xc
and word [ebp + 0x392], 0
lea eax, [ebp + 0x18c]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
mov ecx, 0x104
sub ecx, eax
push ecx
lea eax, [ebp + eax*2 + 0x18c]
push esi
push eax
call ebx
and word [ebp + 0x392], 0
lea eax, [ebp + 0x18c]
push eax
call fcn.00446658
add esp, 0x14
test al, al
jne 0x4488f6
push 0
lea eax, [ebp + 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp + 0x394]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056f17c
add ebp, 0x398
leave
ret
Function at 0x44a133
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x44a1db
cmp dword [esi + 4], 0xffffffff
jne 0x44a1db
push edi
lea edi, [esi + 0x244]
push edi
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea eax, [esi + eax*2 + 0x242]
movzx ecx, word [eax]
cmp cx, 0x5c
pop edi
je 0x44a189
cmp cx, 0x2f
je 0x44a189
and word [eax + 4], 0
mov word [eax + 2], 0x2f
cmp dword [ebp + 0x10], 1
jne 0x44a1a4
push dword [ebp + 8]
call fcn.004465bc
cmp eax, 0xffffffff
pop ecx
jne 0x44a1a4
mov eax, 0x2000000
jmp 0x44a1e0
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00447520
add esp, 0x10
test eax, eax
jne 0x44a1c2
mov eax, dword [ebp + 0x10]
jmp 0x44a1e0
push eax
call fcn.00449c16
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
pop ecx
add eax, 0x200
jmp 0x44a1e0
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x44a94e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
call dword [0x5e56f0]
xor ebx, ebx
cmp byte [0x5e5c44], bl
jne 0x44a992
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
mov byte [0x5e5c44], 1
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ebx
call sub.gdiplus.dll_GdiplusStartup
push ecx
movzx ecx, word [ebp + 8]
mov eax, esp
mov dword [eax], ecx
push ecx
mov eax, esp
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [eax], 0x591188
call fcn.0044a78d
cmp al, bl
jne 0x44a9c5
lea ecx, [ebp - 0xc]
call fcn.0044a7e6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp - 8]
push dword [0x5e72a4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebx
je 0x44a9b6
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 4]
push eax
push 1
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jge 0x44aa2e
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [ebp - 0xc]
call fcn.0044a7e6
mov eax, ebx
jmp 0x44a9c0
mov ebx, dword [ebp - 4]
jmp 0x44aa22
Function at 0x44bd57
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov esi, ecx
mov dword [ebp - 8], esi
jne 0x44bd7c
push ebx
push ebx
push ebx
push 2
call fcn.0044d06c
xor al, al
jmp 0x44bed1
push edi
call fcn.0044ae94
mov edi, dword [sym.imp.MSVCR80.dll_fseek]
or dword [esi + 8], 0xffffffff
or dword [esi + 4], 0xffffffff
push 2
push ebx
push dword [ebp + 8]
call edi
push dword [ebp + 8]
call dword [sym.imp.MSVCR80.dll_ftell]
push ebx
push ebx
push dword [ebp + 8]
mov esi, eax
call edi
add esp, 0x1c
cmp esi, ebx
jg 0x44bdc3
mov ecx, dword [ebp - 8]
push ebx
push ebx
push ebx
push 0xd
call fcn.0044d06c
jmp 0x44beb8
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0x5e5c48
call fcn.0044ab2a
lea eax, [esi + 1]
push eax
call fcn.0056f1ce
push dword [ebp + 8]
mov edi, eax
push 1
push esi
push edi
mov dword [ebp - 0xc], edi
mov byte [edi], bl
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x14
cmp eax, 1
je 0x44be11
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
mov ecx, dword [ebp - 8]
push ebx
push ebx
push ebx
push 2
call fcn.0044d06c
jmp 0x44bea6
mov eax, edi
mov ecx, eax
mov byte [ecx + esi], bl
cmp byte [ecx], bl
je 0x44be75
mov cl, byte [edi]
cmp cl, 0xa
jne 0x44be35
mov ecx, edi
sub ecx, eax
inc ecx
push ecx
push eax
lea ecx, [ebp - 4]
call fcn.0044abf5
inc edi
jmp 0x44be6c
cmp cl, 0xd
jne 0x44be70
mov ecx, edi
sub ecx, eax
cmp ecx, ebx
jle 0x44be4c
push ecx
push eax
lea ecx, [ebp - 4]
call fcn.0044abf5
push 1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 4]
mov byte [ebp + 8], 0xa
call fcn.0044abf5
lea eax, [edi + 1]
cmp byte [eax], 0xa
jne 0x44be6a
inc edi
inc edi
jmp 0x44be6c
mov edi, eax
mov eax, edi
jmp 0x44be71
inc edi
cmp byte [edi], bl
jne 0x44be1c
sub edi, eax
je 0x44be83
push edi
push eax
lea ecx, [ebp - 4]
call fcn.0044abf5
push dword [ebp - 0xc]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov esi, dword [ebp - 8]
mov eax, dword [esi]
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
add ecx, 8
push ebx
push ecx
mov ecx, esi
call dword [eax + 8]
cmp byte [esi + 0x2c], bl
je 0x44bebc
cmp dword [ebp - 4], 0x5e5c48
je 0x44beb8
push dword [ebp - 4]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
xor al, al
jmp 0x44bed0
cmp dword [ebp - 4], 0x5e5c48
je 0x44bece
push dword [ebp - 4]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x44e4d9
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x44e5b4
cmp dword [ebp + 0xc], ebx
je 0x44e5b4
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call edi
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x44e58b
push esi
mov esi, dword [sym.imp.MSVCR80.dll_malloc]
cmp dword [ebp - 4], ebx
je 0x44e53b
push dword [ebp - 4]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
je 0x44e54d
push dword [ebp - 8]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x44e58a
push dword [ebp - 0xc]
call esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
add eax, eax
push eax
call esi
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
push ebx
call edi
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x44e529
pop esi
push dword [ebp - 8]
call dword [sym.imp.MSVCR80.dll_free]
cmp dword [ebp - 0x14], ebx
pop ecx
pop edi
je 0x44e5a3
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x44e5af
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
jmp 0x44e5b6
xor eax, eax
pop ebx
leave
ret

Function at 0x44ecf7
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x234
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp + 0x1b0], eax
push ebx
push esi
mov esi, dword [ebp + 0x1bc]
push edi
mov edi, dword [ebp + 0x1c0]
xor ebx, ebx
push 0x228
lea eax, [ebp - 0x78]
push ebx
push eax
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp esi, ebx
jne 0x44ed43
xor eax, eax
jmp 0x44ed9c
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44ed3f
lea eax, [ebp - 0x7c]
push eax
push ebx
mov dword [ebp - 0x7c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x44ed80
lea eax, [ebp - 0x58]
push esi
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x44ed86
lea eax, [ebp - 0x7c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44ed65
jmp 0x44ed92
mov eax, dword [ebp - 0x74]
mov dword [edi], eax
mov dword [ebp - 0x80], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 0x1b0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056f17c
add ebp, 0x1b4
leave
ret
Function at 0x44ee58
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1cc]
sub esp, 0x24c
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp + 0x1c8], eax
mov eax, dword [ebp + 0x1d4]
push ebx
push esi
xor esi, esi
push 0x228
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x60]
push esi
push eax
xor ebx, ebx
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x64], esi
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
push 2
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0x7c], eax
jne 0x44eebd
xor eax, eax
jmp 0x44efd2
push edi
lea ecx, [ebp - 0x64]
push ecx
push eax
mov dword [ebp - 0x64], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x44efbc
cmp ebx, esi
je 0x44eee6
push ebx
call edi
xor ebx, ebx
cmp dword [ebp - 0x68], esi
je 0x44eef3
push dword [ebp - 0x68]
call edi
mov dword [ebp - 0x68], esi
lea eax, [ebp - 0x40]
push 0x58c07c
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x44ef87
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x44ef87
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp + 0x1d8]
jne 0x44ef87
push dword [ebp - 0x5c]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, esi
je 0x44ef87
lea eax, [ebp - 0x68]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x44ef87
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push dword [ebp - 0x68]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], esi
call fcn.0044e3cb
add esp, 0x10
test eax, eax
je 0x44ef87
mov eax, dword [ebp - 0x6c]
push dword [eax]
call fcn.0044e254
test eax, eax
pop ecx
push dword [ebp - 0x6c]
je 0x44ef9d
call sub.MSVCR80.dll_free
pop ecx
mov dword [ebp - 0x6c], esi
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x7c]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44eedd
jmp 0x44efb5
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x80]
mov dword [ecx], eax
mov dword [ebp - 0x74], 1
call sub.MSVCR80.dll_free
pop ecx
mov dword [ebp - 0x6c], esi
cmp ebx, esi
je 0x44efbc
push ebx
call edi
cmp dword [ebp - 0x68], esi
je 0x44efc9
push dword [ebp - 0x68]
call edi
mov dword [ebp - 0x68], esi
push dword [ebp - 0x7c]
call edi
mov eax, dword [ebp - 0x74]
pop edi
mov ecx, dword [ebp + 0x1c8]
pop esi
xor ecx, ebp
pop ebx
call fcn.0056f17c
add ebp, 0x1cc
leave
ret