joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b330
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1028
call fcn.004d9af0
mov eax, dword [0x52f2b0]
xor eax, dword [ebp + 4]
push ebx
mov ebx, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x1c]
test eax, eax
mov byte [ebx + 0x82], 1
jne 0x46b36b
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.004d9f7e
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.Version
mov edi, 4
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
call esi
test eax, eax
je 0x46b3b3
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.004d9f7e
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x18], 2
jne 0x46b39f
lea edx, [ebp - 8]
push edx
mov edx, dword [ebx + 0x1c]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.MinVidMemory
push edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x46b39f
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebx + 0x78]
jne 0x46b39f
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebx + 0x1c]
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push str.RecVidMemory
push ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x46b39f
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebx + 0x7c]
jne 0x46b39f
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx + 0x1c]
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
push str.DisplayGUID
push eax
mov dword [ebp - 8], 0x10
mov dword [ebp - 0xc], 3
call esi
test eax, eax
jne 0x46b39f
cmp dword [ebp - 8], 0x10
jne 0x46b39f
mov ecx, edi
lea edi, [ebx + 0x20]
lea esi, [ebp - 0x28]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x46b39f
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx + 0x1c]
lea ecx, [ebp - 0x1028]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
push str.FailureReason
mov edi, 1
push eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], 0x1000
call esi
test eax, eax
jne 0x46b39f
lea ecx, [ebp - 0x1028]
push ecx
lea ecx, [ebx + 0x40]
call fcn.00406920
lea edx, [ebp - 8]
push edx
mov edx, dword [ebx + 0x1c]
lea eax, [ebp - 0x1028]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.Warning
push edx
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], 0x1000
call esi
test eax, eax
jne 0x46b39f
lea eax, [ebp - 0x1028]
push eax
lea ecx, [ebx + 0x5c]
call fcn.00406920
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
pop esi
mov byte [ebx + 0x81], 1
mov byte [ebx + 0x82], 0
mov al, 1
pop ebx
call fcn.004d9f7e
mov esp, ebp
pop ebp
ret
Function at 0x46e790
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f32a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
call dword [ecx + 0x14]
push 0x4f8517
push eax
call fcn.0046b550
mov eax, dword [esi + 0x18]
mov edx, dword [eax]
add esp, 8
push ebx
push 0x3f800000
push 0xff000000
push 1
push ebx
push ebx
push eax
call dword [edx + 0x28]
push str.Clear
push eax
call fcn.0046b550
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
add esp, 8
push 1
push 0x1b
push eax
call dword [ecx + 0x50]
push str.D3DRENDERSTATE_ALPHABLENDENABLE__TRUE
push eax
call fcn.0046b550
mov eax, dword [esi + 0x18]
mov edx, dword [eax]
add esp, 8
push 5
push 0x13
push eax
call dword [edx + 0x50]
push str.D3DRENDERSTATE_SRCBLEND__D3DBLEND_SRCALPHA
push eax
call fcn.0046b550
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
add esp, 8
push 6
push 0x14
push eax
call dword [ecx + 0x50]
push str.D3DRENDERSTATE_DESTBLEND__D3DBLEND_INVSRCALPHA
push eax
call fcn.0046b550
mov eax, dword [esi + 0x18]
mov edx, dword [eax]
add esp, 8
push 1
push 0x16
push eax
call dword [edx + 0x50]
push str.D3DRENDERSTATE_CULLMODE__D3DCULL_NONE
push eax
call fcn.0046b550
add esp, 8
push 0x40
push 0x40
lea ecx, [ebp - 0x2c]
call fcn.00465c80
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00457b40
push 0xffffffffffffffff
push 0xfffffffffffffffe
push 0xfffffffffffffffe
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x18]
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0046d670
mov eax, dword [esi + 0x18]
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov ecx, esi
call fcn.0046b6d0
lea ecx, [ebp - 0x2c]
call fcn.00462b30
push ebx
push ebx
push 0x3e
push 0x3e
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00457c70
cmp eax, ebx
jne 0x46e8d6
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, str.Clip_problem_detected.
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
lea edx, [eax + 1]
jmp 0x46e8f0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46e8f0
sub eax, edx
push eax
push str.Clip_problem_detected.
lea ecx, [ebp - 0x48]
call fcn.004066c0
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.0046b530
mov bl, al
cmp dword [ebp - 0x30], 0x10
jb 0x46e92d
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004d88be
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47ef50
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3fb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x30]
mov ecx, edi
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.Sexy::WidgetManager.0
call fcn.0047ad50
xor ebx, ebx
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov eax, dword [ebp + 8]
mov dword [esi + 0x60], ebx
push 0x5c
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], eax
mov byte [esi + 0x50], bl
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x18], bl
mov dword [esi + 0x14], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov byte [esi + 0x3c], 1
call fcn.004c9550
add esp, 4
mov dword [ebp + 8], eax
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x47efdb
mov ecx, eax
call fcn.0047edf0
jmp 0x47efdd
xor eax, eax
mov dword [esi + 0x28], eax
mov dword [esi + 4], ebx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x168], ebx
xor eax, eax
lea edi, [esi + 0x64]
mov ecx, 0x3f
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0xc]
stosw word es:[edi], ax
stosb byte es:[edi], al
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x47fed0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
push 0
push 0
call dword [eax + 0xac]
mov ecx, dword [esi + 0x2ec]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov byte [esi + 0x2e0], 1
mov ecx, esi
pop esi
jmp dword [edx + 0x20]

Function at 0x47ff00
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov al, byte [esi + 0x2e1]
test al, al
jne 0x47ffb5
mov al, byte [esi + 0x4d4]
test al, al
mov byte [esi + 0x2e1], 1
je 0x47ff3f
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
push 0xa
call edi
mov al, byte [esi + 0x4d4]
test al, al
jne 0x47ff30
pop edi
mov ecx, dword [esi + 0x314]
test ecx, ecx
je 0x47ff4e
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esi + 0x304]
call fcn.00443010
mov ecx, dword [esi + 0x304]
call fcn.00450520
test eax, eax
jne 0x47ff6f
mov byte [esi + 0x308], 1
mov al, byte [esi + 0x2e2]
test al, al
jne 0x47ff90
mov eax, dword [esi + 0x30c]
test eax, eax
je 0x47ff90
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x47ff90
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
mov eax, dword [esi + 0x2ec]
test eax, eax
je 0x47ffa3
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, byte [esi + 0x354]
test al, al
je 0x47ffb5
mov edx, dword [esi]
mov ecx, esi
pop esi
jmp dword [edx + 0x40]
pop esi
ret
Function at 0x481110
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
mov al, byte [esi + 0x4ed]
test al, al
mov al, byte [esi + 0x4d1]
je 0x481193
test al, al
je 0x481158
mov al, byte [esi + 0x4d2]
test al, al
jne 0x481158
mov al, byte [esi + 0x548]
test al, al
je 0x481158
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi]
mov ecx, esi
mov byte [esi + 0x4d2], 1
call dword [eax + 0x2c]
mov cl, byte [esi + 0x4d2]
cmp cl, byte [esi + 0x548]
jne 0x481229
mov eax, dword [esi + 0x468]
cmp eax, dword [esi + 0x534]
je 0x481229
mov cl, byte [esi + 0x4ad]
test cl, cl
jne 0x481212
inc eax
mov dword [esi + 0x468], eax
jmp 0x4811fd
test al, al
je 0x4811ed
mov al, byte [esi + 0x4d2]
test al, al
jne 0x4811ed
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi]
mov ecx, esi
mov byte [esi + 0x4d2], 1
call dword [eax + 0x2c]
mov al, byte [esi + 0x4ec]
test al, al
je 0x4811ed
push edi
mov ecx, esi
call fcn.00480050
push 1
lea edi, [esi + 0x50c]
push 0
mov ecx, edi
call fcn.0044ed60
push 5
push 9
mov ecx, edi
call fcn.0044ed60
pop edi
mov al, byte [esi + 0x4ad]
test al, al
jne 0x481212
inc dword [esi + 0x468]
mov ecx, dword [esi + 0x2cc]
call fcn.0047aa70
test al, al
je 0x481212
inc dword [esi + 0x4bc]
mov ecx, dword [esi + 0x314]
mov edx, dword [ecx]
call dword [edx + 0x34]
mov ecx, dword [esi + 0xc0]
pop esi
jmp fcn.00454db0
pop esi
ret
Function at 0x4816a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 0x2ec]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x48178c
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x14]
push edi
inc eax
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [esi + 0x18], 0x10
lea ecx, [esi + 4]
mov dword [ebp + 8], ecx
jb 0x4816e6
mov ecx, dword [ecx]
mov edx, eax
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4816e8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, dword [sym.imp.USER32.dll_SetClipboardData]
push edi
push 1
call ebx
push edi
push 7
call ebx
push edi
push 0x10
call ebx
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
cmp ecx, 0x10
mov ecx, dword [ebp + 8]
jb 0x48171e
mov ecx, dword [ecx]
push 0
push 0
push eax
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
lea edx, [edi + edi + 2]
push edx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
cmp edx, 0x10
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
jb 0x48175c
mov edx, dword [edx]
push edi
push eax
push ecx
push edx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 4]
push ebx
mov word [eax + edi*2], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x485ab0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov al, byte [esi + 0x3a8]
test al, al
push edi
mov edi, dword [ebp + 8]
je 0x485afc
cmp dword [esi + 0x3c4], 0x10
mov ecx, dword [esi + 0x3c0]
jb 0x485adb
mov eax, dword [esi + 0x3b0]
jmp 0x485ae1
lea eax, [esi + 0x3b0]
push ecx
push eax
mov eax, dword [edi + 0x14]
push eax
push 0
mov ecx, edi
call fcn.00408b70
test eax, eax
jne 0x485afc
pop edi
mov al, 1
pop esi
pop ebp
ret 8
mov cl, byte [ebp + 0xc]
push 0xffffffffffffffff
push 0
mov byte [esi + 0x3a9], cl
push edi
lea ecx, [esi + 0x3ac]
mov byte [esi + 0x3a8], 1
call fcn.00406610
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x3c8], eax
cmp dword [edi + 0x18], 0x10
jb 0x485b33
mov eax, dword [edi + 4]
jmp 0x485b36
lea eax, [edi + 4]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x485af4
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x58]
pop edi
xor al, al
pop esi
pop ebp
ret 8
Function at 0x486850
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4456
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [0x52f2b0]
xor eax, dword [ebp + 4]
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x54]
xor ebx, ebx
cmp eax, ebx
je 0x486a22
add ecx, 0x40
push ecx
lea eax, [ebp - 0x6c]
push str.SOFTWARE_
push eax
call fcn.00419760
push eax
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 4], ebx
call fcn.0044b800
add esp, 0x14
cmp dword [ebp - 0x54], 0x10
jb 0x4868b8
mov edx, dword [ebp - 0x68]
push edx
call fcn.004d88be
add esp, 4
push esi
push edi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov edi, dword [ebp + 8]
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov byte [ebp - 4], 3
mov byte [ebp - 0x14], 0x5c
call fcn.00443b00
mov esi, eax
cmp esi, 0xffffffff
je 0x486999
push esi
push ebx
lea ecx, [ebp - 0x88]
push ecx
mov ecx, edi
call fcn.004479b0
push eax
lea edx, [ebp - 0x6c]
push 0x4ffc0c
push edx
mov byte [ebp - 4], 4
call fcn.00419760
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.00419490
cmp dword [ebp - 0x54], 0x10
jb 0x486934
mov eax, dword [ebp - 0x68]
push eax
call fcn.004d88be
add esp, 4
cmp dword [ebp - 0x70], 0x10
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov byte [ebp - 4], 3
jb 0x48695a
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004d88be
add esp, 4
push 0xffffffffffffffff
inc esi
push esi
lea edx, [ebp - 0x88]
push edx
mov ecx, edi
call fcn.004479b0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.00406610
mov eax, dword [ebp - 0x70]
mov esi, 0x10
cmp eax, esi
jb 0x4869aa
mov eax, dword [ebp - 0x84]
push eax
call fcn.004d88be
add esp, 4
jmp 0x4869aa
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [ebp - 0x34]
call fcn.00406610
mov esi, 0x10
cmp dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x4c]
jae 0x4869b5
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x18]
push ecx
push 0x20006
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4869ef
cmp dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x30]
jae 0x4869da
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x18]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1c], esi
jb 0x486a00
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004d88be
add esp, 4
mov eax, dword [ebp - 0x38]
pop edi
cmp eax, esi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
pop esi
jb 0x486a22
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004d88be
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop ebx
call fcn.004d9f7e
mov esp, ebp
pop ebp
ret 4
Function at 0x489600
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4888
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x52f2b0]
xor eax, dword [ebp + 4]
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], eax
push esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov eax, dword [ecx + 0x2ec]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x489691
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
cmp esi, ebx
je 0x48968b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x48968b
mov ecx, eax
push edi
lea edi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x489670
sub ecx, edi
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004066c0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x30]
push ecx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00406610
cmp dword [ebp - 0x18], 0x10
jb 0x4896c1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004d88be
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
mov eax, esi
pop esi
pop ebx
call fcn.004d9f7e
mov esp, ebp
pop ebp
ret 4
Function at 0x492f60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x52f2b0]
xor eax, dword [ebp + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x492fb0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x404]
push str._s_function_not_found_in_bass.dll
push ecx
call fcn.004d911d
add esp, 0xc
push 0x10
push str.Error
lea edx, [ebp - 0x404]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.004dc22c
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.004d9f7e
mov esp, ebp
pop ebp
ret
Function at 0x492fc0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push eax
mov dword [esi], vtable.Sexy::BASS_INSTANCE.0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 4], eax
je 0x4931a6
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.BASS_Init
push eax
call edi
push str.BASS_Init
push eax
mov dword [esi + 8], eax
call fcn.00492f60
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_Free
push ecx
call edi
push str.BASS_Free
push eax
mov dword [esi + 0xc], eax
call fcn.00492f60
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_Stop
push edx
call edi
push str.BASS_Stop
push eax
mov dword [esi + 0x10], eax
call fcn.00492f60
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_Start
push eax
call edi
push str.BASS_Start
push eax
mov dword [esi + 0x14], eax
call fcn.00492f60
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_SetGlobalVolumes
push ecx
call edi
push str.BASS_SetGlobalVolumes
push eax
mov dword [esi + 0x18], eax
call fcn.00492f60
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_ChannelStop
push edx
call edi
push str.BASS_ChannelStop
push eax
mov dword [esi + 0x1c], eax
call fcn.00492f60
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_ChannelPause
push eax
call edi
push str.BASS_ChannelPause
push eax
mov dword [esi + 0x20], eax
call fcn.00492f60
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_ChannelResume
push ecx
call edi
push str.BASS_ChannelResume
push eax
mov dword [esi + 0x24], eax
call fcn.00492f60
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_ChannelSetAttributes
push edx
call edi
push str.BASS_ChannelSetAttributes
push eax
mov dword [esi + 0x28], eax
call fcn.00492f60
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_ChannelIsActive
push eax
call edi
push str.BASS_ChannelIsActive
push eax
mov dword [esi + 0x30], eax
call fcn.00492f60
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_MusicLoad
push ecx
call edi
push str.BASS_MusicLoad
push eax
mov dword [esi + 0x34], eax
call fcn.00492f60
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_MusicPlay
push edx
call edi
push str.BASS_MusicPlay
push eax
mov dword [esi + 0x38], eax
call fcn.00492f60
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_MusicPlayEx
push eax
call edi
push str.BASS_MusicPlayEx
push eax
mov dword [esi + 0x3c], eax
call fcn.00492f60
mov ecx, dword [esi + 4]
add esp, 8
push str.BASS_StreamCreateFile
push ecx
call edi
push str.BASS_StreamCreateFile
push eax
mov dword [esi + 0x40], eax
call fcn.00492f60
mov edx, dword [esi + 4]
add esp, 8
push str.BASS_StreamFree
push edx
call edi
push str.BASS_StreamFree
push eax
mov dword [esi + 0x44], eax
call fcn.00492f60
mov eax, dword [esi + 4]
add esp, 8
push str.BASS_StreamPlay
push eax
call edi
push str.BASS_StreamPlay
push eax
mov dword [esi + 0x48], eax
call fcn.00492f60
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x4931d0
Capabilities:
Terminate process

Disassembly:
push 0x568480
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [0x56847c]
test eax, eax
jne 0x493229
push 0x4c
call fcn.004c9550
add esp, 4
test eax, eax
je 0x493200
push str.bass.dll
mov ecx, eax
call fcn.00492fc0
jmp 0x493202
xor eax, eax
mov dword [0x56847c], eax
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x493229
push 0x10
push str.Error
push str.Cant_find_bass.dll.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.004dc22c
ret

Function at 0x4932b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x52f2b0]
xor eax, dword [ebp + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x493300
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x404]
push str._s_function_not_found_in_fmod.dll
push ecx
call fcn.004d911d
add esp, 0xc
push 0x10
push str.Error
lea edx, [ebp - 0x404]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.004dc22c
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.004d9f7e
mov esp, ebp
pop ebp
ret
Function at 0x4936b0
Capabilities:
Terminate process

Disassembly:
push 0x568488
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [0x568484]
test eax, eax
jne 0x49370c
push 0x80
call fcn.004c9550
add esp, 4
test eax, eax
je 0x4936e3
push str.fmod.dll
mov ecx, eax
call fcn.00493310
jmp 0x4936e5
xor eax, eax
mov dword [0x568484], eax
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x49370c
push 0x10
push str.Error
push str.Cant_find_fmod.dll.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.004dc22c
ret

Function at 0x4939b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f53a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp ecx, ebx
lea edx, [esi + 0xc]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.Sexy::DSoundInstance.0
mov dword [esi + 4], eax
mov byte [esi + 0x12], bl
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
mov dword [esi + 8], ecx
mov dword [edx], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], 0x3ff00000
je 0x493a8c
mov eax, dword [eax + 0x898]
push edi
mov edi, dword [eax]
push edx
push ecx
push eax
call dword [edi + 0x14]
cmp eax, ebx
pop edi
je 0x493a8c
cmp eax, 0x8878000a
jg 0x493a59
je 0x493a4c
cmp eax, 0x8007000e
je 0x493a3f
cmp eax, 0x80070057
jne 0x493a86
push ebx
push 0x50514c
push str.DSERR_INVALIDPARAM
jmp 0x493a7f
push ebx
push 0x50514c
push str.DSERR_OUTOFMEMORY
jmp 0x493a7f
push ebx
push 0x50514c
push str.DSERR_ALLOCATED
jmp 0x493a7f
cmp eax, 0x88780032
je 0x493a74
cmp eax, 0x887800aa
jne 0x493a86
push ebx
push 0x50514c
push str.DSERR_UNINITIALIZED
jmp 0x493a7f
push ebx
push 0x50514c
push str.DSERR_INVALIDCALL
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call fcn.004dc22c
mov ecx, esi
call fcn.00492df0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x4978b0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
pop ebp
ret