joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46bb30
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9706
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [0x532ae0]
xor eax, dword [ebp + 4]
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x54]
xor ebx, ebx
cmp eax, ebx
je 0x46bd02
add ecx, 0x40
push ecx
lea eax, [ebp - 0x6c]
push str.SOFTWARE_
push eax
call fcn.0040c710
push eax
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 4], ebx
call fcn.004893e0
add esp, 0x14
cmp dword [ebp - 0x54], 0x10
jb 0x46bb98
mov edx, dword [ebp - 0x68]
push edx
call fcn.004e11d0
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.00404f40
mov esi, eax
cmp esi, 0xffffffff
je 0x46bc79
push esi
push ebx
lea ecx, [ebp - 0x88]
push ecx
mov ecx, edi
call fcn.00426900
push eax
lea edx, [ebp - 0x6c]
push 0x504804
push edx
mov byte [ebp - 4], 4
call fcn.0040c710
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.004078b0
cmp dword [ebp - 0x54], 0x10
jb 0x46bc14
mov eax, dword [ebp - 0x68]
push eax
call fcn.004e11d0
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 0x46bc3a
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004e11d0
add esp, 4
push 0xffffffffffffffff
inc esi
push esi
lea edx, [ebp - 0x88]
push edx
mov ecx, edi
call fcn.00426900
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.00408e40
mov eax, dword [ebp - 0x70]
mov esi, 0x10
cmp eax, esi
jb 0x46bc8a
mov eax, dword [ebp - 0x84]
push eax
call fcn.004e11d0
add esp, 4
jmp 0x46bc8a
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [ebp - 0x34]
call fcn.00408e40
mov esi, 0x10
cmp dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x4c]
jae 0x46bc95
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 0x46bccf
cmp dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x30]
jae 0x46bcba
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 0x46bce0
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004e11d0
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 0x46bd02
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004e11d0
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.004e19df
mov esp, ebp
pop ebp
ret 4
Function at 0x46e970
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa3d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x532ae0]
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 + 0x2fc]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x46ea01
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
cmp esi, ebx
je 0x46e9fb
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x46e9fb
mov ecx, eax
push edi
lea edi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x46e9e0
sub ecx, edi
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00408ff0
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.00408e40
cmp dword [ebp - 0x18], 0x10
jb 0x46ea31
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004e11d0
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.004e19df
mov esp, ebp
pop ebp
ret 4
Function at 0x46eae0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9bf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
mov bl, byte [ebp + 8]
push esi
mov esi, ecx
mov eax, dword [esi + 0x31c]
cmp byte [eax + 0x10], bl
je 0x46ec28
mov byte [esi + 0x58e], 1
mov byte [eax + 0x10], bl
mov al, byte [ebp + 0xc]
test al, al
je 0x46ec28
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
mov ecx, dword [esi + 0x2fc]
xor eax, eax
mov al, byte [esi + 0x2f2]
push eax
push ecx
mov ecx, dword [esi + 0x31c]
call fcn.0045c560
test bl, bl
je 0x46eb7d
test eax, eax
je 0x46ec09
mov edx, dword [ebp + 0xc]
push edx
push 0
mov ecx, esi
call fcn.0046eae0
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
test eax, eax
je 0x46ec09
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00455550
push eax
lea ecx, [ebp - 0x60]
push str.Failed_to_initialize_DirectDraw:
push ecx
mov dword [ebp - 4], 0
call fcn.0040c710
push 0x500d50
push eax
lea edx, [ebp - 0x44]
push edx
mov byte [ebp - 4], 1
call fcn.00409e60
mov ecx, dword [esi + 0x31c]
add ecx, 0xcd0
push ecx
push eax
lea edx, [ebp - 0x28]
push edx
mov byte [ebp - 4], 2
call fcn.00409f10
add esp, 0x2c
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call dword [edx + 0x50]
lea ecx, [ebp - 0x28]
call fcn.00483280
lea ecx, [ebp - 0x44]
call fcn.00483280
lea ecx, [ebp - 0x60]
call fcn.00483280
lea ecx, [ebp - 0x7c]
call fcn.00483280
push 1
call fcn.004e28bf
mov ecx, dword [esi + 0x31c]
call fcn.00440c60
mov ecx, dword [esi + 0x2dc]
mov dword [ecx + 0x10], eax
mov ecx, dword [esi + 0x2dc]
call fcn.00479bd0
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x47f570
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fad66
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.00405de0
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.004d1915
add esp, 4
mov dword [ebp + 8], eax
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x47f5fb
mov ecx, eax
call fcn.0047f290
jmp 0x47f5fd
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 0x480e30
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x532ae0]
xor eax, dword [ebp + 4]
push str.IMAGEHLP.DLL
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x57f404], eax
jne 0x480e69
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.004e19df
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SymInitialize
push eax
call esi
test eax, eax
mov dword [0x57f408], eax
jne 0x480e93
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.004e19df
mov esp, ebp
pop ebp
ret
mov eax, dword [0x57f404]
push str.SymSetOptions
push eax
call esi
test eax, eax
mov dword [0x57f40c], eax
je 0x480e81
mov ecx, dword [0x57f404]
push str.SymCleanup
push ecx
call esi
test eax, eax
mov dword [0x57f414], eax
je 0x480e81
mov edx, dword [0x57f404]
push str.UnDecorateSymbolName
push edx
call esi
test eax, eax
mov dword [0x57f410], eax
je 0x480e81
mov eax, dword [0x57f404]
push str.StackWalk
push eax
call esi
test eax, eax
mov dword [0x57f418], eax
je 0x480e81
mov ecx, dword [0x57f404]
push str.SymFunctionTableAccess
push ecx
call esi
test eax, eax
mov dword [0x57f41c], eax
je 0x480e81
mov edx, dword [0x57f404]
push str.SymGetModuleBase
push edx
call esi
test eax, eax
mov dword [0x57f420], eax
je 0x480e81
mov eax, dword [0x57f404]
push str.SymGetSymFromAddr
push eax
call esi
test eax, eax
mov dword [0x57f424], eax
je 0x480e81
push 4
call dword [0x57f40c]
push 0x104
lea ecx, [ebp - 0x10c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x10c]
push 0x2f
push edx
call fcn.004e41b0
add esp, 8
test eax, eax
jne 0x480f83
lea eax, [ebp - 0x10c]
push 0x5c
push eax
call fcn.004e41b0
add esp, 8
test eax, eax
je 0x480f86
mov byte [eax], 0
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x10c]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x480f95
sub eax, esi
mov dword [ebp - 8], eax
jne 0x480fa5
xor edx, edx
push 1
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x57f408]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, dword [ebp + 4]
pop esi
call fcn.004e19df
mov esp, ebp
pop ebp
ret
Function at 0x480ff0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push edi
mov edi, dword [ebp + 8]
push 0x1c
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x481012
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp - 0x1c]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x481073
mov eax, dword [esi + 0x3c]
movzx ecx, word [eax + esi + 0x14]
add eax, esi
lea ecx, [ecx + eax + 0x18]
movzx eax, word [eax + 6]
sub edi, esi
xor ebx, ebx
test eax, eax
mov dword [ebp - 4], eax
jbe 0x481073
lea eax, [ecx + 0x10]
lea ebx, [ebx]
mov ecx, dword [eax]
mov edx, dword [eax - 8]
cmp ecx, edx
mov esi, dword [eax - 4]
ja 0x48105e
mov ecx, edx
cmp edi, esi
jb 0x481068
add ecx, esi
cmp edi, ecx
jbe 0x48107c
mov ecx, dword [ebp - 4]
inc ebx
add eax, 0x28
cmp ebx, ecx
jb 0x481050
pop esi
pop ebx
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
inc ebx
sub edi, esi
pop esi
mov dword [edx], ebx
mov dword [eax], edi
pop ebx
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4810a0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 2
mov dword [ebp - 8], eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x4810d9
xor edx, edx
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [ebp - 0x10]
push ecx
call edi
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
push 0
push 0x64
push edx
push eax
call fcn.004e2b90
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
adc eax, edx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
mov ebx, dword [ebp - 4]
rdtsc
mov dword [ebx], eax
mov dword [ebx + 4], edx
lea edx, [ebp - 0x20]
push edx
call edi
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0xc]
jl 0x481118
jg 0x481130
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x10]
jb 0x481118
lea edx, [ebp - 0x18]
mov dword [ebp - 4], edx
mov ebx, dword [ebp - 4]
rdtsc
sub eax, dword [ebx]
sbb edx, dword [ebx + 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov eax, dword [ebp - 8]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push 0
push 0x64
push ecx
push edx
call fcn.004e2c40
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x481430
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
push ebx
push esi
mov esi, ecx
mov al, byte [esi + 0xf2]
xor ebx, ebx
cmp al, bl
jne 0x481516
lea ecx, [ecx]
cmp byte [ebp + 8], bl
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x210], ebx
je 0x481477
mov eax, dword [esi + 8]
mov dword [ebp - 0x108], eax
mov eax, 1
mov dword [ebp - 0x10c], eax
jmp 0x48147c
mov eax, 1
cmp byte [ebp + 0xc], bl
je 0x481490
mov ecx, dword [esi + 8]
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x210], eax
mov edx, dword [esi + 8]
mov dword [ebp - 0x314], eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x314]
push ecx
mov dword [ebp - 0x310], edx
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x10c]
push eax
push 0x40
mov dword [ebp - 8], ebx
mov dword [ebp - 4], 0x186a0
call sub.WSOCK32.dll_select
cmp eax, 0xffffffff
je 0x481520
mov edx, dword [esi + 8]
lea ecx, [ebp - 0x314]
push ecx
push edx
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
jne 0x481520
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x10c]
push eax
push ecx
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
jne 0x481516
mov eax, dword [esi + 8]
lea edx, [ebp - 0x210]
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
jne 0x481516
cmp byte [esi + 0xf2], bl
je 0x481450
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
push 6
mov ecx, esi
call fcn.00481410
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x481ba0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov ecx, 0x57f490
jmp 0x481b90

Function at 0x481f80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x51d]
test cl, cl
jne 0x482034
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0xf003f
push 0
push 0x504800
push 0
push str.SoftwarePopCapBeta
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x482034
cmp dword [esi + 0x15c], 0x10
mov ecx, dword [esi + 0x158]
jb 0x481fdd
mov eax, dword [esi + 0x148]
jmp 0x481fe3
lea eax, [esi + 0x148]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ecx
push eax
mov eax, dword [ebp - 4]
push 1
push 0
push str.Name
push eax
call edi
cmp dword [esi + 0x178], 0x10
mov eax, dword [esi + 0x174]
jb 0x482012
mov esi, dword [esi + 0x164]
jmp 0x482018
add esi, 0x164
mov ecx, dword [ebp - 4]
push eax
push esi
push 1
push 0
push str.Password
push ecx
call edi
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4898d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x532ae0]
xor eax, dword [ebp + 4]
push esi
mov esi, ecx
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x51d]
test cl, cl
jne 0x4899c6
lea ecx, [ebp - 8]
push ecx
push 0x20019
push 0
push str.SoftwarePopCapBeta
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4899c6
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0xc]
push edx
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push str.Name
push edx
mov dword [ebp - 0xc], 0x100
call edi
test eax, eax
jne 0x48996e
lea eax, [ebp - 0x110]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x489952
sub eax, edx
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [esi + 0x144]
call fcn.00408ff0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push str.Password
push ecx
mov dword [ebp - 0xc], 0x100
call edi
test eax, eax
pop edi
jne 0x4899bc
lea eax, [ebp - 0x110]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4899a0
sub eax, edx
push eax
lea edx, [ebp - 0x110]
push edx
lea ecx, [esi + 0x160]
call fcn.00408ff0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
call fcn.004e19df
mov esp, ebp
pop ebp
ret
Function at 0x48a730
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fbb58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
call fcn.00481bb0
test al, al
je 0x48a768
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x2c]
cmp ecx, eax
push ebx
lea ebx, [esi + 0x2c]
push edi
je 0x48a7c2
mov eax, dword [ebx]
mov edi, dword [eax + 0x28]
mov eax, dword [esi + 0x74]
test eax, eax
je 0x48a7a7
mov edx, eax
cmp dword [esi + 0x78], 0x10
lea ecx, [edi + 4]
jb 0x48a793
mov eax, dword [esi + 0x64]
jmp 0x48a796
lea eax, [esi + 0x64]
push edx
mov edx, dword [ecx + 0x14]
push eax
push edx
push 0
call fcn.00403530
test eax, eax
jne 0x48a7b4
cmp dword [edi + 0x40], 0xffffffff
jne 0x48a7b4
mov al, byte [edi + 0x3c]
test al, al
je 0x48a7d5
mov ecx, ebx
call fcn.00402f30
mov eax, dword [ebx]
cmp eax, dword [esi + 0x14]
jne 0x48a777
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x5c]
mov ecx, dword [ecx + 0x4c0]
mov eax, dword [esi + 0x34]
mov edx, dword [ecx]
lea ebx, [edi + 0x20]
push ebx
push eax
call dword [edx + 8]
test al, al
jne 0x48a84a
mov eax, dword [ebx + 0x18]
mov edi, 0x10
cmp eax, edi
jb 0x48a800
mov ebx, dword [ebx + 4]
jmp 0x48a803
add ebx, 4
push ebx
lea ecx, [ebp - 0x28]
push str.Failed_to_load_sound:__s
push ecx
call fcn.004895b0
add esp, 0xc
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00489d20
mov bl, al
cmp dword [ebp - 0x10], edi
jb 0x48a837
mov edx, dword [ebp - 0x24]
push edx
call fcn.004e11d0
add esp, 4
pop edi
mov al, bl
pop ebx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
fld qword [edi + 0x48]
fcomp qword [0x4ff9c8]
fnstsw ax
test ah, 1
jne 0x48a874
mov eax, dword [esi + 0x5c]
mov ecx, dword [eax + 0x4c0]
mov eax, dword [edi + 0x4c]
mov edx, dword [ecx]
push eax
mov eax, dword [edi + 0x48]
push eax
mov eax, dword [esi + 0x34]
push eax
call dword [edx + 0xc]
mov eax, dword [edi + 0x50]
test eax, eax
je 0x48a88e
mov ecx, dword [esi + 0x5c]
mov ecx, dword [ecx + 0x4c0]
mov edx, dword [ecx]
push eax
mov eax, dword [esi + 0x34]
push eax
call dword [edx + 0x10]
mov ecx, dword [esi + 0x34]
mov dword [edi + 0x40], ecx
mov eax, dword [esi + 0x34]
mov ecx, dword [ebp - 0xc]
pop edi
inc eax
mov dword [esi + 0x34], eax
pop ebx
mov al, 1
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x48c440
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
lea eax, [ebp - 0x14]
push edi
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
rdtsc
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov eax, dword [0x57f454]
xor edi, edi
test eax, eax
jle 0x48c48b
xor esi, esi
jmp 0x48c470
mov ecx, dword [0x57f478]
lea eax, [esi + ecx]
call fcn.0048c3a0
mov eax, dword [0x57f454]
inc edi
add esi, 0x18
cmp edi, eax
jl 0x48c470
lea edx, [ebp - 0xc]
mov dword [0x57f454], 0
mov dword [ebp - 4], edx
mov ebx, dword [ebp - 4]
rdtsc
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [0x57efe0]
sub eax, edi
sbb ecx, esi
add edx, eax
mov eax, dword [0x57efe4]
pop edi
adc eax, ecx
pop esi
mov dword [0x57efe0], edx
mov dword [0x57efe4], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49b230
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x532ae0]
xor eax, dword [ebp + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x49b280
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x404]
push str._s_function_not_found_in_bass.dll
push ecx
call fcn.004e1c9e
add esp, 0xc
push 0x10
push 0x508b60
lea edx, [ebp - 0x404]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.004e28bf
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.004e19df
mov esp, ebp
pop ebp
ret
Function at 0x49b290
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 0x49b476
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.0049b230
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.0049b230
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.0049b230
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.0049b230
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.0049b230
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.0049b230
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.0049b230
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.0049b230
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.0049b230
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.0049b230
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.0049b230
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.0049b230
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.0049b230
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.0049b230
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.0049b230
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.0049b230
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
ret 4