joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101ad25
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push edi
xor eax, eax
push eax
push eax
push 3
push eax
push eax
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_Ordinal_52]
mov edi, eax
cmp edi, 0xffffffff
je 0x101ae57
push ebx
push esi
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [ebp + 0x10]
mov esi, eax
shr esi, 0xa
test ebx, ebx
jne 0x101ad69
lea ebx, [esi + esi]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push ebx
push esi
push 0x1003028
lea eax, [ebp - 0x44]
push 0x20
push eax
call edi
mov eax, dword [0x103e87c]
mov ecx, dword [eax]
add esp, 0x14
lea edx, [ebp + 8]
push edx
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x101adcc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0xb0]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xb4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
push 0
push eax
call dword [ecx + 0xac]
jmp 0x101ae55
cmp esi, 7
ja 0x101adda
mov dword [ebp + 0x10], 0x64
jmp 0x101adf4
cmp esi, 0x3c
jbe 0x101ade8
mov dword [ebp + 0x10], 0xa
jmp 0x101adf4
mov eax, 0x258
xor edx, edx
div esi
mov dword [ebp + 0x10], eax
push ebx
push 0x100301c
lea eax, [ebp - 0x44]
push 0x20
push eax
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_Ordinal_298]
add esp, 0x10
push 0x108c858
lea eax, [ebp - 0x44]
push eax
push 0x1003000
push dword [ebp + 0xc]
call ebx
mov eax, dword [ebp + 0x10]
imul eax, esi
push 0x64
pop ecx
xor edx, edx
div ecx
lea ecx, [eax + esi]
push ecx
sub esi, eax
push esi
push 0x1003028
lea eax, [ebp - 0x44]
push 0x20
push eax
call edi
add esp, 0x14
push 0x108c858
lea eax, [ebp - 0x44]
push eax
push 0x1002ff4
push dword [ebp + 0xc]
call ebx
pop esi
pop ebx
pop edi
leave
ret 0xc
Function at 0x101b26d
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
xor esi, esi
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
je 0x101b437
mov eax, dword [ebx]
push edi
lea ecx, [ebp - 8]
push ecx
mov edi, 0x1003250
push edi
push ebx
call dword [eax + 0x1c]
cmp dword [ebp - 8], esi
je 0x101b436
push 8
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
je 0x101b2bc
push dword [ebp - 8]
mov ecx, eax
call fcn.01007684
mov esi, eax
test esi, esi
je 0x101b436
push 0x104
lea eax, [ebp - 0x214]
push eax
push 0x899f
push dword [0x103d7d0]
call dword [sym.imp.SHLWAPI.dll_Ordinal_107]
mov eax, dword [esi]
lea ecx, [ebp - 0x214]
push ecx
push esi
call dword [eax + 8]
mov eax, dword [esi]
push 1
push esi
call dword [eax + 0xc]
push 1
mov ecx, esi
call fcn.0101ad08
mov eax, dword [ebx]
lea ecx, [ebp - 4]
push ecx
push 0x1003248
push ebx
call dword [eax + 0x18]
cmp dword [ebp - 4], 0
je 0x101b436
push 0xc
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
je 0x101b332
push dword [ebp - 4]
mov ecx, eax
call fcn.01007c36
mov esi, eax
jmp 0x101b334
xor esi, esi
test esi, esi
je 0x101b436
mov eax, dword [esi]
and dword [ebp - 0xc], 0
push edi
push esi
call dword [eax + 0x64]
mov eax, dword [esi]
push 0x10031f8
push esi
call dword [eax + 0x38]
mov eax, dword [esi]
push 0x10031d8
push esi
call dword [eax + 0x3c]
mov eax, dword [esi]
mov ebx, 0x10016f0
push ebx
push esi
call dword [eax + 0x8c]
mov eax, dword [esi]
push 2
push 0x10031d0
mov edi, 0x10031b8
push edi
push 0
push esi
call dword [eax + 0x40]
mov eax, dword [esi]
push 2
push edi
push 0
push esi
call dword [eax + 0x74]
mov eax, dword [esi]
push 1
push esi
call dword [eax + 0x6c]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x44]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x48]
mov eax, dword [esi]
xor ebx, ebx
push ebx
push esi
call dword [eax + 0x60]
push 0x10466b0
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push edi
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
push 0x80
push 3
push ebx
push 3
push 0x80000000
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_52]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x101b41a
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
inc edi
shr eax, 0xa
neg edi
sbb edi, edi
push ebx
and edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x101b41d
mov edi, dword [ebp - 0xc]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x50]
push dword [ebp + 8]
push esi
call fcn.010101cd
push 1
mov ecx, esi
call fcn.0101021e
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x102c8d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push 0x10060a8
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x102c930
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x10060e4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x102c923
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x102c932
xor eax, eax
pop esi
leave
ret 4

Function at 0x102d0a7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
push 1
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
je 0x102d0de
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_Ordinal_312]
mov esi, eax
jmp 0x102d212
push dword [ebp + 0x18]
lea ecx, [ebp - 0x110]
call fcn.0102cdcf
xor eax, eax
cmp dword [ebp - 8], eax
jne 0x102d105
lea ecx, [ebp - 0x110]
call fcn.0102ce28
xor eax, eax
jmp 0x102d214
cmp dword [ebp + 0x1c], eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0xfffffffffffffffc
pop ebx
je 0x102d134
push dword [ebp + 0x1c]
call esi
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and eax, ebx
call fcn.0102c870
mov eax, esp
push edi
push dword [ebp + 0x1c]
push eax
call fcn.0102cbf9
cmp dword [ebp + 0x10], 0
mov dword [ebp + 0x1c], eax
jne 0x102d143
and dword [ebp + 0x10], 0
jmp 0x102d167
push dword [ebp + 0x10]
call esi
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and eax, ebx
call fcn.0102c870
mov eax, esp
push edi
push dword [ebp + 0x10]
push eax
call fcn.0102cbf9
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0xc], 0
jne 0x102d173
and dword [ebp - 4], 0
jmp 0x102d197
push dword [ebp + 0xc]
call esi
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and eax, ebx
call fcn.0102c870
mov eax, esp
push edi
push dword [ebp + 0xc]
push eax
call fcn.0102cbf9
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
test edi, edi
jne 0x102d1a2
xor eax, eax
jmp 0x102d1bf
push edi
call esi
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and eax, ebx
call fcn.0102c870
mov eax, esp
push esi
push edi
push eax
call fcn.0102cbf9
push dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
push ebx
push dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
push dword [ebp + 0x14]
mov esi, eax
lea eax, [esi + 1]
push eax
push dword [ebp - 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test edi, edi
je 0x102d1f7
cmp dword [ebp + 0xc], 0
jne 0x102d207
lea eax, [ebx - 2]
cmp esi, eax
jne 0x102d207
mov eax, dword [ebp + 0x14]
and word [eax + ebx*2 - 2], 0
lea ecx, [ebp - 0x110]
call fcn.0102ce28
mov eax, esi
lea esp, [ebp - 0x11c]
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x102d221
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
push 1
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
je 0x102d252
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov esi, eax
jmp 0x102d30e
mov ebx, dword [ebp + 0x10]
push ebx
lea ecx, [ebp - 0x10c]
call fcn.0102cdcf
xor edi, edi
cmp dword [ebp - 4], edi
jne 0x102d27a
lea ecx, [ebp - 0x10c]
call fcn.0102ce28
xor eax, eax
jmp 0x102d310
cmp dword [ebp + 0x14], edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
je 0x102d2a9
push dword [ebp + 0x14]
call esi
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.0102c870
mov eax, esp
push edi
push dword [ebp + 0x14]
push eax
call fcn.0102cbf9
mov edi, eax
xor eax, eax
cmp dword [ebp + 8], eax
je 0x102d2d2
push dword [ebp + 8]
call esi
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.0102c870
mov eax, esp
push esi
push dword [ebp + 8]
push eax
call fcn.0102cbf9
push edi
push ebx
push dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov edi, dword [ebp + 0xc]
push ebx
push edi
mov esi, eax
lea eax, [esi + 1]
push eax
push dword [ebp - 4]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebx - 2]
cmp esi, eax
jne 0x102d303
and word [edi + ebx*2 - 2], 0
lea ecx, [ebp - 0x10c]
call fcn.0102ce28
mov eax, esi
lea esp, [ebp - 0x118]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x102d4bb
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push 1
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
je 0x102d4e0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_Ordinal_336]
mov esi, eax
jmp 0x102d61a
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x12]
mov dword [ebp - 0x12], eax
mov ax, word [esi + 0x10]
mov word [ebp - 0x14], ax
mov eax, dword [esi + 0x16]
mov dword [ebp - 0xe], eax
mov eax, dword [esi]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x1a]
test eax, eax
jne 0x102d51f
and dword [ebp - 0xa], 0
jmp 0x102d542
push eax
call ebx
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.0102c870
mov eax, esp
push edi
push dword [esi + 0x1a]
push eax
call fcn.0102cbf9
mov dword [ebp - 0xa], eax
mov eax, dword [esi + 4]
mov edi, 0x10c
push edi
mov dword [ebp - 0x20], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
je 0x102d569
push 0
push dword [esi + 8]
mov ecx, eax
call fcn.0102cc4e
mov dword [ebp + 8], eax
jmp 0x102d56d
and dword [ebp + 8], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x102d5b8
mov eax, dword [eax + 0x108]
test eax, eax
je 0x102d5b8
test byte [esi + 0x10], 1
mov dword [ebp - 0x1c], eax
je 0x102d5c7
push edi
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
je 0x102d5a3
push 0
push dword [esi + 0xc]
mov ecx, eax
call fcn.0102cc4e
mov dword [ebp - 4], eax
jmp 0x102d5a7
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
test eax, eax
je 0x102d5b8
mov eax, dword [eax + 0x108]
test eax, eax
jne 0x102d5f3
mov eax, 0x8007000e
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
leave
ret 4
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x102d5d3
and dword [ebp - 0x18], eax
jmp 0x102d5f6
push eax
call ebx
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.0102c870
mov eax, esp
push edi
push dword [esi + 0xc]
push eax
call fcn.0102cbf9
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov ecx, dword [ebp + 8]
push 1
mov esi, eax
call fcn.0102d3de
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x102d61a
push 1
call fcn.0102d3de
mov eax, esi
jmp 0x102d5bd
Function at 0x102ddcd
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x102df89
push ebx
push edi
push esi
mov dword [ebp + 8], 1
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x102ded1
push dword [ebp + 0xc]
call fcn.0102eda3
test eax, eax
jne 0x102de14
xor eax, eax
jmp 0x102df87
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x80
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_338]
xor edi, edi
push edi
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_Ordinal_112]
cmp eax, edi
mov dword [ebp + 8], eax
je 0x102de0d
cmp dword [ebp + 0x10], edi
je 0x102df84
cmp dword [ebp + 0x14], edi
je 0x102df84
push dword [ebp + 0x14]
mov ebx, 0x1006110
push edi
push ebx
push dword [ebp + 0x10]
call dword [sym.imp.SHLWAPI.dll_Ordinal_85]
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov esi, eax
inc esi
push esi
push 0x10060fc
lea eax, [ebp - 0x24]
push 0x10
push eax
call edi
add esp, 0x10
push dword [ebp + 0x14]
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [ebp + 0x10]
mov ebx, dword [sym.imp.SHLWAPI.dll_Ordinal_298]
call ebx
dec esi
push esi
push 0x1002fc8
lea eax, [ebp - 0x24]
push 0x10
push eax
call edi
add esp, 0x10
push dword [ebp + 0x14]
lea eax, [ebp - 0x24]
push dword [ebp - 4]
push eax
push dword [ebp + 0x10]
call ebx
jmp 0x102df84
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [ebp - 0x22c]
push eax
call esi
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [ebp + eax*2 - 0x22c]
push 0x1001a00
push edi
call esi
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_65]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x102df84
mov dword [ebp + 8], 1
test byte [ebp - 0x47c], 0x10
jne 0x102df6b
lea eax, [ebp - 0x450]
push eax
push edi
call esi
cmp dword [ebp + 8], 0
je 0x102df67
push dword [ebp + 0x14]
lea eax, [ebp - 0x22c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.0102ddcd
test eax, eax
je 0x102df67
mov dword [ebp + 8], 1
jmp 0x102df6b
and dword [ebp + 8], 0
lea eax, [ebp - 0x47c]
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_Ordinal_341]
test eax, eax
jne 0x102df2c
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp + 8]
pop edi
pop ebx
pop esi
leave
ret 0x10
Function at 0x102e6d9
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push esi
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], esi
je 0x102e82a
mov ecx, dword [ebp + 8]
cmp ecx, esi
je 0x102e82a
cmp word [eax], si
je 0x102e82a
cmp word [ecx], si
je 0x102e82a
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_Ordinal_52]
push edi
push esi
mov edi, 0x80
push edi
push 3
push esi
push esi
push 0x40000000
push eax
call ebx
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x102e75d
push dword [ebp + 0xc]
call fcn.0102df8e
cmp eax, 0xffffffff
je 0x102e823
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_Ordinal_112]
mov dword [ebp - 4], eax
jmp 0x102e823
push 2
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x102e81a
push esi
push edi
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 8]
call ebx
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x102e81a
mov ebx, 0x1000
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov edx, eax
cmp edx, esi
mov dword [ebp + 0xc], edx
je 0x102e811
xor eax, eax
mov ecx, 0x400
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
lea eax, [ebp - 8]
push eax
push ebx
push edx
jmp 0x102e7e6
cmp dword [ebp - 8], esi
je 0x102e7f3
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, esi
mov dword [ebp - 4], eax
je 0x102e808
push esi
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
cmp eax, 1
mov dword [ebp - 4], eax
je 0x102e7bd
cmp dword [ebp - 4], esi
je 0x102e808
push dword [ebp - 0xc]
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push dword [ebp + 0xc]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop ebx
jmp 0x102e82c
xor eax, eax
pop esi
leave
ret 8
Function at 0x102f0aa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
or dword [ebp - 0xc], 0xffffffff
or dword [ebp - 4], 0xffffffff
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
xor ebx, ebx
push ebx
push 0x10019cc
push 0x10061e8
mov edi, 0x80000002
push edi
mov word [ebp - 0x214], bx
mov dword [ebp - 8], 0x208
call esi
cmp word [ebp - 0x214], bx
je 0x102f111
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.0102f02f
jmp 0x102f159
cmp dword [ebp - 4], 0xffffffff
jne 0x102f15e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push ebx
push ebx
push 0x1006148
push edi
mov word [ebp - 0x214], bx
mov dword [ebp - 8], 0x208
call esi
cmp word [ebp - 0x214], bx
je 0x102f15e
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.0102cefe
mov eax, dword [ebp - 4]
jmp 0x102f160
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x10001193
Capabilities:
Enumerate devices by category

Disassembly:
push 0x18
mov eax, 0x10040303
call fcn.10021ea5
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x1c]
push eax
push 0x10049efc
push 0x17
push ebx
push 0x10043710
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
mov eax, dword [ebp - 0x1c]
jl 0x100012d1
cmp eax, ebx
je 0x100012d1
mov dword [ebp - 0x18], ebx
push ebx
lea edx, [ebp - 0x18]
push edx
push 0x10043720
mov byte [ebp - 4], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebx
mov eax, dword [ebp - 0x18]
jl 0x100012bb
cmp eax, ebx
je 0x100012bb
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 2
jmp 0x1000125b
mov dword [ebp - 0x24], ebx
lea edx, [ebp - 0x24]
push edx
push 0x100437a0
push ebx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x20]
cmp eax, ebx
mov eax, dword [ebp - 0x24]
jl 0x1000122f
cmp eax, ebx
jne 0x10001271
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x1000123d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x1000124e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x14]
push edx
push 1
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x10001209
jmp 0x1000127e
xor esi, esi
mov byte [ebp - 4], 2
mov ecx, dword [eax]
push eax
inc esi
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x1000128f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
setg byte [ebp - 0xd]
cmp eax, ebx
je 0x100012a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x100012b6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [ebp - 0xd]
jmp 0x100012e1
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x100012c8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
jmp 0x100012d5
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x100012df
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
call fcn.10021f44
ret
Function at 0x1000193b
Capabilities:
Enumerate devices by category

Disassembly:
push 0x10
mov eax, 0x10040432
call fcn.10021ea5
xor ebx, ebx
mov dword [esi], ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
push 0x10049efc
push 0x17
push ebx
push 0x10043710
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
mov eax, dword [ebp - 0x18]
jl 0x10001a2b
cmp eax, ebx
je 0x10001a2b
mov dword [ebp - 0x14], ebx
push ebx
lea edx, [ebp - 0x14]
push edx
push 0x10043720
mov byte [ebp - 4], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebx
mov eax, dword [ebp - 0x14]
jl 0x10001a26
cmp eax, ebx
je 0x10001a26
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 2
jmp 0x100019e8
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push esi
push 0x100437a0
push ebx
push ebx
push eax
call dword [ecx + 0x20]
cmp eax, ebx
jl 0x100019ca
cmp dword [esi], ebx
jne 0x100019fc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x100019db
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x10]
push edx
push 1
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x100019b1
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x10001a0d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10001a1d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
jmp 0x10001a2f
mov byte [ebp - 4], bl
jmp 0x10001a13
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x10001a39
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.10021f44
ret

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

Disassembly:
or eax, 0xffffffff
test edx, edx
je 0x10001aa5
push esi
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x1004a350]
inc ecx
dec edx
jne 0x10001a8b
pop esi
not eax
ret

Function at 0x10001aa8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jle 0x10001abf
mov eax, dword [ebp + 8]
xor byte [eax + ecx], 0x78
inc ecx
cmp ecx, dword [ebp + 0xc]
jl 0x10001ab2
xor eax, eax
inc eax
pop ebp
ret