joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10087ca8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x84], 0
mov esi, dword [ebx + 0x8c]
mov edi, dword [ebx + 0x88]
je 0x10087cf0
call fcn.1002891c
push 5
push dword [ebx + 0x84]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10087cf0
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10087cfd
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor eax, eax
inc eax
test esi, esi
je 0x10087d39
mov edx, 0xffff
lea ecx, [esi + 0xc]
cmp word [esi + 2], dx
jne 0x10087d1c
movzx edi, word [esi + 0x12]
movzx edx, word [esi + 0x14]
jmp 0x10087d25
movzx edx, word [ecx]
mov ecx, esi
movzx edi, word [esi + 0xa]
test dword [ecx], 0x1801
jne 0x10087d37
test di, di
jne 0x10087d37
test dx, dx
je 0x10087d39
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10087d3e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x84], edi
test edi, 0xffff0000
jne 0x10087d69
cmp dword [esi + 0x80], 0
jne 0x10087d69
movzx eax, di
mov dword [esi + 0x80], eax
call fcn.1002891c
push 5
push edi
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10087d99
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10087d99
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.10088005
jmp 0x10087d9b
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10087da2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
call fcn.1002891c
push 5
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10087de2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10087de2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.10087dea
jmp 0x10087de4
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x100880da
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x101911ac
call fcn.10166230
mov edi, ecx
mov dword [ebp - 0x24], edi
mov ebx, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
mov dword [ebp - 0x18], ebx
call fcn.1002891c
cmp dword [edi + 0x84], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
je 0x10088139
call fcn.1002891c
push 5
push dword [edi + 0x84]
mov ebx, dword [eax + 0xc]
push ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1008814d
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
je 0x10088149
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x18], eax
test ebx, ebx
jne 0x10088155
or eax, 0xffffffff
jmp 0x100882a7
mov ecx, edi
call fcn.100886dd
mov ebx, eax
mov dword [ebp - 0x2c], ebx
call fcn.1003d07e
xor esi, esi
and dword [ebp - 0x1c], esi
and dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
test ebx, ebx
je 0x100881e1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x100881e1
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x100881e1
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.1002036d
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x100881de
mov ecx, dword [esi]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x1019c9e0]
mov ecx, dword [ebp - 0x1c]
call esi
test eax, eax
je 0x100881de
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.1003255c
test eax, eax
je 0x100881de
push 0
mov ecx, esi
call fcn.10031e7a
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x14]
and dword [ebp - 4], 0
push edi
call fcn.1003cd1d
push ebx
call fcn.1003e307
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.1008807d
test eax, eax
jne 0x1008822a
cmp dword [edi + 0x9c], eax
jne 0x1008822a
call fcn.1002891c
push ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.1003e307
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.1008807d
and dword [edi + 0x9c], 0
jmp 0x10088255
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x10088269
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.10031e7a
test esi, esi
je 0x10088276
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x1008828c
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x1008828c
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x1019c9e0]
mov ecx, edi
call esi
mov ecx, edi
call fcn.10088694
mov eax, dword [edi + 0x68]
call fcn.10166195
ret
Function at 0x10089f14
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 4], ebx
test byte [edi + 4], 1
mov esi, dword [edi + 0xc]
jne 0x10089f6a
push 5
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10089f43
call fcn.1002ebcd
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x10089f58
call fcn.1002ebcd
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x10089f6a
call fcn.1002ebcd
call fcn.1002891c
cmp dword [eax + 0x3c], 0
je 0x10089f7f
push esi
mov ecx, ebx
call fcn.1008963a
mov esi, eax
push dword [ebp + 0xc]
push esi
call fcn.1008a169
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x10089fa8
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x10089fb4
mov esi, ebx
mov dword [eax + 0x88], ebx
or dword [edi + 4], 1
mov dword [edi + 0xc], esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x1008fc77
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [ecx + 0x14]
cmp dword [esi - 0xc], 0
je 0x1008fcad
push ebx
mov ebx, dword [ecx + 8]
push edi
mov edi, dword [ecx + 0xc]
call fcn.1002036d
test eax, eax
je 0x1008fc95
mov eax, dword [eax + 0x20]
push 1
push edi
push ebx
push esi
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop edi
sbb eax, eax
pop ebx
inc eax
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x100ad905
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
push ebx
push esi
mov esi, ecx
push edi
push 1
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x100ad932
or dword [esi + 0x3c], 1
or dword [esi + 0x38], 2
jmp 0x100ad947
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x100ad947
or dword [esi + 0x3c], 2
or dword [esi + 0x38], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edi, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 4], edx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.1003e307
jmp 0x100ada18
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.1003e307
cmp eax, edi
jne 0x100ada22
push 1
push 0x209
push 0x200
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x100ad9b4
push 1
push 0x109
push 0x100
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x100ad9f8
mov eax, dword [ebp - 0x1c]
cmp eax, 0x202
je 0x100ada22
cmp eax, 0x205
je 0x100ada22
cmp eax, 0x201
je 0x100ada22
cmp eax, 0x204
je 0x100ada22
cmp eax, 0x100
jne 0x100ad9e0
cmp dword [ebp - 0x18], 0x1b
je 0x100ada22
push dword [ebp - 8]
lea eax, [esi + 0x24]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, ebx
sbb edx, dword [ebp - 4]
test edx, edx
jb 0x100ada18
ja 0x100ada11
cmp eax, dword [0x10200944]
jbe 0x100ada18
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
je 0x100ad969
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100c1107
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x101f77dc], 0
push esi
push edi
je 0x100c118f
cmp dword [0x101f7820], 0xfffffffe
jne 0x100c117b
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x100c118f
mov edi, 0x102009b0
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x102009c8], 0
jne 0x100c1193
push 0
push 0
push 0x100c1199
call fcn.101732e4
add esp, 0xc
mov dword [0x102009c8], eax
test eax, eax
je 0x100c116b
cmp eax, 0xffffffff
je 0x100c116b
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x101f7820], esi
jmp 0x100c1172
and dword [0x102009c8], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x100c118f
mov eax, dword [ebp + 8]
mov dword [0x101f7820], eax
cmp eax, 0xffffffff
jne 0x100c118f
and dword [0x102009c8], 0
pop edi
pop esi
pop ebp
ret
call fcn.1001fb1d
int3
Function at 0x100d226c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, 0x104
mov eax, dword [esi + 4]
cmp eax, ecx
ja 0x100d23f3
je 0x100d241a
sub eax, 0xa1
je 0x100d241a
sub eax, 1
je 0x100d241a
dec eax
sub eax, 1
je 0x100d241a
sub eax, 1
je 0x100d241a
dec eax
sub eax, 1
je 0x100d241a
sub eax, 1
je 0x100d241a
sub eax, 0x58
jne 0x100d2458
cmp dword [edi + 0xc0], 0xffffffff
je 0x100d241a
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100d241a
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x100d2348
sub eax, 1
jne 0x100d241a
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x100d2337
mov eax, ebx
cdq
idiv ecx
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x1019c9e0]
mov ecx, edi
call esi
test eax, eax
jne 0x100d2394
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x100d230d
jmp 0x100d2472
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x100d2472
mov eax, ebx
cdq
idiv dword [edi + 0xbc]
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x1019c9e0]
mov ecx, edi
call esi
test eax, eax
jne 0x100d2394
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x100d235f
jmp 0x100d2472
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x1019c9e0]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x1019c9e0]
mov ecx, edi
call esi
mov ecx, eax
call fcn.100328f3
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x1019c9e0]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x100d2472
sub eax, 0x200
je 0x100d241a
sub eax, 1
je 0x100d241a
sub eax, 1
je 0x100d241a
dec eax
sub eax, 1
je 0x100d241a
sub eax, 1
je 0x100d241a
dec eax
sub eax, 1
je 0x100d241a
sub eax, 1
jne 0x100d2458
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x100d2439
cmp dword [eax + 0x20], ebx
je 0x100d2439
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x100d2458
cmp dword [eax + 0x20], ebx
je 0x100d2458
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 4], 0x203
jne 0x100d2477
lea eax, [edi + 0x2250]
test eax, eax
je 0x100d246e
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x100d2477
xor eax, eax
inc eax
jmp 0x100d247f
push esi
mov ecx, edi
call fcn.100cc72a
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100ec008
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
push edi
test ebx, ebx
je 0x100ec0a7
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x100ec0a3
mov eax, dword [eax + 0x20]
test eax, eax
je 0x100ec0a3
cmp dword [ebx], eax
jne 0x100ec0a3
mov eax, dword [ebx + 4]
sub eax, 1
je 0x100ec07d
sub eax, 1
je 0x100ec04d
sub eax, 1
jne 0x100ec0a3
mov edi, 0x428e
jmp 0x100ec082
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100ec082
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call dword [0x1019c9e0]
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x100ec082
add edi, 3
jmp 0x100ec082
mov edi, 0x3ea0
push edi
mov ecx, 0x10200a8c
call fcn.1001f2f8
test eax, eax
je 0x100ec0a7
mov eax, dword [0x10200a8c]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x100ec09c
call fcn.1001fb1d
int3
Function at 0x10116152
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.10031ff7
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x1011618e
call fcn.1011636f
mov dword [esi + 0xc], 1
jmp 0x10116193
call fcn.1011636f
cmp dword [esi], 0
je 0x101161de
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x101161b9
push edi
call fcn.10029572
lea ecx, [edi + 1]
push ecx
jmp 0x101161c8
push 0xff
call fcn.1001f3d3
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.10024277
pop edi
jmp 0x10116202
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x10116202
push dword [esi]
push dword [ebp - 4]
call fcn.1002b3ae
pop esi
leave
ret 0xc

Function at 0x101162c6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.1011636f
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x1011630e
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10029572
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10024277
jmp 0x10116319
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.1002b3ae
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10117765
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x101178ab
mov ecx, 0x101f7aa4
call fcn.10028290
mov esi, eax
test esi, esi
je 0x101178a0
xor eax, eax
cmp word [esi + 8], ax
jne 0x1011786a
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x10117826
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x101177ec
push str.MS_UI_Gothic
call fcn.101178e9
pop ecx
test eax, eax
je 0x101177ec
mov eax, edi
neg eax
push 0xfc11
sbb eax, eax
and eax, 0xe
add eax, 0x3ee
push eax
push 5
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x10117807
neg edi
push 5
sbb edi, edi
and edi, 0xe
add edi, 0x3ee
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10117826
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test eax, eax
je 0x1011782c
push ebx
push edi
push eax
call fcn.1011730e
add esp, 0xc
jmp 0x1011782c
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push 2
mov eax, dword [eax - 0xc]
inc eax
push eax
call fcn.10027d42
pop ecx
pop ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, eax
mov dword [esi + 4], ecx
test ecx, ecx
je 0x101178a5
mov eax, dword [edi]
push eax
mov eax, dword [eax - 0xc]
inc eax
push eax
push ecx
call fcn.10028c7d
mov ax, word [ebx]
add esp, 0xc
mov word [esi + 8], ax
xor eax, eax
jmp 0x1011786d
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x1011787b
push edi
call fcn.10172d09
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.1001f4ce
movzx ecx, word [esi + 8]
mov edx, 0xffff
xor eax, eax
mov word [ebx], cx
pop edi
cmp cx, dx
pop esi
setne al
pop ebx
pop ebp
ret 0xc
call fcn.1001fb1d
call fcn.1001fb37
int3

Function at 0x101179ac
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.101776cb
pop ecx
test eax, eax
jne 0x101179ee
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.10024506
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x101179b4
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret
Function at 0x10151910
Capabilities:
Get file system object information

Disassembly:
push 0x6f8
mov eax, 0x10199d48
call fcn.101661fa
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x700], edi
test ecx, ecx
je 0x10151aa1
mov eax, dword [ebp + 0x10]
sub eax, esi
je 0x10151a73
sub eax, 1
je 0x1015198f
sub eax, 1
je 0x10151967
sub eax, 1
je 0x1015198f
push 0x101ce2fc
mov ecx, edi
call fcn.1001eac9
mov eax, edi
call fcn.101661a9
ret 0x10
push 0x408
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x10151951
lea eax, [ebp - 0x4e8]
push eax
jmp 0x10151956
lea eax, [ebp - 0x218]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x10151951
push esi
lea eax, [ebp - 0x448]
mov dword [ebp - 0x448], esi
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x444], esi
push eax
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x434], esi
call fcn.100826a6
test eax, eax
je 0x10151951
lea ecx, [ebp - 0x700]
call fcn.1001eb26
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x10151a29
test byte [ebp - 0x428], 0x18
jne 0x10151a4b
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
push dword [ebp - 0x42c]
mov esi, dword [eax + 0x1a0]
mov ecx, esi
push dword [ebp - 0x430]
call dword [0x1019c9e0]
mov ecx, ebx
call esi
jmp 0x10151a4b
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
lea ecx, [ebp - 0x440]
push ecx
mov esi, dword [eax + 0x1a4]
mov ecx, esi
call dword [0x1019c9e0]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x700]
add eax, 0xfffffff0
push eax
call fcn.10020501
pop ecx
mov ecx, dword [ebp - 0x700]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.1001e6c0
jmp 0x1015195d
push 0x208
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x10151951
lea eax, [ebp - 0x6f0]
jmp 0x1015198c
call fcn.1001fb1d
int3

Function at 0x10151c19
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.101621ab
call fcn.10028970
cmp dword [eax + 0x14], 0
jne 0x10151c34
mov ecx, esi
pop esi
jmp fcn.10150f1d
pop esi
ret

Function at 0x101525af
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x101f8000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2bc], esi
test eax, eax
je 0x10152619
push 0x208
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, esi
test eax, eax
je 0x101525fe
lea eax, [ebp - 0x2ac]
push eax
jmp 0x10152603
push 0x101c3aa0
call fcn.1001eac9
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.101657fc
leave
ret 8
call fcn.1001fb1d
int3
Function at 0x10152afe
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call sym.mwmcy.dll_GameStart
call fcn.10028970
cmp dword [eax + 0x14], 0
jne 0x10152b19
mov ecx, esi
pop esi
jmp fcn.10152359
pop esi
ret

Function at 0x10156778
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 8
mov eax, 0x1018f639
call fcn.101661c7
mov edi, ecx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x100
jne 0x10156864
mov esi, dword [ebx + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x10156864
cmp esi, 0x43
je 0x101567ba
cmp esi, 0x2d
jne 0x10156864
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10156864
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.1001eb26
movzx eax, byte [edi + 0xe6]
and dword [ebp - 4], 0
push eax
movzx eax, byte [edi + 0xe5]
push eax
movzx eax, byte [edi + 0xe4]
push eax
lea eax, [ebp - 0x10]
push str.RGB__d___d___d_
push eax
call fcn.10020709
mov esi, dword [ebp - 0x10]
add esp, 0x14
lea eax, [esi - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
lea eax, [eax*2 + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10156852
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x10156852
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
call fcn.1001e6c0
push ebx
mov ecx, edi
call fcn.100df3d6
call fcn.10166195
ret 4

Function at 0x1016bed0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1016bf0f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1016bf0f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1016bf0f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1016bf0f
cmp dword [ecx + 0x74], 0xe
jbe 0x1016bf0f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret