joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ec20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x1016af88], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
je 0x1000ec50
push esi
push edi
push str._IMHAInit___DealWnd:0x_08x___IMType:0x_08x_
push str.IMHookAPI
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x18
test edi, edi
jne 0x1000ec5e
mov ecx, 0x10180058
call fcn.10059760
mov dword [0x1016e264], edi
mov dword [0x1016e260], esi
cmp esi, 0x8000000
je 0x1000ec7a
cmp esi, 0x80
jne 0x1000ec88
test byte [0x1017051c], 0x20
je 0x1000ec88
call fcn.100334c0
push esi
mov ecx, 0x10180058
call fcn.100592c0
push 0x208
push 0
push 0x10170270
call fcn.1007d080
add esp, 0xc
push 0
push 0x1a
push 0x10170270
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, dword [0x1016e260]
cmp ebx, 0x80000
je 0x1000edb5
cmp ebx, 0x10000000
je 0x1000edb5
cmp ebx, 0x800
je 0x1000edb5
cmp ebx, 2
je 0x1000edb5
cmp ebx, 0x20000000
je 0x1000ed9a
cmp ebx, 0x1000000
je 0x1000ed9a
cmp ebx, 0x1000
je 0x1000ed9a
cmp ebx, 1
je 0x1000ed9a
cmp ebx, 0x22
jne 0x1000ed42
mov edi, 0x10170270
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1000ed25
mov ecx, 9
mov esi, str.TencentTIMTemp
rep movsd dword es:[edi], dword [esi]
jmp 0x1000ee14
cmp ebx, 0x40
jne 0x1000ed84
mov eax, 0x10170270
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x1000ed50
mov ecx, dword [str.Fetion]
mov edx, dword [0x101243c4]
mov dword [eax], ecx
mov ecx, dword [0x101243c8]
mov dword [eax + 4], edx
mov edx, dword [0x101243cc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
jmp 0x1000ee14
push 0x208
push 0
push 0x10170270
call fcn.1007d080
add esp, 0xc
jmp 0x1000edda
mov edi, 0x10170270
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1000eda2
mov esi, str.TencentTMTemp
jmp 0x1000edd1
mov edi, 0x10170270
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1000edc0
mov esi, str.TencentQQTemp
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
cmp ebx, 0x33
jne 0x1000edf1
call fcn.10049740
mov ecx, eax
call fcn.10049750
mov ebx, dword [0x1016e260]
cmp ebx, 4
jne 0x1000ee01
call fcn.10060fd0
mov ebx, dword [0x1016e260]
cmp ebx, 0x4000
jne 0x1000ee14
call fcn.10031da0
mov ebx, dword [0x1016e260]
push ebx
call fcn.1004d770
mov ecx, eax
call fcn.1004d8f0
call fcn.100096b0
call fcn.1000ebd0
pop edi
pop esi
pop ebx
test eax, eax
je 0x1000ee37
call fcn.1000d000
call fcn.1004ced0
pop ebp
ret 8
Function at 0x10013740
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1015bdd0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1001376a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007ceab
mov esp, ebp
pop ebp
ret
push esi
push eax
call fcn.10055d80
mov esi, eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.1007d080
add esp, 0x10
push 0x103
lea edx, [ebp - 0x20c]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x20c]
push 0x10126a80
push eax
call fcn.1007dcd6
add esp, 8
pop esi
test eax, eax
jne 0x100137f1
lea ecx, [ebp - 0x20c]
push str.WeCom_
push ecx
call fcn.1007dcd6
add esp, 8
test eax, eax
jne 0x100137f1
lea edx, [ebp - 0x20c]
push str.WeCom_WeDrive
push edx
call fcn.1007dcd6
add esp, 8
test eax, eax
je 0x1001375a
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.1007ceab
mov esp, ebp
pop ebp
ret

Function at 0x10013810
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp dword [ebp + 8], 0
je 0x10013920
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10013920
mov ecx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
push edi
neg ecx
push 0x80
sbb ecx, ecx
add ecx, 4
push ecx
push edi
push 7
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100138fa
push edi
lea edx, [ebp - 4]
push edx
push edi
push edi
push edi
push edi
push 0x900c4
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x100138fa
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x30]
push edx
push eax
mov dword [ebp - 0x30], edi
call fcn.10052e50
add esp, 0x1c
test eax, eax
je 0x100138fa
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push edi
lea edx, [ebp - 8]
push edx
push eax
mov dword [ebp - 8], edi
push esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x2c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov edi, 1
test esi, esi
je 0x10013918
cmp esi, 0xffffffff
je 0x10013918
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x10013918
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10015c60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x10015c70
xor eax, eax
pop esi
pop ebp
ret
mov eax, dword [esi + 0x2c]
push eax
call fcn.10015b90
add esp, 4
test eax, eax
je 0x10015ca2
cmp word [0x10170af8], 0
jne 0x10015c9b
push 0
push 0x10
push 0x10170af8
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [esi + 0x2c], 0x10170af8
cmp dword [0x1016af88], 0
je 0x10015ccc
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x34]
push ecx
push edx
push str.ReplaceInitFolder______08x____s_
push str.updlfile
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x18
mov eax, 1
pop esi
pop ebp
ret
Function at 0x10016b90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101143cb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x1015bdd0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
xor esi, esi
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], edi
cmp eax, edi
je 0x10016dbb
mov ecx, dword [eax]
lea edx, [ebp - 0x220]
push edx
push 0x1013ba14
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x10016d7a
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x10016d7a
mov ecx, dword [eax]
lea edx, [ebp - 0x224]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
test eax, eax
jl 0x10016d7a
mov eax, dword [ebp - 0x224]
cmp eax, edi
je 0x10016d7a
mov ecx, dword [eax]
lea edx, [ebp - 0x21c]
push edx
push 0x80058000
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp eax, edi
jl 0x10016d7a
mov eax, dword [ebp - 0x21c]
cmp eax, edi
je 0x10016d91
cmp dword [0x1016af88], edi
je 0x10016c84
push eax
push str.ReplaceInitFolder_1__CurFoldPath:_s_
push str.updlfile
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
mov eax, dword [ebp - 0x21c]
add esp, 0x14
push eax
call fcn.10015b90
add esp, 4
test eax, eax
je 0x10016d7a
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x218], cx
call fcn.1007d080
add esp, 0xc
push edi
push 0x10
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x238]
call fcn.100702a0
mov dword [ebp - 4], edi
mov edx, dword [ebp - 0x234]
lea ecx, [ebp - 0x218]
push ecx
push edx
lea ecx, [ebp - 0x238]
call fcn.100707c0
push edi
lea eax, [ebp - 0x238]
push eax
push 4
call fcn.10015ea0
add esp, 0xc
mov esi, eax
cmp dword [0x1016af88], edi
je 0x10016d21
push esi
push str.ReplaceInitFolder_2___p_
push str.updlfile
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
cmp esi, edi
jne 0x10016d39
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.100702b0
jmp 0x10016d74
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
push esi
push eax
call edx
mov edi, eax
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
test edi, edi
jl 0x10016d60
mov dword [ebp - 0x228], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.100702b0
xor edi, edi
mov esi, dword [ebp - 0x228]
mov eax, dword [ebp - 0x21c]
cmp eax, edi
je 0x10016d91
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x21c], edi
mov eax, dword [ebp - 0x224]
cmp eax, edi
je 0x10016da9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x224], edi
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x10016dbb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007ceab
mov esp, ebp
pop ebp
ret
Function at 0x10029460
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x1002952a
test byte [edi + 0x14], 2
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp + 8], 0
jne 0x100294a9
cmp dword [0x1016af88], 0
je 0x100294a3
push esi
push str.FilterGdipSaveImageToFile_1___s_
push str.gdi
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
or dword [edi + 0x14], 4
jmp 0x10029502
cmp dword [0x1016af88], 0
je 0x100294cc
push esi
push str.FilterGdipSaveImageToFile_2___s_
push str.gdi
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
cmp dword [edi + 0x24], 0
jne 0x10029502
push esi
call fcn.100292e0
add esp, 4
test eax, eax
je 0x10029502
push 0xffffffffffffffff
push 0
push 0
push esi
call fcn.1004b8e0
add esp, 0x10
mov dword [ebp + 8], eax
test eax, eax
jne 0x10029508
lea eax, [ebp + 8]
push eax
push esi
call fcn.100141a0
add esp, 8
cmp dword [ebp + 8], 0
je 0x10029529
mov eax, 1
mov dword [edi + 0x18], eax
mov dword [edi + 0x24], eax
mov eax, dword [0x1016e260]
cmp eax, 0x24
je 0x10029522
cmp eax, 0x18
jne 0x10029529
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
xor eax, eax
pop edi
pop ebp
ret 0x14

Function at 0x1002d960
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x1002d975
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x1016af88], 0
push edi
mov edi, dword [ebp + 0xc]
je 0x1002d9a0
mov eax, dword [ebp + 0x10]
push eax
push edi
push str.RadarIt__d__d
push str.imhookapi
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x408
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, dword [esi]
push 0x1c
lea ecx, [ebp - 0x24]
push ecx
mov ebx, eax
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp eax, 0x1c
jne 0x1002d9e6
mov eax, dword [ebp - 0x24]
lea ecx, [ebp + 8]
push ecx
push 0x40
push 4
push eax
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x1002d9ef
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
cmp eax, 1
jne 0x1002da16
mov dword [0x10171750], 0x1002d6f0
mov edx, dword [esi]
mov eax, dword [edx + edi*4]
mov dword [0x1017174c], eax
mov ecx, dword [esi]
mov dword [ecx + edi*4], 0x1002d6f0
jmp 0x1002da5c
cmp eax, 2
jne 0x1002da3a
mov dword [0x1017175c], 0x1002d830
mov edx, dword [esi]
mov eax, dword [edx + edi*4]
mov dword [0x10171758], eax
mov ecx, dword [esi]
mov dword [ecx + edi*4], 0x1002d830
jmp 0x1002da5c
cmp eax, 3
jne 0x1002da5c
mov dword [0x10171764], 0x1002d7a0
mov edx, dword [esi]
mov eax, dword [edx + edi*4]
mov dword [0x10171760], eax
mov ecx, dword [esi]
mov dword [ecx + edi*4], 0x1002d7a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push eax
push 4
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002e5b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10115fa9
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x1015bdd0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], 0
mov eax, dword [esi]
cmp dword [eax - 8], 0
je 0x1002e7d5
push esi
lea ecx, [ebp - 0x268]
call fcn.10069f80
mov byte [ebp - 4], 1
push 0x1012c880
lea ecx, [ebp - 0x268]
call fcn.1006b5d0
cmp dword [0x1016af88], 0
je 0x1002e646
mov ecx, dword [esi]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x268]
push ecx
push edx
push eax
push str.EnumeFile___s___s___s_
push str.imhookapi
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x1c
mov edx, dword [ebp - 0x268]
lea ecx, [ebp - 0x260]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp dword [0x1016af88], 0
mov esi, eax
je 0x1002e67f
push esi
push str.EnumeFile_1___d_
push str.imhookapi
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
cmp esi, 0xffffffff
jne 0x1002e68a
push esi
jmp 0x1002e7c0
mov eax, dword [ebp - 0x260]
test al, 0x10
jne 0x1002e704
cmp dword [0x1016af88], 0
je 0x1002e6be
push eax
lea eax, [ebp - 0x234]
push eax
push str.EnumeFile_2___s____08x_
push str.imhookapi
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x18
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x264]
call fcn.10069f80
mov byte [ebp - 4], 2
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x264]
call fcn.1006b5d0
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x234]
push ecx
push eax
mov ecx, edi
call fcn.100707c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.1006a980
lea edx, [ebp - 0x260]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1002e7bf
lea ebx, [ebx]
cmp dword [0x1016af88], 0
je 0x1002e750
mov eax, dword [ebp - 0x260]
push eax
lea ecx, [ebp - 0x234]
push ecx
push str.EnumeFile_3___s____08x_
push str.imhookapi
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x18
cmp word [ebp - 0x234], 0x2e
je 0x1002e7a9
test byte [ebp - 0x260], 0x10
jne 0x1002e7a9
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x264]
call fcn.10069f80
mov byte [ebp - 4], 3
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
call fcn.1006b5d0
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x234]
push ecx
push eax
mov ecx, edi
call fcn.100707c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.1006a980
lea edx, [ebp - 0x260]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1002e720
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.1006a980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1006a980
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007ceab
mov esp, ebp
pop ebp
ret
Function at 0x100300f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10116298
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1015bdd0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
cmp dword [ebx], edi
jne 0x1003012c
mov eax, dword [ebp + 0xc]
cmp dword [eax], edi
je 0x1003028b
lea ecx, [ebp - 0x20]
call fcn.1002ff20
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100301f9
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov dword [ebp - 0x10], edi
cmp dword [ebx], edi
je 0x100301f3
mov esi, dword [ebp + 0xc]
sub ebx, esi
nop
cmp edi, 0x100
jge 0x100301f3
cmp dword [0x1016af88], 0
je 0x10030196
mov edx, dword [esi]
mov eax, dword [ebx + esi]
push edx
push eax
push edi
push str.RestoreClipBoard_1___d____d____08x_
push str.IMHookAPI
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x1c
mov eax, dword [esi]
test eax, eax
je 0x100301e2
mov ecx, dword [ebx + esi]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetClipboardData]
mov edi, eax
test edi, edi
jne 0x100301b6
push esi
lea ecx, [ebp - 0x20]
call fcn.100300d0
cmp dword [0x1016af88], 0
je 0x100301d9
push edi
push str.RestoreClipBoard_2___08x_
push str.IMHookAPI
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
mov edi, dword [ebp - 0x10]
mov dword [esi], 0
inc edi
add esi, 4
cmp dword [ebx + esi], 0
mov dword [ebp - 0x10], edi
jne 0x10030160
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
xor esi, esi
call fcn.1002ff30
mov ebx, eax
test ebx, ebx
jle 0x10030223
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
nop
push esi
lea ecx, [ebp - 0x20]
call fcn.1002ff50
mov edx, dword [eax]
push edx
call edi
inc esi
cmp esi, ebx
jl 0x10030210
lea ecx, [ebp - 0x20]
call fcn.100300c0
mov eax, dword [0x1016e260]
cmp eax, 0x8000000
je 0x1003023e
cmp eax, 0x80
jne 0x1003024a
push 1
mov ecx, 0x10172878
call fcn.10032f20
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.1002dca0
add esp, 8
cmp dword [0x1016af88], 0
je 0x1003027c
push str._HOOKAPI__DEALPEEKMESSAGE__restore_clipboard_is_done__
push str.IMHookAPI
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.1002ff60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10030840
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101162c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1015bdd0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1016e254]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10030974
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
lea ecx, [ebp - 0x10]
call fcn.1006a1e0
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [0x1016af88], 0
je 0x100308d4
mov ecx, dword [0x1016e254]
mov edx, dword [ebp - 0x10]
push esi
push ecx
push edx
push str.clipboard___s____x____x_
push str.imhookapi
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x1c
mov eax, dword [0x1016e260]
cmp eax, 0x80
jne 0x10030901
push 0
lea ecx, [ebp - 0x10]
call fcn.1006b650
push eax
call fcn.10030430
add esp, 4
push 0
mov ecx, 0x10172878
call fcn.10032f40
jmp 0x10030965
cmp eax, 0x8000000
jne 0x1003093b
push 0
lea ecx, [ebp - 0x10]
call fcn.1006b650
mov ecx, dword [0x1016a724]
mov edx, dword [0x1016e264]
push eax
mov eax, dword [0x1016e254]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ecx, 0x10172878
call fcn.10032f40
jmp 0x10030965
cmp eax, 4
jne 0x10030965
push 0
lea ecx, [ebp - 0x10]
call fcn.1006b650
mov ecx, dword [0x1016a724]
mov edx, dword [0x1016e264]
push eax
mov eax, dword [0x1016e254]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1006a980
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10032b60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [esi + 0x10]
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10032d78
push ebx
push edi
lea esp, [esp]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x1016e260], 0x80
mov ebx, eax
jne 0x10032bd2
mov eax, dword [0x101717a0]
xor edi, edi
cmp eax, edi
je 0x10032bd2
mov ecx, ebx
sub ecx, eax
cmp ecx, 0xbb8
jb 0x10032bd2
mov dword [0x1016e254], edi
call fcn.100302a0
mov dword [0x1017179c], edi
mov dword [0x101717a0], edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
mov eax, dword [0x101728f0]
cmp eax, edi
je 0x10032c11
lea edx, [ebp - 4]
push edx
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 4], eax
jne 0x10032c0c
inc dword [esi + 0x5c]
mov eax, edi
mov dword [0x101728f0], eax
jmp 0x10032c11
mov eax, dword [0x101728f0]
xor edi, edi
cmp dword [0x1016af88], edi
je 0x10032c46
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x64]
push ebx
push eax
push ecx
push edx
push str.CLINEThread::Run___d____d____x____x_
push str.LINE
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
mov eax, dword [0x101728f0]
add esp, 0x20
cmp dword [esi + 0x64], edi
je 0x10032c65
cmp dword [esi + 0x5c], edi
je 0x10032d5c
mov ecx, dword [esi + 0x58]
add ecx, 0x3e8
cmp ebx, ecx
jb 0x10032d5c
cmp dword [0x1016af88], edi
je 0x10032c90
mov edx, dword [esi + 0x6c]
push edx
push eax
push str.CLINEThread::Run_forewindow___x____d_
push str.LINE
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
mov eax, dword [0x101728f0]
add esp, 0x18
cmp eax, edi
je 0x10032d5c
cmp dword [0x1016e260], 0x8000000
jne 0x10032d46
cmp dword [esi + 0x6c], edi
jne 0x10032d5c
cmp dword [0x1016af88], edi
je 0x10032cdd
mov eax, dword [0x101728ec]
push eax
push str.CLINEThread::Run____d_
push str.LINE
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
mov eax, dword [0x101728f0]
add esp, 0x14
cmp dword [esi + 0x64], edi
je 0x10032d0c
mov ecx, dword [esi + 0x70]
add ecx, 0xbb8
mov dword [0x101728ec], edi
cmp ebx, ecx
jbe 0x10032d07
mov edx, dword [0x1016a660]
push eax
mov eax, dword [0x1016e264]
push 1
push edx
push eax
jmp 0x10032d56
mov dword [esi + 0x5c], edi
jmp 0x10032d5c
cmp dword [0x101728ec], 3
jbe 0x10032d27
mov dword [esi + 0x64], 1
mov dword [esi + 0x5c], edi
mov dword [0x101728ec], edi
jmp 0x10032d5c
mov ecx, dword [0x1016a660]
mov edx, dword [0x1016e264]
push eax
push 2
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
inc dword [0x101728ec]
jmp 0x10032d5c
mov ecx, dword [0x1016e264]
push eax
mov eax, dword [0x1016a660]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 0x10]
push 0x1f4
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x10032b90
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret