joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b1770
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
jne 0x4b1790
mov dword [esi + 0x61a0], 0xffffffff
xor eax, eax
pop esi
ret 0xc
mov eax, dword [esi + 0x61a0]
cmp eax, 0xffffffff
jne 0x4b17a1
xor eax, eax
pop esi
ret 0xc
push edi
mov edi, dword [esi + 0x6168]
mov ecx, edi
sub ecx, eax
mov eax, dword [esp + 0x10]
add ecx, eax
mov dword [esi + 0x61a0], eax
mov dword [esi + 0x6168], ecx
mov ecx, esi
call fcn.004b1690
mov edx, dword [esi + 0x6168]
push 0
push 0
sub edx, edi
push 0
push edx
mov ecx, esi
call fcn.005916b0
pop edi
mov eax, 1
pop esi
ret 0xc
Function at 0x4b9900
Capabilities:
Capture microphone audio

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov esi, ecx
call dword [sym.imp.WINMM.dll_waveInGetNumDevs]
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0x24]
push 0x30
push eax
push ecx
call dword [sym.imp.WINMM.dll_waveInGetDevCapsA]
test eax, eax
jne 0x4b9a56
mov eax, dword [0x6646f0]
xor edi, edi
cmp eax, edi
je 0x4b995c
mov eax, dword [esi + 0x28]
mov word [esp + 0x10], 1
mov word [esp + 0x12], 2
mov dword [esp + 0x14], eax
lea edx, [eax*4]
mov word [esp + 0x1c], 4
mov dword [esp + 0x18], edx
jmp 0x4b997f
mov eax, 1
mov word [esp + 0x1c], 2
mov word [esp + 0x10], ax
mov word [esp + 0x12], ax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x14], eax
add eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [0x66440c]
mov word [esp + 0x1e], 0x10
cmp eax, edi
mov word [esp + 0x20], di
jne 0x4b99a4
mov ecx, dword [esp + 0x58]
push 0x10000
push edi
lea ebx, [esi + 0x2c]
push ecx
jmp 0x4b99c3
mov ecx, dword [esp + 0x58]
push 0x30000
mov dword [0x664408], esi
push 1
mov dword [esi + 0x30d90], ecx
lea ebx, [esi + 0x2c]
push 0x4b9d60
mov eax, dword [esi + 0x18]
lea edx, [esp + 0x1c]
push edx
push eax
push ebx
call dword [sym.imp.WINMM.dll_waveInOpen]
cmp eax, edi
jne 0x4b9a56
mov eax, dword [esi + 8]
xor ebp, ebp
cmp eax, edi
jle 0x4b9a42
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x3c]
imul ecx, ebp
push 0x20
lea eax, [edx + ecx*2]
mov ecx, dword [esi + 0x34]
mov dword [edi + ecx], eax
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x34]
shl edx, 1
mov dword [edi + eax + 4], edx
mov ecx, dword [esi + 0x34]
mov edx, edi
mov dword [edi + ecx + 0x10], 0
mov ecx, dword [esi + 0x34]
mov eax, dword [ebx]
add edx, ecx
push edx
push eax
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
test eax, eax
jne 0x4b9a56
mov ecx, dword [esi + 0x34]
mov eax, edi
add eax, ecx
mov ecx, dword [ebx]
push 0x20
push eax
push ecx
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
test eax, eax
jne 0x4b9a56
mov eax, dword [esi + 8]
inc ebp
add edi, 0x20
cmp ebp, eax
jl 0x4b99e0
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.WINMM.dll_waveInStart]
test eax, eax
jne 0x4b9a56
mov dword [esi + 0x10], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4
Function at 0x4bb6d0
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x5c6c23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x5e3d70
mov eax, dword [esi + 4]
mov dword [esp + 0x218], 1
test eax, eax
je 0x4bb743
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x4bb716
call fcn.004bb520
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x4bb727
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 0x308]
test eax, eax
je 0x4bb90c
push eax
call fcn.0058ed21
add esp, 4
jmp 0x4bb90c
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4bb90c
mov ecx, esi
call fcn.004bb520
test eax, eax
jge 0x4bb795
lea eax, [esp + 4]
push 0xc9e0
push eax
call fcn.004ec350
add esp, 8
mov eax, dword [eax]
push 0
push 0
push eax
mov byte [esp + 0x224], 2
call fcn.0059bd71
lea ecx, [esp + 4]
mov byte [esp + 0x218], 1
call fcn.005936db
jmp 0x4bb90c
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4bb7a5
push 0
push eax
call dword [sym.imp.WINMM.dll_mmioClose]
mov eax, dword [esi + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4bb7dd
mov ecx, dword [esi + 0x14]
push ecx
push eax
call fcn.00573b74
add esp, 8
test eax, eax
je 0x4bb7dd
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
jmp 0x4bb90c
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4bb90c
mov eax, dword [esi + 0x14]
push 0
push str.WAV_files__.wav_.wavAll_files__._.
push 0x200c
push eax
push 0x62e094
push 0
lea ecx, [esp + 0x24]
call fcn.00532a60
lea ecx, [esp + 4]
push 0xa2be
push ecx
mov byte [esp + 0x220], 3
call fcn.004ec350
mov eax, dword [eax]
add esp, 8
lea ecx, [esp + 4]
mov dword [esp + 0x98], eax
call fcn.005936db
lea edx, [esp + 4]
push 0xa2bf
push edx
call fcn.004ec350
add esp, 8
push eax
lea ecx, [esp + 0x210]
mov byte [esp + 0x21c], 4
call fcn.00593814
lea ecx, [esp + 4]
mov byte [esp + 0x218], 3
call fcn.005936db
lea ecx, [esp + 0xc]
call fcn.00532ad0
cmp eax, 1
mov eax, dword [esi + 0x14]
jne 0x4bb8cc
mov ecx, dword [esp + 0x84]
push ecx
push eax
call fcn.00573b74
add esp, 8
test eax, eax
je 0x4bb8d3
mov edx, dword [esp + 0x8c]
mov eax, dword [esi + 0x14]
push edx
push eax
call fcn.00573b74
add esp, 8
test eax, eax
je 0x4bb8d3
mov eax, dword [esp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x84]
mov eax, dword [esi + 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
jmp 0x4bb8d3
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x20c]
mov byte [esp + 0x218], 5
call fcn.005936db
lea ecx, [esp + 0xb8]
mov byte [esp + 0x218], 6
call fcn.005936db
lea ecx, [esp + 0xc]
mov byte [esp + 0x218], 1
call fcn.0058eec8
lea ecx, [esi + 0x14]
mov byte [esp + 0x218], 0
call fcn.005936db
lea ecx, [esi + 8]
mov dword [esp + 0x218], 0xffffffff
call fcn.005936db
mov ecx, dword [esp + 0x210]
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret
Function at 0x4bbe70
Capabilities:
Delete file
Move file

Disassembly:
mov dword [ecx], 0x5e3d84
jmp fcn.004bb6d0

Function at 0x4bc1e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5c6cc3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 4]
call fcn.0058d50f
xor edi, edi
lea ecx, [esi + 0x18]
mov dword [esp + 0x14], edi
call fcn.0058d50f
mov eax, dword [0x639698]
lea ecx, [esi + 0x3c]
mov dword [ecx], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], edi
mov eax, 1
push 0x630648
mov dword [esp + 0x18], eax
mov dword [esi], 0x5e3eb0
mov dword [esi + 0x40], edi
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], 0x2580
mov dword [esi + 0x60], 8
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x34], eax
mov dword [esi + 0x78], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], 0x2d
mov dword [esi + 0x50], edi
call fcn.00593864
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4bf180
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c71f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
push 0x62f53c
lea ebx, [esi + 0x48]
mov dword [esi + 0x38], edi
mov ecx, ebx
mov dword [esp + 0x10], esi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esp + 0x14], ebx
call fcn.00593749
push str.AzimuthOffset
lea ecx, [ebx + 4]
mov dword [esp + 0x2c], edi
call fcn.00593749
mov eax, dword [0x639698]
mov dword [ebx + 8], eax
push edi
push edi
mov ecx, ebx
mov byte [esp + 0x30], 2
call fcn.004c7cc0
lea ecx, [esp + 0x14]
mov dword [esi + 0x10], edi
mov dword [esi + 8], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
push ecx
mov dword [esp + 0x2c], 3
mov dword [esi], 0x5e43d8
mov dword [esi + 0x14], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], 0x40180000
call fcn.0056af0d
mov edx, dword [eax]
pop edi
mov dword [esi + 0x38], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0x3c], ecx
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x40], edx
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c4a40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x48], edx
mov dword [esp + 0x28], 0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x60], ecx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x70], ecx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0xc], 0
fild dword [esp + 0xc]
sub esp, 8
lea eax, [esp + 0x48]
lea ecx, [esp + 0x38]
fmul qword [0x5db288]
fstp qword [esp]
push 3
push eax
push ecx
mov ecx, esi
call fcn.004c4900
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
fld qword [esp + 0x10]
fcomp qword [esp + 0x20]
mov edi, dword [eax + 8]
mov dword [esp + 0x18], edi
mov ebx, dword [eax + 0xc]
fnstsw ax
mov dword [esp + 0x1c], ebx
test ah, 0x40
je 0x4c4b44
fld qword [esp + 0x18]
fcomp qword [esp + 0x28]
fnstsw ax
test ah, 0x40
jne 0x4c4b87
mov eax, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
push ebx
push edi
push edx
push ecx
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.004c4890
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0xc]
inc eax
cmp eax, 0xa
mov dword [esp + 0xc], eax
jl 0x4c4ae8
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x24]
shl eax, 4
add eax, ecx
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push ecx
mov ecx, dword [eax - 4]
push edx
mov edx, dword [eax - 8]
push ecx
mov ecx, dword [eax - 0xc]
push edx
mov edx, dword [eax - 0x10]
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004c4890
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x4caae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c87c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x28]
xor edi, edi
cmp ebx, eax
mov dword [esp + 0x20], edi
jl 0x4cac8f
inc ebx
cmp ebx, edi
jne 0x4cab51
mov esi, dword [ebp + 4]
cmp esi, edi
je 0x4cab46
mov ecx, eax
dec eax
test ecx, ecx
je 0x4cab37
lea ebx, [eax + 1]
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 4]
add esi, 0x14
dec ebx
jne 0x4cab29
mov eax, dword [ebp + 4]
push eax
call fcn.0058ed21
add esp, 4
mov dword [ebp + 4], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
jmp 0x4cac8f
mov ecx, dword [ebp + 4]
cmp ecx, edi
jne 0x4cabb4
lea edi, [ebx + ebx*4]
shl edi, 2
push edi
call fcn.0058ecf8
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
mov dword [ebp + 4], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x10], esi
rep stosb byte es:[edi], al
lea edi, [ebx]
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x20], 1
je 0x4cab9a
mov ecx, esi
call fcn.004cace0
add esi, 0x14
dec edi
mov byte [esp + 0x20], 0
mov dword [esp + 0x10], esi
jne 0x4cab86
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
jmp 0x4cac8f
mov esi, dword [ebp + 0xc]
cmp ebx, esi
jg 0x4cabf1
cmp eax, ebx
jge 0x4cabd8
mov edx, ebx
sub edx, eax
lea eax, [eax + eax*4]
push edx
lea ecx, [ecx + eax*4]
push ecx
call fcn.004caec0
mov dword [ebp + 8], ebx
jmp 0x4cac8f
jle 0x4cabe9
sub eax, ebx
lea edx, [ebx + ebx*4]
push eax
lea eax, [ecx + edx*4]
push eax
call fcn.004cacf0
mov dword [ebp + 8], ebx
jmp 0x4cac8f
mov ecx, dword [ebp + 0x10]
cmp ecx, edi
jne 0x4cac1c
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x4cac0f
mov ecx, 4
jmp 0x4cac1c
cmp ecx, 0x400
jle 0x4cac1c
mov ecx, 0x400
lea eax, [esi + ecx]
cmp ebx, eax
jge 0x4cac29
mov dword [esp + 0x10], eax
jmp 0x4cac2f
mov dword [esp + 0x10], ebx
mov eax, ebx
lea ecx, [eax + eax*4]
shl ecx, 2
push ecx
call fcn.0058ecf8
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 4]
mov edi, eax
add esp, 4
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x14], eax
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
sub edx, ecx
lea ecx, [ecx + ecx*4]
push edx
lea edx, [eax + ecx*4]
push edx
call fcn.004caec0
mov eax, dword [ebp + 4]
push eax
call fcn.0058ed21
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [ebp + 4], ecx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], edx
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 4]
mov dx, word [esp + 0x30]
pop edi
lea eax, [eax + eax*4]
pop esi
pop ebp
pop ebx
lea eax, [ecx + eax*4]
mov cx, word [esp + 0x22]
mov word [eax + 4], dx
mov edx, dword [esp + 0x24]
mov word [eax + 6], cx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 8]
mov dword [eax + 0x10], edx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x18
Function at 0x4d0ce0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0x161]
test al, al
je 0x4d0d0e
lea edi, [esi + 0x40]
mov ecx, edi
call fcn.004d43e0
mov ecx, edi
call fcn.004d2ed0
push eax
mov ecx, edi
call fcn.004d5130
cmp dword [ebp + 8], 0x20
jb 0x4d0eb1
lea ebx, [esi + 0x40]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.004d5e10
test eax, eax
jne 0x4d0eb1
mov eax, dword [esi + 0x124]
test eax, eax
jne 0x4d0eb1
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
lea ecx, [ebp - 0x28]
push 6
push ecx
and eax, 0xffff
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea edx, [ebp - 0x28]
push edx
call fcn.005731a0
add esp, 4
lea ecx, [ebp - 8]
lea edx, [ebp + 8]
push 1
push ecx
push 1
push edx
push 8
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov cl, byte [esi + 0x120]
test cl, cl
jne 0x4d0d88
test eax, eax
jne 0x4d0dea
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
jne 0x4d0ea8
mov cl, byte [esi + 0x120]
mov dl, byte [ebp + 8]
mov byte [ebp - 2], al
mov byte [ebp - 1], al
lea eax, [ebp - 4]
mov byte [ebp - 4], cl
test eax, eax
mov byte [ebp - 3], dl
je 0x4d0ddd
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.00573c80
mov eax, esp
lea edx, [ebp - 4]
push edi
push edx
push eax
call fcn.00593ca5
mov ax, word [eax]
mov byte [esi + 0x120], 0
mov dword [ebp - 8], eax
mov ecx, ebx
call fcn.004d43f0
mov eax, dword [esi + 0xc8]
mov ecx, dword [esi + 0x64]
cmp eax, ecx
jge 0x4d0e23
push eax
lea ecx, [esi + 0x5c]
call fcn.004c78d0
mov eax, dword [eax]
mov ecx, dword [esi + 0xcc]
add eax, ecx
mov ecx, dword [ebp - 8]
push 1
push 0
push eax
push ecx
mov ecx, ebx
call fcn.004d3040
jmp 0x4d0e30
mov edx, dword [ebp - 8]
push 0
push edx
mov ecx, ebx
call fcn.004d2f30
mov edx, dword [esi + 0xcc]
mov edi, dword [esi + 0xc8]
inc edx
inc edi
mov dword [esi + 0xcc], edx
mov eax, dword [esi + 0x64]
cmp edi, eax
jge 0x4d0e61
push edi
lea ecx, [esi + 0x5c]
call fcn.004c78d0
mov edx, dword [eax]
inc edx
inc edi
mov dword [eax], edx
mov eax, dword [esi + 0x64]
cmp edi, eax
jl 0x4d0e4b
mov eax, dword [esi + 0xc8]
mov ecx, ebx
push eax
call fcn.004d30d0
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx]
mov al, byte [esi + 0x161]
test al, al
je 0x4d0e8e
mov ecx, ebx
call fcn.004d2ed0
push eax
mov ecx, ebx
call fcn.004d5130
mov ecx, ebx
call fcn.004d4470
mov ecx, esi
call fcn.0058fb50
lea esp, [ebp - 0x34]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov al, byte [ebp + 8]
mov byte [esi + 0x120], al
mov ecx, esi
call fcn.0058fb50
lea esp, [ebp - 0x34]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4d2f30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
cmp di, 0x1f
jae 0x4d2f58
cmp di, 0xd
je 0x4d2f58
cmp di, 0xa
je 0x4d2f58
cmp di, 9
je 0x4d2f58
mov eax, dword [esi + 0x10]
pop edi
pop esi
ret 8
mov eax, dword [esi + 4]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x10]
push edi
push ecx
mov ecx, esi
call fcn.004d6ab0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d302b
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
sub eax, dword [esi + 0xec]
cmp eax, 0x32
jbe 0x4d3024
mov edx, dword [esi + 0xf0]
push ebx
push edx
mov ecx, esi
call fcn.004d30d0
mov ecx, esi
call fcn.004d2ed0
mov edi, dword [esi + 0x24]
mov ebx, eax
mov al, byte [esi + 0x120]
dec edi
test al, al
jne 0x4d2fdd
test edi, edi
jl 0x4d2fdd
xor eax, eax
lea ecx, [esi + 0x1c]
test edi, edi
setl al
dec eax
and eax, edi
push eax
mov dword [esi + 0x88], eax
call fcn.004c78d0
sub ebx, dword [eax]
mov dword [esi + 0x8c], ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov al, byte [esi + 0x120]
pop ebx
test al, al
jne 0x4d2ff5
mov ecx, esi
call fcn.004d4470
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
mov dword [esi + 0xf0], edi
call ebp
mov dword [esi + 0xec], eax
mov eax, dword [esi + 4]
push eax
mov byte [esi + 0xf4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x10]
pop ebp
pop edi
pop esi
ret 8
mov byte [esi + 0xf4], 1
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x10]
pop ebp
pop edi
pop esi
ret 8
Function at 0x4d4d50
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c9388
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x1c]
mov ecx, edi
call fcn.004d1810
mov ecx, edi
mov ebx, eax
call fcn.004d1820
mov edi, eax
sub edi, ebx
je 0x4d4eb6
mov eax, dword [esi + 0x104]
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4d4eb6
push ebp
push edi
lea ecx, [esp + 0x14]
push ebx
push ecx
mov ecx, esi
call fcn.004d2e00
mov esi, eax
lea edi, [esi + esi + 2]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, edi
mov edx, eax
mov ebp, ecx
xor eax, eax
mov edi, edx
push ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esi + esi]
mov esi, dword [esp + 0x14]
mov edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x4d4e17
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.0059379b
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], 0
mov ebx, dword [ecx - 8]
lea esi, [ebx + 1]
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x18], edi
push ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x18]
call fcn.00593b0b
mov edi, dword [esp + 0x18]
mov ecx, ebx
mov esi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0058ed21
add esp, 4
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
call fcn.005936db
pop ebp
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4d4ed0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
push 0xffffffffffffffff
call fcn.004d5e10
test eax, eax
jne 0x4d5097
mov eax, dword [ebx + 0x104]
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4d5090
mov edx, dword [ebx + 0x8c]
mov eax, dword [ebx + 0x88]
push edx
lea ecx, [ebx + 0x1c]
push eax
call fcn.004d1ad0
mov dword [esp + 4], eax
mov al, byte [ebx + 0x121]
test al, al
je 0x4d4f2c
mov ecx, ebx
call fcn.004d2ed0
mov dword [esp + 4], eax
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetClipboardData]
push edi
push 0xd
call esi
mov ebp, eax
test ebp, ebp
je 0x4d4faf
mov ecx, ebx
call fcn.004d43f0
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
push edi
call fcn.005745c3
lea ecx, [eax + eax + 2]
push ecx
call fcn.0058ecf8
mov esi, eax
push edi
push esi
call fcn.00575a70
mov al, byte [esp + 0x2c]
add esp, 0x10
test al, al
je 0x4d4f87
push 0xd
push esi
call fcn.00575a1d
add esp, 8
test eax, eax
je 0x4d4f87
mov word [eax], 0
lea edx, [esp + 0x10]
mov ecx, ebx
push edx
push esi
call fcn.004d4050
mov eax, dword [ebx + 0x88]
mov ecx, ebx
push eax
call fcn.004d30d0
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
jmp 0x4d5047
push 1
call esi
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
je 0x4d504f
mov ecx, ebx
call fcn.004d43f0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0058ecf8
mov ebp, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov al, byte [esp + 0x1c]
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test al, al
rep movsb byte es:[edi], byte [esi]
je 0x4d5020
push 0xd
push ebp
call fcn.005751a0
add esp, 8
test eax, eax
je 0x4d5020
mov byte [eax], 0
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
push ebp
call fcn.004d3fe0
mov ecx, dword [ebx + 0x88]
push ecx
mov ecx, ebx
call fcn.004d30d0
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
call fcn.0058ed21
add esp, 4
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x10]
lea esi, [ebx + 0x1c]
push eax
mov ecx, esi
call fcn.004d1b00
push eax
mov ecx, esi
mov dword [ebx + 0x88], eax
call fcn.004c78d0
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
sub ecx, edx
mov edx, dword [ebx]
mov dword [ebx + 0x8c], ecx
mov ecx, ebx
call dword [edx]
mov ecx, ebx
call fcn.004d4470
pop edi
pop esi
pop ebp
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
pop ebx
add esp, 8
ret 4