joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003ce00
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x1006d4c6
mov eax, dword fs:[0]
push eax
sub esp, 0x320
mov eax, dword [0x1009140c]
xor eax, esp
mov dword [esp + 0x31c], eax
push ebx
push esi
mov eax, dword [0x1009140c]
xor eax, esp
push eax
lea eax, [esp + 0x32c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x33c]
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x334], ebx
mov dword [esp + 0x10], ebx
cmp byte [0x100974f8], bl
mov byte [esp + 0x334], 1
je 0x1003cfbb
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
push 0x104
lea eax, [esp + 0x24]
push eax
call fcn.1000a767
mov esi, eax
cmp esi, ebx
jl 0x1003cf51
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.10034146
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0x10077700
push 7
push ebx
push 0x10071680
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x1003cf51
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x10]
push ecx
push 0x10077710
push eax
call edx
mov esi, eax
cmp esi, ebx
jl 0x1003cf51
push 0x104
lea eax, [esp + 0x124]
push eax
push 0xffffffffffffffff
push 0x100974f8
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 2
lea edx, [esp + 0x124]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov esi, eax
cmp esi, ebx
jl 0x1003cf51
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov esi, eax
cmp esi, ebx
jl 0x1003cf51
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov esi, eax
cmp esi, ebx
jl 0x1003cf51
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 1
push ebx
push eax
call edx
mov esi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp esi, ebx
mov eax, dword [esp + 0x10]
mov byte [esp + 0x334], bl
jge 0x1003cf94
cmp eax, ebx
je 0x1003cf72
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov dword [esp + 0x334], 0xffffffff
je 0x1003cf8d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0x1f
jmp 0x1003cfbd
cmp eax, ebx
je 0x1003cfa0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov dword [esp + 0x334], 0xffffffff
je 0x1003cfbb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x32c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x31c]
xor ecx, esp
call fcn.100511f7
add esp, 0x32c
ret
Function at 0x1003cff0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push 0x10099fb0
push SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1003d077
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
mov edx, dword [str.IsInstaller]
lea ecx, [esp + 0x14]
push ecx
push 0
push edx
push eax
mov esi, eax
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1003d06c
cmp dword [esp + 0xc], 4
jne 0x1003d06c
cmp dword [esp + 0x10], eax
je 0x1003d06c
test esi, esi
je 0x1003d065
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
add esp, 0x10
ret
test esi, esi
je 0x1003d077
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop esi
add esp, 0x10
ret
Function at 0x1003e360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006d6cb
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1009140c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
xor edi, edi
cmp esi, edi
jne 0x1003e3d8
push 0x118
call fcn.100522d2
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
cmp esi, edi
mov dword [esp + 0x14], edi
je 0x1003e3ce
mov ecx, esi
call fcn.1002d700
mov dword [esi + 0x104], edi
mov dword [esi + 0x108], edi
mov dword [esi + 0x10c], edi
mov dword [esi + 0x110], edi
mov dword [esi], vtable.Candeo::ToolbarBalloon.0
jmp 0x1003e3d0
xor esi, esi
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x2c]
push eax
mov ecx, esi
call fcn.1002d920
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
push eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0xf8], ecx
mov ecx, dword [esp + 0x34]
push edi
or ecx, 0x1000
push ecx
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
mov ecx, dword [esp + 0x38]
push ecx
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret

Function at 0x1003ffd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006d8c6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1009140c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov ax, word [esp + 0x24]
mov cx, word [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov word [esi + 0x20], ax
xor eax, eax
mov word [esi + 0x22], cx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], eax
mov dword [esp + 0x14], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x20]
mov dword [esi + 0xc], edx
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 0xc]
mov ecx, esi
mov byte [esp + 0x14], 1
mov dword [esi + 0x1c], edx
call fcn.1003f740
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x14
Function at 0x100415c0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x1006dbab
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x1009140c]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1009140c]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov eax, dword [esp + 0x140]
mov edi, dword [esp + 0x138]
mov ebx, dword [esp + 0x13c]
push str.Toolbar.js
push eax
push str._s_s
lea eax, [esp + 0x2c]
push 0x104
push eax
call fcn.100011f2
xor ebp, ebp
add esp, 0x14
mov dword [esp + 0x14], ebp
push ebp
push 0x80
push 3
push ebp
push 1
push SysReAllocString
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x14c], ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x1004168f
call fcn.10009dd5
cmp eax, ebp
jl 0x100416fa
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x18], esi
jne 0x10041699
call fcn.10009dd5
cmp eax, ebp
jge 0x10041695
mov ebp, eax
jmp 0x100416e9
mov dword [esp + 0x14], eax
jmp 0x10041667
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x1c], ebp
ja 0x100416a4
cmp esi, 0xfffffffd
jbe 0x100416ab
mov ebp, 0x80004005
jmp 0x100416e9
lea ecx, [esi + 2]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebp
mov dword [edi], eax
jne 0x100416c3
mov ebp, 0x8007000e
jmp 0x100416e9
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.1003ead0
mov edx, dword [edi]
mov byte [esi + edx], 0
lea ecx, [esp + 0x20]
mov ebp, eax
mov eax, dword [edi]
push ecx
mov ecx, ebx
mov byte [eax + esi + 1], 0
call fcn.100073f6
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100416f8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.100511f7
add esp, 0x120
ret 0xc
Function at 0x10044c90
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ebx
push esi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10044cbc
pop esi
mov eax, 0x3ee
pop ebx
pop ecx
ret
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10044cd4
mov ebx, 0x3ee
jmp 0x10044cfd
lea ecx, [edi + 1]
push ecx
call fcn.10050e99
mov edx, dword [esp + 0x18]
add esp, 4
push 0
lea ecx, [esp + 0x10]
push ecx
push edi
push eax
push esi
mov dword [edx], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10044cfd
lea ebx, [eax + 0x1e]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
mov eax, ebx
jne 0x10044d10
mov edx, dword [esp + 0x18]
mov dword [edx], edi
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x10045560
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1006e0e6
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x1009140c]
xor eax, esp
mov dword [esp + 0x13c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1009140c]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov edi, dword [esp + 0x164]
mov esi, ecx
xor ebx, ebx
lea eax, [esi + 8]
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
mov byte [esp + 0x24], bl
call fcn.10001c93
mov edx, dword [esi]
mov edx, dword [edx + 8]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov dword [esp + 0x164], ebx
call edx
mov esi, eax
cmp esi, ebx
jne 0x100456be
mov eax, dword [str.0ACFE224713A92B4]
push eax
push 0x20
lea ecx, [esp + 0x138]
mov ebx, 1
add dword [esp + 0x20], ebx
push ecx
call fcn.1000a767
lea edx, [esp + 0x130]
push edx
lea ecx, [esp + 0x30]
call fcn.1004eb10
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x164], bl
call fcn.1004ea10
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edi
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10045662
mov esi, 0x3ee
jmp 0x100456a0
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [esp + 0x2c]
push edx
push 4
push 0x10091144
push esi
call edi
test eax, eax
je 0x1004568d
push 0
lea eax, [esp + 0x2c]
push eax
push ebp
push ebx
push esi
call edi
test eax, eax
jne 0x10045695
mov dword [esp + 0x1c], 0x1d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10051131
add esp, 4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x15c], 0
call fcn.1004e9c0
cmp byte [esp + 0x24], 0
je 0x100456d0
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.100511f7
add esp, 0x14c
ret 4
Function at 0x10045a20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
movzx edi, ax
mov eax, dword [esp + 0x20]
push edi
push ebp
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov esi, eax
test esi, esi
jne 0x100459b9
and edi, 0x3ff
push edi
mov edi, dword [esp + 0x24]
push ebp
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov esi, eax
test esi, esi
jne 0x100459b9
push 0x409
push ebp
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov esi, eax
test esi, esi
jne 0x100459b9
pop edi
pop esi
pop ebp
mov eax, 0x490
pop ebx
pop ecx
ret 0xc
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x100459d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
jne 0x100459f0
pop edi
pop esi
pop ebp
mov eax, 0xd
pop ebx
pop ecx
ret 0xc
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x100459e3
mov ecx, dword [esp + 0x10]
push 1
add esi, 0xfffffffc
push esi
add eax, 4
push eax
call fcn.10045390
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
movzx edx, word [esp + 8]
mov dword [esp + 8], edx
jmp 0x10045950
Function at 0x100485e0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
push ebx
mov edi, ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea esi, [eax + 1]
push esi
call fcn.10050e99
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x1004861b
pop edi
pop esi
lea eax, [ebp + 8]
pop ebp
pop ebx
add esp, 8
ret 8
push esi
push ebp
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x100486c6
mov edx, dword [str._tag_]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10048637
sub eax, esi
mov ebx, eax
push ebx
push edx
push ebp
call fcn.100564d8
add esp, 0xc
test eax, eax
jne 0x100486c2
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 0
add ebx, ebp
push ebx
mov ecx, edi
call fcn.10048280
cmp eax, 0x7a
jne 0x100486c2
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x18], eax
call fcn.10050e99
mov esi, eax
add esp, 4
test esi, esi
jne 0x1004868f
mov dword [esp + 0x10], 8
jmp 0x100486f5
lea ecx, [esp + 0x14]
push ecx
push esi
push ebx
mov ecx, edi
call fcn.100483d0
mov edx, dword [esp + 0x1c]
push esi
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push esi
mov ebx, eax
call fcn.10051131
add esp, 4
test ebx, ebx
jne 0x100486c2
mov dword [esp + 0x10], 0x1d
jmp 0x100486f5
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x20], 0
je 0x100486f5
push 5
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
call ebx
mov esi, eax
test esi, esi
je 0x100486f5
mov edi, edi
push 1
push esi
mov ecx, edi
call fcn.100485e0
push 2
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x100486e0
push ebp
call fcn.10051131
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x10048780
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x1009140c]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersion]
push edi
call esi
movzx edi, al
call esi
call esi
cmp eax, 0x80000000
jb 0x100487cd
cmp edi, 4
jae 0x100487cd
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.100511f7
add esp, 0x98
ret
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0xc]
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x100487f4
mov ecx, dword [esp + 0x10]
jmp dword [eax*4 + 0x1004891c]
pop edi
mov eax, 2
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.100511f7
add esp, 0x98
ret
test ecx, ecx
je 0x1004883f
cmp ecx, 0xa
je 0x1004884d
cmp ecx, 0x5a
jne case.0x100487f4.5
pop edi
lea eax, [ecx - 0x55]
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.100511f7
add esp, 0x98
ret
mov eax, dword [esp + 0x18]
sub eax, 1
je 0x10048885
sub eax, 1
je 0x10048869
pop edi
mov eax, 4
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.100511f7
add esp, 0x98
ret
pop edi
mov eax, 6
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.100511f7
add esp, 0x98
ret
pop edi
mov eax, 3
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.100511f7
add esp, 0x98
ret
mov eax, ecx
sub eax, 0
je 0x100488c9
sub eax, 1
jne case.0x100487f4.6
pop edi
mov eax, 8
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.100511f7
add esp, 0x98
ret
pop edi
mov eax, 7
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.100511f7
add esp, 0x98
ret
test ecx, ecx
jne case.default.0x100487f4
pop edi
lea eax, [ecx + 0xa]
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.100511f7
add esp, 0x98
ret
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.100511f7
add esp, 0x98
ret

Function at 0x100489b0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x114
mov eax, dword [0x1009140c]
xor eax, esp
mov dword [esp + 0x110], eax
push ebp
push esi
mov esi, dword [esp + 0x120]
test esi, esi
push edi
mov ebp, ecx
jne 0x100489d9
mov esi, 0x10092bc0
push ebx
lea eax, [esp + 0x14]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
push ebx
call fcn.10050e99
add esp, 4
push esi
push 0x104
lea ecx, [esp + 0x24]
push ecx
mov edi, eax
call fcn.1000a767
push edi
push ebx
push 0
lea edx, [esp + 0x28]
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
pop ebx
jne 0x10048a28
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call fcn.10051131
add esp, 4
xor al, al
jmp 0x10048a5b
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0x1007530c
push edi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
push edx
push eax
mov ecx, ebp
call fcn.10048930
push edi
call fcn.10051131
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.100511f7
add esp, 0x114
ret 4
Function at 0x10049830
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x20]
mov esi, ecx
lea ecx, [esp + 0x14]
push ecx
push 0
push edx
push 0
push 0
push 0
push eax
push ebp
mov dword [esp + 0x34], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
test edi, edi
jne 0x1004988b
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
je 0x10049883
push ecx
call ebx
mov dword [esi], 0
mov ecx, dword [esp + 0x10]
mov edi, eax
mov dword [esi], ecx
push ebp
call ebx
test edi, edi
jne 0x100498bf
lea edx, [esp + 0x20]
push edx
mov edx, dword [esi]
lea eax, [esi + 0x8cc]
push eax
lea ecx, [esp + 0x20]
push ecx
push edi
push edi
push edx
mov dword [esp + 0x38], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 1
mov ecx, esi
call fcn.100497d0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc

Function at 0x100498d0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 0x10

Function at 0x10049900
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 1
mov dword [esi + 0x10cc], 0
call fcn.100497d0
cmp byte [esi + 0x10d8], 0
je 0x10049991
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea edi, [esi + 4]
lea esp, [esp]
mov eax, dword [esp + 0x14]
push eax
push edi
call fcn.100552d4
add esp, 8
test eax, eax
je 0x1004999a
mov ecx, dword [esi + 0x10cc]
lea eax, [esi + 0x10d4]
push eax
mov dword [eax], 0x800
lea eax, [esi + 0xcc]
push eax
lea eax, [esi + 0x10d0]
push eax
push 0
lea eax, [esp + 0x1c]
push eax
lea edx, [ecx + 1]
push edi
mov dword [esi + 0x10cc], edx
mov edx, dword [esi]
push ecx
push edx
mov dword [esp + 0x2c], 0xc8
call ebx
test eax, eax
sete cl
test cl, cl
mov byte [esi + 0x10d8], cl
jne 0x10049930
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 4
pop edi
pop esi
mov al, 1
pop ebx
pop ecx
ret 4
Function at 0x10049fe0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x1009140c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
push ebx
push esi
push edi
jne 0x10049fff
lea eax, [ebp - 0x14]
mov dword [ebp + 0x10], eax
push 0x44
lea ecx, [ebp - 0x58]
push 0
push ecx
call fcn.100524f0
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add esp, 0xc
test ebx, ebx
mov dword [ebp - 0x2c], edx
je 0x1004a030
mov ecx, 0x104
mov eax, ebx
cmp byte [eax], 0
je 0x1004a049
add eax, 1
sub ecx, 1
jne 0x1004a023
mov eax, 0xa0
lea esp, [ebp - 0x64]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100511f7
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x1004a030
mov eax, 0x104
sub eax, ecx
lea esi, [eax + 1]
mov eax, esi
call fcn.100524c0
cmp esi, 0x7fffffff
mov edi, esp
ja 0x1004a070
push ebx
push esi
push edi
call fcn.1000a767
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x58]
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1004a0ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esp, [ebp - 0x64]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100511f7
mov esp, ebp
pop ebp
ret
xor eax, eax
lea esp, [ebp - 0x64]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100511f7
mov esp, ebp
pop ebp
ret

Function at 0x1004a2f0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x1004a32a
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
lea ecx, [esi + 8]
push ecx
push 0
push esi
push 0x1004a130
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
pop esi
ret
Function at 0x1004a640
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x100a5d84], 0
jne 0x1004a6ff
xor eax, eax
nop
mov ecx, eax
and cl, 1
neg cl
mov edx, eax
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor edx, ecx
mov dword [eax*4 + 0x100a5d80], edx
add eax, 1
cmp eax, 0x100
jl 0x1004a650
mov ecx, dword [esp + 0xc]
test ecx, ecx
mov eax, dword [esp + 4]
not eax
jbe 0x1004a732
push esi
mov esi, dword [esp + 0xc]
movzx edx, byte [esi]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x100a5d80]
sub ecx, 1
add esi, 1
test ecx, ecx
ja 0x1004a712
pop esi
not eax
ret

Function at 0x1004a840
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x220
mov eax, dword [0x1009140c]
xor eax, esp
mov dword [esp + 0x21c], eax
push esi
push edi
mov edi, dword [esp + 0x22c]
push 0x105
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
je 0x1004a8a7
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push 0x104
lea ecx, [esp + 0x134]
push ecx
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x37], 0
call esi
test eax, eax
jne 0x1004a8cf
push 0
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x104
lea eax, [esp + 0x134]
push eax
push 0
call esi
test eax, eax
je 0x1004a908
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x230]
push ecx
push 0x10071590
push edx
push edi
call fcn.100011f2
add esp, 0x10
neg eax
sbb eax, eax
pop edi
and eax, 0x7a
pop esi
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.100511f7
add esp, 0x220
ret
mov ecx, dword [esp + 0x224]
pop edi
pop esi
xor ecx, esp
mov eax, 0x1f
call fcn.100511f7
add esp, 0x220
ret