joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408343
Capabilities:
Contain obfuscated stackstrings

Disassembly:
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 0x408370
inc dword [ebp - 0x8c]
invalid
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.00408082
out 0x5f, eax
jl 0x40836e
lea eax, [ebp - 0x40]
push eax
call fcn.00408092
push eax
push esi
push dword [ebp + 8]
call fcn.00408047
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.00408082
mov eax, edi
js 0x4083eb
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
call 0x5128e178
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
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.00408092
push eax
push esi
push dword [ebp + 8]
call fcn.00408047
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.00408092
push eax
push esi
push dword [ebp + 8]
call fcn.00408047
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.00408092
push eax
push esi
push dword [ebp + 8]
call fcn.00408047
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00408082
mov edx, 0x88fc0a89
popfd
jl 0x408507
invalid
invalid
Function at 0x408b96
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x663], 0
mov byte [ebp - 0x662], 7
and byte [ebp - 0x661], 0
mov byte [ebp - 0x660], 0xb0
mov byte [ebp - 0x65f], 0x9d
mov byte [ebp - 0x65e], 0x99
stc
invalid
call [ecx - 0x65c7a3a]
invalid
dec dword [eax - 0x65b7a3a]
invalid
invalid
mov ecx, 0xf9a585c6
invalid
call dword [esi + eax*8 - 0x6597b]
call dword [esi + eax*8 - 0x6587b]
call dword [edi - 0x6577a3a]
invalid
call [ebx - 0x6567a3a]
invalid
invalid
clc
lea eax, [ebp - 0x664]
push eax
call fcn.00408092
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00408047
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.00408092
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00408047
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.00408082
mov ah, byte [edx]
invalid

Function at 0x409519
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.00408082
cmc
sbb al, 0xb7
sub ecx, dword [ebp - 0x72b7b]
call dword [eax - 0x18]
pop ss
jmp 0x409579
invalid
Function at 0x40b27e
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x40d0fc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
xor edi, edi
push eax
mov dword [ebp - 0xc], edi
call fcn.004050e3
test eax, eax
pop ecx
je 0x40b2b3
push edi
push edi
push edi
push edi
push edi
call fcn.00408adb
add esp, 0x14
push 4
pop eax
call fcn.0040b6b0
mov dword [ebp - 0x14], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40b3c1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x58]
dec esi
neg esi
sbb esi, esi
and esi, 0x103
inc esi
cmp dword [ebp - 0xc], 2
mov dword [ebp - 8], edi
jne 0x40b33a
push 0x401a64
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, edi
je 0x40b33a
push 0x402c08
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x40b33a
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], edi
call eax
cmp eax, 1
jne 0x40b33a
mov eax, dword [ebp - 0x10]
cmp eax, edi
jbe 0x40b33a
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea edi, [ebx - 1]
push edi
push dword [ebp - 8]
call fcn.00405e79
add esp, 0xc
test eax, eax
jl 0x40b3c1
not edi
and dword [ebp - 8], edi
je 0x40b36c
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 8]
call fcn.00405e79
add esp, 0xc
test eax, eax
jl 0x40b3c1
lea eax, [ebx + ebx]
cmp dword [ebp - 8], eax
jae 0x40b377
mov dword [ebp - 8], eax
lea edi, [ebx - 1]
not edi
and edi, dword [ebp - 0x14]
sub edi, dword [ebp - 8]
cmp dword [ebp - 0xc], 1
jne 0x40b38b
push 0x11
pop ebx
mov eax, dword [ebp - 0x18]
add ebx, eax
cmp edi, ebx
jb 0x40b3c1
push 4
push 0x1000
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x40b3c1
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x40b3c1
xor eax, eax
inc eax
jmp 0x40b3c3
xor eax, eax
lea esp, [ebp - 0x68]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404312
leave
ret

Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x69f5b05
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x26eb1b03
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401552
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
mov edi, ecx
mov esi, edx
test edi, edi
jne 0x40156a
or eax, 0xffffffff
jmp 0x40165e
push ebx
push 0
push 0x3c
pop ebx
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.00401064
add esp, 0xc
mov dword [ebp - 0x40], ebx
cmp byte [edi + 0x1a], 0
mov eax, 0x400
mov edx, str.open
push 5
lea ecx, [eax + 0x40]
cmovne eax, ecx
mov cl, byte [edi + 0x18]
mov dword [ebp - 0x3c], eax
test cl, cl
mov eax, str.runas
cmove eax, edx
xor edx, edx
cmp byte [edi + 0x19], dl
mov dword [ebp - 0x34], eax
mov eax, dword [edi]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x2c], eax
pop eax
cmovne eax, edx
mov dword [ebp - 0x24], eax
test cl, cl
je 0x4015d3
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x38], eax
test esi, esi
je 0x4015e3
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.00401664
mov esi, eax
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea eax, [ebp - 0x40]
push eax
call ebx
mov edi, eax
test esi, esi
je 0x401600
mov edx, esi
mov ecx, edi
call fcn.004016e5
mov esi, eax
test edi, edi
jne 0x40162e
cmp dword [ebp - 0x20], 0x1f
je 0x401610
cmp dword [ebp - 0x20], 0x1b
jne 0x40162e
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x40]
and dword [ebp - 0x3c], 0xfffffbff
push eax
call ebx
test esi, esi
je 0x40162e
mov edx, esi
mov ecx, eax
call fcn.004016e5
or eax, 0xffffffff
cmp dword [ebp - 8], 0
mov dword [ebp - 4], eax
pop ebx
je 0x40165e
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40190d
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x14], 0x800
mov esi, 0x4022f0
mov eax, dword [esi]
mov ecx, ebp
mov ebx, dword [esi + 4]
mov edx, ebx
mov dword [esp + 0x10], eax
call fcn.00401da0
push 2
pop edx
test al, al
jne 0x40194f
add esi, 8
cmp esi, 0x402320
jne 0x401923
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x401964
xor edi, edi
mov eax, edi
jmp 0x401958
add ebx, edx
inc eax
cmp word [ebx], di
jne 0x401955
lea ebp, [ebp + eax*2]
add ebp, 2
mov eax, ebp
mov ecx, edi
cmp word [ebp], di
je 0x401976
add eax, edx
inc ecx
cmp word [eax], di
jne 0x40196e
lea ebx, [ecx*2]
add ebx, ebp
jmp 0x401989
cmp word [ebx], 0x5c
je 0x40198f
sub ebx, edx
cmp ebx, ebp
jae 0x401981
mov ebx, edi
test ebx, ebx
jne 0x401997
xor al, al
jmp 0x4019f0
xor eax, eax
xor esi, esi
mov word [ebx], ax
inc esi
add ebx, edx
call section..text
test al, al
mov ecx, 0x101
lea eax, [esp + 0x18]
push eax
cmovne esi, ecx
push esi
push edi
push ebp
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401993
lea eax, [esp + 0x14]
push eax
push 0x403010
push edi
push edi
push ebx
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x14]
xor edx, edx
test eax, eax
sete al
mov word [ecx*2 + 0x403010], dx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x401bcd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push 0x80
push 4
push ebx
push 1
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 2
push ebx
mov esi, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, edi
mov ecx, ebx
cmp word [edi], bx
je 0x401c0e
lea eax, [eax + 2]
inc ecx
cmp word [eax], bx
jne 0x401c05
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
lea eax, [ecx + ecx]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test esi, esi
je 0x401c2d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401c34
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor edi, edi
lea ecx, [ebp - 8]
push 0x1000
mov esi, eax
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call fcn.00401250
mov ecx, dword [ebp - 4]
mov edx, str.Full_command_line:
push edi
push esi
call fcn.0040115d
pop ecx
pop ecx
push 0x20
pop ecx
test esi, esi
je 0x401c88
movzx eax, word [esi]
test ax, ax
je 0x401c88
cmp ax, cx
ja 0x401c88
inc esi
add esi, 1
jne 0x401c75
mov eax, ecx
lea ebx, [esi + 2]
push 0x22
pop ecx
cmp word [esi], cx
cmove eax, ecx
movzx edx, ax
movzx eax, word [ebx]
test ax, ax
je 0x401cb5
mov ecx, eax
cmp cx, dx
je 0x401cb7
add ebx, 2
movzx eax, word [ebx]
mov ecx, eax
test ax, ax
jne 0x401ca3
mov ebx, edi
push 0x20
pop ecx
add ebx, 2
je 0x401cd2
movzx eax, word [ebx]
test ax, ax
je 0x401cd2
cmp ax, cx
ja 0x401cd2
inc ebx
add ebx, 1
jne 0x401cbf
lea edi, [ebp - 0x30]
mov esi, str.http
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x18]
mov esi, str.mailto
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, ebx
test ebx, ebx
je 0x401d04
movzx eax, word [esi]
test ax, ax
je 0x401d04
cmp ax, cx
ja 0x401d04
inc esi
add esi, 1
jne 0x401cf1
lea edx, [ebp - 0x30]
mov ecx, esi
call fcn.004011c9
cmp eax, esi
je 0x401d71
lea edx, [ebp - 0x18]
mov ecx, esi
call fcn.004011c9
cmp eax, esi
je 0x401d71
push ecx
lea ecx, [ebp - 0x24]
call fcn.004017d9
lea eax, [ebp - 0x238]
mov ecx, ebx
push eax
lea edx, [ebp - 0x24]
call fcn.004019f8
mov edx, dword [ebp - 4]
pop ecx
lea ecx, [ebp - 0x24]
call fcn.00401552
cmp word [ebp - 0x238], 0
mov esi, eax
je 0x401d67
lea ecx, [ebp - 8]
call fcn.00401280
lea edx, [ebp - 0x238]
mov ecx, eax
call fcn.00401bcd
lea ecx, [ebp - 0x24]
call fcn.00401d8c
jmp 0x401d84
lea ecx, [ebp - 8]
call fcn.00401280
mov edx, eax
mov ecx, ebx
call fcn.00401321
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x403610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x7c870
call fcn.00405140
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x7c850], 0
push eax
push eax
push eax
mov word [ebp - 0x7c83c], ax
lea eax, [ebp - 0x7c84c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x7c850]
mov dword [ebp - 0x7c84c], 0x10001
push eax
mov dword [ebp - 0x7c848], 0x4268
mov dword [ebp - 0x7c844], 0x4268
mov dword [ebp - 0x7c840], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x7c830
lea eax, [ebp - 0x7c838]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ebx, ebx
cmp dword [0x4083c8], 2
jl 0x403786
movaps xmm4, xmmword [0x406b70]
lea eax, [ebx + 4]
movaps xmm5, xmmword [str._t_t_t_t]
xor ecx, ecx
movaps xmm6, xmmword [0x406b80]
movups xmm3, xmmword [0x406bb0]
movd xmm0, ecx
add ecx, 8
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
pmulld xmm1, xmm6
psrld xmm1, 9
andps xmm2, xmm3
pmulld xmm0, xmm5
psrld xmm0, 9
andps xmm1, xmm3
packuswb xmm1, xmm1
andps xmm0, xmm3
packuswb xmm1, xmm1
packuswb xmm0, xmm0
packuswb xmm0, xmm0
xorps xmm1, xmm0
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm1, xmm2
movd xmm0, eax
movd dword [ebp + eax - 0x7c83c], xmm1
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
pmulld xmm1, xmm6
pmulld xmm0, xmm5
psrld xmm1, 9
andps xmm2, xmm3
psrld xmm0, 9
andps xmm1, xmm3
packuswb xmm2, xmm2
andps xmm0, xmm3
packuswb xmm1, xmm1
packuswb xmm0, xmm0
packuswb xmm1, xmm1
packuswb xmm0, xmm0
xorps xmm1, xmm0
packuswb xmm2, xmm2
paddb xmm1, xmm2
movd dword [ebp + eax - 0x7c838], xmm1
add eax, 8
cmp eax, 0x7c834
jb 0x4036c3
jmp 0x4037b3
xor esi, esi
xor eax, eax
nop word [eax + eax]
mov edx, eax
mov ecx, esi
shr edx, 9
add eax, 9
shr ecx, 9
add esi, 6
xor dl, cl
add dl, bl
mov byte [ebp + ebx - 0x7c838], dl
inc ebx
cmp eax, 0x4609b0
jb 0x403790
lea eax, [ebp - 0x7c838]
mov dword [ebp - 0x7c86c], 0x7c830
mov dword [ebp - 0x7c870], eax
lea eax, [ebp - 0x7c870]
push 0x20
push eax
push dword [ebp - 0x7c850]
mov dword [ebp - 0x7c868], 0
mov dword [ebp - 0x7c864], 0
mov dword [ebp - 0x7c860], 0
mov dword [ebp - 0x7c85c], 0
mov dword [ebp - 0x7c858], 0
mov dword [ebp - 0x7c854], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x7c870]
push eax
push dword [ebp - 0x7c850]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x7c870]
push eax
push dword [ebp - 0x7c850]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x7c850]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040433a
mov esp, ebp
pop ebp
ret
Function at 0x404b6b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404baa
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404baa
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404baa
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404baa
cmp dword [ecx + 0x74], 0xe
jbe 0x404baa
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4e0640
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x8cb000
lea edi, [esi - 0x8a000]
push edi
jmp 0x4e065a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e0661
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e0650
mov eax, 1
add ebx, ebx
jne 0x4e0673
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e0684
jne 0x4e06a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e06a3
dec eax
add ebx, ebx
jne 0x4e0690
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e0668
add ebx, ebx
jne 0x4e069f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4e06f5
xor ecx, ecx
sub eax, 3
jb 0x4e06bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e072a
sar eax, 1
mov ebp, eax
jmp 0x4e06c6
add ebx, ebx
jne 0x4e06c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e0694
inc ecx
add ebx, ebx
jne 0x4e06d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e0694
add ebx, ebx
jne 0x4e06e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e06d6
jne 0x4e06f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e06d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e0714
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e0706
jmp 0x4e0656
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e0714
add edi, ecx
jmp 0x4e0656
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e0732
cmp byte [edi], 0x11
jne 0x4e0732
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 0x4e0737
lea edi, [esi + 0xd9000]
mov eax, dword [edi]
or eax, eax
je 0x4e07af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xea724]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xea8c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e0764
mov ecx, edi
jns 0x4e0793
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 + 0xea8d0]
or eax, eax
je 0x4e07a9
mov dword [ebx], eax
add ebx, 4
jmp 0x4e0781
call dword [esi + 0xea8cc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4e07e0
cmp al, 0xef
ja 0x4e07d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4e07b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4e07c2
mov ebp, dword [esi + 0xea8d4]
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 0x4e0814
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x4194d0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0xc
mov al, byte [0x4cd04e]
push esi
mov esi, ecx
push edi
mov cl, byte [0x4cd043]
xor cl, al
mov al, byte [0x4cd041]
mov byte [0x4cd043], cl
mov cl, al
or cl, 0xc
shr cl, 2
and ecx, 0xff
mov dword [esp + 8], ecx
fild dword [esp + 8]
fdivr qword [0x4d0a08]
fadd qword [0x4d09a8]
fstp qword [0x4d0a08]
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x4195e5
mov dl, byte [0x4cd045]
mov cl, byte [0x4cd04d]
or dl, 2
or al, cl
shr dl, 1
and edx, 0xff
mov byte [0x4cd041], al
mov dword [esp + 8], edx
fild dword [esp + 8]
fdivr qword [0x4cd058]
fadd qword [0x4cb350]
fstp qword [0x4d09a8]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x419593
mov edx, dword [0x4d0af4]
push 0x4d07e0
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, dword [0x4d0af4]
push eax
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov dword [0x4cffc8], eax
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [0x4cd03c]
mov edi, eax
mov dword [esp + 0x10], 0
lea edx, [ecx*4]
mov ecx, dword [0x4cd038]
or edx, ecx
mov dword [esp + 0xc], edx
fild qword [esp + 0xc]
fstp qword [0x4cd058]
call fcn.00419410
test edi, edi
mov dword [esi], edi
je 0x4195e5
push str.IsThemeActive
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 8], eax
pop edi
pop esi
add esp, 0xc
ret

Function at 0x462955
Capabilities:
Encode data using xor

Disassembly:
add al, 0xa4
test dword [edi + ebp*2 - 0x3a], edi
daa
mov ah, 0x20
add ebx, ebp
sbb al, 0x64
jne 0x46290e
or edi, dword [edi]
in al, 0xa6
dec ebp
outsd dx, dword [esi]
or esp, dword [edi]
mov byte [0xc93d2cba], al
or ebx, 0x2857342f
mov dword [ebp + 0x16d36baa], edi
Function at 0x4c6181
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cd3a8
cmp edx, dword [eax]
je 0x4c61a3
add eax, 8
inc ecx
cmp eax, 0x4cd438
jl 0x4c6194
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cd3a8]
jne 0x4c62d1
mov eax, dword [0x4d2dd8]
cmp eax, 1
je 0x4c62ab
test eax, eax
jne 0x4c61d4
cmp dword [0x4cd2d4], 1
je 0x4c62ab
cmp edx, 0xfc
je 0x4c62d1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c620b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c6b60
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c6ff0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c624e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c6ff0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4cb6cc
push edi
call fcn.004c8ec0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c6b60
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c6b70
lea eax, [ebp - 0xa0]
push 0x4cb6ac
push eax
call fcn.004c6b70
push dword [esi + 0x4cd3ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c6b70
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c8e34
add esp, 0x2c
pop edi
jmp 0x4c62d1
lea eax, [ebp + 8]
lea esi, [esi + 0x4cd3ac]
push 0
push eax
push dword [esi]
call fcn.004c6ff0
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