joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10029083
Capabilities:
Print debug messages

Disassembly:
push 0x24
mov eax, 0x1002e2f7
call fcn.1002b28b
cmp byte [0x1003ce0b], 0
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], esi
jne 0x100290b0
cmp byte [0x1003ce0a], 0
je 0x100290ff
call fcn.100259bf
test al, al
mov edx, 0x1002fbdc
mov ecx, str._in_AppContaner
cmove ecx, edx
push ecx
push str.ASM_Retrieve_retrieving_shared_memory_in_Plug_in_s
push 0x1003e608
call fcn.100259bf
add esp, 0xc
cmp byte [0x1003ce0a], 0
je 0x100290eb
push 0x1003e608
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
je 0x100290ff
push 0x1003e608
call fcn.10005ee0
pop ecx
and dword [esi], 0
lea eax, [edi + 4]
and dword [ebx], 0
lea ecx, [ebp - 0x28]
push eax
call fcn.100259bf
push dword [edi + 0x48]
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100028bc
or dword [ebp - 4], 0xffffffff
mov ebx, eax
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.10003172
test ebx, ebx
jne 0x1002917d
cmp byte [0x1003ce0b], bl
jne 0x10029149
cmp byte [0x1003ce0a], bl
je 0x100291f1
push str.ASM_Retrieve_ERROR__finding_memory_mapped_file_
mov ebx, 0x1003e608
push ebx
call fcn.100259bf
cmp byte [0x1003ce0a], 0
pop ecx
pop ecx
je 0x1002916b
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
je 0x100291f1
push ebx
call fcn.10005ee0
pop ecx
jmp 0x100291f1
mov eax, dword [ebx]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x1002f5c8]
mov ecx, ebx
call esi
mov dword [edi + 0x44], eax
test eax, eax
jne 0x100291ac
cmp byte [0x1003ce0b], al
jne 0x100291a5
cmp byte [0x1003ce0a], al
je 0x100291f1
push str.ASM_Retrieve_ERROR__getting_memory_mapped_file_handle_
jmp 0x1002914e
mov eax, dword [ebx]
push dword [edi + 0x48]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x1002f5c8]
mov ecx, ebx
call esi
mov dword [edi + 0x4c], eax
test eax, eax
jne 0x100291e1
cmp byte [0x1003ce0b], al
jne 0x100291d7
cmp byte [0x1003ce0a], al
je 0x100291f1
push str.ASM_Retrieve_ERROR__mapping_for_writing_
jmp 0x1002914e
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edi + 0x48]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [edi + 0x4c]
mov dword [ecx], eax
call fcn.1002b235
ret
Function at 0x406c81
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x460114], 0
jne 0x406cbf
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406c95
mov dword [ecx*4 + 0x460110], eax
inc ecx
cmp ecx, 0x100
jl 0x406c90
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406cec
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x460110]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406ccd
not eax
pop ebp
ret 0xc

Function at 0x1003ad4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x1003ad4
lcall 0x5de5, 0x8b10c483
jmp loc.013c46f8
Function at 0x408d51
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea ebx, [ebp - 0x244]
sub esp, 0x254
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edx
push edx
lea edx, [eax - 1]
cmp edx, 0x103
ja 0x408d8f
xor edx, edx
cmp word [ebp + eax*2 - 0x246], 0x5c
sete dl
jmp 0x408d96
xor eax, eax
mov edx, 1
mov ecx, dword [ebp + 8]
add edx, edx
add eax, eax
add edx, 0x40c6a8
add eax, ebx
mov dword [esp + 4], str._s_S.dll
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 0xc], ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov dword [esp], ebx
mov dword [esp + 8], 8
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
sub esp, 0xc
mov ebx, dword [ebp - 4]
leave
ret 4

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

Disassembly:
cmp dword [0x43a424], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
jne 0x408fa1
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x408f7e
mov dword [ecx*4 + 0x43a420], eax
inc ecx
cmp ecx, 0x100
jne 0x408f77
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
cmp edx, ebx
je 0x408fc4
inc edx
mov cl, byte [edx - 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x43a420]
jmp 0x408fab
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x409340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov esi, dword [eax]
push esi
mov esi, dword [ebp + 8]
xchg ebp, eax
xor edi, edi
cmp dword [esi + 4], 0xffffffff
je 0x40940e
mov dl, byte [eax - 0x47]
test byte [ecx + 0x74], dl
or byte [esi - 0x37], dl
outsd dx, dword [esi]
pop ds
popal
add byte [ebx - 8], bh
mov eax, dword [esi + 0x18]
add byte fs:[eax], al
dec edx
push es
test dword [edx + 0x14], ebx
xchg esi, eax
add byte [eax], al
push es
jne 0x40938b
push 0x1b
adc eax, sym.imp.MSVCRT.dll__close
add esp, 4
cld
invalid
cmp eax, 0x4000000
jne 0x4093a9
push 0xfffffffffffffff1
call dword [sym.imp.MSVCRT.dll__close]
or eax, 4
push 0xa
push 0xfffffffffffffff5
push dword [esp]
setbe byte [eax]
jbe 0x4093d1
cmp eax, 0x9b000000
jne 0x4093d1
push 0
call dword [0x40ba08]
add esp, 4
test dword [edx], ebx
push 0xffffffffffffffef
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
jmp 0x4093d1
invalid
rcl byte [ecx], 0xe
push eax
inc esp
adc eax, 0x96c0c5
mov dword [esi + 0x25], 0x1f00e6
mov eax, edi
pop edi
and al, bl
cli
nop
nop
nop
nop
add al, 0x55
add al, 0xec
push ss
or byte [eax], al
add al, ch
xor esp, dword [eax + eax]
add byte [ebx - 0x75], dl
pop ebp
adc bl, ah
sal byte [ebx], 1
inc edi
inc ebp
clc
add eax, dword [eax]
add byte [eax], al
mov ebx, dword [ebp + 0x10]
jecxz 0x4093e3
xor edi, edi
mov dword [ebp - 8], 3
test byte [ecx + eax + 0x74fc3989], 7
mov dword [ebp - 0x65], 0xc40000b6
mov dh, 0
add ah, al
test bl, 2
je 0x4093f4
or dword [ebp - 4], 0xe8000000
test ebx, 0x8000000
je 0x409448
mov eax, dword [ebp - 4]
or ah, 0x74
mov dword [ebp - 4], eax
stosd dword es:[edi], eax
or eax, 0x714108dc
and ecx, edi
push ds
jl 0x40945a
xor dword [ebp + 0x69], eax
pop es
add byte [eax], al
add byte [ebx + 0x4e083c3], cl
mov eax, ebx
and eax, 4
je 0x409427
inc eax
ret
Function at 0x40afd9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movsd dword es:[edi], dword [esi]
fcmovne st(0), st(2)
movsb byte es:[edi], byte cs:[esi]
cld
and ecx, 3
add edx, eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebx + 0x3c]
mov ecx, dword [ebp - 8]
invalid
Function at 0x10003894
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x10065020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x1000392c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x1000390c
xor eax, eax
push ebp
push 0x10003905
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x10003964
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1000390c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x10065020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x10065020], ax
mov esp, ebp
pop ebp
ret

Function at 0x100047f8
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
push edi
mov esi, 0x10069ae4
lea edi, [ebp - 0x40]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
pop dword [0x10069b04]
pop dword [0x10069b00]
mov dword [0x10069af8], ebp
mov dword [0x10069afc], ebx
mov dword [0x10069aec], eax
mov dword [0x10069af4], edx
lea ecx, [ebp - 0x40]
mov dword [0x10069ae4], ecx
xor ecx, ecx
cmp dword [ebp + 0xc], 0
jne 0x10004840
mov ecx, dword [eax]
mov dword [0x10069af0], ecx
mov eax, 0x10001218
mov dword [0x10067014], eax
mov eax, 0x10001220
mov dword [0x10067018], eax
call fcn.100046e4
mov eax, dword [ebp + 0xc]
inc eax
mov byte [0x10069b0c], al
dec eax
pop ecx
mov edx, dword [ecx]
mov dword [0x10069b08], edx
je 0x1000487b
cmp al, 3
jge 0x1000487b
call dword [ecx + eax*4]
push ecx
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x1000488c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
call ecx
pop ecx
mov eax, dword [ebp + 0xc]
cmp al, 3
jl 0x10004897
call dword [ecx + eax*4]
cmp dword [0x10067034], 0
jne 0x100048ad
mov byte [0x1006703c], 1
fnstcw word [0x10065020]
mov eax, dword [ebp + 0xc]
dec eax
jne fcn.10004b2c
call fcn.10004790
ret 4

Function at 0x10004a9c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x1006704c], 0
je 0x10004afd
cmp word [0x10067328], 0xd7b2
jne 0x10004ac5
cmp dword [reloc.user32.dll_IsIconic], 0
jbe 0x10004ac5
mov eax, 0x10067324
call dword [0x10067340]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x10004b28
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x1006502c], 0
jne 0x10004b19
push 0
push 0x1006577c
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x10004c7c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x10065030], 0
je 0x10004ca2
mov edx, esi
mov eax, ebx
call dword [0x10065030]
jmp 0x10004cb1
mov eax, 8
call fcn.10002f9c
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x1006704d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x10004c44
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x1000727c
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x10008aa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x10069b2c
push 0xa
push 0x10008b34
mov eax, dword [0x10069b18]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x10008ac4
call fcn.10010584
push ebx
mov eax, dword [0x10069b18]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x10008adb
call fcn.10010584
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x10008aed
call fcn.10010584
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x10069b30], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x10069b34], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x10069b38], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x10069b3c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x10069b40], ecx
add edx, dword [eax + 0x14]
mov dword [0x10069b44], edx
pop esi
pop ebx
ret

Function at 0x1000a0f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x1000a199
test eax, edx
je 0x1000a19c
push 0
push 0
cmp word [eax - 0xa], 2
je 0x1000a119
push edx
mov edx, eax
mov eax, esp
call fcn.10005690
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x1000a12f
push eax
lea eax, [esp + 8]
call fcn.10005690
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x1000a13e
movzx eax, word [eax]
sub eax, ecx
jmp 0x1000a165
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x1000a17f
add ecx, 4
js 0x1000a156
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x1000a17c
push eax
mov eax, ecx
mov edx, 2
call fcn.10004d1c
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x1000a163
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x1000a165
xor eax, eax
ret
test eax, eax
je 0x1000a1ac
test edx, edx
jne 0x1000a100
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x1000ae10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.10005548
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x1000ae2e
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x1000ae4f
cmp ebx, 3
je 0x1000ae4f
cmp ebx, 0x7b
je 0x1000ae4f
mov eax, esi
call fcn.1000add0
test al, al
jne 0x1000ae53
xor eax, eax
jmp 0x1000ae55
mov al, 1
pop esi
pop ebx
ret
Function at 0x1000b060
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov byte [ecx + esi], cl
inc ecx
cmp ecx, edi
jb 0x1000b05a
movzx eax, byte [esi + 0x64]
imul edi, eax, 0x64
movzx eax, byte [esi]
sub edi, eax
add edi, 0x10006c92
movzx eax, byte [ebx + esi]
xor edx, edx
imul ecx, eax, 0x14e
movzx eax, byte [esi]
mov dword [ebp - 4], 0x12
dec ecx
imul ecx, eax
mov eax, ebx

Function at 0x1000e178
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x1000e1b1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.100055f8
jmp 0x1000e1ba
mov eax, ebx
mov edx, esi
call fcn.100054bc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1000e1c4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x1000e1e6
movzx eax, word [esp]
jmp 0x1000e1e8
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x1000e94c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffff004
push eax
add esp, 0xffffff7c
push 0x800
lea ecx, [esp + 0x88]
call fcn.1000e784
mov eax, dword [0x10066dc0]
cmp byte [eax], 0
je 0x1000e9de
mov eax, dword [0x10066ba0]
call fcn.10003300
call fcn.10003104
lea eax, [esp + 0x884]
push eax
lea eax, [esp + 0x88]
push eax
call sub.user32.dll_CharToOemW
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x88c]
call fcn.1000b060
push eax
lea eax, [esp + 0x890]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x1000ea2c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x1000ea17
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x10066b48]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x10069b18]
call fcn.100065c4
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x8c]
push eax
push 0
call sub.user32.dll_MessageBoxW
add esp, 0x1084
ret
Function at 0x1000f5f4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x1000f6ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.10005510
lea eax, [ebp - 4]
call fcn.10005d8c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.10005548
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x1000f6b4
mov eax, ebx
call fcn.10002f9c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x1000f6ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.10005548
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x1000f697
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x1000f6dc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x1000f697
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1000f6b4
mov eax, dword [ebp - 0x10]
call fcn.10002fb8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1000f6d1
lea eax, [ebp - 4]
call fcn.100054ac
ret

Function at 0x100103fc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.10004fb8
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x100103a6
mov eax, edi
add eax, eax
call fcn.10002f9c
mov esi, eax
jmp 0x100103a8
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x100103e1
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x100103cb
mov eax, esp
cmp esi, eax
je 0x100103ee
mov eax, esi
call fcn.10002fb8
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x10010428
cmp bl, 0
je 0x10010424
cmp bl, 0x41
jl 0x1001041f
cmp bl, 0x5a
jg 0x1001041f
or bl, 0x20
xor al, bl
inc esi
jmp 0x10010403
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x10010368

Function at 0x1001fbb0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.1001f8b4
dec esi
jne 0x1001fbd2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x10020d7c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x1006be60
cmp dword [edi], 0
jne 0x10020df8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x1006be5c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x10065c40
mov ecx, 2
call fcn.10003154
mov edx, 0x10020d54
lea eax, [esi + 5]
call fcn.10020d74
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.10020d74
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x10020dcd
mov dword [0x1006be5c], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x100215b8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.10005548
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
je 0x10021610
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x10066ee8]
mov dl, 1
mov eax, dword [0x10021040]
call fcn.1000eb28
call fcn.10004498
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.100211c8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10021d0c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x10021e1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor edx, edx
call fcn.100054bc
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
mov edx, 0x10021e38
call fcn.10005848
mov eax, dword [ebp - 0x10]
call fcn.10005548
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x10021e06
mov dword [ebp - 0xc], 1
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0x10021e80
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov eax, dword [ebp - 8]
call fcn.10002f9c
mov esi, eax
mov eax, esi
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.100033f0
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push 0x10021e80
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov eax, ebx
mov edx, esi
call fcn.10005638
mov edx, dword [ebx]
mov eax, 0x10021ea0
call fcn.10005dd8
test eax, eax
jle 0x10021df6
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10021de7
sub edi, 4
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
mov ecx, edi
mov edx, 5
call fcn.10005ac8
mov eax, esi
call fcn.10002fb8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10021e23
lea eax, [ebp - 0x10]
call fcn.100054ac
ret