joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000547c
Capabilities:
Write file on windows

Disassembly:
push 0x3c
mov eax, 0x100605d2
call fcn.1005fed1
mov edi, edx
xor esi, esi
mov dword [ebp - 4], esi
cmp ecx, 4
jne 0x100054a5
mov ebx, dword [ebp + 0x18]
lea eax, [ebp - 0x44]
push esi
push eax
push 2
push 0x10066d90
jmp 0x100054e0
cmp ecx, 5
jne 0x1000550c
mov ebx, dword [ebp + 0x18]
test ebx, ebx
jne 0x100054b5
mov eax, esi
jmp 0x100054c0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
push eax
cmovae ecx, dword [ebp + 8]
mov edx, ebx
call fcn.10002aef
pop ecx
push esi
lea eax, [ebp - 0x44]
push eax
push 2
push 0x10066d94
push dword [edi]
mov dword [ebp - 0x44], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp + 0x18], esi
je 0x100054fb
cmp dword [ebp + 0x1c], 8
lea esi, [ebp + 8]
cmovae esi, dword [ebp + 8]
lea eax, [ebx + ebx]
mov ecx, edi
push eax
push esi
call fcn.1000516d
jmp 0x100055aa
cmp ecx, 2
jne 0x10005554
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.1004f962
push esi
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], esi
push eax
push 3
push str._d
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x18], esi
je 0x10005544
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push dword [ebp - 0x18]
mov ecx, edi
push esi
call fcn.1000516d
lea ecx, [ebp - 0x28]
jmp 0x100055a5
cmp ecx, 3
jne 0x10005567
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.1004f962
jmp 0x10005534
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.10058405
cmp dword [ebp - 0x30], esi
je 0x10005597
cmp dword [ebp - 0x2c], 0x10
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
push dword [ebp - 0x30]
mov ecx, edi
push esi
call fcn.1000516d
lea ecx, [ebp - 0x40]
call fcn.1005001d
lea ecx, [ebp + 8]
call fcn.10052bca
xor eax, eax
inc eax
call fcn.1005fe7b
ret

Function at 0x10005e1d
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x10083010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
lea eax, [ebp - 0x404]
push 0x200
push eax
call sym.WCLDll.dll_at_wstr_ncpy
add esp, 0x10
push 2
pop esi
movzx edi, word [ebp + esi - 0x404]
test di, di
je 0x10005e93
cmp edi, 0x5c
je 0x10005e65
cmp edi, 0x2f
jne 0x10005e8d
cmp esi, 0x400
jae 0x10005ea1
xor eax, eax
push eax
mov word [ebp + esi - 0x404], ax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov word [ebp + esi - 0x404], di
inc esi
add esi, 1
jne 0x10005e4e
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1005eacb
leave
ret
call fcn.1005eecb
int3
Function at 0x1000613a
Capabilities:
Set current directory

Disassembly:
push 0x278
mov eax, 0x1006066b
call fcn.1005fed1
mov ebx, edx
mov esi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x280], eax
call fcn.10005d1c
and dword [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x1000620f
lea eax, [ebp - 0x27c]
push 0x10066ed8
push eax
call sym.WCLDll.dll_at_fs_find_first
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp word [ebp - 0x24c], 0
je 0x10006203
mov esi, dword [ebp - 0x284]
push dword [ebp - 0x280]
lea eax, [ebp - 0x27c]
push edi
push ebx
push eax
call esi
add esp, 0x10
cmp dword [edi], 0
jne 0x10006203
test byte [ebp - 0x278], 0x10
je 0x100061ee
lea ecx, [ebp - 0x27c]
call fcn.10005c7c
test eax, eax
jne 0x100061ee
push dword [ebp - 0x280]
lea edx, [ebx + 1]
push esi
push edi
lea ecx, [ebp - 0x24c]
call fcn.1000613a
add esp, 0xc
lea ecx, [ebp - 0x27c]
call fcn.10005c5c
cmp word [ebp - 0x24c], 0
jne 0x100061a4
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x28]
call fcn.10052bca
call fcn.1005fe7b
ret
Function at 0x1000f44f
Capabilities:
Create thread

Disassembly:
push 0x1c
mov eax, 0x10061467
call fcn.1005fe9d
mov eax, 0x100894e8
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [0x100894e4], ebx
jne 0x1000f4a0
cmp dword [0x100894dc], ebx
je 0x1000f484
call fcn.10005851
push 0x100894dc
push ebx
push ebx
push 0x1000f627
push ebx
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [0x100894d8], eax
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [0x100894e0]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
mov edi, dword [esi + 4]
push edi
push esi
call fcn.1005b203
mov edx, dword [0x100894e4]
mov ecx, 0x9249248
sub ecx, edx
cmp ecx, 1
jae 0x1000f4e4
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
inc edx
mov dword [0x100894e4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + 4], eax
mov dword [edi], eax
mov ecx, dword [0x100894e0]
mov eax, dword [ebp + 8]
push ebx
push ebx
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x14], ecx
push ebx
mov dword [ecx + 0x14], eax
lea esi, [ecx + 8]
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0x10], ebx
mov dword [esi], eax
mov dword [ecx + 0x18], edx
push dword [0x100894dc]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x100894e8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
call fcn.1005fe66
ret 0xc
Function at 0x1000f537
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov esi, eax
mov edi, 0x7fffffff
mov dword [ebp - 8], edi
mov eax, dword [ecx + 8]
mov ebx, dword [eax]
cmp eax, ebx
je 0x1000f615
lea eax, [ecx + 0x10]
mov dword [ebp - 0xc], eax
lea edi, [ebx + 8]
cmp dword [edi], 0
je 0x1000f5e2
cmp dword [edi + 4], 0
je 0x1000f5e2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 4]
xor edx, edx
mov ecx, dword [edi + 0xc]
div ecx
cmp eax, dword [edi + 8]
je 0x1000f5bc
push dword [ebp - 0xc]
mov dword [edi + 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
push 0x1000f42d
push 0
call sym.WCLDll.dll_at_call_done1
add esp, 0xc
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi], 0
je 0x1000f5df
cmp dword [edi + 4], 0
je 0x1000f5df
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
inc eax
mov edx, dword [edi + 4]
imul eax, ecx
sub eax, esi
add eax, edx
cmp eax, 0x7fffffff
je 0x1000f5df
mov ecx, dword [ebp - 8]
cmp ecx, eax
cmovg ecx, eax
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
mov eax, dword [edi]
mov edi, dword [ebx]
test eax, eax
jne 0x1000f607
mov eax, dword [ebx + 4]
push 0x1c
mov dword [eax], edi
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [edx + 4], eax
dec dword [ecx + 0xc]
mov ecx, ebx
pop edx
call fcn.1005857c
mov ecx, dword [ebp - 4]
mov ebx, edi
cmp dword [ecx + 8], edi
jne 0x1000f569
mov edi, dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [edi + esi]
pop edi
sub ecx, eax
pop esi
mov eax, ecx
pop ebx
leave
ret
Function at 0x10024069
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
test edi, edi
jne 0x1002407b
xor eax, eax
jmp 0x100240d2
push ebx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
push 1
and ax, cx
mov ecx, dword [esi]
pop ebx
jne 0x100240b1
lea eax, [edi - 1]
cmp ecx, eax
jne 0x100240ad
mov ecx, dword [ebp + 8]
and dword [esi], 0
mov edx, dword [ecx]
lea eax, [ecx + 0x5c]
push eax
call dword [edx + 0x24]
xor eax, eax
jmp 0x100240d1
mov eax, ebx
jmp 0x100240bf
test ecx, ecx
jne 0x100240bc
lea eax, [edi - 1]
xor ebx, ebx
jmp 0x100240c1
or eax, 0xffffffff
add eax, ecx
mov ecx, dword [ebp + 8]
mov dword [esi], eax
mov esi, dword [ecx]
lea edx, [ecx + 0x5c]
push edx
call dword [esi + 0x24]
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
ret 8

Function at 0x100276bd
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi + 4], esi
je 0x1002770b
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 4], 0x100
jne 0x1002770b
mov eax, dword [ebx + 8]
cmp eax, 3
je 0x100277c9
cmp eax, 9
je 0x10027775
cmp eax, 0xd
je 0x10027754
cmp eax, 0x1b
je 0x100277c9
cmp eax, 0x24
jbe 0x1002770b
cmp eax, 0x28
jbe 0x10027715
cmp eax, 0x2b
je 0x10027754
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x20]
test eax, eax
je 0x1002773b
mov ecx, dword [ebp + 8]
call fcn.100305c7
push esi
push 0x10002
push 0x127
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebx + 8], 0x25
je 0x10027747
cmp dword [ebx + 8], 0x26
jne 0x1002774a
xor esi, esi
inc esi
push esi
mov ecx, edi
call fcn.10027632
jmp 0x1002770b
call fcn.10027498
test eax, eax
je 0x10027766
mov ecx, 0x8226
mov esi, eax
jmp 0x1002776e
mov eax, dword [ebp + 8]
mov ecx, 0x111
push 3
push esi
push 1
jmp 0x100277e8
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebx
mov ecx, 0x8000
test cx, ax
jne 0x100277c1
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x20]
test eax, eax
je 0x100277af
mov ecx, dword [ebp + 8]
call fcn.100305c7
push esi
push 0x10002
push 0x127
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x10
call ebx
mov ecx, dword [edi + 4]
and eax, 0x8000
push eax
call fcn.100304d6
xor eax, eax
inc eax
jmp 0x1002770d
call fcn.10027498
test eax, eax
je 0x100277db
mov ecx, 0x8226
mov esi, eax
jmp 0x100277e3
mov eax, dword [ebp + 8]
mov ecx, 0x111
push 3
push esi
push 2
push ecx
mov ecx, eax
call fcn.1002f51c
jmp 0x100277c1
Function at 0x100325ab
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [esi + 4], 0x8160
jne 0x10032609
mov eax, dword [esi + 0xc]
cmp dword [eax + 4], 0x100
jne 0x10032609
cmp dword [eax + 8], 9
jne 0x10032609
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x10032609
lea ecx, [edi - 0x148]
call fcn.100305e9
cmp dword [esi + 0x10], eax
jne 0x10032609
lea ecx, [edi - 0x148]
call fcn.10032279
mov ecx, eax
call fcn.100322fc
xor eax, eax
inc eax
jmp 0x1003260b
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x10034d23
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, ecx
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, dword [eax + 0xc]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
mov eax, dword [eax + 8]
mov ebx, dword [eax + 4]
call esi
push 0x10
mov edi, eax
call esi
and eax, 0x8000
and edi, 0x8000
jne 0x10034d91
test eax, eax
jne 0x10034d91
mov esi, dword [ebx + 0x4c]
test esi, esi
je 0x10034d91
mov eax, dword [esi + 0x1c]
shr eax, 1
test al, 1
je 0x10034d91
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x6c]
or eax, 4
mov ecx, esi
push 0xfffffff
mov edx, eax
call fcn.10033aab
pop ecx
mov ecx, dword [ebp - 4]
push edi
push 0x130
push esi
call fcn.1003474f
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100365f7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 8], ebx
push esi
mov ecx, dword [ebx + 0x138]
mov dword [ebp - 4], ecx
cmp eax, 0x20
je 0x1003668b
cmp eax, 0x21
je 0x1003667f
jle 0x10036683
cmp eax, 0x23
jle 0x10036663
cmp eax, 0x24
je 0x1003667f
cmp eax, 0x26
je 0x10036649
cmp eax, 0x28
jne 0x10036683
mov eax, dword [ebx + 0x12c]
sub eax, dword [ebx + 0x128]
push 0x14
cdq
pop esi
idiv esi
dec eax
cmp ecx, eax
jge 0x1003664d
inc ecx
jmp 0x1003665e
test ecx, ecx
jg 0x1003665d
mov eax, dword [ebx + 0xa0]
shr eax, 4
not al
and eax, 1
jmp 0x100366c0
dec ecx
mov dword [ebp - 4], ecx
jmp 0x1003668b
mov eax, dword [ebx + 0x12c]
sub eax, dword [ebx + 0x128]
push 0x14
cdq
pop esi
idiv esi
dec eax
cmp ecx, eax
je 0x10036683
mov dword [ebp - 4], eax
jmp 0x1003668b
test ecx, ecx
jne 0x10036687
xor eax, eax
jmp 0x100366c0
and dword [ebp - 4], 0
mov ebx, dword [ebx + 0xa0]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x10
call esi
movzx edi, ax
push 0x11
and edi, 0x8000
call esi
mov ecx, dword [ebp - 8]
and eax, 0x8000
push eax
push edi
push ebx
push dword [ebp - 4]
call fcn.10036122
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1003c73f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx]
push esi
call dword [eax]
test byte [ebp + 0xc], 0x80
mov esi, eax
mov dword [ebp - 4], esi
je 0x1003c75e
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1003c791
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 4]
push edi
call fcn.10005ae0
mov ecx, edi
call fcn.1004f78e
push dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
push eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
push eax
push dword [edi + 4]
push dword [edi]
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
leave
ret 8
Function at 0x1003d73a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x10083010]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], esi
mov eax, dword [esi + 0x18]
shr eax, 7
test al, 1
je 0x1003d78a
cmp dword [ebx + 0x18], 0
je 0x1003d8d1
lea ecx, [ebx + 0x14]
call fcn.1001061c
push 0
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1003d8d1
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
jne 0x1003d8d1
mov eax, dword [esi + 0x18]
shr eax, 6
test al, 1
jne 0x1003d7c7
mov al, byte [esi + 0x18]
not al
test al, 1
je 0x1003d8d1
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1003d7e0
jmp 0x1003d8d1
lea eax, [esp + 0x2c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.1004d608
call fcn.10005b29
test eax, eax
je 0x1003d8d1
lea eax, [ebx + 0x18]
cmp dword [eax], 0
mov dword [esp + 0x10], eax
jne 0x1003d817
push dword [0x10088748]
lea ecx, [esp + 0x30]
xorps xmm0, xmm0
sub esp, 0x14
movups xmmword [esp + 0x44], xmm0
push ecx
push ecx
mov ecx, eax
call fcn.1004b23e
mov edi, dword [esi + 8]
mov ebx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x14]
mov esi, dword [esi + 0x14]
add ecx, 0x14
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], esi
call fcn.1001061c
mov eax, dword [esp + 0x10]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x14]
push 0x3e8
call fcn.10010633
push 0x458
push esi
push dword [esp + 0x20]
push ebx
push edi
mov edi, dword [esp + 0x24]
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [sym.imp.USER32.dll_GetWindowDC]
push 0
call esi
mov edi, dword [edi]
mov ebx, eax
push edi
call esi
push 0xcc0020
push dword [esp + 0x20]
mov esi, eax
push dword [esp + 0x28]
push ebx
push dword [esp + 0x34]
push dword [esp + 0x2c]
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [sym.imp.USER32.dll_ReleaseDC]
push edi
call esi
push ebx
push 0
call esi
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 4], 0xffffffff
jne 0x1003d8cb
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [ecx + 4], eax
call dword [sym.imp.dwmapi.dll_DwmFlush]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1005eacb
mov esp, ebp
pop ebp
ret 8

Function at 0x1003d8e5
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x14]
call fcn.1001061c
push 0
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 0x10
Function at 0x1003d925
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10083010]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [ebp + 8]
je 0x1003d96b
push 0
push 0x80040000
mov edx, edi
call fcn.1003d50d
movaps xmm0, xmmword [0x1006eb10]
lea eax, [ebp - 0x14]
pop ecx
pop ecx
push eax
push edi
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1003d98b
lea ecx, [esi + 0x18]
call fcn.1001061c
push 0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1005eacb
leave
ret 0xc

Function at 0x1003d99b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
dec eax
push esi
mov esi, ecx
sub eax, 1
je 0x1003da12
sub eax, 0xd
je 0x1003da12
sub eax, 0x37
je 0x1003da02
sub eax, 0x3d
je 0x1003d9d1
sub eax, 1
je 0x1003d9c7
dec eax
sub eax, 1
jne 0x1003da38
mov ecx, dword [ebp + 0x1c]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x1003da3a
push ebx
mov ebx, dword [ebp + 0x18]
push edi
lea edi, [ebp - 0x10]
mov esi, dword [ebx]
push dword [ebx]
push dword [ebp + 0x14]
movsd dword es:[edi], dword [esi]
push 0x83
push dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov edi, dword [ebx]
lea esi, [ebp - 0x10]
xor eax, eax
inc eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop ebx
jmp 0x1003da3a
mov eax, dword [ebp + 0x18]
push dword [eax]
push ecx
lea ecx, [esi + 4]
call fcn.1003d73a
jmp 0x1003da38
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1003da38
call dword [sym.imp.dwmapi.dll_DwmFlush]
lea ecx, [esi + 0x18]
call fcn.1001061c
push 0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
leave
ret 0x18

Function at 0x1003f1fe
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10083010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ecx + 0x10]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.1004ff81
and dword [ebp - 0x20], 0
lea ecx, [ebp - 0x1c]
cmp dword [ebp - 8], 8
lea eax, [esi*2 + 2]
cmovae ecx, dword [ebp - 0x1c]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.1004e72d
push dword [ebp - 0x20]
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
lea ecx, [ebp - 0x1c]
call fcn.10052bca
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1005eacb
leave
ret
Function at 0x1003f25c
Capabilities:
Write clipboard data

Disassembly:
push 0x3c
mov eax, 0x1006344b
call fcn.1005fed1
push ecx
lea ecx, [ebp - 0x44]
call fcn.1004f962
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
lea eax, [ecx + 0x8b]
push eax
lea eax, [ecx + 0xaf]
push eax
lea eax, [ebp - 0x2c]
push str.Version:0.9_r_nStartHTML:000000101_r_nEndHTML:_010u_r_nStartFragment:000000115_r_nEndFragment:_010u_r_n_html__body__r_n____StartFragment____r_n
push eax
call fcn.1005026f
add esp, 0x10
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x44]
push dword [ebp - 0x34]
push eax
call fcn.10052ed2
push 0xffffffffffffffff
mov esi, str.____EndFragment____r_n__body__r_n__html_
push esi
call sym.WCLDll.dll_at_astr_len
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.10052ed2
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
inc eax
push ecx
push eax
push ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], ebx
call fcn.1004e72d
push dword [ebp - 0x48]
movzx eax, word [0x1008939c]
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
lea ecx, [ebp - 0x2c]
call fcn.1005001d
lea ecx, [ebp - 0x44]
call fcn.1005001d
call fcn.1005fe7b
ret

Function at 0x1003f48c
Capabilities:
Open clipboard

Disassembly:
push 0x54
mov eax, 0x100634cd
call fcn.1005fed1
mov esi, ecx
call fcn.1003e6ef
mov eax, dword [esi + 0x128]
mov edi, dword [esi + 0x12c]
cmp eax, edi
je 0x1003f56c
xor ecx, ecx
cmp word [esi + 0x114], cx
jne 0x1003f56c
cmp edi, eax
mov ebx, edi
mov ecx, esi
cmovge ebx, eax
cmovle edi, eax
sub edi, ebx
call fcn.100305c7
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [esi + 0x104]
lea edx, [ebp - 0x40]
push 0xffffffffffffffff
push 0
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
and dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x1003f501
mov eax, dword [eax]
lea eax, [eax + ebx*2]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x60]
push eax
call fcn.100583d3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1003f1fe
lea ecx, [ebp - 0x28]
call fcn.10052bca
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10052bca
mov eax, dword [esi + 0x58]
shr eax, 1
test al, 1
je 0x1003f566
mov ecx, dword [esi + 0x104]
lea edx, [ebp - 0x58]
push edi
push ebx
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.1003f25c
lea ecx, [ebp - 0x58]
call fcn.10052bca
call dword [sym.imp.USER32.dll_CloseClipboard]
call fcn.1005fe7b
ret
Function at 0x1003f572
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0x3c
mov eax, 0x10063502
call fcn.1005fed1
mov edi, ecx
test dword [edi + 0xa0], 0x800
jne 0x1003f669
call fcn.100305c7
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
mov eax, dword [edi + 0x58]
xor ebx, ebx
shr eax, 1
test al, 1
je 0x1003f5b9
movzx eax, word [0x1008939c]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
jmp 0x1003f5bb
mov esi, ebx
test esi, esi
jne 0x1003f5e5
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x1003f663
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push 1
push eax
mov ecx, edi
call fcn.1003ee39
jmp 0x1003f65c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x1003f604
push 0xffffffffffffffff
push eax
call sym.WCLDll.dll_at_astr_len
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x48]
jmp 0x1003f606
mov ecx, ebx
push ecx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
call fcn.10052e33
lea edx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x44]
call fcn.1003f31d
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.1005001d
cmp dword [ebp - 0x34], 0
je 0x1003f648
cmp dword [ebp - 0x30], 8
lea ebx, [ebp - 0x44]
cmovae ebx, dword [ebp - 0x44]
push 1
push 1
push ebx
mov ecx, edi
call fcn.1003ee39
lea ecx, [ebp - 0x44]
call fcn.10052bca
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
call fcn.1005fe7b
ret