joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d566
Capabilities:
Check mutex on windows

Disassembly:
mov eax, 0x4b8ff2
call fcn.00485bb4
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 4], ebx
je 0x40d586
push 3
pop eax
jmp 0x40d6c6
push dword [ebp + 8]
push dword [ebp + 0xc]
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi + 4], eax
test eax, eax
jne 0x40d5bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push eax
push str.SpoutSharedMemory::Create___Failed_error___lu__0x_4.4lX_
call fcn.0040e283
add esp, 0xc
xor eax, eax
jmp 0x40d6c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40d5d8
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x10], 1
jmp 0x40d5f1
mov dword [ebp - 0x10], ebx
test eax, eax
je 0x40d5f1
push eax
push eax
push str.SpoutSharedMemory::Create___Error___lu__0x_4.4lX_
call fcn.0040e283
add esp, 0xc
mov dword [ebp - 0x10], ebx
push ebx
push ebx
push ebx
push 0xf001f
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi], eax
test eax, eax
jne 0x40d611
mov ecx, esi
call fcn.0040d519
jmp 0x40d5b4
push edi
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
push 0xf
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], bl
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d630
sub ecx, edx
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.0040d026
push 6
push str._mutex
lea ecx, [ebp - 0x28]
call fcn.0040516d
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 8], eax
test eax, eax
jne 0x40d677
mov ecx, esi
call fcn.0040d519
jmp 0x40d68d
push dword [ebp + 8]
call fcn.00498a77
mov ebx, dword [ebp - 0x10]
mov dword [esi + 0x10], eax
inc ebx
mov eax, dword [ebp + 0xc]
pop ecx
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, edi
pop edi
jbe 0x40d6c4
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
cmp eax, 0x1000
jb 0x40d6bb
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0040439b
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call fcn.00485cba
pop ecx
pop ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x40ea64
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push 0x103
xor ebx, ebx
lea eax, [ebp - 0x10f]
push ebx
push eax
call fcn.00486d50
push str.APPDATA
lea eax, [ebp - 8]
mov byte [ebp - 0x110], bl
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 8], ebx
call fcn.00498dd1
add esp, 0x18
mov esi, 0x104
test eax, eax
jne 0x40eafb
cmp dword [ebp - 4], ebx
je 0x40eafb
push dword [ebp - 4]
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.004985e4
push 0x4bfa04
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.0049863e
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.0049954d
add esp, 0x20
cmp eax, 0xffffffff
jne 0x40eb17
push ebx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x40eb17
push esi
lea eax, [ebp - 0x110]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x110]
push eax
call fcn.00403425
mov eax, dword [ebp + 8]
pop esi
pop ebx
leave
ret
Function at 0x412e4a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x100
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftDirectX
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x412edb
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x118]
push eax
push 0
push 0
push str.Version
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x118]
push str._d._d._d._d
push eax
call fcn.00417d6b
add esp, 0x18
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 4
jne 0x412edb
cmp dword [ebp - 0x10], 9
jne 0x412edb
cmp dword [ebp - 0x14], 0x388
sete al
leave
ret
xor al, al
leave
ret

Function at 0x413f07
Capabilities:
Create thread

Disassembly:
push 0xecb19c
xor eax, eax
push eax
push dword [esp + 0xc]
push 0x412edf
push eax
push eax
call fcn.00499dc4
add esp, 0x18
mov ecx, 0xecb198
xchg dword [ecx], eax
ret
Function at 0x42c030
Capabilities:
Create thread

Disassembly:
mov eax, 0x4b9c03
call fcn.00485bb4
push ebx
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp + 8]
mov esi, ecx
push eax
call fcn.0042c8b4
xor ebx, ebx
lea edi, [esi + 4]
push edi
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push 0x42b2fb
push ebx
push ebx
call fcn.00499dc4
add esp, 0x20
mov dword [esi], eax
test eax, eax
je 0x42c07e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
push 6
mov dword [edi], ebx
call fcn.0046f731
int3

Function at 0x42d509
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push 0x6c078965
push dword [esp + 0xc]
or dword [esi + 0x1384], 0xffffffff
call fcn.00454ca0
mov eax, esi
pop esi
ret 4
Function at 0x434e23
Capabilities:
Terminate thread

Disassembly:
push esi
mov dword [0xed061c], 1
xor esi, esi
jmp 0x434e43
cmp esi, dword [esp + 8]
jge 0x434e4c
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 0x1e
cmp byte [0xecbaca], 0
jne 0x434e32
cmp byte [0xecbaca], 0
pop esi
je 0x434e6b
push 0
push dword [0xed0618]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov byte [0xecbaca], 0
cmp dword [0xed0618], 0xffffffff
je 0x434e80
push dword [0xed0618]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0xed0618], 0xffffffff
ret

Function at 0x435ec7
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc00
push edi
push dword [ebp + 8]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x435f04
push 1
push 3
push ecx
mov dword [esp], 0x40c00000
push 0x131
call fcn.0046f448
pop ecx
push eax
mov ecx, edi
call fcn.0042eedb
jmp 0x435fb0
push ebx
push esi
mov esi, dword [edi + 0x8e63b4]
lea ebx, [edi + 0x8e67b8]
shl esi, 5
add esi, dword [ebx]
cmp dword [esi + 0x14], 7
jbe 0x435f1f
mov esi, dword [esi]
push 0x132
call fcn.0046f448
push esi
push eax
lea eax, [ebp - 0xc00]
push eax
call fcn.00411519
add esp, 0x10
lea eax, [ebp - 0xc00]
push 0
push 4
push ecx
mov dword [esp], 0x40400000
mov ecx, edi
push eax
call fcn.0042eedb
mov eax, dword [edi + 0x8e63b4]
inc eax
shl eax, 5
add eax, dword [ebx]
cmp dword [eax + 0x14], 7
jbe 0x435f68
mov eax, dword [eax]
push eax
lea eax, [edi + 0x8ebba0]
push eax
lea eax, [ebp - 0x400]
push 0x4c23f0
push eax
call fcn.00411519
mov eax, dword [edi + 0x8e63b4]
add esp, 0x10
shl eax, 5
mov ecx, ebx
add eax, dword [ebx]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00453d6c
push ecx
and dword [esp], 0
lea eax, [ebp - 0x400]
push eax
mov ecx, edi
call fcn.0043a6ad
pop esi
pop ebx
pop edi
leave
ret 4

Function at 0x435fb5
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push edi
push dword [ebp + 8]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x435fef
push 1
push 3
push ecx
mov dword [esp], 0x40c00000
push 0x131
call fcn.0046f448
pop ecx
push eax
mov ecx, edi
call fcn.0042eedb
jmp 0x436069
push esi
mov esi, dword [edi + 0x8e63b0]
shl esi, 5
add esi, dword [edi + 0x8e67b8]
cmp dword [esi + 0x14], 7
jbe 0x436007
mov esi, dword [esi]
push 0x132
call fcn.0046f448
push esi
push eax
lea eax, [ebp - 0x800]
push eax
call fcn.00411519
add esp, 0x10
lea eax, [ebp - 0x800]
push 0
push 4
push ecx
mov dword [esp], 0x40400000
mov ecx, edi
push eax
call fcn.0042eedb
mov esi, dword [edi + 0x8e63b0]
mov ecx, edi
push 1
push 1
push 0
call fcn.0044ddce
mov eax, dword [edi + 0x8e63a8]
dec eax
cmp eax, esi
cmovge eax, esi
xor ecx, ecx
test eax, eax
pop esi
cmovs eax, ecx
mov dword [edi + 0x8e63b0], eax
pop edi
leave
ret 4
Function at 0x43672e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push ebp
push esi
mov ebp, ecx
push edi
lea edi, [ebp + 0x8eb588]
push edi
lea esi, [ebp + 0x8ebba0]
push str._spresets_
push esi
call fcn.00411519
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
push esi
call ebx
cmp eax, 0xffffffff
jne 0x4367aa
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call edi
push esi
call ebx
cmp eax, 0xffffffff
jne 0x4367aa
mov ecx, ebp
call fcn.00457206
push eax
push esi
call edi
push esi
call ebx
cmp eax, 0xffffffff
jne 0x4367aa
push str.c:program_fileswinamp_
push esi
call edi
push esi
call ebx
cmp eax, 0xffffffff
jne 0x4367aa
push str.c:program_files_
push esi
call edi
push esi
call ebx
cmp eax, 0xffffffff
jne 0x4367aa
push 0x4c4acc
push esi
call edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4463ec
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00457174
mov esi, eax
mov ebp, str.Configured
push esi
push 0
push ebp
mov ebx, 0x4bdcac
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 2
je 0x4465f9
push esi
push 0x4c2db0
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
movzx eax, byte [edi + 0x6a7f9]
push ebx
push esi
push 0x4c2db4
push eax
call fcn.0046f3d2
movzx eax, byte [edi + 0x6a839]
push ebx
push esi
push str.EnableRating
push eax
call fcn.0046f3d2
push ebx
push esi
push str.16BitGamma
push dword [edi + 0x6a834]
call fcn.0046f3d2
movzx eax, byte [edi + 0x6a838]
push ebx
push esi
push str.AutoGamma
push eax
call fcn.0046f3d2
movzx eax, byte [edi + 0x6a850]
add esp, 0x40
push ebx
push esi
push str.WarningsDisabled
push eax
call fcn.0046f3d2
movzx eax, byte [edi + 0x6c2b6]
push ebx
push esi
push str.PresetLockOnAtStartup
push eax
call fcn.0046f3d2
movzx eax, byte [edi + 0x6a852]
push ebx
push esi
push str.PreventScollLockHandling
push eax
call fcn.0046f3d2
push ebx
push esi
push str.CanvasStretch
push dword [edi + 0x6a808]
call fcn.0046f3d2
add esp, 0x40
push ebx
push esi
push str.TexBitsPerCh
push dword [edi + 0x6a824]
call fcn.0046f3d2
push ebx
push esi
push str.MeshSize
push dword [edi + 0x6a828]
call fcn.0046f3d2
push ebx
push esi
push str.MaxPSVersion
push dword [edi + 0x6a854]
call fcn.0046f3d2
push ebx
push esi
push str.MaxImages
push dword [edi + 0x6a860]
call fcn.0046f3d2
add esp, 0x40
push ebx
push esi
push str.MaxBytes
push dword [edi + 0x6a864]
call fcn.0046f3d2
add esp, 0x10
push ebx
movss xmm0, dword [edi + 0x6a7e8]
push esi
push str.BlendTimeAuto
push ecx
movss dword [esp], xmm0
call fcn.0046f38c
movss xmm0, dword [edi + 0x6a7ec]
add esp, 0x10
push ebx
push esi
push str.BlendTimeUser
push ecx
movss dword [esp], xmm0
call fcn.0046f38c
movss xmm0, dword [edi + 0x6a7f0]
add esp, 0x10
push ebx
push esi
push str.TimeBetweenPresets
push ecx
movss dword [esp], xmm0
call fcn.0046f38c
movss xmm0, dword [edi + 0x6a7f4]
add esp, 0x10
push ebx
push esi
push str.TimeBetweenPresetsRand
push ecx
movss dword [esp], xmm0
call fcn.0046f38c
movss xmm0, dword [edi + 0x6a7fc]
add esp, 0x10
push ebx
push esi
push str.HardCutLoudnessThresh
push ecx
movss dword [esp], xmm0
call fcn.0046f38c
movss xmm0, dword [edi + 0x6a800]
add esp, 0x10
push ebx
push esi
push str.HardCutHalflife
push ecx
movss dword [esp], xmm0
call fcn.0046f38c
push ebx
push esi
push str.VideoAdapterIndex
push dword [edi + 0x8ec430]
call fcn.0046f3d2
push ebx
push esi
push str.Spout
push dword [0x4e897c]
call fcn.0046f3d2
add esp, 0x30
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x44b7a3
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
sub esp, 0x800
push esi
push dword [esp + 0x80c]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44b7e2
push 1
push 2
push ecx
mov dword [esp], 0x40c00000
push 0x133
call fcn.0046f448
pop ecx
push eax
mov ecx, esi
call fcn.0042eedb
jmp 0x44b950
push dword [esp + 0x80c]
push dword [esp + 0x80c]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x44b81e
push 1
push 3
push ecx
mov dword [esp], 0x40c00000
push 0x134
call fcn.0046f448
pop ecx
push eax
mov ecx, esi
call fcn.0042eedb
jmp 0x44b93f
push 0
push 4
push ecx
mov dword [esp], 0x40400000
push 0x135
call fcn.0046f448
pop ecx
push eax
mov ecx, esi
call fcn.0042eedb
push dword [esi + 0x6c2cc]
lea eax, [esp + 0x408]
push str._s.milk
push eax
call fcn.00411519
mov eax, dword [esi + 0x8e63b0]
add esp, 0xc
shl eax, 5
add eax, dword [esi + 0x8e67b8]
cmp dword [eax + 0x14], 7
jbe 0x44b86f
mov eax, dword [eax]
push ebx
push edi
lea ecx, [esp + 0x40c]
push ecx
push eax
lea edi, [esi + 0x8ab228]
call fcn.004924de
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
pop ecx
pop ecx
test eax, eax
jne 0x44b89a
push edi
push dword [esi + 0x6c2cc]
call ebx
push ebp
push edi
lea eax, [esp + 0x14]
push eax
call ebx
push str..milk
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [esi + 0x8e63b0]
lea eax, [esp + 0x10]
shl ecx, 5
add ecx, dword [esi + 0x8e67b8]
push eax
call fcn.0041713b
xor ebp, ebp
mov ecx, esi
push ebp
push 1
push ebp
call fcn.0044ddce
push 0x5c
push dword [esp + 0x81c]
mov dword [esi + 0x8e63b0], ebp
call fcn.00489607
mov ebp, eax
pop ecx
pop ecx
test ebp, ebp
je 0x44b93c
mov edi, dword [esi + 0x8e63ac]
add ebp, 2
cmp edi, dword [esi + 0x8e63a8]
jge 0x44b93c
mov ebx, edi
shl ebx, 5
mov eax, dword [esi + 0x8e67b8]
add eax, ebx
cmp dword [eax + 0x14], 7
jbe 0x44b91b
mov eax, dword [eax]
push eax
push ebp
call fcn.004924de
pop ecx
pop ecx
test eax, eax
je 0x44b936
inc edi
add ebx, 0x20
cmp edi, dword [esi + 0x8e63a8]
jl 0x44b90b
jmp 0x44b93c
mov dword [esi + 0x8e63b0], edi
pop ebp
pop edi
pop ebx
and dword [esi + 0x8ab20c], 0
mov dword [esi + 0x8ab1d0], 2
pop esi
add esp, 0x800
ret 8
Function at 0x44ddce
Capabilities:
Create thread

Disassembly:
push ebx
mov bh, byte [esp + 0xc]
mov bl, byte [esp + 8]
test bh, bh
je 0x44ddf1
cmp byte [0xecbaca], 0
je 0x44de0f
push 0xbb8
call fcn.00434e23
pop ecx
jmp 0x44de0f
test bl, bl
je 0x44de02
cmp byte [0xecbaca], 0
jne 0x44dea4
cmp byte [ecx + 0x8e69cc], 0
jne 0x44dea4
movzx ecx, byte [esp + 0x10]
xor edx, edx
push edx
push edx
add ecx, ecx
movzx eax, bh
or ecx, eax
mov dword [0xed061c], edx
push ecx
push 0x4528c6
push edx
push edx
mov byte [0xecbaca], 1
call fcn.00499dc4
add esp, 0x18
mov dword [0xed0618], eax
push 2
push dword [0xed0618]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test bl, bl
je 0x44deb0
cmp byte [0xecbaca], 0
je 0x44dea4
mov ebx, 0xed070c
push esi
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0xdcef60]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, 0x1e
jge 0x44de8c
cmp byte [0xecbaca], 0
jne 0x44de62
cmp byte [0xecbaca], 0
pop esi
je 0x44dea4
push 1
push dword [0xed0618]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop ebx
ret 0xc
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0xecbaca], 0
jne 0x44dea8
push dword [0xed0618]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0xed0618], 0xffffffff
jmp 0x44dea4
Function at 0x44ecf7
Capabilities:
Parse credit card information

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x44ed57
mov ebp, 0x10000000
cmp eax, 0x7c
je 0x44ed57
cmp eax, 0x29
jne 0x44ed5d
cmp dword [esi + 0x10], 0
jne 0x44ed57
test dword [esi + 0x50], ebp
je 0x44ee55
cmp eax, 0x5d
jne 0x44ed32
test dword [esi + 0x50], ebp
je 0x44ee49
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0044e66f
mov ecx, esi
call fcn.00451deb
mov ecx, esi
call fcn.00451e5e
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x44ed0b
pop esi
pop ebp
mov al, cl
pop ebx
ret
cmp eax, 0x2e
jne 0x44ed6e
push 5
lea ecx, [esi + 0x24]
call fcn.00451dad
jmp 0x44ed3f
cmp eax, 0x5c
jne 0x44edba
mov ecx, esi
call fcn.00451deb
test byte [esi + 0x50], 0x80
je 0x44edb1
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x44ed9a
push 4
lea ecx, [esi + 0x24]
call fcn.00451dad
mov ecx, esi
call fcn.00451deb
jmp 0x44ed4d
cmp al, 0x42
jne 0x44edb1
push 4
lea ecx, [esi + 0x24]
call fcn.00451dad
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x44ed91
mov ecx, esi
call fcn.0044ee5f
jmp 0x44ed46
cmp eax, 0x5b
jne 0x44eddd
mov ecx, esi
call fcn.00451deb
mov ecx, esi
call fcn.0044f747
push 4
push 0x5d
mov ecx, esi
call fcn.00450ba2
jmp 0x44ed46
cmp eax, 0x28
jne 0x44ee0a
mov ecx, esi
call fcn.00451deb
mov ecx, esi
call fcn.00452830
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.00450ba2
test bl, bl
je 0x44ed4d
jmp 0x44ed46
cmp eax, 0x5e
jne 0x44ee16
push 2
jmp 0x44ed89
cmp eax, 0x24
jne 0x44ee22
push 3
jmp 0x44ed89
cmp eax, 0x2a
je 0x44ee4d
cmp eax, 0x2b
je 0x44ee4d
cmp eax, 0x3f
je 0x44ee4d
cmp eax, 0x7b
je 0x44ee4d
cmp eax, 0x7d
jne 0x44ed24
test dword [esi + 0x50], ebp
je 0x44ee51
jmp 0x44ed32
push 4
jmp 0x44ee57
push 0xa
jmp 0x44ee57
push 6
jmp 0x44ee57
push 5
mov ecx, esi
call fcn.00450b71
int3

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

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, 0xe3
push edi
lea edi, [esi + 0x9c4]
mov ebx, dword [edi]
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub ebp, 1
jne 0x451f36
lea edi, [esi + 0xd50]
mov ebp, 0x18c
mov ebx, dword [edi]
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub ebp, 1
jne 0x451f7b
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [esi], ebp
and eax, 0x9908b0df
shr ecx, 1
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
pop esi
pop ebp
pop ebx
ret
Function at 0x451fed
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea edx, [ecx + 8]
mov esi, 0x270
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x451ff6
pop esi
ret

Function at 0x4543bf
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4543cc
ret
push esi
push edi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop edi
pop esi
ret

Function at 0x4543f3
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x454400
ret
push esi
push edi
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop edi
pop esi
ret

Function at 0x454ca0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor edx, eax
imul edx, dword [esp + 0x14]
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jb 0x454cb5
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
ret 8
Function at 0x456f2d
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x1c
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x622b0]
test edi, edi
jle 0x457115
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push ebx
xor ebx, ebx
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x10], xmm0
cmp dword [esi + 0x622e0], ebx
je 0x456fd6
mulss xmm0, dword [0x4c5e1c]
movss dword [esp + 0x1c], xmm0
mulss xmm0, xmm0
subss xmm0, dword [0x4c162c]
comiss xmm0, dword [0x4bfb48]
jbe 0x456fd6
cvtps2pd xmm0, xmm0
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.004996d0
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fsub dword [esp + 0x24]
pop ecx
pop ecx
fmul dword [0x4bfb4c]
fstp dword [esp + 0x1c]
movss xmm2, dword [esp + 0x1c]
comiss xmm2, dword [0x4bc5a0]
jbe 0x456fd6
movss xmm0, dword [esp + 0xc]
movaps xmm1, xmm0
mulss xmm0, xmm2
divss xmm1, xmm2
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x10], xmm1
cmp dword [esi + 0x6885c], ebx
jl 0x457105
jg 0x456ff0
cmp dword [esi + 0x68858], ebx
jbe 0x457105
push ebp
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esi + 0x68a68]
or eax, dword [esi + 0x68a6c]
je 0x4570ee
mov edx, dword [esi + 0x6885c]
mov ecx, dword [esi + 0x68858]
call fcn.00485f60
xorps xmm1, xmm1
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
cvtsd2ss xmm1, xmm0
mov edi, ebx
movaps xmm0, xmm1
divss xmm0, dword [esp + 0x10]
divss xmm1, dword [esp + 0x14]
cvttss2si eax, xmm0
mov dword [esp + 0x20], eax
cvttss2si eax, xmm1
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x24]
mov ebx, ecx
sub ebx, dword [esi + 0x68a68]
mov edx, dword [esp + 0x28]
mov eax, edx
sbb eax, dword [esi + 0x68a6c]
js 0x45707f
jg 0x45707c
cmp ebx, 0x7ffffd78
jbe 0x45707f
xor edi, edi
inc edi
cmp edx, dword [esi + 0x68a6c]
jg 0x457094
jl 0x457091
cmp ecx, dword [esi + 0x68a68]
jae 0x457094
xor edi, edi
inc edi
mov eax, ecx
sub eax, dword [esi + 0x68a68]
cmp eax, dword [esp + 0x20]
jge 0x4570f6
test edi, edi
jne 0x4570f6
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esi + 0x68858]
sub ecx, eax
mov eax, ebx
mov dword [esp + 0x14], 0x64
cdq
idiv dword [esp + 0x14]
cmp ecx, eax
jle 0x4570cb
push 5
call ebp
jmp 0x45704d
mov eax, ebx
mov ebx, 0x3e8
cdq
idiv ebx
cmp ecx, eax
jle 0x4570dd
push 1
jmp 0x4570c7
push 0xa
pop ebx
push 0
call ebp
sub ebx, 1
jne 0x4570e0
jmp 0x45704d
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x68a68], ecx
mov dword [esi + 0x68a6c], edx
pop ebp
jmp 0x457114
mov eax, 0x3e8
cdq
idiv edi
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
pop ebx
pop edi
pop esi
add esp, 0x1c
ret