joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413dae
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6b4
mov eax, dword [0x4f840c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x6a0], eax
mov eax, dword [ebp + 0x10]
push edi
push eax
call fcn.00413942
pop ecx
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_OleInitialize]
mov esi, dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
push 4
call esi
pop ecx
cmp eax, edi
je 0x413dfc
push eax
call fcn.004136e2
mov dword [ebp - 0x6a8], eax
jmp 0x413e02
mov dword [ebp - 0x6a8], edi
push ebx
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x208
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call dword [sym.imp.MSVCR100.dll_wcsrchr]
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x6a4]
push eax
mov dword [ebp - 0x6ac], edi
mov dword [ebp - 0x6a4], edi
call fcn.004972bd
mov eax, dword [ebp - 0x6a8]
pop ecx
lea ebx, [ebp - 0x6ac]
call fcn.00413712
mov ecx, dword [ebp - 0x6a4]
push dword [ebp - 0x6ac]
mov eax, dword [ecx]
call dword [eax + 0x10]
push 0xc0
call esi
pop ecx
cmp eax, edi
je 0x413eb5
push str.SOUIHOST
push dword [ebp - 0x6a0]
mov ecx, eax
push dword [ebp - 0x6a4]
call fcn.0043eb21
mov ebx, eax
jmp 0x413eb7
xor ebx, ebx
lea eax, [ebp - 0x6b4]
push eax
call fcn.004141a9
lea edi, [ebx + 4]
mov esi, eax
call fcn.004134f1
lea eax, [ebp - 0x6b4]
push eax
call fcn.00413fec
lea eax, [ebp - 0x69c]
xor edi, edi
push eax
push edi
mov dword [ebp - 0x69c], edi
call fcn.0044ada0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x69c]
mov eax, dword [ecx]
push edi
push dword [ebp - 0x6a0]
call dword [eax + 0xc]
push str.uidef:xml_init
push dword [ebp - 0x69c]
lea ecx, [ebx + 0x1c]
call fcn.00449671
lea eax, [ebp - 0x698]
push eax
call fcn.004124fa
push edi
push edi
push edi
push edi
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x698]
call fcn.0043a4fa
push edi
push edi
push pe_nt_image_headers32
push dword [ebp - 0x45c]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x45c]
lea ecx, [ebp - 0x468]
call fcn.0041353b
push 1
push dword [ebp - 0x45c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x45c]
mov ecx, ebx
call fcn.0043bf74
lea esi, [ebp - 0x698]
mov dword [ebp - 0x6a0], eax
call fcn.0041257d
cmp ebx, edi
je 0x413f93
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
mov ecx, dword [ebp - 0x69c]
pop ebx
cmp ecx, edi
je 0x413fa3
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x6a4]
cmp ecx, edi
je 0x413fb2
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x6ac]
cmp ecx, edi
je 0x413fc1
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x6a8]
cmp esi, edi
je 0x413fd0
call fcn.00414020
call dword [sym.imp.ole32.dll_OleUninitialize]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x6a0]
pop edi
xor ecx, ebp
pop esi
call fcn.00485d44
leave
ret 0x10
Function at 0x4149d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
push edi
lea edi, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4149e0
mov ecx, dword [ecx + 4]
sub eax, edi
sar eax, 1
inc eax
push eax
mov eax, dword [ebp + 8]
push esi
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
pop ebp
ret 8

Function at 0x414af0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x13f8
call fcn.00486600
mov eax, dword [0x4f840c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
lea edx, [ebp - 0x13f4]
push edx
lea edx, [ebp - 0x13f0]
push edx
lea edx, [ebp - 0x13f8]
push edx
push 0
push eax
mov eax, dword [ecx + 4]
push eax
mov dword [ebp - 0x13f4], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414b6f
lea ecx, [ebp - 0x13f0]
push ecx
call dword [sym.imp.MSVCR100.dll_wcslen]
add esp, 4
lea ecx, [ebp - 0x13f0]
call fcn.0040885a
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00485d44
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00485d44
mov esp, ebp
pop ebp
ret 8
Function at 0x414b90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c290b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x4f840c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov edi, ecx
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], esi
mov word [ebp - 0x234], cx
lea edx, [ebp - 0x234]
push edx
mov ecx, edi
mov dword [ebp - 4], esi
call sym.Uninstall.exe_public:_int___thiscall_CRegistry::GetSubKey_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
test eax, eax
je 0x414caa
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x238], esi
jae 0x414c1b
lea eax, [ebp - 0x234]
mov edx, dword [edi + 4]
lea ecx, [ebp - 0x238]
push ecx
push 0xf003f
push esi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x414c8a
lea eax, [ebp - 0x240]
push eax
mov eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x244]
push edx
push esi
push ebx
push eax
mov dword [ebp - 0x240], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414c8a
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.MSVCR100.dll_wcslen]
mov esi, dword [ebp - 0x23c]
add esp, 4
lea ecx, [ebp - 0x218]
call fcn.0040885a
cmp dword [ebp - 0x220], 8
jb 0x414ca3
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 1
jmp 0x414cc5
cmp dword [ebp - 0x220], 8
jb 0x414cc3
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00485d44
mov esp, ebp
pop ebp
ret 8

Function at 0x414cf0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4f840c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_wcslen]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x4dee58
mov edi, ecx
mov dword [ebp - 0x210], 0x104
call ebx
add esp, 4
mov ecx, 0x4dee58
call fcn.0040885a
mov edx, dword [edi + 8]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x20c]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x414d89
inc dword [edi + 8]
lea ecx, [ebp - 0x20c]
push ecx
call ebx
add esp, 4
lea ecx, [ebp - 0x20c]
call fcn.0040885a
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00485d44
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov dword [edi + 8], 0
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00485d44
mov esp, ebp
pop ebp
ret 4
Function at 0x418ea0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1718
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4f840c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x418ffc
cmp byte [edi + 0x49], bl
je 0x418ffc
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x418fe9
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x418f14
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x418f2c
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x418f6e
dec eax
je 0x418f72
sub eax, 2
je 0x418fcb
cmp dword [ebp - 0x18], 0x10
jb 0x418fe9
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
jmp 0x418ffe
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x418f82
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x418fac
cmp ebx, 0x10
jae 0x418f91
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x418fd6
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x418fed
test esi, esi
jne 0x418f20
push esi
lea ebx, [esi + 8]
lea esi, [ebp - 0x2c]
call fcn.004189e0
jmp 0x418f1a
cmp dword [ebp - 0x18], 0x10
jb 0x418ffc
mov eax, dword [ebp - 0x2c]
jmp 0x418ff2
cmp dword [ebp - 0x18], 0x10
jb 0x418fe9
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
jmp 0x418ffe
cmp ebx, 0x10
jb 0x418ffc
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00485d44
mov esp, ebp
pop ebp
ret
Function at 0x4193d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c06cb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4f840c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00487f30
push 4
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
add esp, 4
test edi, edi
je 0x41944d
call fcn.00487ce3
mov dword [edi], eax
call fcn.00487a24
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00487e71
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x419443
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00487e99
jmp 0x41944f
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x419ea0
Capabilities:
Hash data with md5

Disassembly:
mov eax, ecx
xor ecx, ecx
mov byte [eax + 0x68], cl
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x419ed0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
xor eax, eax
mov byte [esi + 0x68], al
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
mov ecx, esi
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
call sym.Uninstall.exe_private:_void___thiscall_MD5::update_unsigned_char_const___unsigned_int_
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x419f20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push esi
mov esi, ecx
mov byte [esi + 0x68], al
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x419f5a
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call sym.Uninstall.exe_private:_void___thiscall_MD5::update_unsigned_char_const___unsigned_int_
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x419f70
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push esi
mov esi, ecx
mov byte [esi + 0x68], al
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 8]
push eax
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
call sym.Uninstall.exe_public:_void___thiscall_MD5::update_class_std::basic_ifstream_char__struct_std::char_traits_char____
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x419fd0
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x41b5c0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37cc
call fcn.00486600
mov eax, dword [0x4f840c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
xor edi, edi
mov dword [ebp - 0x37cc], ebx
mov dword [ebp - 0x37c4], edi
lea ebx, [ebx]
push edi
push str..PhysicalDrive_d
lea eax, [ebp - 0x104]
push 0x100
push eax
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x10
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x41b7b8
xor eax, eax
push 0x2710
lea edx, [ebp - 0x2fe4]
push ebx
mov dword [ebp - 0x37c0], eax
mov dword [ebp - 0x37bc], eax
push edx
mov dword [ebp - 0x37c8], ebx
mov dword [ebp - 0x37b8], eax
mov dword [ebp - 0x37c0], ebx
mov dword [ebp - 0x37bc], ebx
call sub.MSVCR100.dll_memset
add esp, 0xc
push ebx
lea eax, [ebp - 0x37c8]
push eax
push 0x2710
lea ecx, [ebp - 0x2fe4]
push ecx
push 0xc
lea edx, [ebp - 0x37c0]
push edx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x41b7ab
mov eax, dword [ebp - 0x2fd8]
push ebx
lea edi, [ebp - 0x33cc]
lea ecx, [ebp - 0x2fe4]
call fcn.0041b450
mov eax, dword [ebp - 0x2fd4]
push ebx
lea edi, [ebp - 0x8d4]
lea ecx, [ebp - 0x2fe4]
call fcn.0041b450
mov eax, dword [ebp - 0x2fd0]
push ebx
lea edi, [ebp - 0x37b4]
lea ecx, [ebp - 0x2fe4]
call fcn.0041b450
mov eax, dword [ebp - 0x2fcc]
push 1
lea edi, [ebp - 0x4ec]
lea ecx, [ebp - 0x2fe4]
call fcn.0041b450
add esp, 0x10
cmp byte [0x50b7e8], bl
jne 0x41b76c
movsx eax, byte [ebp - 0x4ec]
mov edi, dword [sym.imp.MSVCR100.dll_isalnum]
push eax
call edi
add esp, 4
test eax, eax
jne 0x41b72b
movsx ecx, byte [ebp - 0x4d9]
push ecx
call edi
add esp, 4
test eax, eax
je 0x41b76c
xor eax, eax
lea ecx, [ecx]
mov cl, byte [ebp + eax - 0x4ec]
mov byte [eax + 0x50b7e8], cl
inc eax
cmp cl, bl
jne 0x41b730
xor eax, eax
jmp 0x41b750
mov cl, byte [ebp + eax - 0x8d4]
mov byte [eax + 0x50bbe8], cl
inc eax
cmp cl, bl
jne 0x41b750
mov dword [ebp - 0x37cc], 1
push 0x2710
lea edx, [ebp - 0x2fe4]
push ebx
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push ebx
lea eax, [ebp - 0x37c8]
push eax
push 0x2710
lea ecx, [ebp - 0x2fe4]
push ecx
push ebx
push ebx
push 0x700a0
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edi, dword [ebp - 0x37c4]
jmp 0x41b7b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
mov dword [ebp - 0x37c4], edi
cmp edi, 0x10
jl 0x41b5f0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x37cc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00485d44
mov esp, ebp
pop ebp
ret
Function at 0x41c320
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2692
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4f840c]
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 esi, dword [ebp + 8]
xor ebx, ebx
push 0x208
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x21a]
xor eax, eax
push ebx
mov dword [ebp - 0x224], ebx
push ecx
mov dword [ebp - 0x228], esi
mov word [ebp - 0x21c], ax
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.MSVCR100.dll_wcslen]
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0x4dee58
mov word [esi], dx
call edi
add esp, 0x10
mov ecx, 0x4dee58
call fcn.0040885a
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x220]
push eax
push ecx
mov dword [ebp - 4], ebx
push ebx
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x220], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebp - 0x220]
cmp eax, ebx
je 0x41c416
lea edx, [ebp - 0x21c]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x41c416
lea eax, [ebp - 0x21c]
push eax
call edi
add esp, 4
lea ecx, [ebp - 0x21c]
call fcn.0040885a
push 0x4e0d2c
call edi
add esp, 4
mov edi, eax
push 0x4e0d2c
mov eax, esi
call fcn.004087a1
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.00485d44
mov esp, ebp
pop ebp
ret

Function at 0x41d3a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4f840c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41d409
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea ecx, [ebp - 0x20c]
push ebx
push ecx
call sub.MSVCR100.dll__wcsicmp
add esp, 8
test eax, eax
je 0x41d423
lea edx, [ebp - 0x230]
push edx
push esi
call edi
test eax, eax
jne 0x41d3e7
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.00485d44
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00485d44
mov esp, ebp
pop ebp
ret
Function at 0x41ebb0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c13f8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4f840c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x40], al
mov dword [ebp - 4], eax
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea ecx, [ebp - 0x48]
push ecx
push eax
mov byte [ebp - 0x24], al
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
mov dword [ebp - 0x48], eax
call esi
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_malloc]
mov ebx, eax
add esp, 4
lea eax, [ebp - 0x48]
push eax
push ebx
call esi
xor esi, esi
test ebx, ebx
je 0x41ec78
mov eax, dword [ebx + 0x190]
mov dword [ebp - 0x44], esi
test eax, eax
jle 0x41ec78
dec eax
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x44]
mov cl, byte [ebx + ecx + 0x194]
lea edx, [ebp + esi - 0x24]
call fcn.0041eb70
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x4c]
jge 0x41ec64
mov byte [ebp + esi - 0x22], 0x3a
jmp 0x41ec69
mov byte [ebp + esi - 0x22], 0x23
inc eax
add esi, 3
mov dword [ebp - 0x44], eax
cmp eax, dword [ebx + 0x190]
jl 0x41ec42
push ebx
call dword [sym.imp.MSVCR100.dll_free]
xor ebx, ebx
add esp, 4
cmp esi, ebx
jle 0x41ed10
mov byte [ebp + esi - 0x25], bl
mov edx, dword [ebp - 0x24]
push edx
lea esi, [ebp - 0x40]
call fcn.00421d30
mov esi, 0xf
lea eax, [ebp - 0x40]
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
mov byte [edi], bl
cmp edi, eax
je 0x41ed04
cmp dword [edi + 0x14], 0x10
jb 0x41ecc2
mov ecx, dword [edi]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
mov byte [edi], bl
cmp dword [ebp - 0x2c], 0x10
jae 0x41ecf1
mov edx, dword [ebp - 0x30]
inc edx
push edx
lea eax, [ebp - 0x40]
push eax
push edi
call dword [sym.imp.MSVCR100.dll_memmove]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], eax
jmp 0x41ed4a
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov dword [edi], ecx
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], eax
jmp 0x41ed4a
cmp dword [ebp - 0x2c], 0x10
jb 0x41ed4a
mov ecx, dword [ebp - 0x40]
push ecx
jmp 0x41ed41
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
push 0x4e0ba8
mov byte [edi], bl
call dword [sym.imp.MSVCR100.dll_strlen]
add esp, 4
push eax
push 0x4e0ba8
mov ecx, edi
call fcn.0040dda8
cmp dword [ebp - 0x2c], 0x10
jb 0x41ed4a
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00485d44
mov esp, ebp
pop ebp
ret
Function at 0x41f590
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x698
mov eax, dword [0x4f840c]
xor eax, esp
mov dword [esp + 0x694], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x41f674
push 0x100
lea ecx, [esp + 0x19c]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
je 0x41f674
lea edx, [esp + 0x198]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x41f674
push 0x3ff
lea eax, [esp + 0x29d]
push 0
push eax
mov byte [esp + 0x2a4], 0
call sub.MSVCR100.dll_memset
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
add esp, 0xc
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
lea edx, [esp + 0x298]
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41f630
lea ecx, [esp + 0x298]
push ecx
call dword [sym.imp.MSVCR100.dll_strlen]
add esp, 4
push eax
lea edx, [esp + 0x29c]
push edx
mov ecx, edi
call fcn.0040dda8
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x694]
xor ecx, esp
call fcn.00485d44
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x69c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00485d44
mov esp, ebp
pop ebp
ret

Function at 0x427d30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [sym.Uninstall.exe_class_CMiniDumper__CMiniDumper::s_pMiniDumper]
test ecx, ecx
jne 0x427d43
xor eax, eax
pop ebp
ret 4
pop ebp
jmp sym.Uninstall.exe_private:_long_int___thiscall_CMiniDumper::writeMiniDump_struct__EXCEPTION_POINTERS__