joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3f013650
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa80
lea ecx, [ebp - 0x45c]
push ebx
push esi
mov esi, dword [ebp + 0x28]
push edi
test esi, esi
je 0x3f0136ff
push dword [esi + 8]
call fcn.3f013480
push dword [esi + 0xc]
lea ecx, [ebp - 0x250]
call fcn.3f013480
xor eax, eax
mov dword [ebp - 0x40], 0
mov word [ebp - 0xe], ax
lea ebx, [ebp - 0x44]
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x18], eax
mov ax, word [esi + 0x30]
mov word [ebp - 0x14], ax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x12], 0
mov dword [ebp - 0x44], 0x44
mov dword [ebp - 4], eax
jmp 0x3f013715
push 0
call fcn.3f013480
push 0
lea ecx, [ebp - 0x250]
call fcn.3f013480
xor ebx, ebx
push dword [ebp + 0x24]
lea ecx, [ebp - 0xa80]
call fcn.3f013480
push dword [ebp + 0xc]
lea ecx, [ebp - 0x874]
mov esi, dword [eax]
call fcn.3f013480
push dword [ebp + 8]
lea ecx, [ebp - 0x668]
mov edi, dword [eax]
call fcn.3f013480
push dword [ebp + 0x2c]
push ebx
push esi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
lea ecx, [ebp - 0x664]
mov eax, dword [ebp - 0x668]
cmp eax, ecx
je 0x3f01377b
push eax
call fcn.3f01aa94
add esp, 4
mov eax, dword [ebp - 0x874]
lea ecx, [ebp - 0x870]
cmp eax, ecx
je 0x3f013794
push eax
call fcn.3f01aa94
add esp, 4
mov eax, dword [ebp - 0xa80]
lea ecx, [ebp - 0xa7c]
cmp eax, ecx
je 0x3f0137ad
push eax
call fcn.3f01aa94
add esp, 4
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x24c]
cmp eax, ecx
je 0x3f0137c6
push eax
call fcn.3f01aa94
add esp, 4
mov eax, dword [ebp - 0x45c]
lea ecx, [ebp - 0x458]
cmp eax, ecx
je 0x3f0137df
push eax
call fcn.3f01aa94
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x3f0137f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x20c]
call fcn.3f013480
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
lea ecx, [ebp - 0x208]
mov eax, dword [ebp - 0x20c]
cmp eax, ecx
je 0x3f01382b
push eax
call fcn.3f01aa94
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x3f013890
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
je 0x3f0138b7
cmp dword [ebp + 8], 0
jne 0x3f0138b7
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
push 0
call edi
mov ebx, eax
test ebx, ebx
je 0x3f0138ab
lea eax, [ebx + ebx]
cmp ebx, 0x800
ja 0x3f0138e0
call fcn.3f01ad00
mov eax, esp
mov dword [ebp - 4], esp
jmp 0x3f0138ec
push eax
call fcn.3f0203a0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, 0x800
cmp ecx, ebx
push eax
sbb esi, esi
push ebx
and esi, eax
call edi
mov edi, eax
test edi, edi
je 0x3f013933
cmp edi, ebx
jbe 0x3f01394a
mov ebx, edi
test esi, esi
je 0x3f013914
push esi
call fcn.3f020385
add esp, 4
lea eax, [edi + edi]
push eax
call fcn.3f0203a0
add esp, 4
mov dword [ebp - 4], eax
mov esi, eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test edi, edi
jne 0x3f013901
xor edi, edi
push esi
call fcn.3f020385
add esp, 4
mov eax, edi
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 4]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp + 0xc]
mov edi, eax
test ecx, ecx
je 0x3f013935
mov eax, dword [ebp + 8]
test eax, eax
je 0x3f01399a
push 0
push 0
push eax
push ecx
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
mov eax, dword [ebp + 8]
jne 0x3f01399a
mov ecx, dword [ebp + 0xc]
mov byte [eax + ecx - 1], 0
cmp edi, eax
ja 0x3f013935
dec edi
jmp 0x3f013935

Function at 0x3f0139b0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x20c]
call fcn.3f013480
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
lea ecx, [ebp - 0x208]
mov eax, dword [ebp - 0x20c]
cmp eax, ecx
je 0x3f0139eb
push eax
call fcn.3f01aa94
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x3f013d50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
cmp dword [ebp + 8], 0
push edi
je 0x3f013e19
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x3f013e19
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x3f013e19
xor ecx, ecx
push esi
mov word [ebp - 0x208], cx
lea ecx, [ebp - 0x620]
push eax
call fcn.3f013480
push dword [ebp + 8]
lea ecx, [ebp - 0x414]
mov esi, dword [eax]
call fcn.3f013480
lea ecx, [ebp - 0x208]
push ecx
push dword [ebp + 0x10]
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, dword [ebp - 0x414]
mov esi, eax
lea eax, [ebp - 0x410]
cmp ecx, eax
je 0x3f013dce
push ecx
call fcn.3f01aa94
add esp, 4
mov eax, dword [ebp - 0x620]
lea ecx, [ebp - 0x61c]
cmp eax, ecx
je 0x3f013de7
push eax
call fcn.3f01aa94
add esp, 4
push 0
push 0
push 0x30a
push edi
push 0xffffffffffffffff
lea eax, [ebp - 0x208]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x3f013e11
mov byte [edi + 0x309], al
mov eax, esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x3f013f20
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x418]
call fcn.3f013480
push dword [ebp + 8]
lea ecx, [ebp - 0x20c]
mov esi, dword [eax]
call fcn.3f013480
push dword [ebp + 0x10]
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
lea ecx, [ebp - 0x208]
mov eax, dword [ebp - 0x20c]
cmp eax, ecx
je 0x3f013f6f
push eax
call fcn.3f01aa94
add esp, 4
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x414]
cmp eax, ecx
je 0x3f013f88
push eax
call fcn.3f01aa94
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x3f013f90
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x418]
call fcn.3f013480
push dword [ebp + 8]
lea ecx, [ebp - 0x20c]
mov esi, dword [eax]
call fcn.3f013480
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov esi, eax
lea ecx, [ebp - 0x208]
mov eax, dword [ebp - 0x20c]
cmp eax, ecx
je 0x3f013fdc
push eax
call fcn.3f01aa94
add esp, 4
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x414]
cmp eax, ecx
je 0x3f013ff5
push eax
call fcn.3f01aa94
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x3f014000
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push dword [ebp + 8]
lea ecx, [ebp - 0x20c]
call fcn.3f013480
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x20c]
lea ecx, [ebp - 0x208]
cmp eax, ecx
je 0x3f014038
push eax
call fcn.3f01aa94
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x3f014040
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x20c]
call fcn.3f013480
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
lea ecx, [ebp - 0x208]
mov eax, dword [ebp - 0x20c]
cmp eax, ecx
je 0x3f01407b
push eax
call fcn.3f01aa94
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x3f0141d0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x20c]
call fcn.3f013480
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, eax
lea ecx, [ebp - 0x208]
mov eax, dword [ebp - 0x20c]
cmp eax, ecx
je 0x3f01420b
push eax
call fcn.3f01aa94
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x3f014220
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x20c]
sub esp, 0x418
push esi
test eax, eax
je 0x3f014291
push eax
call fcn.3f013480
push dword [ebp + 8]
lea ecx, [ebp - 0x418]
mov esi, dword [eax]
call fcn.3f013480
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ecx, dword [ebp - 0x418]
mov esi, eax
lea eax, [ebp - 0x414]
cmp ecx, eax
je 0x3f014271
push ecx
call fcn.3f01aa94
add esp, 4
mov eax, dword [ebp - 0x20c]
lea ecx, [ebp - 0x208]
cmp eax, ecx
je 0x3f0142be
push eax
call fcn.3f01aa94
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
call fcn.3f013480
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ecx, dword [ebp - 0x20c]
mov esi, eax
lea eax, [ebp - 0x208]
cmp ecx, eax
je 0x3f0142be
push ecx
call fcn.3f01aa94
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x3f0142d0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x20c]
call fcn.3f013480
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, eax
lea ecx, [ebp - 0x208]
mov eax, dword [ebp - 0x20c]
cmp eax, ecx
je 0x3f01430e
push eax
call fcn.3f01aa94
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x3f014520
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x20c]
call fcn.3f013480
push dword [eax]
call fcn.3f028096
mov esi, eax
lea ecx, [ebp - 0x208]
mov eax, dword [ebp - 0x20c]
add esp, 4
cmp eax, ecx
je 0x3f01455d
push eax
call fcn.3f01aa94
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x3f0145c0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x418]
call fcn.3f013480
push dword [ebp + 8]
lea ecx, [ebp - 0x20c]
mov esi, dword [eax]
call fcn.3f013480
push esi
push dword [eax]
call fcn.3f0280e8
mov esi, eax
lea ecx, [ebp - 0x208]
mov eax, dword [ebp - 0x20c]
add esp, 8
cmp eax, ecx
je 0x3f01460e
push eax
call fcn.3f01aa94
add esp, 4
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x414]
cmp eax, ecx
je 0x3f014627
push eax
call fcn.3f01aa94
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x3f02e9f6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x5a], 0x2d
call fcn.3f02e622
push eax
push edi
push dword [ebp + 8]
call fcn.3f02e5d7
mov dword [ebp - 0xc4], eax
mov byte [ebp - 0x44], bl
lea eax, [ebp - 0x44]
mov byte [ebp - 0x43], bl
push eax
mov byte [ebp - 0x42], 0xfd
mov byte [ebp - 0x41], bl
mov byte [ebp - 0x40], 0x4e
mov byte [ebp - 0x3f], 0x6d
mov byte [ebp - 0x3e], 0x63
mov byte [ebp - 0x3d], 0x66
mov byte [ebp - 0x3c], 0x4e
mov byte [ebp - 0x3b], 0x6b
mov byte [ebp - 0x3a], 0x60
mov byte [ebp - 0x39], 0x70
mov byte [ebp - 0x38], 0x63
mov byte [ebp - 0x37], 0x70
mov byte [ebp - 0x36], 0x7b
mov byte [ebp - 0x35], 0x43
mov byte [ebp - 0x34], 2
call fcn.3f02e622
push eax
push edi
push dword [ebp + 8]

Function at 0x3f02ef1f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x5c
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0xe4
mov byte [ebp - 0x3bf], 0xc6
mov byte [ebp - 0x3be], 0xd7
mov byte [ebp - 0x3bd], 0xee
mov byte [ebp - 0x3bc], 0xcc
mov byte [ebp - 0x3bb], 0xc7
mov byte [ebp - 0x3ba], 0xd6
mov byte [ebp - 0x3b9], 0xcf
mov byte [ebp - 0x3b8], 0xc6
mov byte [ebp - 0x3b7], 0xe5
mov byte [ebp - 0x3b6], 0xca
mov byte [ebp - 0x3b5], 0xcf
mov byte [ebp - 0x3b4], 0xc6
mov byte [ebp - 0x3b3], 0xed
mov byte [ebp - 0x3b2], 0xc2
mov byte [ebp - 0x3b1], 0xce
mov byte [ebp - 0x3b0], 0xc6
mov byte [ebp - 0x3af], 0xe2
mov byte [ebp - 0x3ae], 0xa3
lea eax, [ebp - 0x3c4]
push eax
call fcn.3f02e622
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.3f02e5d7
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x94
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0x2c
mov byte [ebp - 0x3e7], 0xe
mov byte [ebp - 0x3e6], 0x1f
invalid
test dword [ebx], ebx
Function at 0xb9b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00b9b1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb9b07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb9b06a
add dl, dl
jne 0xb9b089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb9b0dc
xor eax, eax
add dl, dl
jne 0xb9b096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb9b17d
add dl, dl
jne 0xb9b0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb9b0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb9b0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb9b0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb9b0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb9b075
mov eax, 1
add dl, dl
jne 0xb9b0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb9b0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb9b0e1
sub eax, ebx
mov ebx, 1
jne 0xb9b128
mov ecx, 1
add dl, dl
jne 0xb9b10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb9b119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb9b105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb9b075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb9b13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb9b14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb9b136
cmp eax, 0x7d00
jae 0xb9b16d
cmp eax, 0x500
jb 0xb9b168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb9b075
cmp eax, 0x7f
ja 0xb9b170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb9b075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb9b19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xb9b075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40fbbe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov eax, dword [esp + 0x10]
mov ebp, esp
push esi
push edi
mov esi, dword [ebp + 0xc]
shr esi, 2
mov edx, dword [ebp + 8]
mov ecx, esi
dec esi
test ecx, ecx
jle 0x40fbff
movzx edi, byte [edx]
inc edx
movzx ecx, byte [edx]
shl ecx, 8
inc edx
or edi, ecx
movzx ecx, byte [edx]
shl ecx, 0x10
inc edx
or edi, ecx
movzx ecx, byte [edx]
shl ecx, 0x18
inc edx
or edi, ecx
mov ecx, esi
xor eax, edi
dec esi
test ecx, ecx
jg 0x40fbd7
xor esi, esi
mov ecx, dword [ebp + 0xc]
and ecx, 3
cmp ecx, 1
je 0x40fc26
cmp ecx, 2
je 0x40fc1d
cmp ecx, 3
jne 0x40fc2b
movzx esi, byte [edx]
shl esi, 0x10
inc edx
movzx ecx, byte [edx]
shl ecx, 8
inc edx
or esi, ecx
movzx ecx, byte [edx]
or esi, ecx
xor eax, esi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1db7019a
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1eea5bc2
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x1001fb1e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp + 0x10]
push eax
xor ebx, ebx
push ebx
push dword [ebp + 8]
mov dword [edi], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001fb88
cmp dword [ebp + 0x10], 1
je 0x1001fb60
cmp dword [ebp + 0x10], 2
je 0x1001fb60
push 0xd
pop eax
jmp 0x1001fb88
mov ecx, dword [ebp - 4]
test esi, esi
je 0x1001fb82
test ecx, ecx
je 0x1001fb7d
test cl, 1
jne 0x1001fb5b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], bx
je 0x1001fb82
jmp 0x1001fb5b
xor eax, eax
mov word [esi], ax
shr ecx, 1
mov dword [edi], ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x100213cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x10068c40
call fcn.10049a13
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x41c], edx
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x1002142d
call fcn.1001f47e
mov esi, eax
jmp 0x10021505
push dword [ebp - 0x41c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1002144b
call fcn.1001f47e
jmp 0x100214fc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x10021441
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x41c], esi
cmp eax, esi
jae 0x1002147e
mov esi, 0x8007000e
jmp 0x100214fe
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1002157e
mov dword [ebp - 4], 1
jmp 0x100214b2
cmp dword [ebp - 0x418], 0
je 0x10021474
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x420]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x10021441
mov eax, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor edx, edx
mov word [eax + ecx*2], dx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.1002029c
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1002151e
lea ecx, [ebp - 0x418]
call fcn.10021637
lea ecx, [ebp - 0x428]
call fcn.1001f3e7
mov eax, esi
call fcn.10049a6c
ret 0x10
Function at 0x100231c9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
push ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push dword [0x100700c8]
mov bl, 1
push Ordinal_4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10023233
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push dword [0x100700cc]
mov dword [ebp - 8], 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002322a
cmp dword [ebp - 0xc], 4
jne 0x1002322a
cmp dword [ebp - 0x10], eax
setne bl
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret

Function at 0x10025d67
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x1001c40c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor bl, bl
call fcn.1004c8f6
test eax, eax
je 0x10025e88
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 0x214]
push eax
push 0x20019
xor edi, edi
push edi
push 0x10006158
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x218], edi
call esi
test eax, eax
jne 0x10025e5a
lea eax, [ebp - 0x218]
push eax
push 0x20119
push edi
push 0x10006158
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x10025e5a
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x220]
push eax
push edi
push 0x100061bc
push dword [ebp - 0x214]
mov dword [ebp - 0x21c], 0x20a
call esi
test eax, eax
jne 0x10025e5a
cmp dword [ebp - 0x220], 1
jne 0x10025e5a
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x220]
push eax
push edi
push 0x100061bc
push dword [ebp - 0x218]
mov dword [ebp - 0x21c], 0x20a
call esi
test eax, eax
jne 0x10025e5a
cmp dword [ebp - 0x220], 1
jne 0x10025e5a
inc bl
mov eax, dword [ebp - 0x218]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x10025e73
push eax
mov dword [ebp - 0x218], edi
call esi
mov ecx, dword [ebp - 0x214]
test ecx, ecx
je 0x10025e86
push ecx
mov dword [ebp - 0x214], edi
call esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.10048c09
leave
ret