joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55de50
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x59e026
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [0x7da55c]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0x15c], 0
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x164]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x160], 1
call fcn.0058b74b
push str..
lea ecx, [esp + 0x10]
call fcn.0058b99e
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x55def3
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 0
call fcn.0058b5c2
lea ecx, [esp + 8]
mov dword [esp + 0x15c], 0xffffffff
call fcn.0058b5c2
xor eax, eax
jmp 0x55e038
push ebp
mov ebp, dword [esp + 0x16c]
push edi
mov edi, dword [esp + 0x174]
lea edx, [esp + 0x48]
push 0x7d61a0
push edx
call fcn.00578b44
add esp, 8
test eax, eax
je 0x55dfe9
lea eax, [esp + 0x48]
push 0x7d619c
push eax
call fcn.00578b44
add esp, 8
test eax, eax
je 0x55dfe9
test ebp, ebp
jne 0x55df55
lea ecx, [esp + 0x48]
push str.desktop.ini
push ecx
call fcn.00578bf3
add esp, 8
test eax, eax
je 0x55dfe9
push esi
lea ecx, [esp + 0x14]
call fcn.0058b74b
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0058b9c5
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
push edx
call fcn.0058b99e
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x55df95
mov ecx, dword [esp + 0x10]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test byte [esp + 0x1c], 0x10
je 0x55dfb7
mov edx, dword [esp + 0x10]
push edi
push ebp
push edx
mov ecx, ebx
call fcn.0055de50
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x55dfe9
test edi, edi
je 0x55dfde
lea ecx, [esp + 0x48]
push str.index.dat
push ecx
call fcn.00578bf3
add esp, 8
test eax, eax
jne 0x55dfde
lea edx, [esp + 0x48]
mov ecx, ebx
push edx
push esi
call fcn.0055e060
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x55df03
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 0
call fcn.0058b5c2
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
call fcn.0058b5c2
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x154]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret 0xc
Function at 0x55e060
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59e03b
push eax
mov eax, 0x2718
mov dword fs:[0], esp
call fcn.00579400
mov eax, dword [0x7da55c]
push edi
mov dword [esp + 4], eax
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 0x2724], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x272c]
push ecx
lea ecx, [esp + 8]
call fcn.0058b74b
push 0x5c
lea ecx, [esp + 8]
call fcn.0058b9c5
mov edx, dword [esp + 0x2730]
lea ecx, [esp + 4]
push edx
call fcn.0058b99e
mov eax, dword [esp + 4]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x55e106
lea ecx, [esp + 4]
mov dword [esp + 0x2724], eax
call fcn.0058b5c2
xor eax, eax
jmp 0x55e183
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
mov esi, eax
push 0x40
push edi
sub esi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jbe 0x55e161
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, 0x2710
push 0
jbe 0x55e153
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x2710
push edx
push edi
call ebx
sub esi, 0x2710
jne 0x55e12d
jmp 0x55e161
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x272c], 0xffffffff
call fcn.0058b5c2
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x271c]
pop edi
mov dword fs:[0], ecx
add esp, 0x2724
ret 8

Function at 0x567260
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
xor esi, esi
call edi
test ax, ax
je 0x567278
mov esi, 2
push 0x11
call edi
test ax, ax
je 0x567284
or esi, 1
push 0x12
call edi
test ax, ax
je 0x567290
or esi, 4
mov eax, esi
pop edi
pop esi
ret
Function at 0x56b460
Capabilities:
Suspend thread

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
xor ebx, ebx
push edi
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
call fcn.0056b650
mov eax, dword [edi]
add esp, 4
cmp eax, ebx
je 0x56b4c9
cmp dword [edi + 8], ebx
jbe 0x56b4c9
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov eax, dword [edi]
mov ecx, dword [eax + ebx*4]
push ecx
push 0
push 0x5a
call fcn.0056b210
mov esi, eax
add esp, 0xc
test esi, esi
je 0x56b4bf
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edx, dword [esp + 0x18]
push ebp
push edx
push esi
call fcn.0056b4d0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 8]
inc ebx
cmp ebx, eax
jb 0x56b48a
pop esi
pop ebp
pop edi
pop ebx
ret

Function at 0x56b650
Capabilities:
Enumerate threads

Disassembly:
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x24]
test esi, esi
push edi
je 0x56b74d
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x28], edi
je 0x56b74d
lea eax, [esp + 8]
mov dword [esp + 8], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x56b746
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp dword [esp + 0xc], 0x10
jb 0x56b722
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x18], eax
jne 0x56b722
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esp + 0x14], eax
je 0x56b722
mov eax, dword [esi]
test eax, eax
jne 0x56b6e4
mov dword [esi + 4], 0x80
mov ecx, dword [0x813b4c]
push 0x200
push eax
push ecx
call edi
test eax, eax
mov dword [esi], eax
je 0x56b741
jmp 0x56b70f
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
cmp edx, ecx
jb 0x56b70f
lea edx, [ecx*8]
push edx
push eax
mov eax, dword [0x813b4c]
push 0
push eax
call ebx
test eax, eax
je 0x56b741
mov ecx, dword [esi + 4]
mov dword [esi], eax
shl ecx, 1
mov dword [esi + 4], ecx
mov edx, dword [esi + 8]
mov eax, dword [esi]
mov ecx, dword [esp + 0x14]
mov dword [eax + edx*4], ecx
mov eax, dword [esi + 8]
inc eax
mov dword [esi + 8], eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0xc]
push edx
push eax
mov dword [esp + 0x14], 0x1c
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x56b6a1
mov edi, dword [esp + 0x2c]
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x56b760
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, dword [esp + 8]
cmp dword [ebx], 0
je 0x56b7ba
mov eax, dword [ebx + 8]
push edi
xor edi, edi
test eax, eax
jbe 0x56b7a8
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
mov eax, dword [ebx]
mov ecx, dword [eax + edi*4]
push ecx
push 0
push 0x5a
call fcn.0056b210
mov esi, eax
add esp, 0xc
test esi, esi
je 0x56b79e
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 8]
inc edi
cmp edi, eax
jb 0x56b77c
pop esi
pop ebp
mov edx, dword [ebx]
mov eax, dword [0x813b4c]
push edx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop ebx
ret
Function at 0x56b7c0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [esp + 4]
push ebp
push esi
push edi
lea ecx, [eax + eax*4]
mov ebp, 5
lea edx, [eax + ecx*2]
mov eax, dword [0x8241c0]
mov edi, dword [eax + edx*4]
lea esi, [eax + edx*4]
mov al, byte [eax + edx*4 + 0x14]
test al, 1
je 0x56b7ec
sub edi, ebp
mov ebp, 7
lea ecx, [esp + 0x10]
push ecx
push 0x40
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x56b808
pop edi
pop esi
mov eax, 0xa
pop ebp
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x56b831
mov byte [edi], 0xe9
mov edx, dword [esi + 4]
sub edx, edi
sub edx, 5
mov dword [edi + 1], edx
mov al, byte [esi + 0x14]
test al, 1
je 0x56b85f
mov eax, dword [esi]
mov byte [eax], 0xeb
mov byte [eax + 1], 0xf9
jmp 0x56b85f
test byte [esi + 0x14], 1
je 0x56b850
lea eax, [esi + 0xc]
mov ecx, edi
mov edx, dword [eax]
mov dword [ecx], edx
mov dx, word [eax + 4]
mov word [ecx + 4], dx
mov al, byte [eax + 6]
mov byte [ecx + 6], al
jmp 0x56b85f
lea ecx, [esi + 0xc]
mov edx, edi
mov eax, dword [ecx]
mov dword [edx], eax
mov cl, byte [ecx + 4]
mov byte [edx + 4], cl
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x14]
push edx
push eax
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, bl
mov dl, byte [esi + 0x14]
and al, 1
and dl, 0xf9
mov cl, al
pop ebx
and cl, 0xfd
pop edi
shl al, 1
or cl, al
xor eax, eax
shl cl, 1
or cl, dl
mov byte [esi + 0x14], cl
pop esi
pop ebp
ret

Function at 0x56d250
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x56d2f3
test eax, eax
jbe 0x56d2f3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x56d2f3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x56d29e
xor esi, esi
jmp 0x56d2a4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x56d2cf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00548660
add esi, eax
push esi
mov ebx, esi
call fcn.00548660
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x56d2b0
pop ebp
test edi, edi
pop edi
jne 0x56d2f3
test ebx, ebx
je 0x56d2f3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00579520
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x56d455
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x56d56d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x56d56d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0058d076
mov esi, eax
test esi, esi
je 0x56d56d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x56d56d
mov ecx, esi
call fcn.0056d3e0
cmp edi, eax
jge 0x56d56d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x56d4f3
mov dword [esp + 0x34], 1
jmp 0x56d54e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x56d56d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0056c990
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x58da19
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x58da51
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0058ba69
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0058ba41
jmp 0x58da5d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x58f10e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x58f150
call fcn.005953c8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x58f150
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x58f147
xor eax, eax
jmp 0x58f158
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0058f15e
pop edi
pop esi
pop ebx
ret 4
Function at 0x5958f8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x595926
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x595944
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0059585e
jmp 0x595944
mov eax, dword [esi + 0x14]
test eax, eax
je 0x595944
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0059585e
test edi, edi
mov eax, edi
jne 0x59592e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x845058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008451a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x84507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x84506a
add dl, dl
jne 0x845089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8450dc
xor eax, eax
add dl, dl
jne 0x845096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x84517d
add dl, dl
jne 0x8450a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8450b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8450bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8450c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8450d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x845075
mov eax, 1
add dl, dl
jne 0x8450ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8450f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8450e1
sub eax, ebx
mov ebx, 1
jne 0x845128
mov ecx, 1
add dl, dl
jne 0x84510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x845119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x845105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x845075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x84513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x84514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x845136
cmp eax, 0x7d00
jae 0x84516d
cmp eax, 0x500
jb 0x845168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x845075
cmp eax, 0x7f
ja 0x845170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x845075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x84519e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x845075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0xbe63048
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
mov ecx, 0x1ddb054a
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401b50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 4]
push eax
push str.SoftwareRealtekInitAP
mov esi, 4
push reloc.DSOUND.dll_DirectSoundEnumerateA
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x401bd7
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push str.InitChannel
push ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401bcc
mov edx, dword [esp + 0x10]
push edx
push str.Current_preset_channel_is__d._n
call fcn.0040280d
mov eax, dword [esp + 0xc]
add esp, 8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 3]
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
add esp, 0x10
ret

Function at 0x4023b0
Capabilities:
Enumerate gui resources

Disassembly:
push ecx
push 0
push 0x401f00
mov dword [0x40f29c], 0
mov dword [esp + 8], 0
call dword [sym.imp.USER32.dll_EnumWindows]
push str.FRONT_PANEL_MESSAGE
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov ecx, dword [0x40f29c]
test ecx, ecx
je 0x40200f
mov dl, byte [0x40f288]
cmp dl, 1
je 0x401ff4
cmp dl, 4
je 0x401ff4
cmp dl, 6
jne 0x401fd7
mov dx, word [0x40e27c]
push 2
mov word [esp + 4], dx
mov edx, dword [esp + 4]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
pop ecx
ret
mov dx, word [0x40e274]
push 2
mov word [esp + 4], dx
mov edx, dword [esp + 4]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
pop ecx
ret
mov dx, word [0x40e278]
push 2
mov word [esp + 4], dx
mov edx, dword [esp + 4]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
pop ecx
ret
push 0
push 0x402330
call sub.DSOUND.dll_DirectSoundEnumerateA
jmp 0x401f70
Function at 0x4057d2
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x40ecd0]
je 0x4057ed
inc edi
cmp edi, 0x17
jb 0x4057de
cmp edi, 0x17
jae 0x40596d
push ebp
push 3
call fcn.004085b1
cmp eax, 1
pop ecx
je 0x405939
push 3
call fcn.004085b1
test eax, eax
pop ecx
jne 0x405821
cmp dword [0x40e2a0], 1
je 0x405939
cmp ebx, 0xfc
je 0x40596c
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x40f680
push ebp
call fcn.00407349
add esp, 0xc
test eax, eax
je 0x405857
push esi
push esi
push esi
push esi
push esi
call fcn.00403f55
add esp, 0x14
push 0x104
mov esi, 0x40f699
push esi
push 0
mov byte [0x40f79d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40589b
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00407349
add esp, 0xc
test eax, eax
je 0x40589b
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00403f55
add esp, 0x14
push esi
call fcn.00403ec0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4058e0
push esi
call fcn.00403ec0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x40f994
push 0x40c564
sub ecx, eax
push ecx
push eax
call fcn.00407296
add esp, 0x14
test eax, eax
je 0x4058e0
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00403f55
add esp, 0x14
jmp 0x4058e2
xor esi, esi
push 0x40c560
push ebx
push ebp
call fcn.004071de
add esp, 0xc
test eax, eax
je 0x405902
push esi
push esi
push esi
push esi
push esi
call fcn.00403f55
add esp, 0x14
push dword [edi*8 + 0x40ecd4]
push ebx
push ebp
call fcn.004071de
add esp, 0xc
test eax, eax
je 0x405924
push esi
push esi
push esi
push esi
push esi
call fcn.00403f55
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call 0x4083f4
add esp, 0xc
jmp 0x40596c
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x40596c
cmp ebp, 0xffffffff
je 0x40596c
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x40ecd4]
push dword [esi]
call fcn.00403ec0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x406eb2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sahf
sub eax, 0x119f45c6
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.00406add
push eax
push esi
push dword [ebp + 8]
call fcn.00406a92
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
aad 0xc6
inc ebp
salc
aam 0x88
pop ebp
xlatb
Function at 0x406ef2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
aad 0xc6
inc ebp
salc
aam 0x88
pop ebp
xlatb
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.00406add
push eax
push esi
push dword [ebp + 8]
invalid
push ebp

Function at 0x407155
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x407181
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x40717c
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x407166
and ecx, 0xfff
dec dword [edi]
add byte [eax], al
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x40716e
cmp edx, ebx
jne 0x4072bc
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x40713d
add eax, dword [eax + 4]
jmp 0x40712a
mov dword [ebp + 0xc], ebx
jmp 0x40718c

Function at 0x4071de
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4071a4
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4071c2
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x407220
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x407207
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x407210
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40721a
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4071fc
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x407186
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40726d
dec eax
je 0x407264
sub eax, 3
je 0x40725b
mov dword [ebp - 4], 0x40
jmp 0x40728a
mov dword [ebp - 4], 4
jmp 0x407270
mov dword [ebp - 4], 0x20
jmp 0x407270
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 0x4072bc
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
invalid
invalid