joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4010a0
Capabilities:
Get disk information
Get storage device properties

Disassembly:
sub esp, 0x98
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x9c]
push ebx
push ebp
xor ebx, ebx
push 0x3e
lea ecx, [esp + 0x62]
push ebx
push ecx
mov dword [esp + 0x14], eax
mov ebp, 0x41
mov word [esp + 0x68], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
cmp eax, ebx
mov dword [esp + 0xc], eax
je 0x401210
push esi
push edi
test al, 1
je 0x4011fb
movzx esi, bp
push esi
push 0x42798c
lea edx, [esp + 0x6c]
call fcn.00401230
add esp, 8
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x401138
cmp bp, 0x41
je 0x4011fb
mov eax, dword [esp + 0x10]
mov word [eax + ebx*2], bp
add ebx, 1
jmp 0x4011fb
cmp eax, 3
jne 0x4011fb
call fcn.00401000
cmp eax, 2
je 0x4011fb
push 0x3a
lea ecx, [esp + 0x2e]
push 0
push ecx
mov word [esp + 0x34], 0
call sub.MSVCR80.dll_memset
push esi
push str.__c:
lea edx, [esp + 0x3c]
call fcn.00401250
add esp, 0x14
push 0
push 0
push 3
push 0
push 3
push 0x80000000
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4011fb
push 0x227
call sub.MFC80U.DLL_Ordinal_265
add esp, 4
mov edi, eax
xor eax, eax
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push eax
push 0x227
push edi
push 0xc
lea ecx, [esp + 0x30]
push ecx
push 0x2d1400
push esi
mov dword [edi + 4], 0x227
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4011eb
cmp dword [edi + 0x1c], 7
jne 0x4011eb
mov edx, dword [esp + 0x10]
mov word [edx + ebx*2], bp
add ebx, 1
push edi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
add ebp, 1
shr eax, 1
mov dword [esp + 0x14], eax
jne 0x4010f1
pop edi
pop esi
mov ecx, dword [esp + 0x9c]
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00422de8
add esp, 0x98
ret
Function at 0x4013a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x134
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x130], eax
push esi
mov esi, dword [edi]
call fcn.0040ecd0
test al, al
pop esi
je 0x40146f
mov eax, dword [str.none]
mov ecx, dword [0x4279f4]
mov dx, word [0x4279f8]
push 0x5a
mov dword [esp + 8], eax
lea eax, [esp + 0x12]
push 0
push eax
mov dword [esp + 0x14], ecx
mov word [esp + 0x18], dx
call sub.MSVCR80.dll_memset
add esp, 0xc
push str.true
lea ecx, [esp + 4]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x6c]
push 0x64
push edx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
mov eax, dword [edi]
add esp, 0xc
push eax
mov eax, dword [edi + 8]
push 0x64
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [edi + 4]
lea edx, [esp + 0x10]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 4]
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
test eax, eax
lea ecx, [esp]
jne 0x401469
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov al, 1
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00422de8
add esp, 0x134
ret
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x130]
xor ecx, esp
xor al, al
call fcn.00422de8
add esp, 0x134
ret
Function at 0x402090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x424262
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
xor ebx, ebx
push ebx
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ebx
call dword [sym.imp.BCGCBPRO1500u80.dll_public:_void___thiscall_CBCGPRegistry::constructor_int__int_]
push 0x427bc8
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 1
call dword [sym.imp.BCGCBPRO1500u80.dll_public_virtual:_int___thiscall_CBCGPRegistry::Open_wchar_t_const__]
test eax, eax
je 0x402131
mov ecx, dword [esp + 8]
push ecx
push str.Start_Page
lea ecx, [esp + 0x14]
call dword [sym.imp.BCGCBPRO1500u80.dll_public_virtual:_int___thiscall_CBCGPRegistry::Write_wchar_t_const___wchar_t_const__]
test eax, eax
mov byte [esp + 0x38], bl
lea ecx, [esp + 0xc]
je 0x402139
call dword [sym.imp.BCGCBPRO1500u80.dll_public_virtual:_void___thiscall_CBCGPRegistry::destructor_void_]
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea eax, [ebx + 1]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x34
ret
mov byte [esp + 0x38], bl
lea ecx, [esp + 0xc]
call dword [sym.imp.BCGCBPRO1500u80.dll_public_virtual:_void___thiscall_CBCGPRegistry::destructor_void_]
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x34
ret

Function at 0x4022d0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x234
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x230], eax
push esi
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40235c
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push str.iexplore.exe
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
test eax, eax
je 0x402377
push str.firefox.exe
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
test eax, eax
je 0x402377
lea ecx, [esp + 4]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea edx, [esp + 8]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x402307
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00422de8
add esp, 0x234
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 4]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x234]
pop esi
xor ecx, esp
xor eax, eax
call fcn.00422de8
add esp, 0x234
ret
Function at 0x402770
Capabilities:
Get common file path

Disassembly:
sub esp, 0xcc
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebp
mov ebp, dword [esp + 0xd4]
push esi
push edi
push 0x44
lea eax, [esp + 0x94]
push 0
mov ecx, 8
mov esi, str.Zbshareware_Lab
lea edi, [esp + 0x78]
push eax
rep movsd dword es:[edi], dword [esi]
call sub.MSVCR80.dll_memset
mov edx, dword [0x427d34]
mov eax, dword [0x427d38]
mov ecx, dword [str.USBGuard]
push 0x52
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x427d3c]
mov dword [esp + 0x20], edx
mov dx, word [0x427d40]
lea eax, [esp + 0x2e]
push 0
push eax
mov dword [esp + 0x30], ecx
mov word [esp + 0x34], dx
call sub.MSVCR80.dll_memset
add esp, 0x18
push 1
push 0x1a
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [sym.imp.MSVCR80.dll_wcscat_s]
push 0x427a08
push ebp
push ebx
call edi
add esp, 0xc
lea ecx, [esp + 0x70]
mov esi, ebx
call fcn.0040e9f0
test al, al
je 0x40285c
lea ecx, [esp + 0x70]
push ecx
push ebp
push ebx
call edi
push 0x427a08
push ebp
push ebx
call edi
add esp, 0x18
lea ecx, [esp + 0xc]
call fcn.0040e9f0
test al, al
je 0x40285c
lea edx, [esp + 0xc]
push edx
push ebp
push ebx
call edi
push 0x427a08
push ebp
push ebx
call edi
add esp, 0x18
mov al, 1
jmp 0x40286e
push 0x427d0c
push ebp
push ebx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
xor al, al
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00422de8
add esp, 0xcc
ret 4

Function at 0x402890
Capabilities:
Get common file path

Disassembly:
sub esp, 0x68
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x64], eax
push ebp
push esi
push edi
push 0x427d0c
push 0x200
push ebx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
push 1
push 0x23
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebp, dword [sym.imp.MSVCR80.dll_wcscat_s]
push 0x427a08
push 0x200
push ebx
call ebp
push 0x44
lea eax, [esp + 0x3c]
push 0
mov ecx, 8
mov esi, str.Zbshareware_Lab
lea edi, [esp + 0x20]
push eax
rep movsd dword es:[edi], dword [esi]
call sub.MSVCR80.dll_memset
add esp, 0x18
lea ecx, [esp + 0xc]
mov esi, ebx
call fcn.0040e9f0
test al, al
je 0x402936
lea ecx, [esp + 0xc]
push ecx
push 0x200
push ebx
call ebp
push 0x427a08
push 0x200
push ebx
call ebp
add esp, 0x18
pop edi
pop esi
mov al, 1
pop ebp
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00422de8
add esp, 0x68
ret
push 0x427d0c
push 0x200
push ebx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
mov ecx, dword [esp + 0x7c]
add esp, 0xc
pop edi
pop esi
pop ebp
xor ecx, esp
xor al, al
call fcn.00422de8
add esp, 0x68
ret
Function at 0x402fe0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x42c
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x428], eax
mov edx, dword [0x4279f4]
xor eax, eax
push esi
push edi
mov di, word [0x4279f8]
push 0x3f6
push eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov word [esp + 0x36], ax
mov esi, ecx
mov ecx, dword [str.none]
lea eax, [esp + 0x42]
push eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov word [esp + 0x1c], di
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov word [esp + 0x44], di
call sub.MSVCR80.dll_memset
mov edx, 8
add esp, 0xc
cmp dword [esi + 0x50], edx
jb 0x40306a
mov ecx, dword [esi + 0x3c]
jmp 0x40306d
lea ecx, [esi + 0x3c]
cmp dword [esi + 0x6c], edx
jb 0x403077
mov eax, dword [esi + 0x58]
jmp 0x40307a
lea eax, [esi + 0x58]
cmp dword [esi + 0x88], edx
jb 0x403087
mov esi, dword [esi + 0x74]
jmp 0x40308a
add esi, 0x74
push ecx
push 0x200
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
pop edi
lea ecx, [esp + 4]
lea eax, [esp + 0x2c]
pop esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4030d6
test dx, dx
je 0x4030d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4030d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4030b0
xor eax, eax
jmp 0x4030db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4030f4
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.00422de8
add esp, 0x42c
ret
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.MSVCR80.dll__wtoi]
mov ecx, dword [esp + 0x42c]
add esp, 4
xor ecx, esp
call fcn.00422de8
add esp, 0x42c
ret
Function at 0x403770
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4240fc
mov eax, dword fs:[0]
push eax
sub esp, 0x648
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x644], eax
push ebp
push esi
push edi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0x658]
mov dword fs:[0], eax
mov edx, dword [0x4279f4]
mov si, word [0x4279f8]
mov ebp, dword [esp + 0x66c]
xor eax, eax
push 0x3f6
push eax
mov dword [esp + 0x3e], eax
mov dword [esp + 0x42], eax
mov dword [esp + 0x46], eax
mov dword [esp + 0x4a], eax
mov dword [esp + 0x4e], eax
mov dword [esp + 0x52], eax
mov dword [esp + 0x56], eax
mov word [esp + 0x5a], ax
mov edi, ecx
mov ecx, dword [str.none]
lea eax, [esp + 0x266]
push eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov word [esp + 0x40], si
mov dword [esp + 0x260], ecx
mov dword [esp + 0x264], edx
mov word [esp + 0x268], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x427eb8
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 0x1fe
lea ecx, [esp + 0x5a]
push 0
mov dword [esp + 0x668], 0
push ecx
mov word [esp + 0x60], 0
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x674]
push 0xa
push 0x100
lea edx, [esp + 0x68]
push edx
push eax
call dword [sym.imp.MSVCR80.dll__itow_s]
add esp, 0x1c
test eax, eax
je 0x403891
lea ecx, [esp + 0x10]
mov dword [esp + 0x660], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor al, al
jmp 0x40394a
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x14]
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__]
mov eax, 8
cmp dword [edi + 0x50], eax
jb 0x4038af
mov edi, dword [edi + 0x3c]
jmp 0x4038b2
add edi, 0x3c
cmp dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
jae 0x4038c0
lea eax, [esp + 0x14]
push edi
push 0x200
lea edx, [esp + 0x25c]
push edx
lea ecx, [esp + 0x38]
push ecx
push eax
push str.ReferralLinks
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x254]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403916
test dx, dx
je 0x403912
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403916
add eax, 4
add ecx, 4
test dx, dx
jne 0x4038f0
xor eax, eax
jmp 0x40391b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x403875
lea edx, [esp + 0x254]
push edx
mov ecx, ebp
call dword [0x4276d8]
lea ecx, [esp + 0x10]
mov dword [esp + 0x660], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x658]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x644]
xor ecx, esp
call fcn.00422de8
add esp, 0x654
ret 8
Function at 0x403980
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4240bc
mov eax, dword fs:[0]
push eax
sub esp, 0x648
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x644], eax
push esi
push edi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0x654]
mov dword fs:[0], eax
mov edx, dword [0x4279f4]
mov si, word [0x4279f8]
xor eax, eax
push 0x3f6
push eax
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
mov dword [esp + 0x42], eax
mov dword [esp + 0x46], eax
mov dword [esp + 0x4a], eax
mov dword [esp + 0x4e], eax
mov dword [esp + 0x52], eax
mov word [esp + 0x56], ax
mov edi, ecx
mov ecx, dword [str.none]
lea eax, [esp + 0x262]
push eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov word [esp + 0x3c], si
mov dword [esp + 0x25c], ecx
mov dword [esp + 0x260], edx
mov word [esp + 0x264], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push str.Size
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 0x1fe
lea ecx, [esp + 0x56]
push 0
mov dword [esp + 0x664], 0
push ecx
mov word [esp + 0x5c], 0
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x670]
push 0xa
push 0x100
lea edx, [esp + 0x64]
push edx
push eax
call dword [sym.imp.MSVCR80.dll__itow_s]
add esp, 0x1c
test eax, eax
je 0x403a99
lea ecx, [esp + 0xc]
mov dword [esp + 0x65c], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
jmp 0x403b4f
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
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__]
mov eax, 8
cmp dword [edi + 0x50], eax
jb 0x403ab7
mov edi, dword [edi + 0x3c]
jmp 0x403aba
add edi, 0x3c
cmp dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
jae 0x403ac8
lea eax, [esp + 0x10]
push edi
push 0x200
lea edx, [esp + 0x258]
push edx
lea ecx, [esp + 0x34]
push ecx
push eax
push str.ReferralFilesSize
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x28]
lea eax, [esp + 0x250]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403b18
test dx, dx
je 0x403b14
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403b18
add eax, 4
add ecx, 4
test dx, dx
jne 0x403af2
xor eax, eax
jmp 0x403b1d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x403a7d
lea edx, [esp + 0x250]
push edx
call dword [sym.imp.MSVCR80.dll__wtoi]
add esp, 4
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x65c], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x654]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x644]
xor ecx, esp
call fcn.00422de8
add esp, 0x654
ret 4
Function at 0x403b80
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x42c
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x428], eax
mov edx, dword [0x4279f4]
xor eax, eax
push esi
push edi
mov di, word [0x4279f8]
push 0x3f6
push eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov word [esp + 0x36], ax
mov esi, ecx
mov ecx, dword [str.none]
lea eax, [esp + 0x42]
push eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov word [esp + 0x1c], di
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov word [esp + 0x44], di
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x403c06
mov esi, dword [esi + 4]
jmp 0x403c09
add esi, 4
push esi
push 0x200
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x14]
push edx
push str.Index
push str.FirstShow
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
pop edi
lea ecx, [esp + 4]
lea eax, [esp + 0x2c]
pop esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403c59
test dx, dx
je 0x403c55
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403c59
add eax, 4
add ecx, 4
test dx, dx
jne 0x403c33
xor eax, eax
jmp 0x403c5e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x403c7a
or eax, 0xffffffff
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.00422de8
add esp, 0x42c
ret
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.MSVCR80.dll__wtoi]
mov ecx, dword [esp + 0x42c]
add esp, 4
xor ecx, esp
call fcn.00422de8
add esp, 0x42c
ret
Function at 0x405c50
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x234
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x230], eax
push esi
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x405cdc
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push str.USBGuardUpdate.exe
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
test eax, eax
je 0x405cf4
push str.UpdateUSBGuard.exe
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
test eax, eax
je 0x405cf4
lea ecx, [esp + 4]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea edx, [esp + 8]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x405c87
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00422de8
add esp, 0x234
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 4]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x234]
pop esi
xor ecx, esp
mov al, 1
call fcn.00422de8
add esp, 0x234
ret
Function at 0x407660
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425670
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x435028]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x40
mov byte [esi + 0xa9], bl
mov byte [esi + 0xa8], 1
mov byte [esi + 0x1ea], bl
mov dword [ebp - 4], ebx
call sub.MFC80U.DLL_Ordinal_265
add esp, 4
mov dword [esi + 0x94], eax
jmp 0x4076e7
mov eax, dword [esi + 0x94]
mov dword [esi + 0x90], eax
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x1b4], ebx
mov dword [esi + 0x98], 0x67452301
mov dword [esi + 0x9c], 0xefcdab89
mov dword [esi + 0xa0], 0x98badcfe
mov dword [esi + 0xa4], 0x10325476
mov al, 1
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 0x408420
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x10
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0xc], eax
mov edx, dword [0x4279f4]
mov eax, dword [esp + 0x14]
mov ecx, dword [str.none]
mov dword [esp + 4], edx
lea edx, [eax + 0x114]
push edx
mov dword [esp + 4], ecx
mov cx, word [0x4279f8]
push 0x32
push esi
mov word [esp + 0x14], cx
lea ecx, [esp + 0xc]
push ecx
lea edx, [eax + 0x578]
push edx
add eax, 0x514
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp]
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4084a6
test dx, dx
je 0x4084a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4084a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x408480
xor eax, eax
jmp 0x4084ab
sbb eax, eax
sbb eax, 0xffffffff
mov ecx, dword [esp + 0xc]
test eax, eax
setne al
xor ecx, esp
call fcn.00422de8
add esp, 0x10
ret 4
Function at 0x408890
Capabilities:
Identify system language via api

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
and ax, 0x3ff
mov word [0x435a04], ax
movzx eax, ax
add eax, 0xffffffff
cmp eax, 0x29
ja case.0x4088b6.1
movzx eax, byte [eax + 0x408a94]
jmp dword [eax*4 + 0x408a48]
mov ecx, dword [esi + 0xf0]
lea eax, [esp + 4]
call fcn.00408f80
mov al, 1
ret 4
mov ecx, dword [esi + 0xec]
lea eax, [esp + 4]
call fcn.00408f80
mov al, 1
ret 4
mov ecx, dword [esi + 0xe8]
lea eax, [esp + 4]
call fcn.00408f80
mov al, 1
ret 4
mov ecx, dword [esi + 0xe0]
lea eax, [esp + 4]
call fcn.00408f80
mov al, 1
ret 4
mov ecx, dword [esi + 0xd0]
lea eax, [esp + 4]
call fcn.00408f80
mov al, 1
ret 4
mov ecx, dword [esi + 0xdc]
lea eax, [esp + 4]
call fcn.00408f80
mov al, 1
ret 4
mov ecx, dword [esi + 0xf4]
lea eax, [esp + 4]
call fcn.00408f80
mov al, 1
ret 4
mov ecx, dword [esi + 0xd8]
lea eax, [esp + 4]
call fcn.00408f80
mov al, 1
ret 4
mov ecx, dword [esi + 0xe4]
lea eax, [esp + 4]
call fcn.00408f80
mov al, 1
ret 4
mov ecx, dword [esi + 0xd4]
lea eax, [esp + 4]
call fcn.00408f80
mov al, 1
ret 4
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 4]
call fcn.00408f80
mov al, 1
ret 4
mov ecx, dword [esi + 0x100]
lea eax, [esp + 4]
call fcn.00408f80
mov al, 1
ret 4
mov ecx, dword [esi + 0xf8]
lea eax, [esp + 4]
call fcn.00408f80
mov al, 1
ret 4
mov ecx, dword [esi + 0x104]
lea eax, [esp + 4]
call fcn.00408f80
mov al, 1
ret 4
mov ecx, dword [esi + 0xfc]
lea eax, [esp + 4]
call fcn.00408f80
mov al, 1
ret 4
mov ecx, dword [esi + 0x108]
lea eax, [esp + 4]
call fcn.00408f80
mov al, 1
ret 4
mov ecx, dword [esi + 0x10c]
lea eax, [esp + 4]
call fcn.00408f80
mov al, 1
ret 4
mov ecx, dword [esi + 0x110]
lea eax, [esp + 4]
call fcn.00408f80
mov al, 1
ret 4
mov ecx, dword [esi + 0xc8]
mov edx, dword [esp + 4]
nop
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x408a30
xor al, al
ret 4