joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ac58
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x40aca0
mov ecx, dword [ebp - 0x10]
dec ecx
lea edx, [ebp - 0x110]
mov eax, dword [ebp + 8]
call fcn.004042c8
jmp 0x40acab
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.0040422c
mov esp, ebp
pop ebp
ret 4

Function at 0x40acb4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 2
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ace2
mov al, byte [ebp - 0xc]
mov byte [ebp - 0xa], al
jmp 0x40ace8
mov al, byte [ebp - 9]
mov byte [ebp - 0xa], al
mov al, byte [ebp - 0xa]
mov esp, ebp
pop ebp
ret

Function at 0x40b470
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbb4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0x400
lea ecx, [ebp - 0x44c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040b2b8
mov eax, dword [0x42a9f4]
cmp byte [eax], 0
je 0x40b503
mov eax, dword [0x42a8e4]
call fcn.00402d7c
call fcn.00402800
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x44c]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x44c]
call fcn.004081e4
push eax
lea eax, [ebp - 0x44c]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0xc]
push eax
push 2
push 0x40b548
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b539
push 0x40
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [0x42a8bc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x42b668]
call fcn.00405494
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov esp, ebp
pop ebp
ret

Function at 0x40c650
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40c6ba
push dword fs:[eax]
mov dword fs:[eax], esp
push 7
lea eax, [ebp - 0xf]
push eax
push 0x1004
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xf]
mov ecx, 7
call fcn.00404448
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004078bc
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6c1
lea eax, [ebp - 0x14]
call fcn.004041d8
ret
Function at 0x4178a8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindResourceA
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
jne 0x4178de
push ebp
call fcn.00417838
pop ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_LoadResource
mov edx, dword [ebp - 8]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
jne 0x417904
push ebp
call fcn.00417838
pop ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SizeofResource
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
push eax
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, dword [ebp - 8]
pop ecx
call fcn.00417380
mov esp, ebp
pop ebp
ret 4
Function at 0x429024
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004041d8
push esp
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [esp], 0
je 0x429069
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x429069
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x104
call fcn.00404448
add esp, 0x108
pop esi
pop ebx
ret
Function at 0x1002515
Capabilities:
Query or enumerate registry value

Disassembly:
cmp esi, dword [0x104608c]
je 0x1002532
mov ebx, dword [ebp + 8]
xor edi, edi
push edi
lea eax, [ebp - 0x20]
push eax
push ebx
call fcn.010022ed
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
mov eax, 0xc40000
and ecx, eax
cmp ecx, eax
lea eax, [ebp - 0x10]
push eax
push esi
jne 0x10025e1
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x10]
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_UnionRect]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x1002532
jmp 0x10236fe
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1002498
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x10024e7
push edi
push edi
push 0x102373c
push 0x100bde0
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x1023717
mov dword [ebp + 0x14], edi
cmp dword [ebp + 0x10], ebx
jne 0x1002532
cmp dword [ebp + 0x14], edi
jne 0x1023733
push esi
call fcn.0102d529
test eax, eax
je 0x1002532
xor eax, eax
inc eax
jmp 0x1002534

Function at 0x1002540
Capabilities:
Enumerate gui resources

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
push esi
mov esi, ecx
push 2
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push dword [esi + 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x102376c
lea eax, [ebp - 0x10]
push eax
push fcn.01002597
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x50], eax
pop esi
leave
ret 4
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x50]
call fcn.01002597
test eax, eax
jne 0x1002578
mov eax, dword [ebp - 0xc]
jmp 0x100258d
Function at 0x1002db9
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x1023825
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [esi + 8]
cmp ecx, 0xdbba00
jbe 0x1002dc8
mov dword [esi + 8], eax
mov ecx, esi
pop esi
jmp fcn.0102d18f
Function at 0x1003d6d
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
cmp eax, 0xffffffea
mov esi, ecx
jbe 0x10051bf
cmp eax, 0xffffffec
je 0x102430b
cmp eax, 0xfffffff1
je 0x102429a
cmp eax, 0xfffffff4
jne 0x10051f2
push 0
push edi
mov ecx, esi
call fcn.01003dba
pop edi
pop esi
pop ebx
leave
ret 4
je 0x10148cf
cmp eax, 0xfffffd33
je 0x10148db
cmp eax, 0xfffffd37
je 0x1021faf
cmp eax, 0xfffffd3a
je 0x1024215
cmp eax, 0xfffffdee
jne 0x10051f2
jmp 0x10241af
xor eax, eax
jmp 0x1003dae
mov ecx, esi
call fcn.0100fb4d
jmp 0x10051f2
push edi
mov ecx, esi
call fcn.0102fa6a
jmp 0x10051f2
cmp dword [esi + 0x64], 0
jne 0x102427a
test byte [edi + 0x14], 2
je 0x10051f2
jmp 0x1024282
push dword [edi + 4]
lea ecx, [esi + 0x3c]
call fcn.0102da58
push 1
xor ebx, ebx
push ebx
push eax
mov ecx, esi
mov dword [ebp + 8], eax
call fcn.010021c0
test eax, eax
je 0x10241f9
cmp dword [eax], ebx
jne 0x10241f9
push dword [ebp + 8]
mov ecx, esi
lea ebx, [edi + 0x10]
call fcn.01004bdc
push eax
push 0x1024344
push 0x50
push ebx
call fcn.0101f955
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
push 0
push 0x50
pop eax
sub eax, ebx
push eax
lea eax, [edi + ebx*2 + 0x10]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.01004442
jmp 0x10051f2
push dword [edi + 0xc]
lea ecx, [esi + 0x3c]
call fcn.0102da58
mov ecx, esi
mov edi, eax
call fcn.0100261b
cmp eax, 0xffffffff
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [esi + 0x48], eax
je 0x102424c
push eax
mov ecx, esi
call fcn.010027e8
cmp eax, edi
jne 0x102424c
push 0x11
call ebx
test ax, ax
jge 0x1024256
push 0
push edi
mov ecx, esi
call fcn.0100385e
push 0x11
call ebx
test ax, ax
jl 0x10051f2
push 0
push edi
mov ecx, esi
call fcn.0100385e
push edi
mov ecx, esi
call fcn.0102f102
jmp 0x10051f2
xor eax, eax
inc eax
jmp 0x1003dae
push dword [edi + 0x10]
lea ecx, [esi + 0x3c]
call fcn.0102da58
push eax
mov ecx, esi
call fcn.01003821
jmp 0x10051f2
mov edi, dword [edi + 0xc]
cmp edi, 0xd
je 0x10242ab
cmp edi, 0x20
jne 0x10051f2
push 0
push 0
push 0x447
lea edi, [esi + 0x3c]
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
test ebx, ebx
jl 0x102427a
lea eax, [ebp - 0x20]
push eax
push ebx
mov ecx, edi
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0x1c], reloc.SHELL32.dll_SHChangeNotifyDeregister
call fcn.0100222f
xor byte [ebp - 0x10], 1
lea eax, [ebp - 0x20]
push eax
push ebx
mov ecx, edi
call fcn.01003b77
push 1
push 0
push ebx
mov ecx, esi
call fcn.010021c0
push 0
push eax
push ebx
mov ecx, esi
call fcn.0102f9cb
jmp 0x102427a
push dword [edi + 0xc]
lea ecx, [esi + 0x3c]
call fcn.0102da58
push 1
push 0
push eax
mov ecx, esi
call fcn.010021c0
test eax, eax
je 0x10051f2
cmp dword [eax], 0
je 0x10051f2
mov ecx, esi
call fcn.0100261b
mov dword [esi + 0x48], eax
jmp 0x10051f2
Function at 0x1003dba
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
jne 0x1003ddc
mov eax, dword [ebx + 0x2c]
mov dword [ebp + 0xc], eax
mov esi, eax
mov eax, dword [ebx + 0xc]
and dword [ebp + 8], 0
dec eax
je 0x1003e1a
sub eax, 0x10000
jne 0x1003e23
test byte [ebx + 0x28], 8
jne 0x1003e43
test byte [esi + 4], 1
jne 0x1023aa8
test byte [esi + 4], 0x20
jne 0x1020847
cmp dword [esi], 0
je 0x1023b12
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 8
mov dword [ebp + 8], 0x20
jmp 0x1003e10
dec eax
jne 0x1003e10
cmp dword [esi], 0
je 0x1023a59
test byte [ebx + 0x28], 8
je 0x1003e10
push dword [edi + 0x6c]
push dword [ebx + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x1003e10
call fcn.01003e6e
test eax, eax
jne 0x1003df3
mov eax, dword [edi + 0x80]
mov ecx, dword [ebx + 0x10]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [edi + 0x6c], eax
mov dword [ebp + 8], 0x12
jmp 0x1003df3
mov dword [ebp + 8], 4
jmp 0x1003e07
push dword [ebx + 0x24]
lea ecx, [edi + 0x3c]
call fcn.0102da58
mov ecx, dword [ebx + 0x1c]
lea esi, [ebx + 0x54]
cmp ecx, dword [esi]
jl 0x1003e2f
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
sub ecx, dword [ebx + 0x6c]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 4]
push 0
push eax
call fcn.01004bdc
mov ecx, dword [ebp - 4]
push eax
push dword [ebx + 0x10]
call fcn.0102ed82
mov edi, dword [ebp - 4]
jmp 0x1003e2f
mov eax, dword [edi + 0x84]
test eax, eax
je 0x1023ada
push 0
lea ecx, [ebx + 0x14]
push ecx
mov ecx, dword [ebx]
xor edx, edx
cmp ecx, dword [edi + 0x3c]
push 0
setne dl
inc edx
inc edx
push edx
push dword [ebx + 0x10]
push eax
call dword [sym.imp.UxTheme.dll_DrawThemeBackground]
or byte [ebp + 0xa], 0x40
jmp 0x1003dfd
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
call esi
push 0xd
mov dword [ebx + 0x50], eax
call esi
push 0xe
mov dword [ebx + 0x48], eax
call esi
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x28]
test al, 0x40
jne 0x1023b06
or eax, 0x40
or byte [ebp + 0xa], 1
mov dword [ebx + 0x28], eax
or byte [ebp + 0xa], 2
mov esi, dword [ebp + 0xc]
jmp 0x1003dfd
push dword [ebx + 0x24]
or dword [ebp + 8], 0x10
lea ecx, [edi + 0x3c]
call fcn.0102da58
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
mov ecx, edi
call fcn.01004bdc
push eax
push dword [ebx + 0x10]
mov ecx, edi
call fcn.0102ed82
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [ebx + 0x6c], eax
jmp 0x1003e10

Function at 0x1003e6e
Capabilities:
Identify system language via api

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, eax
and cx, 0x3ff
cmp cx, 4
je 0x10236c3
xor eax, eax
ret
shr ax, 0xa
cmp ax, 1
je 0x10236d7
cmp ax, 2
jne 0x1003e85
xor eax, eax
inc eax
ret
Function at 0x100eb38
Capabilities:
Set registry value

Disassembly:
push 0
push 1
push 0x590
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret
mov edi, edi
push esi
mov esi, ecx
call fcn.0100ebca
test eax, eax
je 0x100da94
push 0x40000042
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x100da94
call fcn.0100bebf
test eax, eax
je 0x1025575
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x100daa6
push 1
call dword [sym.imp.USER32.dll_LockSetForegroundWindow]
push 0
push 0
push 0x590
push dword [esi + 4]
mov dword [esi + 0x43c], 1
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 1
push 0xf3
push 0x130
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
pop esi
jmp fcn.0100ed3a
push 0
push 1
push 0x590
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x321
push 0x320
mov ecx, esi
call fcn.010301d9
pop esi
ret

Function at 0x100ebca
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x100ec1c
push 0x100bde0
push SysReAllocString
mov esi, ecx
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
call fcn.0100bebf
test eax, eax
je 0x1025554
cmp dword [ebp - 4], 2
sbb eax, eax
neg eax
pop esi
leave
ret
mov eax, dword [ebp - 4]
sub eax, 0
je 0x102556d
dec eax
jne 0x1025566
mov ecx, esi
call fcn.0100ed3a
xor eax, eax
jmp 0x100ec16
xor eax, eax
inc eax
jmp 0x100ec16
Function at 0x100ee4f
Capabilities:
Enumerate files on windows
Get common file path
Get program files directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x1046080]
push esi
push 0x220
xor esi, esi
push esi
mov dword [ebp - 4], eax
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
je 0x100eefc
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push 0x26
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x100eefc
push edi
push 0x20
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov edi, eax
cmp edi, esi
je 0x100eefb
lea eax, [ebp - 0x20c]
push eax
mov word [edi], si
mov esi, 0x104
push esi
lea eax, [ebp - 0x61c]
push eax
call fcn.0100660f
lea ecx, [ebp - 0x20c]
mov eax, edi
sub eax, ecx
sar eax, 1
push 0x100ef08
mov ecx, esi
sub ecx, eax
push ecx
push edi
call fcn.01006409
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1025fe4
pop edi
mov ecx, dword [ebp - 4]
pop esi
call fcn.01001aff
leave
ret
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.0100660f
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x840]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.0101e2d9
test byte [ebp - 0x86c], 0x10
je 0x102603a
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1026067
push 0x102608c
push 5
lea eax, [ebp - 0x414]
push eax
push 0x1032f77
push 0x14
push dword [0x10460dc]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_292]
cmp eax, 5
je 0x102607d
lea eax, [ebp - 0x86c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1025fe4
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x100eefb
Function at 0x101610e
Capabilities:
Enumerate gui resources

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x1046080]
push ebx
push esi
push edi
push 0x10162d8
mov dword [ebp - 4], eax
mov esi, ecx
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [esi + 0xc0], eax
lea eax, [esi + 8]
push eax
push dword [esi + 0x20]
call dword [sym.imp.ole32.dll_RegisterDragDrop]
xor ebx, ebx
push ebx
push ecx
mov eax, esp
push ebx
push 0x52009344
push ebx
push ecx
mov dword [eax], ebx
mov eax, esp
mov dword [eax], ebx
push dword [esi + 0x20]
lea edi, [esi + 0x3c]
mov ecx, edi
call fcn.0101607f
mov eax, dword [edi]
cmp eax, ebx
je 0x10162bf
push 0x353
push dword [0x10460dc]
push 0x44d
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.0101636a
mov eax, dword [esi + 0x78]
not eax
test al, 1
mov eax, 0x1015f8c
je 0x1024516
push eax
push ebx
push 0x200b
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x1002180
push dword [edi]
call fcn.0100be78
push 0x14
mov ecx, edi
call fcn.0101481f
xor ecx, ecx
push ecx
xor eax, eax
push eax
mov ecx, edi
call fcn.0100fb6a
push 0x3c0
mov ecx, edi
call fcn.0101483f
push ebx
push 6
push 0x2007
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.01015fa5
lea eax, [ebp - 0xb0]
push eax
mov ecx, edi
call fcn.0101485f
mov eax, dword [eax]
cmp eax, ebx
je 0x1016216
push 3
push 3
push 0xfffffffffffffff0
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_165]
push 0x10162c4
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 3
push dword [esi + 0x20]
mov dword [esi + 0x40], eax
call dword [sym.imp.SHELL32.dll_Ordinal_181]
push 1
push ebx
push ebx
mov ecx, esi
call fcn.01015c79
push esi
push 0x10162f1
call dword [sym.imp.USER32.dll_EnumWindows]
lea eax, [ebp - 0xac]
push eax
push 1
push 0x43a
push 0xc008000
push 0x8002
push dword [esi + 0x20]
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xac], ebx
call dword [sym.imp.SHELL32.dll_SHChangeNotifyRegister]
mov dword [esi + 0xbc], eax
push 0x50
lea eax, [ebp - 0xa4]
push eax
push 0x252
push dword [0x10460dc]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0xa4]
push eax
push dword [esi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
call esi
lea eax, [ebp - 0xa4]
push eax
push dword [edi]
call esi
xor eax, eax
mov ecx, dword [ebp - 4]
call fcn.01001aff
pop edi
pop esi
pop ebx
leave
ret
or eax, 0xffffffff
jmp 0x10162b2
mov eax, 0x1029c60
jmp 0x101619f
Function at 0x102ba2a
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x102ba43
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esi]
and dword [esi + 8], 0
test eax, eax
je 0x102bb49
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 4
pop ebx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
push 0
push 0x102bb80
push eax
mov dword [ebp - 4], ebx
call edi
test eax, eax
jne 0x102bb47
cmp dword [ebp - 8], ebx
jne 0x102bb47
cmp dword [ebp - 4], ebx
jne 0x102bb47
cmp dword [ebp - 0xc], eax
je 0x102bb47
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
mov ebx, 0x102bb68
push ebx
push dword [esi]
call edi
test eax, eax
jne 0x102bb47
cmp dword [ebp - 8], 3
jne 0x102bb47
test dword [ebp - 4], 3
jne 0x102bb47
push dword [ebp - 4]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
mov dword [esi + 8], eax
je 0x102bb47
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 8]
push eax
push 0
push ebx
push dword [esi]
call edi
test eax, eax
jne 0x102bb3a
cmp dword [ebp - 8], 3
jne 0x102bb3a
mov eax, dword [ebp - 4]
test al, 3
jne 0x102bb3a
shr eax, 2
mov edi, eax
cmp edi, 0xa
jle 0x102bb3a
cmp edi, 0xca
jge 0x102bb3a
xor ecx, ecx
inc ecx
cmp ecx, edi
mov dword [esi + 0x10], edi
jge 0x102bb38
mov eax, dword [esi + 8]
add eax, 4
mov edx, dword [eax]
cmp edx, dword [eax - 4]
jbe 0x102bb36
cmp edx, 0xffff
ja 0x102bb36
inc ecx
add eax, 4
cmp ecx, dword [esi + 0x10]
jl 0x102bb1e
cmp ecx, edi
je 0x102bb47
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
and dword [esi + 8], 0
pop edi
pop ebx
mov eax, dword [esi + 8]
test eax, eax
je 0x102bb55
mov dword [esi + 0xc], eax
jmp 0x102bb63
mov dword [esi + 0xc], 0x102bba8
mov dword [esi + 0x10], 0x1a
pop esi
leave
ret

Function at 0x102bc15
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x102bc50
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x102bc50
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 1
push dword [esi + 4]
push 4
push 0
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov ecx, esi
pop esi
jmp fcn.0102ba2a
pop esi
ret
Function at 0x102cb26
Capabilities:
Get session user name
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
lea eax, [ebp - 4]
push eax
push 1
xor edi, edi
and dword [ebp - 4], edi
push edi
push 0x10133d0
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov ebx, dword [ebp + 8]
jne 0x102cb91
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
shl eax, 1
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push edi
push 0x102cbb4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x102cb84
cmp dword [ebp - 8], 1
jne 0x102cb84
cmp word [ebx], ax
je 0x102cb84
inc edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x102cbaa
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov edi, eax
test edi, edi
je 0x102cbaa
push 1
push ebx
call dword [sym.imp.USER32.dll_CharUpperBuffW]
mov eax, edi
pop edi
pop ebx
leave
ret 8

Function at 0x102da58
Capabilities:
Capture webcam image

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0
push dword [ebp + 8]
push 0x419
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
pop ebp
ret 4