joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10088db0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x10088df9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x10089270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100d32d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.10088e20
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.10088ea0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.10088ea0
lea ecx, [esi + 0xc]
call fcn.100c138e
lea ecx, [esi + 0x10]
call fcn.100c138e
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.1008a430
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.1008a430
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.1008a430
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.100c1403
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.100c1403
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x1008a8e0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x100d3518
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
call fcn.100a8b68
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x38], 0
call fcn.100c1471
lea ecx, [esp + 0x3c]
push 1
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 1
call fcn.100be813
mov eax, dword [eax]
push 0x101eb5d8
push eax
call fcn.100afa84
add esp, 8
lea ecx, [esp + 0x3c]
test eax, eax
setne bl
call fcn.100c1403
test bl, bl
je 0x1008a960
push 0x101eb5d8
lea ecx, [esp + 0xc]
call fcn.100c17df
push 0x101eb5d4
lea ecx, [esp + 0xc]
call fcn.100c17df
mov edx, dword [esp + 8]
push 0
push edx
lea ecx, [esp + 0x18]
call fcn.100a8c2b
test eax, eax
je 0x1008aa24
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
mov bl, 2
lea ecx, [esp + 0x18]
call fcn.100a8e4b
mov edi, eax
mov eax, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [eax + 0x38]
test eax, eax
je 0x1008a9e0
lea ecx, [esp + 0x18]
call fcn.100a8e12
test eax, eax
jne 0x1008a9e0
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x1c]
call fcn.100a8f1a
mov eax, dword [eax]
mov ecx, esi
push eax
mov byte [esp + 0x40], bl
call fcn.1008a8e0
mov byte [esp + 0x3c], 1
lea ecx, [esp + 0x44]
jmp 0x1008aa15
lea ecx, [esp + 0x18]
call fcn.100a8e12
test eax, eax
jne 0x1008aa1a
mov edx, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [edx + 0x38]
test eax, eax
jne 0x1008aa1a
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
call fcn.100a8f1a
mov eax, dword [eax]
push eax
call ebp
lea ecx, [esp + 0x14]
call fcn.100c1403
test edi, edi
jne 0x1008a990
pop edi
pop ebp
lea ecx, [esp + 0x10]
call fcn.100a8be1
lea ecx, [esp + 8]
mov byte [esp + 0x34], 0
call fcn.100c1403
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.100a8ba5
mov ecx, dword [esp + 0x2c]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x1008aa60
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ecx
push ebx
push esi
lea eax, [esp + 8]
push edi
mov edi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
xor ebx, ebx
push eax
push ebx
push ebx
mov dword [esp + 0x18], ebx
call edi
mov ecx, dword [esp + 0xc]
push ecx
call fcn.100c1144
add esp, 4
lea edx, [esp + 0xc]
mov esi, eax
push edx
push esi
push ebx
call edi
mov edi, eax
cmp edi, ebx
je 0x1008ab07
mov ebx, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
jne 0x1008aab5
test dword [esi + 0xc], 0x100000
jne 0x1008aacd
mov eax, dword [esi + 4]
push eax
jmp 0x1008aac7
cmp ebp, 1
jne 0x1008aacd
test dword [esi + 0xc], 0x100000
je 0x1008aacd
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
push edx
push 0
push edi
call ebx
push esi
call fcn.100c116d
mov eax, dword [esp + 0x14]
push eax
call fcn.100c1144
add esp, 8
lea ecx, [esp + 0x10]
mov esi, eax
push ecx
push esi
push edi
call ebx
test eax, eax
jne 0x1008aaa2
mov ebx, 1
pop ebp
test esi, esi
je 0x1008ab14
push esi
call fcn.100c116d
add esp, 4
pop edi
mov eax, ebx
pop esi
pop ebx
pop ecx
ret 4
Function at 0x1008ab20
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x100d3546
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [0x101ed984]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0x15c], 0
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x164]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x160], 1
call fcn.100c158c
push str..
lea ecx, [esp + 0x10]
call fcn.100c17df
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x1008abc3
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 0
call fcn.100c1403
lea ecx, [esp + 8]
mov dword [esp + 0x15c], 0xffffffff
call fcn.100c1403
xor eax, eax
jmp 0x1008ad08
push ebp
mov ebp, dword [esp + 0x16c]
push edi
mov edi, dword [esp + 0x174]
lea edx, [esp + 0x48]
push 0x101eb5f8
push edx
call fcn.100afa84
add esp, 8
test eax, eax
je 0x1008acb9
lea eax, [esp + 0x48]
push 0x101eb5f4
push eax
call fcn.100afa84
add esp, 8
test eax, eax
je 0x1008acb9
test ebp, ebp
jne 0x1008ac25
lea ecx, [esp + 0x48]
push str.desktop.ini
push ecx
call fcn.100afb33
add esp, 8
test eax, eax
je 0x1008acb9
push esi
lea ecx, [esp + 0x14]
call fcn.100c158c
push 0x5c
lea ecx, [esp + 0x14]
call fcn.100c1806
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
push edx
call fcn.100c17df
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x1008ac65
mov ecx, dword [esp + 0x10]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test byte [esp + 0x1c], 0x10
je 0x1008ac87
mov edx, dword [esp + 0x10]
push edi
push ebp
push edx
mov ecx, ebx
call fcn.1008ab20
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x1008acb9
test edi, edi
je 0x1008acae
lea ecx, [esp + 0x48]
push str.index.dat
push ecx
call fcn.100afb33
add esp, 8
test eax, eax
jne 0x1008acae
lea edx, [esp + 0x48]
mov ecx, ebx
push edx
push esi
call fcn.1008ad30
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1008abd3
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 0
call fcn.100c1403
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
call fcn.100c1403
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x154]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret 0xc
Function at 0x1008ad30
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100d355b
push eax
mov eax, 0x2718
mov dword fs:[0], esp
call fcn.100b0340
mov eax, dword [0x101ed984]
push edi
mov dword [esp + 4], eax
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 0x2724], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x272c]
push ecx
lea ecx, [esp + 8]
call fcn.100c158c
push 0x5c
lea ecx, [esp + 8]
call fcn.100c1806
mov edx, dword [esp + 0x2730]
lea ecx, [esp + 4]
push edx
call fcn.100c17df
mov eax, dword [esp + 4]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1008add6
lea ecx, [esp + 4]
mov dword [esp + 0x2724], eax
call fcn.100c1403
xor eax, eax
jmp 0x1008ae53
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
mov esi, eax
push 0x40
push edi
sub esi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jbe 0x1008ae31
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, 0x2710
push 0
jbe 0x1008ae23
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x2710
push edx
push edi
call ebx
sub esi, 0x2710
jne 0x1008adfd
jmp 0x1008ae31
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x272c], 0xffffffff
call fcn.100c1403
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x271c]
pop edi
mov dword fs:[0], ecx
add esp, 0x2724
ret 8

Function at 0x1008aee0
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
xor esi, esi
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x9c
call edi
test eax, eax
jne 0x1008af2c
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call edi
test eax, eax
jne 0x1008af2c
pop edi
pop esi
add esp, 0x9c
ret
cmp dword [esp + 0x18], 2
jne 0x1008af3f
cmp dword [esp + 0xc], 5
jb 0x1008af3f
mov esi, 1
mov eax, esi
pop edi
pop esi
add esp, 0x9c
ret
Function at 0x1008af50
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x100d357b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push esi
mov esi, dword [esp + 0x144]
push esi
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call fcn.100c1471
mov eax, dword [esp + 0x148]
test eax, eax
jne 0x1008b022
mov eax, dword [esp + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1008afba
lea ecx, [esp + 4]
mov dword [esp + 0x13c], 0xffffffff
call fcn.100c1403
xor eax, eax
jmp 0x1008b072
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x1008afd5
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x1008b026
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea edx, [esp + 0xc]
mov esi, eax
push edx
push esi
mov dword [esp + 0x14], pe_nt_image_headers32
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1008b026
mov ecx, dword [esp + 4]
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.100afb33
add esp, 8
test eax, eax
je 0x1008b01e
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1008aff7
jmp 0x1008b026
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
test eax, eax
jne 0x1008b046
lea ecx, [esp + 4]
mov dword [esp + 0x13c], 0xffffffff
call fcn.100c1403
xor eax, eax
jmp 0x1008b072
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x13c], 0xffffffff
call fcn.100c1403
mov eax, esi
mov ecx, dword [esp + 0x134]
pop esi
mov dword fs:[0], ecx
add esp, 0x13c
ret 8
Function at 0x1008b090
Capabilities:
Get memory capacity

Disassembly:
mov ecx, dword [0x101eb5d0]
sub esp, 0xd4
cmp ecx, 0xffffffff
push esi
jne 0x1008b10a
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1008b0cf
mov edx, dword [esp + 0x48]
mov ecx, 4
cmp ecx, edx
sbb ecx, ecx
inc ecx
mov dword [0x101eb5d0], ecx
jmp 0x1008b0d5
mov ecx, dword [0x101eb5d0]
test ecx, ecx
jne 0x1008b10a
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x1008b104
push str.GlobalMemoryStatusEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x101eb5d0]
mov esi, eax
mov dword [0x10220194], esi
jmp 0x1008b110
mov ecx, dword [0x101eb5d0]
mov esi, dword [0x10220194]
test esi, esi
jne 0x1008b11f
mov ecx, 1
mov dword [0x101eb5d0], ecx
xor eax, eax
xor edx, edx
test ecx, ecx
je 0x1008b1f2
lea edx, [esp + 4]
mov dword [esp + 4], 0x20
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 0xdc]
dec eax
cmp eax, 4
ja case.default.0x1008b14f
jmp dword [eax*4 + 0x1008b2cc]
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, 0x14
call fcn.100b02d0
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x1c]
xor edx, edx
mov ecx, 0x14
call fcn.100b02d0
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x20]
xor edx, edx
mov ecx, 0x14
call fcn.100b02d0
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x14]
xor edx, edx
mov ecx, 0x14
call fcn.100b02d0
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x18]
xor edx, edx
mov ecx, 0x14
call fcn.100b02d0
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0xc]
xor edx, edx
mov ecx, 0x14
call fcn.100b02d0
pop esi
add esp, 0xd4
ret 4
test esi, esi
je 0x1008b2b7
lea ecx, [esp + 4]
mov dword [esp + 4], 0x40
push ecx
call esi
mov edx, dword [esp + 0xdc]
lea eax, [edx - 1]
cmp eax, 4
ja case.default.0x1008b21c
jmp dword [eax*4 + 0x1008b2e0]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, 0x14
call fcn.100b02d0
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ecx, 0x14
call fcn.100b02d0
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ecx, 0x14
call fcn.100b02d0
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, 0x14
call fcn.100b02d0
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ecx, 0x14
call fcn.100b02d0
pop esi
add esp, 0xd4
ret 4
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, 0x14
call fcn.100b02d0
pop esi
add esp, 0xd4
ret 4
Function at 0x1008b300
Capabilities:
Empty the recycle bin
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x104
push esi
xor esi, esi
push edi
cmp eax, 3
mov edi, ecx
ja case.default.0x1008b319
jmp dword [eax*4 + 0x1008b3e8]
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je case.default.0x1008b319
push 0
lea ecx, [esp + 0xc]
push 1
push ecx
mov ecx, edi
call fcn.1008ab20
mov esi, eax
pop edi
pop esi
add esp, 0x104
ret 4
push 0
mov ecx, edi
call fcn.1008aa60
push 0
lea edx, [esp + 0xc]
push 0x20
push edx
push 0
mov esi, eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je case.default.0x1008b319
lea eax, [esp + 8]
mov ecx, edi
push eax
call fcn.1008a8e0
mov eax, esi
pop edi
pop esi
add esp, 0x104
ret 4
push 7
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHEmptyRecycleBinA]
mov esi, eax
pop edi
neg esi
sbb esi, esi
inc esi
mov eax, esi
pop esi
add esp, 0x104
ret 4
push 1
mov ecx, edi
call fcn.1008aa60
push 0
lea ecx, [esp + 0xc]
push 0x21
push ecx
push 0
mov esi, eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je case.default.0x1008b319
lea edx, [esp + 8]
mov ecx, edi
push edx
call fcn.1008a8e0
mov eax, esi
pop edi
pop esi
add esp, 0x104
ret 4
Function at 0x1008b710
Capabilities:
Create process on windows

Disassembly:
push str.Microsoft_Internet_Explorer
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
mov ecx, dword [esp + 4]
push 1
push 0
push 0
push ecx
push 0x101eb69c
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret 4
Function at 0x10094570
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.1009a9f0
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x10094669
lea ecx, [esp + 0x10]
push ecx
push str..htm
push accept
mov ecx, esi
call fcn.10094680
test eax, eax
jne 0x10094669
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push accept
mov ecx, esi
call fcn.10094680
test eax, eax
jne 0x10094669
lea edx, [esp + 0x10]
push 0x101ecc14
push edx
call fcn.100b0ba0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1009463a
lea eax, [esp + 0x10]
push 0x101ecc10
push eax
call fcn.100b0ba0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1009463a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x1009463d
mov byte [esi], 0
push 0x101ec3d8
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x10094680
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x100946e2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x1009a930
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100d4138
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x1009a9e0
mov eax, dword [0x101ed984]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.100c1833
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.100c1882
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.100c17df
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x1009a9c7
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x1009a9c7
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.100c1403
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x1009dae0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100d45c0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x1009dc87
mov ecx, dword [0x101ed984]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x1009dbdc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.1009c800
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.100c153c
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.100c1403
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x101ec3d8
call fcn.100c1471
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.1009cbc0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.100c153c
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.100c1403
lea ecx, [esp + 0xc]
call fcn.100c1917
mov ecx, dword [esp + 0xc]
push 0x101ece14
push ecx
call fcn.100afa84
add esp, 8
test eax, eax
je 0x1009dc04
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x1009db3d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.100c1403
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.100c1403
jmp 0x1009dc8b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.1009d880
test eax, eax
push 0
je 0x1009dc6f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.1009bf20
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1009dc55
cmp eax, 0x64
jg 0x1009dc43
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x1009dbe0
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x1009dbe0
cmp eax, 0x64
jge 0x1009dbdc
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x1009dbe0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.1009bf20
mov esi, eax
jmp 0x1009dbe0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x1009dc95
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x100a8546
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x14], edi
mov ebx, ecx
je 0x100a8584
call fcn.100cb394
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x100a8584
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100a859b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push 1
test edi, edi
pop eax
je 0x100a859b
push dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, ebx
push edi
push dword [esp + 0x18]
call dword [eax + 0x1c]
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x100c38d3
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100c390b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.100c18aa
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100c1882
jmp 0x100c3917
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100c4fc6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x100c5008
call fcn.100cb394
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100c5008
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100c4fff
xor eax, eax
jmp 0x100c5010
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100c5016
pop edi
pop esi
pop ebx
ret 4