joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481f10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59dca0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [0x60fa08]
push esi
push edi
movups xmm0, xmmword [edx]
mov edi, ecx
lea esi, [edi + 0x30]
mov dword [ebp - 0x10], edi
lea ecx, [edi + 0x18]
mov dword [0x60fa08], edi
mov dword [ebp + 8], esi
mov dword [edi + 0x14], eax
mov eax, dword [0x60fa0c]
movups xmmword [edi + 4], xmm0
mov dword [0x60fa0c], ecx
movups xmm0, xmmword [edx]
mov dword [ecx + 0x14], eax
movups xmmword [ecx + 4], xmm0
mov dword [esi], fcn.0058c4a0
mov dword [esi + 4], 0x5b57c4
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], 0
mov byte [esi + 0x14], 0
cmp byte [eax + ecx], 0
je 0x481fa4
inc eax
cmp eax, 0xffffffff
jb 0x481f98
push eax
push ecx
mov ecx, esi
call fcn.0058c580
mov ecx, dword [ebp - 0xc]
mov eax, edi
mov dword [edi], 0x5c4040
mov dword [edi + 0x18], 0x5c4044
mov dword [esi], fcn.0058c4a0
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x486882
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.00486846
test al, al
je 0x4868ad
push esi
push 0x31
push str.Old_beta_version_notice
push str.This_pre_release_version_of_foobar2000_is_over_eight_weeks_old._nWe_strongly_recommend_that_you_update_to_a_newer_version.
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
je 0x4868af
pop esi
leave
ret
push 1
push esi
push esi
push str.https:__www.foobar2000.org_download
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xc]
call fcn.0042f7b0
push 0x6009b0
mov eax, ecx
push eax
call fcn.005936f7
int3
Function at 0x497900
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0404
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x10
push esi
push edi
push 0x60
mov esi, edx
mov dword [ebp - 0x14], ecx
call fcn.00592716
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 8]
mov dword [edi], 0x5c675c
movups xmm0, xmmword [ecx]
lea ecx, [edi + 0x18]
mov dword [ebp - 0x1c], ecx
movups xmmword [edi + 8], xmm0
mov dword [ecx + 4], 0
xorps xmm0, xmm0
mov dword [ecx + 8], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0xc], 0
movsd qword [ecx + 0x20], xmm0
mov dword [ecx + 0x28], 0xc47a0000
mov dword [ecx + 0x2c], 0xc47a0000
mov dword [ecx + 0x30], 0xbf800000
mov dword [ecx + 0x34], 0xbf800000
mov byte [ebp - 4], 2
push esi
mov dword [ecx], 0x5c6774
call fcn.00575d5e
mov al, byte [ebx + 0xc]
mov ecx, edi
mov esi, dword [ebp - 0x14]
mov byte [edi + 0x50], al
mov dword [edi], 0x5c672c
mov dword [edi + 0x58], 0
mov eax, dword [edi]
mov dword [esi], edi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x49c4bb
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov dword [esi], 0x5c6c64
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x49c4d0
call fcn.00410170
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x49c4dc
call fcn.00410170
lea ecx, [esi + 8]
pop esi
jmp fcn.00414d70
Function at 0x49e96e
Capabilities:
Check mutex on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0049eacf
cmp byte [0x613d92], 0
je 0x49e998
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x60739c]
xor ecx, ecx
push 0xffffffffffffffff
call fcn.004b0700
pop ecx
push eax
mov dword [esi + 4], eax
lea eax, [esp + 0x54]
push str.FOOBAR2000__08X
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
add esp, 0xc
xor ebp, ebp
mov ebx, ebp
jmp 0x49ea15
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x49ea3d
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
xor ebp, ebp
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 0x49e7aa
mov dword [esp + 0x20], ebp
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x49ea31
inc ebx
cmp ebx, 0x12c
ja 0x49ea36
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
call edi
lea eax, [esp + 0x50]
push eax
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebp, eax
test ebp, ebp
je 0x49eab8
jmp 0x49e9cb
call fcn.0049e832
xor al, al
jmp 0x49e990
mov eax, dword [0x60f9e8]
xor ebx, ebx
xorps xmm0, xmm0
mov dword [esp + 0x28], ebx
mov ebp, str.75D55AF6_03A2_457a_9933_D4EC2CB25684
mov dword [esp + 0x30], ebx
push ebx
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
mov dword [esp + 0x30], 0x49e461
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x38], 4
call edi
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x49eab3
push ebx
call edi
push esi
push dword [0x60f9e8]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.uninteresting
push ebp
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x49e98e
call fcn.0054c6d1
lea ecx, [esp + 0x1c]
call fcn.0042f810
push 0x600a40
mov eax, ecx
push eax
call fcn.005936f7
int3
Function at 0x4b4071
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov bl, cl
mov ecx, dword [0x6111a4]
mov eax, dword [ecx]
call dword [eax + 0xc]
test al, al
jne 0x4b41c2
test bl, bl
je 0x4b41c2
cmp dword [0x61105c], 0
jl 0x4b41c2
movsd xmm0, qword [0x611100]
comisd xmm0, xmmword [0x5d5ce8]
jb 0x4b41c2
push 0xa0
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x4b41c2
push 0xa1
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x4b41c2
cmp dword [0x611138], 0
jl 0x4b41c2
mov ecx, dword [0x6112ac]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [0x611138]
cmp edx, eax
jae 0x4b41c2
cmp dword [0x61105c], 0
jl 0x4b41c2
mov ecx, dword [0x6112ac]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp dword [0x61105c], eax
jae 0x4b41c2
mov ecx, dword [0x6112ac]
push dword [0x611138]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [0x6112ac]
push dword [0x61105c]
push dword [0x611138]
mov eax, dword [ecx]
call dword [eax + 0x128]
push 6
mov dl, 1
pop ecx
call fcn.004b3785
call fcn.004b2fb9
mov edx, eax
cmp edx, 0xffffffff
je 0x4b41c2
movsd xmm0, qword [0x611100]
comisd xmm0, xmmword [0x5d5ce8]
movsd qword [esp + 8], xmm0
jbe 0x4b41b2
mov ecx, dword [0x6111a4]
push ecx
push ecx
movsd qword [esp], xmm0
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x4c]
call eax
test al, al
je 0x4b41b2
movsd xmm0, qword [esp + 8]
movsd qword [0x608780], xmm0
cmp byte [0x61116c], 0
jne 0x4b41c2
xor cl, cl
call fcn.004b3740
mov ecx, dword [0x6111a4]
mov eax, dword [ecx]
call dword [eax + 0xc]
test al, al
jne 0x4b41ff
cmp dword [0x6111a0], 0
jle 0x4b41ff
mov ecx, dword [0x6112ac]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0xffffffff
je 0x4b41ff
mov ecx, dword [0x6112ac]
push dword [0x6111a0]
push eax
mov edx, dword [ecx]
call dword [edx + 0x128]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c85e0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [0x6063f8]
push ebx
push ebp
push esi
mov eax, dword [eax + 0x14]
mov ebp, ecx
push edi
mov ecx, 0x6063f8
mov ebx, edx
call eax
test al, al
jne 0x4c860d
push str.Error:_this_function_can_be_called_only_from_main_thread._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
mov esi, dword [0x612174]
mov edi, dword [0x612178]
cmp esi, 0xffffffff
je 0x4c8606
cmp esi, dword [0x6089bc]
jae 0x4c8606
cmp edi, 0xffffffff
je 0x4c8606
mov eax, dword [0x6089b8]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx + 0x24]
add ecx, 0x24
call dword [eax]
cmp edi, eax
jae 0x4c8606
mov eax, dword [0x6089b8]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + edi*4]
cmp eax, dword [0x612170]
jne 0x4c8606
mov dword [ebp], esi
mov al, 1
mov dword [ebx], edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4d15f0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a470f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov dword [esi], fcn.004d1780
mov eax, dword [edi + 8]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x4d165d
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
lea ecx, [esi + 0x34]
test eax, eax
mov dword [ecx], fcn.0058c4a0
mov edx, str.Information
mov dword [ebp + 8], ecx
cmovne edx, eax
mov dword [ecx + 4], 0x5b57c4
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov byte [ecx + 0x14], 0
nop dword [eax + eax]
cmp byte [edx + eax], 0
je 0x4d16ac
inc eax
cmp eax, 0xffffffff
jb 0x4d16a0
push eax
push edx
call fcn.0058c580
mov byte [ebp - 4], 3
lea ecx, [esi + 0x4c]
mov edx, dword [edi + 4]
call fcn.0058bbf0
mov eax, dword [edi + 0x1c]
lea ecx, [esi + 0x64]
test eax, eax
mov dword [ecx], fcn.0058c4a0
mov edx, 0x5ca160
mov dword [ebp + 8], ecx
cmovne edx, eax
mov dword [ecx + 4], 0x5b57c4
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov byte [ebp - 4], 5
xor eax, eax
mov byte [ecx + 0x14], 0
cmp byte [edx + eax], 0
je 0x4d170d
inc eax
cmp eax, 0xffffffff
jb 0x4d1701
push eax
push edx
call fcn.0058c580
push 0x127
mov byte [ebp - 4], 6
lea ecx, [esi + 0x7c]
push dword [0x60f9e8]
call fcn.004d2b90
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x88], 0
mov byte [esi + 0x8c], 0
mov byte [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov byte [esi + 0x98], 0
mov dword [esi + 0x9c], 0
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4dcf50
Capabilities:
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push edi
mov edi, ecx
cmp dword [edi + 4], 0
lea esi, [edi + 4]
jne 0x4dcf89
push 0
call ebx
push esi
push 0
push 0
push dword [edi + 8]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4dd013
push 0
mov dword [esp + 0x18], 4
call ebx
push 0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
push 4
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x4dd013
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x10]
cmp edi, dword [ebx + 4]
jbe 0x4dcfc8
push edi
mov ecx, ebx
call fcn.00418b40
mov dword [ebx + 4], edi
jmp 0x4dcfd5
jae 0x4dcfd9
push edi
mov ecx, ebx
mov dword [ebx + 4], edi
call fcn.00418b40
mov edi, dword [esp + 0x10]
push 0
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
lea eax, [esp + 0x18]
push eax
push dword [ebx]
push 2
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x4dd013
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
pop edi
mov dword [esi], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0054c6d1
int3
Function at 0x4e0600
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5734
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov dword [ebp - 0x14], ebx
push esi
push edi
mov dword [ebx + 4], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebp - 4], 0
lea eax, [ebx + 0x20]
mov dword [eax], 0x5c2180
lea edi, [ebx + 0x24]
mov dword [edi], 0x5c2170
lea ecx, [ebx + 0x30]
push eax
mov dword [ebx], 0x5cb204
mov dword [eax], 0x5cb124
mov dword [edi], 0x5cb114
mov dword [ebx + 0x2c], 0
call fcn.00459e10
mov dword [ebx + 0x30], 0x5c2474
mov dword [ebx + 0x228], 0x5c2280
mov dword [ebx + 0x258], 0x5c2210
mov dword [ebx + 0x278], edi
mov dword [ebx + 0x280], 0
mov dword [ebx + 0x284], 0
mov dword [ebx + 0x288], 0
mov dword [ebx + 0x28c], 0
mov dword [ebx + 0x290], 0
mov dword [ebx + fcn.0058c4a0], 0x5b57a8
mov dword [ebx + 0x298], 0x5b57c4
mov dword [ebx + 0x29c], 0
mov dword [ebx + 0x2a0], 0
mov dword [ebx + 0x2a4], 0
mov byte [ebx + 0x2a8], 0
mov dword [ebx + 0x2ac], 0
mov dword [ebx + 0x2b0], 0
lea esi, [ebx + 0x2b4]
mov dword [esi], 0x5bccc4
mov dword [ebp - 0x18], esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [ebp - 4], 8
mov eax, 0x66666667
mov dword [esi + 0x20], 0
xor ecx, ecx
mov dword [esi + 0x24], 0
imul dword [esi + 0x1c]
mov dword [ebp - 0x10], ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xe
jae 0x4e0791
push 0xe
lea ecx, [esi + 0x14]
call fcn.0054e415
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x10], ecx
push 0x118
push 0x5b7c70
push ecx
call fcn.005936cd
mov eax, dword [ebp - 0x10]
lea ecx, [ebx + 0x2ec]
add esp, 0xc
add eax, 0x118
mov dword [esi + 0x18], eax
mov dword [esi + 0x28], 0x12c
mov dword [esi + 0x2c], 0xdc
push 0x608bf8
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call fcn.00421cf0
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
mov dword [ebx + 0x210], 1
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4e82f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x218]
cmp byte [eax + 0xa0], 0
je 0x4e83e3
mov eax, dword [esi]
xor bl, bl
mov byte [esp + 0x13], bl
xor edi, edi
call dword [eax + 0x34]
test eax, eax
je 0x4e83e3
mov ebp, 0x609f90
mov dword [esp + 0x14], ebp
nop word [eax + eax]
mov ecx, dword [esp + 0x3c]
push edi
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test al, al
je 0x4e839b
mov ebx, dword [esi + 0x218]
lea eax, [esp + 0x28]
movups xmm0, xmmword [ebp]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [ebx + 0x98]
movups xmmword [esp + 0x30], xmm0
call fcn.004e92d0
mov ebp, dword [esp + 0x24]
lea eax, [esp + 0x28]
push eax
push ebp
call fcn.004e9370
test al, al
je 0x4e8397
cmp ebp, dword [ebx + 0x98]
je 0x4e8397
push ebp
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebx + 0x98]
call fcn.004e9220
mov bl, 1
mov byte [esp + 0x13], bl
jmp 0x4e839b
mov bl, byte [esp + 0x13]
mov eax, dword [esi]
mov ecx, esi
add dword [esp + 0x14], 0x10
inc edi
call dword [eax + 0x34]
mov ebp, dword [esp + 0x14]
cmp edi, eax
jb 0x4e8330
test bl, bl
je 0x4e83e3
mov ecx, dword [esi + 0x218]
cmp byte [ecx + 0xa2], 1
je 0x4e83d8
mov byte [ecx + 0xa2], 1
mov ecx, dword [ecx + 0x78]
call fcn.00470b60
mov ecx, dword [esi + 0x218]
mov ecx, dword [ecx + 0xac]
call fcn.00470b60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4

Function at 0x4e82f5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x218]
cmp byte [eax + 0xa0], 0
je 0x4e83e3
mov eax, dword [esi]
xor bl, bl
mov byte [esp + 0x13], bl
xor edi, edi
call dword [eax + 0x34]
test eax, eax
je 0x4e83e3
mov ebp, 0x609f90
mov dword [esp + 0x14], ebp
nop word [eax + eax]
mov ecx, dword [esp + 0x3c]
push edi
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test al, al
je 0x4e839b
mov ebx, dword [esi + 0x218]
lea eax, [esp + 0x28]
movups xmm0, xmmword [ebp]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [ebx + 0x98]
movups xmmword [esp + 0x30], xmm0
call fcn.004e92d0
mov ebp, dword [esp + 0x24]
lea eax, [esp + 0x28]
push eax
push ebp
call fcn.004e9370
test al, al
je 0x4e8397
cmp ebp, dword [ebx + 0x98]
je 0x4e8397
push ebp
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebx + 0x98]
call fcn.004e9220
mov bl, 1
mov byte [esp + 0x13], bl
jmp 0x4e839b
mov bl, byte [esp + 0x13]
mov eax, dword [esi]
mov ecx, esi
add dword [esp + 0x14], 0x10
inc edi
call dword [eax + 0x34]
mov ebp, dword [esp + 0x14]
cmp edi, eax
jb 0x4e8330
test bl, bl
je 0x4e83e3
mov ecx, dword [esi + 0x218]
cmp byte [ecx + 0xa2], 1
je 0x4e83d8
mov byte [ecx + 0xa2], 1
mov ecx, dword [ecx + 0x78]
call fcn.00470b60
mov ecx, dword [esi + 0x218]
mov ecx, dword [ecx + 0xac]
call fcn.00470b60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x4ec420
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a608d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov edi, ecx
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x1b], 0
mov byte [ebp - 0x1a], 0
mov byte [ebp - 4], 1
mov esi, dword [edi + 4]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4ec5e3
lea eax, [ebp - 0x30]
mov byte [ebp - 0x1a], 1
push eax
mov ecx, edi
call fcn.00557022
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0x2b4]
push eax
mov edx, dword [ecx + 0x34]
lea ecx, [ecx + 0x24]
call fcn.005384c4
add esp, 4
mov byte [ebp - 0x19], al
mov byte [ebp - 4], 3
cmp dword [ebp - 0x28], 0
jbe 0x4ec4cb
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
call fcn.00418b40
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, byte [ebp - 0x19]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x4ec5cf
mov ecx, dword [edi + 0x2b4]
cmp byte [ecx + 0x10], 1
je 0x4ec4fb
mov byte [ecx + 0x10], 1
mov ecx, dword [ecx + 0x78]
call fcn.00470b60
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0054c6d1
int3

Function at 0x4ec5f0
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a60b5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov edi, ecx
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x19], 0
mov byte [ebp - 4], 1
mov esi, dword [edi + 4]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4ec78c
mov eax, dword [edi + 0x2b4]
mov byte [ebp - 0x19], 1
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x34]
call fcn.0053838d
mov byte [ebp - 0x19], al
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x19]
test al, al
je 0x4ec778
mov ecx, dword [edi + 0x2b4]
cmp byte [ecx + 0x10], 1
je 0x4ec69d
mov byte [ecx + 0x10], 1
mov ecx, dword [ecx + 0x78]
call fcn.00470b60
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0054c6d1
int3
Function at 0x4f6460
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596730
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
push dword [esi + 0x30]
call dword [0x5b46d4]
add esp, 4
mov dword [esi + 0x30], 0
lea ecx, [esi + 0x18]
mov dword [esi + 0x34], 0
call fcn.004f7760
lea edi, [esi + 0x10]
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.004285f0
mov ecx, dword [edi]
or esi, 0xffffffff
mov dword [edi], 0
test ecx, ecx
je 0x4f64cf
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4f64cf
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x4f64e3
lock xadd dword [ecx + 4], esi
dec esi
jne 0x4f64e3
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x50bf30
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov ebx, ecx
push edi
push 0x44c
mov dword [ebx + 0x128], eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
call dword [sym.imp.USER32.dll_GetFocus]
mov edi, eax
test edi, edi
je 0x50bf70
mov edx, dword [ebx + 0x8c]
mov ecx, edi
call fcn.0058d270
test al, al
jne 0x50bf70
cmp edi, esi
jne 0x50bf82
push 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x8c]
call edi
mov ecx, ebx
call fcn.0050bfc0
push 5
push dword [ebx + 0x128]
call edi
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
pop ebx
ret 4

Function at 0x50c8a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov edx, dword [esi + 0x128]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test edx, edx
je 0x50c8e4
mov ecx, eax
call fcn.0058d270
test al, al
je 0x50c8da
push 2
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push dword [esi + 0x128]
call ebx
push 5
push dword [esi + 0x8c]
call ebx
push 0x44c
push dword [esi + 4]
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
call dword [sym.imp.USER32.dll_GetFocus]
mov ebx, eax
test ebx, ebx
je 0x50c918
push 2
push dword [esi + 4]
call edi
cmp ebx, eax
jne 0x50c951
push 0
push 0
push 0x130b
push dword [esi + 0xb8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0xb0]
mov edx, dword [esi + 0xac]
sub ecx, edx
sar ecx, 2
cmp eax, ecx
jae 0x50c951
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x50c951
mov eax, dword [ecx]
pop edi
pop esi
pop ebx
jmp dword [eax + 0x18]
pop edi
pop esi
pop ebx
ret
Function at 0x52df80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [ecx + 0x9c0]
cmp eax, 0x270
jl 0x52e07f
cmp eax, 0x271
jne 0x52dfd4
mov dword [ecx], 0x1105
mov dword [ecx + 0x9c0], 1
nop dword [eax + eax]
mov eax, dword [ecx + 0x9c0]
lea edx, [ecx + eax*4]
imul eax, dword [edx - 4], 0x10dcd
mov dword [edx], eax
inc dword [ecx + 0x9c0]
cmp dword [ecx + 0x9c0], 0x270
jl 0x52dfb0
push esi
xor esi, esi
nop word [eax + eax]
mov edx, dword [ecx + esi*4 + 4]
xor edx, dword [ecx + esi*4]
and edx, 0x7fffffff
xor edx, dword [ecx + esi*4]
mov eax, edx
shr edx, 1
and eax, 1
xor edx, dword [eax*4 + 0x5d15bc]
xor edx, dword [ecx + esi*4 + 0x634]
mov dword [ecx + esi*4], edx
inc esi
cmp esi, 0xe3
jl 0x52dfe0
mov edx, dword [ecx + esi*4 + 4]
xor edx, dword [ecx + esi*4]
and edx, 0x7fffffff
xor edx, dword [ecx + esi*4]
mov eax, edx
shr edx, 1
and eax, 1
xor edx, dword [eax*4 + 0x5d15bc]
xor edx, dword [ecx + esi*4 - 0x38c]
mov dword [ecx + esi*4], edx
inc esi
cmp esi, 0x26f
jl 0x52e011
mov edx, dword [ecx + 0x9bc]
xor edx, dword [ecx]
and edx, 0x7fffffff
xor edx, dword [ecx + 0x9bc]
mov eax, edx
shr edx, 1
and eax, 1
pop esi
mov eax, dword [eax*4 + 0x5d15bc]
xor eax, dword [ecx + 0x630]
xor eax, edx
mov dword [ecx + 0x9bc], eax
xor eax, eax
mov dword [ecx + 0x9c0], 0
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ecx + 0x9c0], eax
mov eax, edx
shr eax, 0xb
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
ret