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

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x1003024a
mov eax, 0xffffff53
pop esi
ret
mov eax, dword [esi + 0x60]
push ebx
push edi
lea edi, [esi + 0x20]
mov byte [edi + eax], 0x80
inc dword [esi + 0x60]
mov ecx, dword [esi + 0x60]
push 0x38
pop ebx
cmp ecx, ebx
jbe 0x10030299
push 0x40
pop eax
sub eax, ecx
push eax
lea eax, [ecx + edi]
push 0
push eax
call fcn.10033130
push 0x40
pop eax
push eax
mov edx, edi
mov dword [esi + 0x60], eax
mov ecx, edi
call fcn.1002fb00
add esp, 0x10
mov edx, edi
mov ecx, esi
call fcn.1002fb8c
test eax, eax
jne 0x100302e5
and dword [esi + 0x60], eax
xor ecx, ecx
sub ebx, ecx
lea eax, [ecx + edi]
push ebx
push 0
push eax
call fcn.10033130
mov eax, dword [esi + 0x64]
mov edx, edi
mov ecx, dword [esi + 0x68]
shr eax, 0x1d
push 0x40
lea eax, [eax + ecx*8]
mov ecx, edi
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x64]
shl eax, 3
mov dword [esi + 0x64], eax
call fcn.1002fb00
mov eax, dword [esi + 0x68]
add esp, 0x10
mov dword [edi + 0x38], eax
mov edx, edi
mov eax, dword [esi + 0x64]
mov ecx, esi
mov dword [edi + 0x3c], eax
pop edi
pop ebx
pop esi
jmp fcn.1002fb8c
pop edi
pop ebx
pop esi
ret

Function at 0x100302e9
Capabilities:
Hash data using sha256

Disassembly:
push ebx
mov ebx, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x1003031e
test edi, edi
je 0x1003031e
call fcn.1003023c
test eax, eax
jne 0x10030323
push esi
push 0x20
mov edx, ebx
mov ecx, ebx
call fcn.1002fb00
pop ecx
push 8
pop ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop esi
pop edi
mov ecx, ebx
pop ebx
jmp 0x1002fb2d
mov eax, 0xffffff53
pop edi
pop ebx
ret

Function at 0x100303d8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, edx
mov esi, ecx
neg eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
test esi, esi
je 0x1003047a
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x1003047a
mov edx, dword [esi]
mov ecx, ebx
inc edx
call fcn.1002bd0a
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x1003047f
mov ecx, dword [esi]
xor edx, edx
push edi
test ecx, ecx
jle 0x1003043a
mov edi, dword [ebx + 0xc]
mov ecx, esi
call fcn.100303c2
mov ecx, ebx
mov esi, eax
call fcn.100303c2
xor esi, eax
and esi, dword [ebp - 8]
xor dword [edi + edx*4], esi
inc edx
mov esi, dword [ebp - 4]
mov ecx, dword [esi]
cmp edx, ecx
jl 0x10030415
mov edi, dword [ebx]
cmp edx, edi
jge 0x10030469
mov edi, dword [ebx + 0xc]
mov ecx, esi
call fcn.100303c2
mov ecx, ebx
mov esi, eax
call fcn.100303c2
xor esi, eax
and esi, dword [ebp - 8]
xor dword [edi + edx*4], esi
inc edx
mov edi, dword [ebx]
mov esi, dword [ebp - 4]
cmp edx, edi
jl 0x10030440
mov eax, esi
mov ecx, dword [eax]
mov eax, edi
xor eax, ecx
and eax, dword [ebp - 8]
xor eax, edi
mov dword [ebx], eax
mov eax, dword [ebp - 0xc]
pop edi
jmp 0x1003047f
mov eax, 0xffffff53
pop esi
pop ebx
leave
ret

Function at 0x10045cbc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10045b3b

Function at 0x100490a0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10048a0e
Function at 0x100490ab
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10048c49

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x401033
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x419004]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x4179ac
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40106c
push 0x417a48
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40106c
push 0x800
call eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x24c]
xor esi, esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ecx
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x24c]
call fcn.00401104
lea eax, [ebp - 0x44]
mov edi, 0x41a230
push eax
push 0x417a64
push 0x417a80
push 0x80
push edi
call fcn.004015fc
add esp, 0x18
push 6
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea ecx, [ebp - 0x454]
call fcn.0040131b
test eax, eax
je 0x4010f2
push 1
push esi
push esi
lea eax, [ebp - 0x454]
push eax
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x4010f2
push 0x10
push edi
push str.Failed_to_launch_extracted_version_of_the_application
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00401b6f
leave
ret 0x10
Function at 0x401104
Capabilities:
Get file version info
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x419004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, edx
mov ebx, ecx
xor ecx, ecx
mov dword [ebp - 0x214], eax
push edi
mov word [eax], cx
lea eax, [ebp - 0x21c]
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x401293
push esi
push edi
call fcn.00401cb4
pop ecx
mov esi, eax
push esi
push edi
push 0
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x40128b
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x417928
push esi
call edi
test eax, eax
je 0x40128b
mov ecx, dword [ebp - 0x20c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push 0
mov ax, word [ecx]
mov word [ebp - 0x208], ax
mov ax, word [ecx + 2]
mov word [ebp - 0x206], ax
lea eax, [ebp - 0x208]
push eax
call ebx
mov edx, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x20c]
movzx eax, ax
push eax
call fcn.004012a3
add esp, 0xc
test eax, eax
jne 0x401232
push 1
lea eax, [ebp - 0x208]
push eax
call ebx
mov edx, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x20c]
movzx eax, ax
push eax
call fcn.004012a3
add esp, 0xc
test eax, eax
jne 0x401232
mov edx, dword [ebp - 0x210]
lea eax, [ebp - 0x208]
mov ecx, dword [ebp - 0x20c]
push 1
push eax
push 0
call fcn.004012a3
add esp, 0xc
test eax, eax
jne 0x401232
mov edx, dword [ebp - 0x210]
lea eax, [ebp - 0x208]
mov ecx, dword [ebp - 0x20c]
push 1
push eax
push 9
call fcn.004012a3
add esp, 0xc
movzx eax, word [ebp - 0x206]
push eax
movzx eax, word [ebp - 0x208]
push eax
push 0x417960
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.004015fc
add esp, 0x14
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
call edi
test eax, eax
je 0x40128b
mov edx, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x218]
push 0x20
call fcn.004015d4
pop ecx
push esi
call fcn.00401b80
pop ecx
pop esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.00401b6f
leave
ret
Function at 0x40131b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x419004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x20c]
mov edi, ecx
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea edx, [ebp - 0x20c]
xor ebx, ebx
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x401350
sub edx, ecx
sar edx, 1
je 0x40138a
cmp edx, 0x103
jae 0x40139d
push 0x5c
pop eax
cmp word [ebp + edx*2 - 0x20e], ax
je 0x40139d
mov word [ebp + edx*2 - 0x20c], ax
xor eax, eax
mov word [ebp + edx*2 - 0x20a], ax
jmp 0x40139d
push 0x5c
pop eax
mov word [ebp - 0x20c], ax
xor eax, eax
mov word [ebp - 0x20a], ax
push ecx
push ecx
lea eax, [ebp - 0x40c]
mov esi, ebx
push eax
push ecx
call fcn.004014f8
add esp, 0x10
test eax, eax
je 0x4013e7
lea eax, [ebp - 0x40c]
push 0x417a38
push eax
call fcn.00402a4b
pop ecx
pop ecx
test eax, eax
jne 0x4013e7
lea eax, [ebp - 0x40c]
push 0x417a40
push eax
call fcn.00402a4b
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
mov ecx, str.CrowdInspect32
test esi, esi
mov eax, str.CrowdInspect64
cmove eax, ecx
push eax
lea eax, [ebp - 0x20c]
push eax
push str._s_s.exe
push 0x104
push edi
call fcn.004015fc
xor eax, eax
mov ecx, esi
inc eax
xor ecx, eax
push edi
add ecx, 0x65
call fcn.0040146d
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x40145c
lea ecx, [esi + 1]
shl ecx, 5
lea eax, [ebp - 0x20c]
push ecx
push str.Failed_to_extract__u_bit_version._r_n_r_nIs_it_already_running_
push 0x104
push eax
call fcn.004015fc
add esp, 0x10
lea eax, [ebp - 0x20c]
push 0x10
push 0x41a230
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401b6f
leave
ret

Function at 0x40146d
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor esi, esi
xor eax, eax
push esi
push 0x80
push 2
push esi
inc eax
mov ebx, ecx
push eax
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4014f1
push 0x417b78
movzx eax, bx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4014ea
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x4014ea
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
push ecx
push eax
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
push 1
pop eax
cmovne esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4014f8
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push edi
push eax
push 0x20019
xor edi, edi
mov dword [ebp - 0xc], 0x200
push edi
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call esi
mov ebx, dword [ebp + 0xc]
test eax, eax
je 0x40154f
lea eax, [ebp - 4]
push eax
push 0x20119
push edi
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
call esi
mov esi, eax
test esi, esi
jne 0x4015c3
push edi
push edi
lea eax, [ebp - 8]
push eax
push edi
push str.Identifier
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x4015b6
xor edi, edi
inc edi
cmp dword [ebp - 8], edi
je 0x40157d
cmp dword [ebp - 8], 2
je 0x40157d
push 0xb
pop esi
jmp 0x4015b6
lea eax, [ebp - 0xc]
push eax
push ebx
push 0
push 0
push str.Identifier
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x4015b6
mov eax, dword [ebp - 0xc]
shr eax, 1
cmp eax, edi
jb 0x4015af
mov ecx, 0x100
mov edi, eax
cmp eax, ecx
cmova edi, ecx
xor eax, eax
mov word [ebx + edi*2 - 2], ax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4015c8
xor eax, eax
mov word [ebx], ax
xor eax, eax
test esi, esi
pop edi
pop esi
sete al
pop ebx
leave
ret
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x10261d90]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x10001dea
push 0x101e8780
push 4
push eax
call fcn.10198848
push eax
call fcn.100012f7
add esp, 0x10
jmp 0x10001e00
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x10001e83
push edi
call fcn.10199d92
mov edi, dword [eax]
call fcn.10199d92
and dword [eax], 0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.10199c74
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.10199d92
cmp dword [eax], 0
je 0x10001e57
call fcn.10199d92
push dword [eax]
call fcn.1000135a
pop ecx
jmp 0x10001e5e
call fcn.10199d92
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
pop edi
je 0x10001e83
cmp dword [ebp - 0x11c], esi
jae 0x10001e83
push 0
push 0
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x10001e85
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10198d24
leave
ret
Function at 0x10001e92
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x10261d90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.10001a92
pop ecx
cmp eax, esi
je 0x10001f7c
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x10001f7c
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.1019a0b0
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x10001f7c
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x10001f7c
cmp esi, 0x14
jge 0x10001f7c
push 0x10
push 0
push edi
call fcn.1019a078
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x10001f6b
call fcn.10199d92
cmp dword [eax], 0x22
je 0x10001f6b
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.10199e67
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x10001f41
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x10263250], 0
jne 0x10002007
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x10002030
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.10001da2
pop ecx
pop ecx
test eax, eax
jne 0x10002032
inc edi
cmp edi, esi
jl 0x1000200d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10198d24
leave
ret 8
Function at 0x1000b8bc
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10261d90]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1000b8f1
xor eax, eax
jmp 0x1000b944
lea eax, [ebp - 0x210]
push eax
call fcn.10199e67
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x1000b922
push 0x101e9114
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.1019ddb4
add esp, 0xc
test eax, eax
jne 0x1000b8ed
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.1019ddb4
add esp, 0xc
test eax, eax
jne 0x1000b8ed
lea eax, [ebp - 0x210]
push eax
call fcn.1000b62e
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10198d24
leave
ret

Function at 0x1001b94d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x1001b994
call fcn.10006e8c
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1001b994
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x1001b9b0
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.1001b452
mov esi, eax
test edi, edi
je 0x1001b9ae
test ebx, ebx
je 0x1001b9ae
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1001c52e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x101c92e4
call fcn.10198d33
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x1001c553
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1001c5a5
call fcn.1001086a
push eax
lea ecx, [ebp - 0x10]
call fcn.100023b0
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1019d273
push eax
call fcn.100012f7
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.10001a62
mov eax, esi
call fcn.10198e0b
ret 8

Function at 0x1001ecf5
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x1001ed33
push 0x101ea998
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x1001ed41
push str.MoveFileTransactedA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001ed41
push dword [esi]
push 2
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x1001ed43
cmp dword [esi + 4], 0
je 0x1001ed41
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileA]
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x1002143e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x101c991c
call fcn.10198d33
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.10002e5d
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x100214a0
call fcn.10006267
cmp eax, 1
jne 0x100214a0
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.100054e2
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.10002a96
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001a62
mov dword [ebp + 8], SysReAllocString
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.10001a62
mov eax, esi
call fcn.10198e0b
ret 0x10

Function at 0x100214c9
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x101c9947
call fcn.10198d33
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.10002e5d
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x1002152b
call fcn.10006267
cmp eax, 1
jne 0x1002152b
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.100054e2
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.10002a96
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001a62
mov dword [ebp + 8], SysReAllocString
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.10001a62
mov eax, esi
call fcn.10198e0b
ret 0x14

Function at 0x10021557
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x101c9972
call fcn.10198d33
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.10002e5d
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
cmp esi, 0x80000000
jne 0x100215b9
call fcn.10006267
cmp eax, 1
jne 0x100215b9
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.100054e2
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.10002a96
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10001a62
inc esi
mov ecx, dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
test ecx, ecx
je 0x100215cb
call fcn.100051ac
jmp 0x100215d1
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.10001a62
mov eax, esi
call fcn.10198e0b
ret 0xc

Function at 0x1006563b
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x10065673
push 0x101ea998
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x10065681
push str.SetFileAttributesTransactedA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10065681
push dword [esi]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x10065683
cmp dword [esi + 4], 0
je 0x10065681
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop esi
pop ebp
ret 8