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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x419004]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x4179d0]
lea eax, [ebp - 0x14]
push esi
push edi
push eax
mov edi, ecx
mov dword [ebp - 0x14], 0x6e72656b
mov dword [ebp - 0x10], 0x32336c65
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x52734634
mov dword [ebp - 0x20], 0x72696465
mov dword [ebp - 0x1c], 0x69746365
mov word [ebp - 0x18], 0x6e6f
mov byte [ebp - 0x16], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test edi, edi
je 0x402180
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x402161
cmp dword [ebp - 0x38], 0
je 0x402161
mov eax, dword [0x41a3b4]
test eax, eax
jne 0x40215a
test esi, esi
je 0x402176
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x41a3b4], eax
test eax, eax
je 0x402180
push edi
call eax
test eax, eax
je 0x402180
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040331c
mov esp, ebp
pop ebp
ret
mov dword [0x41a3b4], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0040331c
mov esp, ebp
pop ebp
ret

Function at 0x4021a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x419004]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [str.Wow64RevertWow64Wow64DisableWow6]
lea eax, [ebp - 0x14]
push esi
push edi
push eax
mov edi, ecx
mov dword [ebp - 0x14], 0x6e72656b
mov dword [ebp - 0x10], 0x32336c65
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x65527346
mov dword [ebp - 0x20], 0x65726964
mov dword [ebp - 0x1c], 0x6f697463
mov word [ebp - 0x18], 0x6e
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x402277
cmp dword [ebp - 0x38], 0
je 0x402277
mov eax, dword [0x41a3ac]
test eax, eax
jne 0x402242
test esi, esi
je 0x40225b
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x41a3ac], eax
test eax, eax
je 0x402249
push edi
call eax
test eax, eax
jne 0x402277
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040331c
mov esp, ebp
pop ebp
ret
pop edi
mov dword [0x41a3ac], 0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040331c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0040331c
mov esp, ebp
pop ebp
ret
Function at 0x4026e0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x418020
push 0x403ed0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x419004]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x3c], ebx
xor edi, edi
mov dword [ebp - 0x20], edi
test ecx, ecx
je 0x4028cc
test eax, eax
je 0x4028cc
mov dword [ebp - 4], ebx
push 0xa
movzx eax, word [ebp + 8]
push eax
push dword [0x41a3b0]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x402839
push esi
push dword [0x41a3b0]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [ebp + 0xc], eax
jne 0x402839
push esi
push dword [0x41a3b0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x402839
push 4
push 0x3000
mov esi, dword [ebp + 0xc]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x402839
push esi
push dword [ebp - 0x34]
push ebx
call fcn.00404830
add esp, 0xc
mov ecx, esi
xor edx, edx
mov dword [ebp - 0x24], edx
mov esi, ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x4027df
imul edx, edx, 0x1003f
movzx eax, byte [esi]
add edx, eax
inc esi
dec ecx
jmp 0x4027c6
cmp dword [ebp + 0x10], edx
jne 0x402839
lea ecx, [ebp - 0x2c]
call fcn.004020b0
test eax, eax
je 0x402839
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, 0xffffffff
je 0x402839
push 0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0xc]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 1
test eax, eax
cmovne edi, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0xfffffffe
jmp 0x402858
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
call fcn.004021a0
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x40288a
mov ecx, dword [ebp - 0x30]
call fcn.00402330
mov dword [ebp - 4], 0xfffffffe
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402d00
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3b0
mov eax, dword [0x419004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x118
lea eax, [ebp - 0x3ac]
mov dword [ebp - 0x3b0], 0x11c
push 0
push eax
call fcn.00404180
mov eax, dword [0x41a3a8]
add esp, 0xc
test eax, eax
jne 0x402d9e
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0x74006e
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x6c0064
push eax
mov dword [ebp - 0x10], 0x2e006c
mov dword [ebp - 0xc], 0x6c0064
mov dword [ebp - 8], 0x6c
mov dword [ebp - 0x28], 0x476c7452
mov dword [ebp - 0x24], 0x65567465
mov dword [ebp - 0x20], 0x6f697372
mov word [ebp - 0x1c], 0x6e
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x41a3a8], eax
test eax, eax
je 0x402f22
lea ecx, [ebp - 0x3b0]
push ecx
call eax
test eax, eax
js 0x402f22
cmp dword [ebp - 0x3a4], 0xece
jne 0x402f0d
push edi
xor eax, eax
mov dword [ebp - 0x8c], 0x6f0053
push 0x208
push eax
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x294]
push eax
mov dword [ebp - 0x88], 0x720075
mov dword [ebp - 0x84], 0x650063
mov dword [ebp - 0x80], 0x610048
mov dword [ebp - 0x7c], 0x680073
mov dword [ebp - 0x78], 0x36007b
mov dword [ebp - 0x74], 0x410033
mov dword [ebp - 0x70], 0x340043
mov dword [ebp - 0x6c], 0x320035
mov dword [ebp - 0x68], 0x2d0033
mov dword [ebp - 0x64], 0x460035
mov dword [ebp - 0x60], 0x390031
mov dword [ebp - 0x5c], 0x34002d
mov dword [ebp - 0x58], 0x460032
mov dword [ebp - 0x54], 0x2d0030
mov dword [ebp - 0x50], 0x430042
mov dword [ebp - 0x4c], 0x330034
mov dword [ebp - 0x48], 0x39002d
mov dword [ebp - 0x44], 0x430037
mov dword [ebp - 0x40], 0x420038
mov dword [ebp - 0x3c], 0x330035
mov dword [ebp - 0x38], 0x330037
mov dword [ebp - 0x34], 0x380035
mov dword [ebp - 0x30], 0x7d0039
mov dword [ebp - 0x18], 0x6e0049
mov dword [ebp - 0x14], 0x740073
mov dword [ebp - 0x10], 0x6c0061
mov dword [ebp - 0xc], 0x65006c
mov dword [ebp - 8], 0x72
call fcn.00404180
add esp, 0xc
lea eax, [ebp - 0x294]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
pop edi
test eax, eax
je 0x402f22
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x294]
push eax
call esi
test eax, eax
je 0x402f22
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x294]
push eax
call esi
test eax, eax
je 0x402f22
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x402f0d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x402f22
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040331c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0040331c
mov esp, ebp
pop ebp
ret
Function at 0x403030
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x418088
push 0x403ed0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x11e34
call fcn.00411bc0
mov eax, dword [0x419004]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov dword [ebp - 0x11e48], 0x11e2c
push 0x11e28
push 0
lea eax, [ebp - 0x11e44]
push eax
call fcn.00404180
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x11e4c], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x234], edi
lea ecx, [ebp - 0x11e48]
call fcn.004025d0
test eax, eax
je 0x403110
lea ecx, [ebp - 0x11e48]
call fcn.00402940
test eax, eax
je 0x403110
lea ecx, [ebp - 0x11e48]
call fcn.00402ca0
test eax, eax
je 0x403110
lea ecx, [ebp - 0x11e48]
call fcn.00402f40
test eax, eax
je 0x403110
cmp dword [ebp - 0x230], esi
jne 0x4030f4
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 4
push 0
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, 1
mov dword [ebp - 0x11e4c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x40312f
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0040331c
mov esp, ebp
pop ebp
ret

Function at 0x403280
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
xor edi, edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
je 0x403301
push esi
xor esi, esi
cmp dword [ebp - 8], esi
jle 0x403300
lea eax, [ebp - 4]
push eax
push ecx
push 0x4179a8
push ecx
push dword [ebx + esi*4]
push ecx
call fcn.00403150
add esp, 0x18
test eax, eax
je 0x4032d4
cmp dword [ebp - 4], 0
je 0x4032f5
lea eax, [ebp - 4]
push eax
push ecx
push 0x4179b0
push ecx
push dword [ebx + esi*4]
push ecx
call fcn.00403150
add esp, 0x18
test eax, eax
je 0x4032fa
cmp dword [ebp - 4], 0
jne 0x4032fa
mov edi, 1
inc esi
cmp esi, dword [ebp - 8]
jl 0x4032b3
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, edi
call fcn.00403030
neg eax
pop edi
sbb eax, eax
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40b2aa
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41c290]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0040968a
mov dword [ebp - 0x14], eax
cmp dword [0x41d00c], edi
jne 0x40b39b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x40b328
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40b47b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40b47b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40b47b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x41d00c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x41d010], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x41d014], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41d01c], eax
test eax, eax
je 0x40b398
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41d018], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40b3c0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40b3b3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x40b3d5
push 4
pop eax
jmp 0x40b47d
cmp dword [ebp - 0x14], edi
je 0x40b3d5
push dword [0x41d00c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40b3ba
mov eax, dword [0x41d018]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x40b433
cmp dword [0x41d01c], esi
je 0x40b433
push eax
call ebx
push dword [0x41d01c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40b433
test eax, eax
je 0x40b433
call ecx
test eax, eax
je 0x40b428
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40b428
test byte [ebp - 8], 1
jne 0x40b433
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x40b463
mov eax, dword [0x41d010]
cmp eax, esi
je 0x40b460
push eax
call ebx
test eax, eax
je 0x40b460
call eax
mov edi, eax
test edi, edi
je 0x40b460
mov eax, dword [0x41d014]
cmp eax, esi
je 0x40b460
push eax
call ebx
test eax, eax
je 0x40b460
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x41d00c]
call ebx
test eax, eax
je 0x40b47b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x40b47d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b48c
leave
ret
Function at 0x403fe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3a9c0
call fcn.004107f0
mov eax, dword [0x41d004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x3a9a0], 0
push eax
push eax
push eax
mov word [ebp - 0x3a98c], ax
lea eax, [ebp - 0x3a99c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3a9a0]
mov dword [ebp - 0x3a99c], 0x10001
push eax
mov dword [ebp - 0x3a998], 0x1f40
mov dword [ebp - 0x3a994], 0x1f40
mov dword [ebp - 0x3a990], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x3a980
lea eax, [ebp - 0x3a988]
push 0
push eax
call fcn.004073b0
add esp, 0xc
xor ecx, ecx
mov eax, ecx
shr eax, cl
xor al, cl
mov byte [ebp + ecx - 0x3a988], al
inc ecx
cmp ecx, 0x3a980
jb 0x404063
lea eax, [ebp - 0x3a988]
mov dword [ebp - 0x3a9bc], 0x3a980
mov dword [ebp - 0x3a9c0], eax
lea eax, [ebp - 0x3a9c0]
push 0x20
push eax
push dword [ebp - 0x3a9a0]
mov dword [ebp - 0x3a9b8], 0
mov dword [ebp - 0x3a9b4], 0
mov dword [ebp - 0x3a9b0], 0
mov dword [ebp - 0x3a9ac], 0
mov dword [ebp - 0x3a9a8], 0
mov dword [ebp - 0x3a9a4], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406604
mov esp, ebp
pop ebp
ret

Function at 0x404e20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x50c40
call fcn.004107f0
mov eax, dword [0x41d004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x50c20], 0
push eax
push eax
push eax
mov word [ebp - 0x50c0c], ax
lea eax, [ebp - 0x50c1c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x50c20]
mov dword [ebp - 0x50c1c], 0x10001
push eax
mov dword [ebp - 0x50c18], 0x2b11
mov dword [ebp - 0x50c14], 0x2b11
mov dword [ebp - 0x50c10], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x50bfe
lea eax, [ebp - 0x50c08]
push 0
push eax
call fcn.004073b0
add esp, 0xc
xor eax, eax
mov edx, eax
shr edx, 7
xor dl, al
add dl, al
xor dl, 5
mov cl, dl
shl dl, 2
add cl, dl
mov byte [ebp + eax - 0x50c08], cl
inc eax
cmp eax, 0x50bfe
jb 0x404ea3
lea eax, [ebp - 0x50c08]
mov dword [ebp - 0x50c3c], 0x50bfe
mov dword [ebp - 0x50c40], eax
lea eax, [ebp - 0x50c40]
push 0x20
push eax
push dword [ebp - 0x50c20]
mov dword [ebp - 0x50c38], 0
mov dword [ebp - 0x50c34], 0
mov dword [ebp - 0x50c30], 0
mov dword [ebp - 0x50c2c], 0
mov dword [ebp - 0x50c28], 0
mov dword [ebp - 0x50c24], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x50c40]
push eax
push dword [ebp - 0x50c20]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x50c40]
push eax
push dword [ebp - 0x50c20]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x50c20]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406604
mov esp, ebp
pop ebp
ret
Function at 0x4052c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa1840
call fcn.004107f0
mov eax, dword [0x41d004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xa1820], 0
push eax
push eax
push eax
mov word [ebp - 0xa180c], ax
lea eax, [ebp - 0xa181c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xa1820]
mov dword [ebp - 0xa181c], 0x10001
push eax
mov dword [ebp - 0xa1818], 0x5622
mov dword [ebp - 0xa1814], 0x5622
mov dword [ebp - 0xa1810], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0xa17fc
lea eax, [ebp - 0xa1808]
push 0
push eax
call fcn.004073b0
add esp, 0xc
xor eax, eax
mov edx, eax
mov ecx, eax
shr edx, 0xc
and dl, 0xd
shr ecx, 0xa
xor dl, 2
and cl, 9
or dl, cl
movsx ecx, al
movsx edx, dl
imul edx, ecx
mov byte [ebp + eax - 0xa1808], dl
inc eax
cmp eax, 0xa17fc
jb 0x405343
lea eax, [ebp - 0xa1808]
mov dword [ebp - 0xa183c], 0xa17fc
mov dword [ebp - 0xa1840], eax
lea eax, [ebp - 0xa1840]
push 0x20
push eax
push dword [ebp - 0xa1820]
mov dword [ebp - 0xa1838], 0
mov dword [ebp - 0xa1834], 0
mov dword [ebp - 0xa1830], 0
mov dword [ebp - 0xa182c], 0
mov dword [ebp - 0xa1828], 0
mov dword [ebp - 0xa1824], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0xa1840]
push eax
push dword [ebp - 0xa1820]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0xa1840]
push eax
push dword [ebp - 0xa1820]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0xa1820]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406604
mov esp, ebp
pop ebp
ret
Function at 0x6d1c2acb
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [eax]
cmp esi, eax
mov dword [ebp - 4], ecx
je 0x6d1c2b06
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x6d1c2aed
mov eax, 0x6d1c1168
push dword [ebp + 0x14]
push 0xffffffffffffffff
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x34], eax
mov esi, dword [esi]
cmp esi, dword [edi + 4]
jne 0x6d1c2ae1
mov ebx, dword [ebp + 8]
and dword [ebp + 0x10], 0
cmp dword [ebx + 0xc], 0
jbe 0x6d1c2c0d
and dword [ebp + 0x14], 0
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebx + 0x10]
add eax, ecx
push 4
lea esi, [eax + 0x10]
pop ecx
mov edi, 0x6d1cb0c4
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x6d1c2b47
mov edi, dword [ebp + 0x18]
push 4
pop ecx
lea esi, [eax + 0x10]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x6d1c2bfa
test byte [eax + 8], 4
jne 0x6d1c2bfa
cmp dword [eax + 0x24], 0
jne 0x6d1c2bfa
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x6d1c2bfa
push dword [ebx + 0x24]
mov eax, dword [ebx + 0x10]
push dword [ebp + 0x20]
mov ecx, dword [ebp + 0x14]
push dword [esi + 0x34]
mov edx, dword [ecx + eax + 4]
call fcn.6d1c1cfa
push dword [ebp + 0x20]
mov edi, eax
push edx
call fcn.6d1c1d1b
cmp edi, eax
jne 0x6d1c2bc0
mov ecx, dword [ebp - 4]
lea eax, [ebp + 8]
push eax
push edx
push dword [ebp + 0x1c]
lea eax, [esi + 8]
push eax
call fcn.6d1c2a50
test al, al
je 0x6d1c2bc0
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebp + 0x14]
test byte [eax + ecx + 8], 1
mov ecx, dword [ebp + 8]
je 0x6d1c2bcf
test byte [ecx + 0x30], 3
jne 0x6d1c2bcc
mov esi, dword [esi]
mov eax, dword [ebp + 0xc]
cmp esi, dword [eax + 4]
jne 0x6d1c2b6b
jmp 0x6d1c2bfa
mov eax, dword [ebp + 0x14]
mov esi, dword [ecx + 0x28]
mov edx, dword [ebx + 0x10]
mov dword [eax + edx + 0x20], esi
mov esi, dword [ebp + 0x18]
mov byte [ecx + 0x34], 1
mov ecx, dword [ebp + 0x24]
inc dword [ecx]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebp + 0x20]
lea edi, [eax + ecx + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x10]
mov dword [eax + ecx + 0x24], edx
inc dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
add dword [ebp + 0x14], 0x28
cmp eax, dword [ebx + 0xc]
jb 0x6d1c2b1b
pop edi
pop esi
pop ebx
leave
ret 0x20
Function at 0x6d1c3439
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push 0x6d1c1168
mov ecx, esi
call fcn.6d1c305d
mov eax, dword [esp + 0x10]
cmp word [eax], 0
mov ebx, eax
je 0x6d1c35b3
push edi
xor edi, edi
inc edi
movzx eax, word [ebx]
add eax, 0xffffffe0
cmp eax, 0x5a
ja case.0x6d1c3475.33
movzx eax, byte [eax + 0x6d1c3668]
jmp dword [eax*4 + 0x6d1c35b8]
push 0x41
jmp 0x6d1c355a
push 0x42
jmp 0x6d1c355a
push 0x43
jmp 0x6d1c355a
push 0x44
jmp 0x6d1c355a
push 0x45
jmp 0x6d1c355a
push 0x46
jmp 0x6d1c355a
push 0x47
jmp 0x6d1c355a
push 0x48
jmp 0x6d1c355a
push 0x49
jmp 0x6d1c355a
push 0x4a
jmp 0x6d1c355a
push 0x4b
jmp 0x6d1c355a
push 0x4c
jmp 0x6d1c355a
push 0x4d
jmp 0x6d1c355a
push 0x4e
jmp 0x6d1c355a
push 0x4f
jmp 0x6d1c355a
push 0x50
jmp 0x6d1c355a
push 0x51
jmp 0x6d1c355a
push 0x52
jmp 0x6d1c355a
push 0x53
jmp 0x6d1c355a
push 0x54
jmp 0x6d1c355a
push 0x55
jmp 0x6d1c355a
push 0x56
jmp 0x6d1c355a
push 0x57
jmp 0x6d1c355a
push 0x6d1c11f4
mov ecx, esi
call fcn.6d1c3040
jmp 0x6d1c35a6
push 0x59
jmp 0x6d1c355a
push 0x5a
jmp 0x6d1c355a
push 0x31
jmp 0x6d1c355a
push 0x32
jmp 0x6d1c355a
push 0x33
jmp 0x6d1c355a
push 0x34
jmp 0x6d1c355a
push 0x35
jmp 0x6d1c355a
push 0x36
jmp 0x6d1c355a
push 0x37
jmp 0x6d1c355a
push 0x38
jmp 0x6d1c355a
push 0x39
jmp 0x6d1c355a
push 0x30
jmp 0x6d1c355a
push 0x20
jmp 0x6d1c355a
push 0x28
jmp 0x6d1c355a
push 0x29
jmp 0x6d1c355a
push 0x2e
jmp 0x6d1c355a
push 0x5f
jmp 0x6d1c355a
push 0x2d
jmp 0x6d1c355a
push 0x26
push edi
mov ecx, esi
call fcn.6d1c2e7d
jmp 0x6d1c35a6
push 0x6d1c11f0
mov ecx, esi
call fcn.6d1c3040
xor eax, eax
mov ax, word [ebx]
shr ax, 0xc
push eax
push esi
call fcn.6d1c31bd
xor eax, eax
mov al, byte [ebx + 1]
push eax
push esi
call fcn.6d1c31bd
xor eax, eax
mov ax, word [ebx]
shr eax, 4
push eax
push esi
call fcn.6d1c31bd
xor eax, eax
mov al, byte [ebx]
push eax
push esi
call fcn.6d1c31bd
inc ebx
inc ebx
cmp word [ebx], 0
jne 0x6d1c345f
pop edi
pop esi
pop ebx
ret 8