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

Disassembly:
push 0xffffffffffffffff
push 0x5aa688
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x64fe78]
push ebx
push esi
push edi
mov edi, ecx
add eax, 0x8e34
push eax
lea ecx, [esp + 0x1c]
call fcn.0057585d
mov eax, dword [0x614cb0]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov bl, 3
push 0x5fe4c8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.0056d3ac
mov esi, eax
cmp esi, 0xffffffff
je 0x4bc27d
lea ecx, [esp + 0x20]
push esi
push ecx
lea ecx, [esp + 0x20]
call fcn.0056d312
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 4
call fcn.00575c21
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], bl
call fcn.00575ae8
lea edx, [esp + 0x20]
push esi
push edx
lea ecx, [esp + 0x20]
call fcn.0056d1dd
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 5
call fcn.00575c21
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], bl
call fcn.00575ae8
jmp 0x4bc28b
lea eax, [esp + 0x18]
lea ecx, [esp + 0xc]
push eax
call fcn.00575c21
lea ecx, [esp + 0xc]
call fcn.0056d84c
lea ecx, [esp + 0xc]
call fcn.0056d798
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.00575c21
lea ecx, [esp + 0x14]
call fcn.0057600a
lea ecx, [esp + 0x10]
call fcn.0056d84c
lea ecx, [esp + 0x10]
call fcn.0056d798
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4bc315
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 8]
test eax, eax
je 0x4bc315
mov eax, dword [esp + 0x14]
push 0x60f434
push eax
call fcn.0055724d
add esp, 8
test eax, eax
je 0x4bc315
mov ecx, dword [esp + 0x14]
push 0x60f430
push ecx
call fcn.0055724d
add esp, 8
test eax, eax
je 0x4bc315
push 0x3f
lea ecx, [esp + 0x18]
call fcn.00575faf
cmp eax, 0xffffffff
je 0x4bc36a
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x1c]
push edx
call fcn.00575b56
mov eax, dword [esp + 0x10]
mov byte [esp + 0x2c], 6
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4bc34f
push 0x5fe4c8
lea ecx, [esp + 0x20]
call fcn.00575ec4
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call fcn.00575f00
mov edx, dword [esp + 0x1c]
mov ecx, edi
push edx
push 6
call fcn.004bc1a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], bl
call fcn.00575ae8
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.00575ae8
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 1
call fcn.00575ae8
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call fcn.00575ae8
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00575ae8
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x4c22e0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x6158]
test eax, eax
jne 0x4c2437
call fcn.004c2e90
test eax, eax
jne 0x4c23fd
cmp dword [esi + 0x6180], 0xffffffff
jne 0x4c23fd
mov eax, dword [0x64fe78]
mov ecx, dword [eax + 0x94f8]
mov eax, dword [ecx + 0x88]
test eax, eax
jne 0x4c243e
lea edx, [esp + 4]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, dword [esi + 0x1c]
jne 0x4c243e
mov edx, dword [0x64fe78]
push 0x10
mov esi, dword [edx + 0xa150]
call dword [sym.imp.USER32.dll_GetKeyState]
and eax, 0x8000
xor ecx, ecx
cmp eax, 0x8000
sete cl
xor ecx, esi
je 0x4c23cb
mov edx, dword [0x64fe78]
mov ecx, dword [edx + 0xa454]
test ecx, ecx
je 0x4c23cb
mov eax, dword [ecx]
push 0
push 0
push 0
push 0x52
call dword [eax + 4]
test eax, eax
je 0x4c23cb
mov ecx, dword [0x64fe78]
mov eax, dword [ecx + 0xa04c]
test eax, eax
je 0x4c23b7
call fcn.0058d5de
call fcn.0058d5de
mov eax, dword [eax + 0xc]
push 0x538
jmp 0x4c2430
call fcn.0058d5de
call fcn.0058d5de
mov eax, dword [eax + 0xc]
push 0xb4
jmp 0x4c2430
mov edx, dword [0x64fe78]
mov eax, dword [edx + 0xa04c]
test eax, eax
je 0x4c23ef
call fcn.0058d5de
call fcn.0058d5de
mov eax, dword [eax + 0xc]
push 0x536
jmp 0x4c2430
call fcn.0058d5de
push 0x7f00
push 0
jmp 0x4c2431
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x4c241e
call fcn.0058d5de
call fcn.0058d5de
mov eax, dword [eax + 0xc]
push 0xbb
jmp 0x4c2430
call fcn.0058d5de
call fcn.0058d5de
mov eax, dword [eax + 0xc]
push 0xba
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
pop esi
add esp, 8
ret 0xc
Function at 0x4c29a0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
push edi
mov esi, ecx
push 0
call fcn.00573916
add eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [0x64fe78]
fild dword [esp + 0x18]
mov eax, dword [eax + 0x9328]
test eax, eax
fstp dword [esp + 0x18]
jle 0x4c29e0
lea ecx, [eax + 1]
mov dword [esp + 8], ecx
fild dword [esp + 8]
fdivr dword [esp + 0x18]
fstp dword [esp + 0x18]
jge 0x4c29ec
fld dword [esp + 0x18]
fadd st(0), st(0)
fstp dword [esp + 0x18]
mov ecx, esi
call fcn.004c28c0
test eax, eax
je 0x4c2b8c
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa5
call edi
test ah, 0x80
jne 0x4c2b8c
push 0xa4
call edi
test ah, 0x80
jne 0x4c2b8c
mov eax, dword [esi + 0x60b4]
cmp eax, 0xffffffff
je 0x4c2bbd
mov edx, dword [0x64fe78]
mov ecx, dword [edx + eax*4 + 0xa45c]
test ecx, ecx
je 0x4c2bbd
mov eax, dword [esp + 0x18]
mov ecx, esi
push eax
call fcn.004c2080
mov ecx, dword [esi + 0x60b4]
mov edx, dword [0x64fe78]
fstp dword [esp + 0x18]
mov ecx, dword [edx + ecx*4 + 0xa45c]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0x3a
call dword [eax + 4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
fild qword [esp + 8]
fmul dword [esp + 0x18]
fmul qword [0x5baf50]
call fcn.00556a00
mov ecx, dword [esi + 0x60b4]
mov edx, dword [0x64fe78]
push 0
mov edi, eax
mov ecx, dword [edx + ecx*4 + 0xa45c]
push 0
push 0
push 0x2a
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x4c2aff
mov ecx, dword [esi + 0x60b4]
mov edx, dword [0x64fe78]
push 0
push 0
mov ecx, dword [edx + ecx*4 + 0xa45c]
push 0
push 0x2c
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x4c2aff
mov ecx, dword [esi + 0x60b4]
mov edx, dword [0x64fe78]
push 0
push 0
mov ecx, dword [edx + ecx*4 + 0xa45c]
push edi
push 0x2d
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, eax
mov ecx, dword [esi + 0x60b4]
mov edx, dword [0x64fe78]
push 0
push 0
mov ecx, dword [edx + ecx*4 + 0xa45c]
push edi
push 0x3f
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x60b4]
mov edx, dword [0x64fe78]
push 0
push 0
mov ecx, dword [edx + ecx*4 + 0xa45c]
push 0
push 0x36
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
jne 0x4c2b7a
mov ecx, dword [esp + 0x14]
mov eax, dword [0x64fe78]
and ecx, 4
xor edx, edx
cmp cl, 4
mov ecx, dword [eax + 0xa150]
sete dl
xor edx, ecx
je 0x4c2b7a
mov ecx, dword [esi + 0x60b4]
push 0
push 0
push 0
mov ecx, dword [eax + ecx*4 + 0xa45c]
push 0x53
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [esi + 0x60b4], 0xffffffff
pop edi
pop esi
add esp, 8
ret 0xc
mov eax, dword [esp + 0x18]
push 0
push eax
mov ecx, esi
call fcn.004c2080
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004c1850
call fcn.00556a00
mov ecx, dword [0x64fe78]
mov dword [ecx + 0xa408], eax
mov ecx, esi
call fcn.004c26b0
pop edi
pop esi
add esp, 8
ret 0xc
Function at 0x4c2e10
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
jne 0x4c2e30
mov dword [esi + 0x6180], 0xffffffff
xor eax, eax
pop esi
ret 0xc
mov eax, dword [esi + 0x6180]
cmp eax, 0xffffffff
jne 0x4c2e41
xor eax, eax
pop esi
ret 0xc
push edi
mov edi, dword [esi + 0x614c]
mov ecx, edi
sub ecx, eax
mov eax, dword [esp + 0x10]
add ecx, eax
mov dword [esi + 0x6180], eax
mov dword [esi + 0x614c], ecx
mov ecx, esi
call fcn.004c2d30
mov edx, dword [esi + 0x614c]
push 0
push 0
sub edx, edi
push 0
push edx
mov ecx, esi
call fcn.00573ac5
pop edi
mov eax, 1
pop esi
ret 0xc
Function at 0x4c7e00
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 0x4c7f1f
mov eax, dword [esi + 0x20]
xor ebp, ebp
mov dword [esp + 0x14], eax
mov edi, 1
lea edx, [eax + eax]
mov eax, dword [0x68111c]
cmp eax, ebp
mov word [esp + 0x10], di
mov word [esp + 0x12], di
mov dword [esp + 0x18], edx
mov word [esp + 0x1c], 2
mov word [esp + 0x1e], 0x10
mov word [esp + 0x20], bp
jne 0x4c7e73
mov eax, dword [esp + 0x58]
push 0x10000
push ebp
lea ebx, [esi + 0x24]
push eax
jmp 0x4c7e91
mov eax, dword [esp + 0x58]
push 0x30000
mov dword [0x681118], esi
push edi
mov dword [esi + 0x30d84], eax
lea ebx, [esi + 0x24]
push 0x4c8180
mov edx, dword [esi + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
push ebx
call dword [sym.imp.WINMM.dll_waveInOpen]
cmp eax, ebp
jne 0x4c7f1f
cmp dword [esi + 8], ebp
jle 0x4c7f0f
xor edi, edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x34]
imul eax, ebp
push 0x20
lea edx, [ecx + eax*2]
mov eax, dword [esi + 0x2c]
mov dword [eax + edi], edx
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x2c]
shl ecx, 1
mov dword [edx + edi + 4], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax + edi + 0x10], 0
mov ecx, dword [esi + 0x2c]
mov edx, dword [ebx]
add ecx, edi
push ecx
push edx
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
test eax, eax
jne 0x4c7f1f
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebx]
add eax, edi
push 0x20
push eax
push ecx
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
test eax, eax
jne 0x4c7f1f
mov eax, dword [esi + 8]
inc ebp
add edi, 0x20
cmp ebp, eax
jl 0x4c7eac
mov edi, 1
mov eax, dword [ebx]
push eax
call dword [sym.imp.WINMM.dll_waveInStart]
test eax, eax
jne 0x4c7f1f
mov dword [esi + 0x10], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4
Function at 0x4c9490
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x5ab228
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], 0x5c7228
mov eax, dword [esi + 0x14]
mov dword [esp + 0x218], 1
test eax, eax
je 0x4c9632
call fcn.004c9400
test eax, eax
jge 0x4c9513
lea eax, [esp + 4]
push 0xc9e0
push eax
call fcn.005054c0
add esp, 8
mov eax, dword [eax]
push 0
push 0
push eax
mov byte [esp + 0x224], 2
call fcn.0057dfc5
lea ecx, [esp + 4]
mov byte [esp + 0x218], 1
call fcn.00575ae8
jmp 0x4c9632
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4c9523
push 0
push eax
call dword [sym.imp.WINMM.dll_mmioClose]
mov eax, dword [esi + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4c955b
mov ecx, dword [esi + 0x10]
push ecx
push eax
call fcn.0055724d
add esp, 8
test eax, eax
je 0x4c955b
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
jmp 0x4c9632
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4c9632
mov eax, dword [esi + 0x10]
push 0
push str.WAV_files__.wav_.wavAll_files__._.
push 0x200c
push eax
push 0x60c530
push 0
lea ecx, [esp + 0x24]
call fcn.0050ee00
push str.Save_sound
lea ecx, [esp + 0x210]
mov byte [esp + 0x21c], 3
mov dword [esp + 0x9c], str.Save_recorded_sound
call fcn.00575c71
lea ecx, [esp + 0xc]
call fcn.0050ee70
cmp eax, 1
mov eax, dword [esi + 0x10]
jne 0x4c95f2
mov ecx, dword [esp + 0x84]
push ecx
push eax
call fcn.0055724d
add esp, 8
test eax, eax
je 0x4c95f9
mov edx, dword [esp + 0x84]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x84]
mov eax, dword [esi + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
jmp 0x4c95f9
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x20c]
mov byte [esp + 0x218], 4
call fcn.00575ae8
lea ecx, [esp + 0xb8]
mov byte [esp + 0x218], 5
call fcn.00575ae8
lea ecx, [esp + 0xc]
mov byte [esp + 0x218], 1
call fcn.005712db
lea ecx, [esi + 0x10]
mov byte [esp + 0x218], 0
call fcn.00575ae8
lea ecx, [esi + 4]
mov dword [esp + 0x218], 0xffffffff
call fcn.00575ae8
mov ecx, dword [esp + 0x210]
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret
Function at 0x4cc410
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ab739
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 0x6080f4
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.00575b56
push str.AzimuthOffset
lea ecx, [ebx + 4]
mov dword [esp + 0x2c], edi
call fcn.00575b56
mov eax, dword [0x614cb0]
mov dword [ebx + 8], eax
push edi
push edi
mov ecx, ebx
mov byte [esp + 0x30], 2
call fcn.0041ae90
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], 0x5c7770
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.0054e7a1
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 0x4d3080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ac399
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 0x4d322f
inc ebx
cmp ebx, edi
jne 0x4d30f1
mov esi, dword [ebp + 4]
cmp esi, edi
je 0x4d30e6
mov ecx, eax
dec eax
test ecx, ecx
je 0x4d30d7
lea ebx, [eax + 1]
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 4]
add esi, 0x14
dec ebx
jne 0x4d30c9
mov eax, dword [ebp + 4]
push eax
call fcn.00571134
add esp, 4
mov dword [ebp + 4], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
jmp 0x4d322f
mov ecx, dword [ebp + 4]
cmp ecx, edi
jne 0x4d3154
lea edi, [ebx + ebx*4]
shl edi, 2
push edi
call fcn.0057110b
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 0x4d313a
mov ecx, esi
call fcn.004d3280
add esi, 0x14
dec edi
mov byte [esp + 0x20], 0
mov dword [esp + 0x10], esi
jne 0x4d3126
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
jmp 0x4d322f
mov esi, dword [ebp + 0xc]
cmp ebx, esi
jg 0x4d3191
cmp eax, ebx
jge 0x4d3178
mov edx, ebx
sub edx, eax
lea eax, [eax + eax*4]
push edx
lea ecx, [ecx + eax*4]
push ecx
call fcn.004d3460
mov dword [ebp + 8], ebx
jmp 0x4d322f
jle 0x4d3189
sub eax, ebx
lea edx, [ebx + ebx*4]
push eax
lea eax, [ecx + edx*4]
push eax
call fcn.004d3290
mov dword [ebp + 8], ebx
jmp 0x4d322f
mov ecx, dword [ebp + 0x10]
cmp ecx, edi
jne 0x4d31bc
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x4d31af
mov ecx, 4
jmp 0x4d31bc
cmp ecx, 0x400
jle 0x4d31bc
mov ecx, 0x400
lea eax, [esi + ecx]
cmp ebx, eax
jge 0x4d31c9
mov dword [esp + 0x10], eax
jmp 0x4d31cf
mov dword [esp + 0x10], ebx
mov eax, ebx
lea ecx, [eax + eax*4]
shl ecx, 2
push ecx
call fcn.0057110b
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.004d3460
mov eax, dword [ebp + 4]
push eax
call fcn.00571134
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 0x4e7540
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [esp + 4]
push esi
cmp ax, 0x20
mov esi, ecx
jae 0x4e7566
cmp ax, 0xd
je 0x4e7566
cmp ax, 0xa
je 0x4e7566
cmp ax, 9
je 0x4e7566
mov eax, dword [esi + 0xc]
pop esi
ret 8
push ebp
push eax
mov eax, dword [esi + 0xc]
mov ecx, esi
push eax
call fcn.004eab80
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4e7616
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
sub eax, dword [esi + 0xe8]
cmp eax, 0x32
jbe 0x4e760f
mov ecx, dword [esi + 0xec]
push ebx
push edi
push ecx
mov ecx, esi
call fcn.004e76b0
mov ecx, esi
call fcn.004e74e0
mov edi, eax
mov eax, dword [esi + 0x20]
lea ebx, [eax - 1]
mov al, byte [esi + 0x11c]
test al, al
jne 0x4e75d2
push ebx
lea ecx, [esi + 0x18]
mov dword [esi + 0x84], ebx
call fcn.0043cde0
sub edi, dword [eax]
mov dword [esi + 0x88], edi
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
mov al, byte [esi + 0x11c]
test al, al
jne 0x4e75e9
mov ecx, esi
call fcn.004e8730
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov dword [esi + 0xec], ebx
call ebp
pop edi
mov dword [esi + 0xe8], eax
mov byte [esi + 0xf0], 0
mov eax, dword [esi + 0xc]
pop ebx
pop ebp
pop esi
ret 8
mov byte [esi + 0xf0], 1
mov eax, dword [esi + 0xc]
pop ebp
pop esi
ret 8
Function at 0x4e9010
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5aef68
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x18]
mov ecx, edi
call fcn.004e6000
mov ecx, edi
mov ebx, eax
call fcn.004e6010
mov edi, eax
sub edi, ebx
je 0x4e9176
mov eax, dword [esi + 0x100]
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4e9176
push ebp
push edi
lea ecx, [esp + 0x14]
push ebx
push ecx
mov ecx, esi
call fcn.004e7420
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 0x4e90d7
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.00575ba8
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.00575f18
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.00571134
add esp, 4
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
call fcn.00575ae8
pop ebp
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4e9190
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
push 0xffffffffffffffff
call fcn.004ea0a0
test eax, eax
jne 0x4e9357
mov eax, dword [ebx + 0x100]
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4e9350
mov edx, dword [ebx + 0x88]
mov eax, dword [ebx + 0x84]
push edx
lea ecx, [ebx + 0x18]
push eax
call fcn.004e62c0
mov dword [esp + 4], eax
mov al, byte [ebx + 0x11d]
test al, al
je 0x4e91ec
mov ecx, ebx
call fcn.004e74e0
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 0x4e926f
mov ecx, ebx
call fcn.004e86b0
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
push edi
call fcn.00557a8d
lea ecx, [eax + eax + 2]
push ecx
call fcn.0057110b
mov esi, eax
push edi
push esi
call fcn.00559665
mov al, byte [esp + 0x2c]
add esp, 0x10
test al, al
je 0x4e9247
push 0xd
push esi
call fcn.00559612
add esp, 8
test eax, eax
je 0x4e9247
mov word [eax], 0
lea edx, [esp + 0x10]
mov ecx, ebx
push edx
push esi
call fcn.004e8310
mov eax, dword [ebx + 0x84]
mov ecx, ebx
push eax
call fcn.004e76b0
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
jmp 0x4e9307
push 1
call esi
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
je 0x4e930f
mov ecx, ebx
call fcn.004e86b0
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.0057110b
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 0x4e92e0
push 0xd
push ebp
call fcn.00559360
add esp, 8
test eax, eax
je 0x4e92e0
mov byte [eax], 0
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
push ebp
call fcn.004e82a0
mov ecx, dword [ebx + 0x84]
push ecx
mov ecx, ebx
call fcn.004e76b0
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
call fcn.00571134
add esp, 4
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x10]
lea esi, [ebx + 0x18]
push eax
mov ecx, esi
call fcn.004e62f0
push eax
mov ecx, esi
mov dword [ebx + 0x84], eax
call fcn.0043cde0
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
sub ecx, edx
mov edx, dword [ebx]
mov dword [ebx + 0x88], ecx
mov ecx, ebx
call dword [edx]
mov ecx, ebx
call fcn.004e8730
pop edi
pop esi
pop ebp
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
pop ebx
add esp, 8
ret 4