joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b04b
Capabilities:
Capture screenshot

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
mov esi, ecx
push 0xdd
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x1024c8c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [0x1024c8c]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.0100890a
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_GetDC]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x100b1c7
push edi
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call edi
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x100b1bc
push dword [ebp - 8]
call edi
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x100b1b3
push 0x64
mov edi, 0x85
push edi
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x100b1aa
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x14]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [0x1024c8c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
push 0xcc0020
je 0x100b11f
push dword [ebp - 0x34]
push dword [ebp - 0x38]
jmp 0x100b129
mov eax, dword [ebp - 0x68]
add eax, 0xffffff9c
push eax
push dword [ebp - 0x74]
push dword [ebp - 8]
push 0x64
push edi
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x6c]
imul eax, eax, 0xff
push 0x64
pop ecx
xor edx, edx
div ecx
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 9], 1
mov byte [ebp - 0xa], al
lea eax, [ebp - 0x50]
push eax
push 0x18
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_GetObjectW]
push dword [ebp - 0xc]
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push ebx
push ebx
push dword [ebp - 0x10]
push 0x78
push 0xa0
push 0xffffffffffffffec
push 0xffffffffffffffec
push dword [ebp - 4]
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
push dword [ebp - 0x14]
push ebx
push 0x172
push 0xdd
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, ebx
je 0x100b1aa
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 8]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
cmp dword [ebp - 0x18], ebx
je 0x100b1d8
push 1
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ebx
leave
ret 4
Function at 0x100c59b
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
push dword [0x1024f3c]
mov edi, ecx
call esi
push dword [0x1024f38]
call esi
mov eax, dword [edi + 0x2158]
xor esi, esi
cmp eax, esi
je 0x100c5ec
push esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x100b29b
push esi
push esi
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [edi + 0x2138]
call fcn.0100bab4
pop edi
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x100d052
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
shl eax, 1
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100d0b2
cmp dword [ebp + 0x10], 1
je 0x100d090
cmp dword [ebp + 0x10], 2
jne 0x100d0a7
test edi, edi
mov eax, dword [ebp - 4]
je 0x100d0ac
test al, 1
jne 0x100d0a7
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x100d0ac
push 0xd
pop eax
jmp 0x100d0b2
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc

Function at 0x100d41e
Capabilities:
Set registry value

Disassembly:
mov eax, 0x101e874
call fcn.0101d748
sub esp, 0xc
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
push 2
push 0x1002588
push SysReAllocStringLen
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.010051ae
test eax, eax
jne 0x100d4c2
mov eax, dword [0x106862c]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jbe 0x100d4c2
push esi
push edi
mov esi, 0x1068628
push ebx
mov ecx, esi
call fcn.01019604
mov eax, dword [eax]
add eax, 4
mov eax, dword [eax]
mov edi, dword [eax - 0xc]
push ebx
mov ecx, esi
call fcn.01019604
mov ecx, dword [eax]
add ecx, 4
call fcn.010046cc
push ebx
mov ecx, esi
mov dword [ebp - 0x14], eax
call fcn.01019604
mov eax, dword [eax]
lea ecx, [edi + edi]
push ecx
push dword [ebp - 0x14]
push 1
push 0
push dword [eax]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
mov ecx, esi
call fcn.01019604
mov ecx, dword [eax]
push 0xffffffffffffffff
add ecx, 4
call fcn.0100d340
inc ebx
cmp ebx, dword [ebp - 0x18]
jb 0x100d45f
pop edi
pop esi
lea ecx, [ebp - 0x10]
call fcn.0100513b
mov ecx, dword [ebp - 0xc]
xor eax, eax
inc eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x100d792
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
mov eax, 0x101e893
call fcn.0101d748
sub esp, 0xc
xor eax, eax
mov dword [ebp - 0x10], eax
push eax
push eax
push 0x2001f
push eax
push eax
push 0x1002660
push SysReAllocStringLen
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], eax
call fcn.01005159
test eax, eax
jne 0x100d898
push ebx
push esi
push edi
mov edx, 0x3e80
mov esi, 0x1025148
mov ecx, edx
mov edi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov ebx, 0x1034b50
mov ecx, edx
mov edi, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, 0x7d00
push eax
xor ecx, ecx
push esi
push ecx
mov dword [ebp - 0x18], eax
mov word [0x1034b48], cx
mov word [0x1044550], cx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x10686a8
lea ecx, [ebp - 0x14]
call fcn.010045ba
mov edi, 0x100265c
push edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.01004886
push esi
lea ecx, [ebp - 0x14]
call fcn.0100d5c8
push edi
lea ecx, [ebp - 0x14]
call fcn.0100d5c8
cmp dword [ebp + 8], 1
lea ecx, [ebp - 0x10]
jne 0x100d85a
push 1
push dword [ebp - 0x14]
push 0x100264c
call fcn.0100524c
jmp 0x100d882
lea eax, [ebp - 0x18]
push eax
push ebx
mov esi, 0x100264c
push esi
call fcn.0100d052
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x100d88a
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x10]
call fcn.0100513b
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.01003fb7
pop edi
pop esi
pop ebx
lea ecx, [ebp - 0x10]
call fcn.0100513b
mov ecx, dword [ebp - 0xc]
xor eax, eax
inc eax
mov dword fs:[0], ecx
leave
ret 4
Function at 0x100ec3a
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x101ea7b
call fcn.0101d748
sub esp, 0x274
mov eax, dword [0x1023da8]
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x260]
push eax
push dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 4], 1
mov dword [ebp - 0x26c], esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x274], eax
je 0x100edfc
mov esi, 0x10686a8
push esi
lea ecx, [ebp - 0x268]
call fcn.010045ba
push esi
lea ecx, [ebp - 0x270]
call fcn.010045ba
mov byte [ebp - 4], 3
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x268]
call fcn.0100c3bf
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x268]
call fcn.0100d5c8
mov edi, dword [ebp - 0x268]
mov eax, dword [edi - 0xc]
add eax, 0xfffffffc
push eax
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x268]
call fcn.0100e345
push 0x1002808
push eax
lea eax, [ebp - 0x280]
push eax
mov byte [ebp - 4], 4
call fcn.0100e52e
push eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 5
call fcn.0100c3bf
mov ecx, dword [ebp - 0x280]
add ecx, 0xfffffff0
call fcn.01003fb7
mov ecx, dword [ebp - 0x278]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.01003fb7
mov esi, dword [ebx + 8]
and dword [ebp - 0x264], 0
test esi, esi
jle 0x100ed6c
push dword [ebp - 0x264]
lea ecx, [ebx + 4]
call fcn.0100ff74
push dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100ed6c
inc dword [ebp - 0x264]
cmp dword [ebp - 0x264], esi
jl 0x100ed43
cmp dword [ebp - 0x264], esi
jne 0x100edb9
push dword [ebp - 0x27c]
lea eax, [ebp - 0x270]
push ecx
mov dword [ebp - 0x26c], esp
mov ecx, esp
push eax
call fcn.0100d38c
push ecx
lea eax, [ebp - 0x268]
mov dword [ebp - 0x264], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 6
call fcn.0100d38c
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.0100e8ea
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100ecaf
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
call fcn.01003fb7
lea ecx, [edi - 0x10]
call fcn.01003fb7
mov esi, dword [ebp - 0x26c]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.01003fb7
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.01003fb7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
call fcn.0101d23a
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10118c7
Capabilities:
Find taskbar

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
push edi
xor edi, edi
push edi
push 0x1002a9c
call esi
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
push eax
call ebx
test eax, eax
jne 0x101191e
push edi
push 0x1002a80
call esi
cmp eax, edi
je 0x1011923
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push edi
push 0x1002a64
push edi
push eax
call esi
cmp eax, edi
je 0x1011923
push edi
push 0x1002a48
push edi
push eax
call esi
cmp eax, edi
je 0x1011923
push eax
call ebx
test eax, eax
je 0x1011923
xor eax, eax
inc eax
jmp 0x1011925
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x101192e
Capabilities:
Capture screenshot

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [0x1024c8c]
push dword [eax + 4]
call edi
mov ecx, dword [0x1024c8c]
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.0100890a
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_GetDC]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x1011aa1
push esi
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call esi
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1011a96
push dword [ebp - 8]
call esi
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x1011a8d
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x1011a84
push dword [ebp + 0x10]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0xc]
call esi
push dword [ebp - 0x10]
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x34]
push eax
mov eax, dword [0x1024c8c]
push dword [eax + 4]
call edi
test eax, eax
push 0xcc0020
je 0x10119f8
push dword [ebp - 0x30]
push dword [ebp - 0x34]
jmp 0x1011a02
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp + 0x1c]
push eax
push dword [ebp - 0x70]
push dword [ebp - 8]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp + 0x14]
imul eax, eax, 0xff
push 0x64
pop ecx
xor edx, edx
div ecx
mov byte [ebp + 0x1c], bl
mov byte [ebp + 0x1d], bl
mov byte [ebp + 0x1f], 1
mov byte [ebp + 0x1e], al
lea eax, [ebp - 0x4c]
push eax
push 0x18
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_GetObjectW]
push dword [ebp + 0x1c]
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push ebx
push ebx
push dword [ebp - 0xc]
push 0x78
push 0xa0
push 0xffffffffffffffec
push 0xffffffffffffffec
push dword [ebp - 4]
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
push dword [ebp - 0x10]
push ebx
push 0x172
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, ebx
je 0x1011a84
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 8]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
push 1
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop ebx
leave
ret 0x18
Function at 0x1012338
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x101ebf3
call fcn.0101d748
push ecx
push ecx
push ebx
push esi
push edi
mov ecx, dword [0x10238e4]
mov edx, ecx
shr ecx, 2
xor eax, eax
mov esi, 0x1060628
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [ebp - 0x10]
push eax
push 1
xor ebx, ebx
push ebx
push 0x1002588
push SysReAllocStringLen
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov edi, dword [ebp + 8]
jne 0x10123be
push 0x10238e4
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10123b5
push esi
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.0100d38c
call fcn.010122c4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [edi - 0x10]
call fcn.01003fb7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x10128b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [0x10238e0]
mov edx, ecx
push ebx
shr ecx, 2
push esi
push edi
xor eax, eax
mov esi, 0x1058628
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [0x10238e4]
mov edx, ecx
shr ecx, 2
xor eax, eax
mov ebx, 0x1060628
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push 0x1002588
push SysReAllocStringLen
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
mov dword [ebp - 0x10], eax
jne 0x10129c0
mov dword [ebp - 8], edi
push edi
push edi
push edi
push edi
push 0x10238e0
push esi
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, edi
mov dword [ebp - 0xc], eax
jne 0x10129ab
push 0x10238e4
push ebx
push edi
push edi
push esi
push dword [ebp - 4]
mov word [0x1060628], di
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
call fcn.0100e774
call fcn.010122c4
mov ecx, dword [0x10238e4]
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [0x10238e0]
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, 0x7ffe
mov dword [0x10238e4], eax
mov dword [0x10238e0], eax
xor edi, edi
inc dword [ebp - 8]
cmp dword [ebp - 0xc], edi
je 0x1012922
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10186ba
Capabilities:
Inspect load icon resource

Disassembly:
mov eax, 0x101f042
call fcn.0101d748
sub esp, 0x3b0
mov eax, dword [0x1023da8]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push edi
mov eax, ecx
push 0x10686a8
lea ecx, [ebp - 0x3bc]
mov dword [eax], esi
call fcn.010045ba
and dword [ebp - 4], 0
push 0xce
push dword [0x1068668]
call dword [sym.imp.USER32.dll_LoadIconW]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x3bc]
mov edi, eax
call fcn.0100485d
test edi, edi
mov ebx, dword [ebp - 0x3bc]
je 0x101878c
test eax, eax
je 0x101878c
push 0x40
pop ecx
mov dword [ebp - 0x3a4], edi
xor eax, eax
mov dword [ebp - 0x3b8], 0x3a8
mov dword [ebp - 0x3b4], esi
mov dword [ebp - 0x3b0], 1
mov dword [ebp - 0x3ac], 7
mov dword [ebp - 0x3a8], 0x4d6
lea edi, [ebp - 0x3a0]
push 0x7f
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3a0]
push ebx
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
lea eax, [ebp - 0x3b8]
push eax
push 0
mov dword [ebp - 0x98], 3
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
lea ecx, [ebx - 0x10]
call fcn.01003fb7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0101d23a
leave
ret 8

Function at 0x10187b2
Capabilities:
Inspect load icon resource

Disassembly:
mov eax, 0x101f042
call fcn.0101d748
sub esp, 0x3b0
mov eax, dword [0x1023da8]
push esi
push edi
mov edi, ecx
push 0x10686a8
lea ecx, [ebp - 0x3bc]
mov dword [ebp - 0x10], eax
call fcn.010045ba
movzx eax, word [ebp + 8]
and dword [ebp - 4], 0
push eax
push dword [0x1068668]
call dword [sym.imp.USER32.dll_LoadIconW]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x3bc]
mov esi, eax
call fcn.0100485d
test esi, esi
je 0x1018875
test eax, eax
je 0x1018875
mov eax, dword [edi]
push 0x40
pop ecx
mov dword [ebp - 0x3b4], eax
xor eax, eax
push 0x7f
push dword [ebp - 0x3bc]
mov dword [ebp - 0x3b8], 0x3a8
mov dword [ebp - 0x3b0], 1
mov dword [ebp - 0x3ac], 6
mov dword [ebp - 0x3a4], esi
lea edi, [ebp - 0x3a0]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3a0]
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
lea eax, [ebp - 0x3b8]
push eax
push 1
mov dword [ebp - 0x98], 3
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [ebp - 0x3bc]
add ecx, 0xfffffff0
call fcn.01003fb7
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.0101d23a
leave
ret 8
Function at 0x1019d0a
Capabilities:
Get common file path

Disassembly:
mov eax, 0x101f0e3
call fcn.0101d748
sub esp, 0x214
mov eax, dword [0x1023da8]
mov dword [ebp - 0x10], eax
xor eax, eax
inc eax
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esi + 0x84], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x78], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0xc4], ebx
xor eax, eax
lea edi, [esi + 0x38]
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
xor eax, eax
lea edi, [esi + 0x50]
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
xor eax, eax
lea edi, [esi + 0x64]
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
mov eax, dword [esi + 0x78]
mov dword [esi + eax*4 + 0x64], 0x41
inc dword [esi + 0x78]
mov ecx, dword [0x1024c84]
push 0x1e
call fcn.010133f1
mov edi, dword [esi + 0x7c]
cmp edi, ebx
je 0x1019d9f
mov ecx, 0x204cc
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esi + 0x88]
cmp edi, ebx
je 0x1019dc2
mov ecx, dword [esi + 0x8c]
shl ecx, 3
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor eax, eax
mov dword [esi + 0xc], 6
mov dword [esi + 0x10], ebx
lea edi, [esi + 0x14]
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
cmp dword [esi + 4], ebx
je 0x1019e9e
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1019e0c
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push ebx
push 0xb1
push dword [esi]
call edi
push 0x10027c4
push ebx
push 0xc2
push dword [esi]
call edi
cmp dword [esi + 4], ebx
je 0x1019e9e
xor eax, eax
mov ecx, 0x82
lea edi, [ebp - 0x21c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1019e9e
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.0100e774
push 0x1003380
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], ebx
call fcn.0100d5c8
push 0x1003468
push dword [ebp - 0x220]
call dword [sym.imp.msvcrt.dll__wfopen]
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x1019e90
push 0x1003408
push esi
call dword [sym.imp.msvcrt.dll_fwprintf]
push esi
call dword [sym.imp.msvcrt.dll_fclose]
add esp, 0xc
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.01003fb7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0101d23a
leave
ret
Function at 0x101b29c
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push edi
push 0xd
xor eax, eax
mov edx, ecx
pop ecx
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
push 0x1073
push dword [edx]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
leave
ret 0x10

Function at 0x101bfaa
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x101f214
call fcn.0101d748
sub esp, 0x228
mov eax, dword [0x1023da8]
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
push 0xee
push dword [esi + 4]
mov dword [ebp - 0x10], eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
mov dword [ebp - 0x220], eax
call ebx
and word [ebp - 0x218], 0
push 0x104
lea eax, [ebp - 0x218]
push eax
push 1
push dword [ebp + 8]
lea ecx, [esi + 0x3c]
call fcn.0101b29c
push 0xef
push dword [esi + 4]
call edi
lea ecx, [ebp - 0x234]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x10686a8
lea ecx, [ebp - 0x21c]
call fcn.010045ba
xor edi, edi
push 0x6a
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], edi
call fcn.0100485d
push dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x101c0a5
push ecx
lea eax, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0x224], esp
push eax
call fcn.0100e774
call fcn.01011c2f
cmp eax, 0xffffffff
je 0x101c0a5
push eax
mov ecx, 0x1024d98
call fcn.0100ff74
push dword [ebp - 0x22c]
push dword [ebp - 0x22c]
push 0x64
push dword [eax]
push 0xee
push dword [esi + 4]
call fcn.0101192e
jmp 0x101c0ae
push edi
push dword [ebp - 0x220]
call ebx
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.01003fb7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0101d23a
pop edi
pop esi
pop ebx
leave
ret 4