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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x411014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x259
mov esi, ebx
call fcn.004013f9
test eax, eax
je 0x401988
push str.Office_setup32.exe
lea ecx, [ebp - 0x1c]
call fcn.004012fe
lea eax, [ebp - 0x1c]
push eax
call fcn.0040132f
test al, al
jne 0x401913
mov edi, str.Office_setup64.exe
push edi
call fcn.00401848
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004016f6
lea eax, [ebp - 0x1c]
push eax
call fcn.0040132f
test al, al
jne 0x401913
push 2
call fcn.004013a5
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.00401611
mov eax, 0x80070002
jmp 0x401999
push 6
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.004035f4
add esp, 0xc
mov dword [ebp - 0x58], edi
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x50], ebx
cmovae eax, dword [ebp - 0x1c]
xor edi, edi
mov dword [ebp - 0x48], eax
inc edi
lea eax, [ebp - 0x58]
mov dword [ebp - 0x4c], ebx
push eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x54], 0x300
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x401976
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
push ebx
push edi
lea ecx, [ebp - 0x1c]
call fcn.00401611
jmp 0x401997
push 0x47e
call fcn.004013a5
mov esi, 0x8007047e
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401dfa
mov esp, ebp
pop ebp
ret 0x10

Function at 0x404c28
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x404c63
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x404c4a
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
and al, 0xc
jb 0x404c5b
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x404c65
inc edi
add eax, 0x28
cmp edi, esi
jb 0x404c40
xor eax, eax
pop edi
pop esi
ret

Function at 0x404edc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ecx + 0x5d880c4d]
ror byte [eax + 0x45c6c15d], 0xc2
in al, dx
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
Function at 0x404fbf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00404bf8
push eax
push esi
push dword [ebp + 8]
call fcn.00404bad
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00404bf8
push eax
push esi
push dword [ebp + 8]
call fcn.00404bad
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00404be8
adc dword [0x9d880f74], esi
jl 0x40506d
invalid
invalid
Function at 0x681ca0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x22b000]
push edi
jmp 0x681cba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x681cc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x681cb0
mov eax, 1
add ebx, ebx
jne 0x681cd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x681ce4
jne 0x681d03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x681d03
dec eax
add ebx, ebx
jne 0x681cf0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x681cc8
add ebx, ebx
jne 0x681cff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x681d55
xor ecx, ecx
sub eax, 3
jb 0x681d1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x681d8a
sar eax, 1
mov ebp, eax
jmp 0x681d26
add ebx, ebx
jne 0x681d26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x681cf4
inc ecx
add ebx, ebx
jne 0x681d34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x681cf4
add ebx, ebx
jne 0x681d41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x681d36
jne 0x681d52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x681d36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x681d74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x681d66
jmp 0x681cb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x681d74
add edi, ecx
jmp 0x681cb6
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x681d92
cmp byte [edi], 0x11
jne 0x681d92
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x681d97
lea edi, [esi + 0x27a000]
mov eax, dword [edi]
or eax, eax
je 0x681e0f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x42a3a4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x42a520]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x681dc4
mov ecx, edi
jns 0x681df3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x42a524]
or eax, eax
je 0x681e09
mov dword [ebx], eax
add ebx, 4
jmp 0x681de1
call dword [esi + 0x42a534]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x681e40
cmp al, 0xef
ja 0x681e33
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x681e15
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x681e22
mov ebp, dword [esi + 0x42a528]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x681e74
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x401000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x401110
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x34], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x30], eax
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x403000
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassW]
movzx edx, ax
test edx, edx
jne 0x40108a
push 0x10
push section..data
push str.This_program_requires_Windows_NT_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x4010fb
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
push 0x64
push 0x320
push 0
push 0
push 0xcf0000
push str.Cursor_Probe
push section..data
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 4], eax
push 5
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4010f9
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x4010cf
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x417a10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor esi, esi
test eax, eax
je 0x417a38
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 5
call sub.MPR.dll_WNetCloseEnum
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.CLSIDBA6DB5A2_8372_4DCA_BF6B_E167687A90EBTypeLib
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x417a61
xor eax, eax
pop esi
add esp, 8
ret 4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
mov dword [esp + 8], 0x104
push ecx
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x417a8d
mov esi, 1
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret 4

Function at 0x47fba7
Capabilities:
Encode data using xor

Disassembly:
adc dl, bh
sal byte [eax], cl
mov edx, 0xd531d5c5
push edx
aad 0x52
xor dl, byte [edi - 0x3f]
xchg ecx, eax
invalid
jp 0x47fb61
les ebp, [eax + edx*2]
push ss
pushal
xor al, 0xd5
aaa
lodsb al, byte [esi]
jne 0x47fb58
pop eax
enter 0xffffffffffffd742, 0x2b
lahf
rol dword [ebp - 0x15], 1
add al, 0x30
invalid

Function at 0x4b8ef1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c03d8
cmp edx, dword [eax]
je 0x4b8f13
add eax, 8
inc ecx
cmp eax, 0x4c0468
jl 0x4b8f04
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c03d8]
jne 0x4b9041
mov eax, dword [0x4c4d5c]
cmp eax, 1
je 0x4b901b
test eax, eax
jne 0x4b8f44
cmp dword [0x4c0304], 1
je 0x4b901b
cmp edx, 0xfc
je 0x4b9041
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b8f7b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004b98d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004b9d60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4b8fbe
lea eax, [ebp - 0x1a4]
push eax
call fcn.004b9d60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4be6c4
push edi
call fcn.004bbc30
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004b98d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004b98e0
lea eax, [ebp - 0xa0]
push 0x4be6a4
push eax
call fcn.004b98e0
push dword [esi + 0x4c03dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004b98e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bbba4
add esp, 0x2c
pop edi
jmp 0x4b9041
lea eax, [ebp + 8]
lea esi, [esi + 0x4c03dc]
push 0
push eax
push dword [esi]
call fcn.004b9d60
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x1000a651
Capabilities:
Query environment variable

Disassembly:
push 4
mov eax, 0x1019defc
call fcn.1000196c
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi], eax
call fcn.1000a795
xor ebx, ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
lea eax, [esi + 0x40]
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], bl
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], 2
mov dword [esi + 0x6f0], ebx
lea eax, [esi + 0x708]
mov dword [ebp - 4], ebx
mov dword [esi + 0x6f8], eax
mov dword [esi + 0x6fc], ebx
mov dword [esi + 0x700], ebx
lea eax, [esi + 0x5a0]
mov byte [ebp - 4], 1
push eax
call fcn.10108fd4
lea eax, [esi + 0x6e8]
push eax
call fcn.10108fd4
push str.MOZ_GCTIMER
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1000a742
push str.none
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x1000a742
push str.stdout
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x1000a719
push 1
mov byte [esi + 0x14], bl
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
jmp 0x1000a73f
push str.stderr
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x1000a72e
push 2
jmp 0x1000a70e
push 0x101c3884
push edi
mov byte [esi + 0x14], 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
pop ecx
pop ecx
mov ebx, eax
mov dword [esi + 0x10], ebx
mov eax, esi
call fcn.100019cb
ret 4
Function at 0x10086593
Capabilities:
Create process on windows

Disassembly:
push 0x5c
mov eax, 0x101a442b
call fcn.1000196c
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.100f81cb
xor edi, edi
lea eax, [ebp - 0x68]
push 0x44
push edi
push eax
mov dword [ebp - 4], edi
call sub.VCRUNTIME140.dll_memset
push 5
pop eax
push 0x10
mov word [ebp - 0x38], ax
xor esi, esi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x60], 0x101c0b48
push edi
inc esi
push eax
mov dword [ebp - 0x3c], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x28
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [0x1027a3ec]
push edi
push edi
push 0x10
push esi
mov esi, dword [eax + 0x54]
mov ecx, esi
push edi
push edi
push dword [ebp - 0x14]
call dword [0x101b33f8]
call esi
pop ecx
push eax
push edi
call dword [sym.imp.kernel32.dll_CreateProcessW]
movzx esi, ax
test si, si
je 0x10086626
push dword [ebp - 0x24]
call fcn.10108fd4
pop ecx
movzx esi, ax
lea ecx, [ebp - 0x14]
call fcn.10108fd4
mov ax, si
call fcn.100019cb
ret
Function at 0x10108fd4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x10108fe3
pop dword [ebp - 0x2c]
mov eax, 0x10108fe3
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0xc493f
push 0
mov eax, 0xd37e357b
sub eax, 0xc36304f7
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x94e6901b
sub ecx, 0x94e64c0c
mov esi, eax
mov edi, 0x102c6c00
add edi, dword [ebp - 0x2c]
mov edx, 0x7c6bc533
sub dword [ebp - 0x20], edi
mov ebx, dword [edi]
mov dword [ebp - 0x20], 0x901deea4
sub ebx, edx
xor dword [ebp - 0x24], 0x970502a6
mov dword [esi], ebx
xor dword [ebp - 0x10], ecx
add esi, 0x832de1c0
sub esi, 0x832de1bc
add edi, 4
loop 0x10109031
add eax, 0x5af8eaf5
add eax, 0xa508181a
xor ebx, ebx
add ebx, eax
add eax, 0x1a301441
add eax, 0xe5cfebc4
mov ecx, 0xe190f34a
add ecx, 0x2e6f0cb6
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x100039a6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
test edx, edx
jne 0x100039b9
push 0xd
pop eax
jmp 0x100039fd
push esi
xor eax, eax
push edi
mov dword [ebp + 0xc], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 4], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp + 0xc]
jne 0x100039cc
sub ecx, dword [ebp - 4]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x100039c4
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x10003a1c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x10003a2b
pop dword [ebp - 0x1c]
mov eax, 0x398ebe43
sub eax, 0x298e8418
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xcac0aee3
add dword [ebp - 0x2c], 0x83919668
mov dword [ebp - 0x28], 0xe284ee2a
add dword [ebp - 0x28], 0x4fae5e1b
mov dword [ebp - 0x24], 0x9e41706d
sub dword [ebp - 0x24], 0x51f52c3f
mov dword [ebp - 0x20], 0xa203b2a5
sub dword [ebp - 0x20], 0xa203b2a5
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xbf482432
sub eax, 0xaf47a3d6
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xa2a46472
sub dword [ebp - 0x2c], 0x2e31fb1c
mov dword [ebp - 0x28], 0x79a23add
sub dword [ebp - 0x28], 0x3835d968
mov dword [ebp - 0x24], 0x747ad5c1
sub dword [ebp - 0x24], 0x110b6955
mov dword [ebp - 0x20], 0xae1a7ec3
add dword [ebp - 0x20], 0x51e5813d
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x38a68
push 0
call eax
mov ecx, 0x4cc6
mov edi, eax
mov edx, 0x6a5edde2
sub edx, 0x5a5e01e2
add edx, dword [ebp - 0x1c]
mov esi, 0x8ce18151
add esi, 0xd6832dd6
sub dword [ebp - 0x10], esi
mov ebx, dword [edx]
xor dword [ebp - 0x18], esi
add ebx, esi
sub dword [ebp - 0x10], esi
mov dword [edi], ebx
add dword [ebp - 0xc], 0xa437b8c1
add edi, 0xdf73f6a7
sub edi, 0xdf73f6a3
add edx, 4
loop 0x10003b42
add eax, 0x125eb
mov ebx, eax
add eax, 0x96f73507
add eax, 0x6908cafe
mov ecx, 0x226e0d20
sub ecx, 0x126e0d20
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x10005e4e
Capabilities:
Query or enumerate registry value

Disassembly:
push 8
mov eax, 0x10007a20
call fcn.100078a2
cmp byte [0x1000b945], 0
je 0x10005e6d
mov eax, dword [0x1000b948]
jmp 0x10005f43
lea eax, [ebp - 0x10]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwarePoliciesMicrosoftSecurity
mov dword [ebp - 4], esi
push 0x80000001
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10005ebd
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
push 0x1000b948
push esi
push esi
push str.CLSIDInterfaceTest
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10005ebd
cmp dword [ebp - 0x14], 4
je 0x10005f16
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], esi
test eax, eax
je 0x10005ece
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
push eax
push 0x20019
push esi
push str.SoftwareMicrosoftSecurity
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10005f1e
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
push 0x1000b948
push esi
push esi
push str.CLSIDInterfaceTest
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10005f1e
cmp dword [ebp - 0x14], 4
jne 0x10005f1e
mov esi, dword [0x1000b948]
jmp 0x10005f24
mov dword [0x1000b948], esi
mov byte [0x1000b945], 1
mov dword [ebp - 4], 3
cmp dword [ebp - 0x10], 0
je 0x10005f41
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.10007880
ret

Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
in al, 0xa8
cmp dword [ebx + 0x3c05c1b4], 0xad0c20b1
mov dword [0x47176462], eax
leave
ror dword ds:[edi - 0x22], 0x34
xchg ebp, eax
xor eax, 0x8829a9c
and dword [esi + edi - 0x4f], edx
wait
pushal
dec ebp
and esp, ebx
cmp eax, 0x956460c1
loope 0x4153ec
wait
sbb byte [ecx + 0x7a], 0x9b
or byte [esi - 0x67], 0x44
or eax, 0x8c8c21f0
int3
Function at 0x403360
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x403393
call fcn.00403340
test eax, eax
je 0x403393
mov edx, 1
lea ecx, [ebp - 0x10]
call fcn.00403320
mov eax, dword [ebp - 8]
shr eax, 0x19
and eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
shr eax, 0x19
and eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x403400
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x403434
call fcn.00403340
cmp eax, 7
jb 0x403434
mov edx, 7
lea ecx, [ebp - 0x10]
call fcn.00403320
mov eax, dword [ebp - 0xc]
shr eax, 0x1d
and eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x403440
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x403473
call fcn.00403340
test eax, eax
je 0x403473
mov edx, 1
lea ecx, [ebp - 0x10]
call fcn.00403320
mov eax, dword [ebp - 8]
shr eax, 9
and eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
shr eax, 9
and eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x403570
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x891474]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x4035b9
push str.SetDefaultDllDirectories
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4035b9
push 0xc00
call eax
test eax, eax
jne 0x40364e
push 0x106
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
test ecx, ecx
je 0x40364e
cmp ecx, 0x104
ja 0x40364e
cmp word [ebp + ecx*2 - 0x2d6], 0x5c
je 0x4035f2
mov eax, 0x5c
mov word [ebp + ecx*2 - 0x2d4], ax
inc ecx
mov al, byte [str.userenv]
push esi
mov esi, str.userenv
test al, al
je 0x40364d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
lea edi, [ebp - 0x2d4]
lea edi, [edi + ecx*2]
mov ecx, edi
inc esi
movzx eax, al
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
mov al, byte [esi]
inc esi
test al, al
jne 0x403615
xor eax, eax
mov dword [ecx], 0x64002e
push 8
push eax
mov word [ecx + 8], ax
lea eax, [ebp - 0x2d4]
push eax
mov dword [ecx + 4], 0x6c006c
call ebx
mov al, byte [esi]
test al, al
jne 0x403612
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004438f1
mov esp, ebp
pop ebp
ret
Function at 0x408b30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x98
push 0
lea eax, [edi + 0x110]
push eax
call fcn.00445040
mov eax, dword [edi + 0x30]
add esp, 0xc
add eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x40], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x14], 0
lea esi, [eax + ecx]
shr ecx, 3
mov eax, 0xaaaaaaab
mul ecx
mov ecx, 0xc
shr edx, 3
imul eax, edx, 0x54
mov edx, esi
sub edx, eax
mov eax, dword [edi + 0x18]
cmp eax, ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x44], edx
cmovb ecx, eax
mov dword [edi + 8], edx
not ecx
lea eax, [edx + 0x600]
mov dword [edi + 0x24], ecx
mov dword [edi + 0x20], ecx
lea ecx, [esi - 0xc]
mov dword [edi + 0x38], eax
xor eax, eax
mov dword [edi + 0x3c], ecx
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [ecx + 4], edx
add edx, 2
mov dword [ecx], 0x1010100
mov dword [ecx + 8], 0
mov byte [edx - 2], al
lea edx, [edx + 6]
xor ecx, ecx
mov byte [edx - 7], 1
inc eax
mov dword [edx - 6], ecx
cmp eax, 0x100
jb 0x408bc7
lea eax, [edi + 0x9fc]
push ebx
xor ebx, ebx
mov dword [ebp - 4], eax
nop word [eax + eax]
mov esi, eax
xor edi, edi
movzx eax, word [edi + 0x454570]
lea ecx, [ebx + 2]
xor edx, edx
div ecx
mov ecx, 0x4000
sub ecx, eax
xor eax, eax
movzx ecx, cx
nop
mov word [esi + eax*2], cx
add eax, 8
cmp eax, 0x40
jb 0x408c10
add edi, 2
add esi, 2
cmp edi, 0x10
jb 0x408bf4
mov eax, dword [ebp - 4]
inc ebx
sub eax, 0xffffff80
mov dword [ebp - 4], eax
cmp ebx, 0x80
jb 0x408bf0
mov edi, dword [ebp + 8]
mov edx, 0x50
pop ebx
lea esi, [edi + 0x3bc]
nop dword [eax + eax]
mov eax, esi
mov ecx, 0x10
nop word [eax + eax]
mov word [eax], dx
lea eax, [eax + 4]
mov word [eax - 2], 0x403
sub ecx, 1
jne 0x408c60
add edx, 0x28
add esi, 0x40
cmp edx, 0x438
jb 0x408c50
mov dword [edi + 0x3b8], 0x40070000
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4