joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4073e2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x461134], 0
jne 0x407420
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4073f6
mov dword [ecx*4 + 0x461130], eax
inc ecx
cmp ecx, 0x100
jl 0x4073f1
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x40744d
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x461130]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x40742e
not eax
pop ebp
ret 0xc

Function at 0x62a0ad
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6303b0
cmp edx, dword [eax]
je 0x62a0cf
add eax, 8
inc ecx
cmp eax, 0x630440
jl 0x62a0c0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6303b0]
jne 0x62a1fd
mov eax, dword [0x637d44]
cmp eax, 1
je 0x62a1d7
test eax, eax
jne 0x62a100
cmp dword [0x6302d8], 1
je 0x62a1d7
cmp edx, 0xfc
je 0x62a1fd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62a137
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062aa90
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062af20
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62a17a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062af20
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62f4ac
push edi
call fcn.0062cdf0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062aa90
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062aaa0
lea eax, [ebp - 0xa0]
push 0x62f48c
push eax
call fcn.0062aaa0
push dword [esi + 0x6303b4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062aaa0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062cd64
add esp, 0x2c
pop edi
jmp 0x62a1fd
lea eax, [ebp + 8]
lea esi, [esi + 0x6303b4]
push 0
push eax
push dword [esi]
call fcn.0062af20
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x100090f0
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007f758
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100a6250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10009176
xorps xmm0, xmm0
xor esi, esi
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x10009192
call fcn.10008cf0
test eax, eax
jns 0x10009197
xor esi, esi
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10009174
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001a767
mov esp, ebp
pop ebp
ret
mov esi, eax
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
cmp ebx, 0xffffffff
jne 0x100091b8
call fcn.10008cf0
test eax, eax
js 0x10009164
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
test eax, eax
jb 0x10009164
ja 0x10009164
test ebx, ebx
je 0x10009164
test eax, eax
ja 0x10009164
jb 0x100091d3
cmp ebx, 0x500000
jae 0x10009164
mov edx, dword [edi + 0x10]
cmp ebx, edx
ja 0x100091ed
mov dword [edi + 0x10], ebx
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x100091e7
mov eax, dword [edi]
mov byte [eax + ebx], 0
jmp 0x1000923a
mov eax, dword [edi + 0x14]
mov ecx, ebx
sub ecx, edx
mov dword [ebp - 0x14], eax
sub eax, edx
mov dword [ebp - 0x18], ecx
cmp ecx, eax
ja 0x10009228
cmp dword [ebp - 0x14], 0x10
mov eax, edi
mov dword [edi + 0x10], ebx
jb 0x1000920d
mov eax, dword [edi]
push ecx
lea esi, [eax + edx]
push 0
push esi
call fcn.100456c0
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov byte [esi + eax], 0
mov esi, dword [ebp - 0x24]
jmp 0x1000923a
push 0
push ecx
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push ecx
mov ecx, edi
call fcn.10008980
cmp dword [edi + 0x14], 0x10
jb 0x10009242
mov edi, dword [edi]
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000926d
call fcn.10008cf0
mov esi, eax
not esi
shr esi, 0x1f
jmp 0x10009166
xor esi, esi
mov eax, 0x80070026
cmp dword [ebp - 0x14], ebx
cmovne esi, eax
not esi
shr esi, 0x1f
jmp 0x10009166
Function at 0x10009370
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007f78b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x100a6250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
mov dword [ebp - 0x228], esi
push eax
mov dword [ebp - 0x224], 0
call fcn.100456c0
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
push 0x100893d0
push 1
push 0
push 0x100893e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
push 0
lea eax, [ebp - 0x218]
push eax
push 0x104
push 0x73
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x21c], 0x104
mov dword [ebp - 0x220], 1
call edi
test eax, eax
jne 0x10009448
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
push str.Wallpaper
push str.Control_PanelDesktop
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
jne 0x10009473
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x1000948d
mov eax, dword [ecx]
lea edx, [ebp - 0x218]
push 2
push 0x104
push edx
push ecx
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x1000948d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
jne 0x100094a5
push esi
call fcn.10009530
add esp, 4
jmp 0x100094fe
call fcn.10006f60
mov ecx, eax
test ecx, ecx
je 0x1000951b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.10008d80
test al, al
jne 0x100094fe
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100094e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10007190
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001a767
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10006e50
int3
Function at 0x10009530
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007f7d6
mov eax, dword fs:[0]
push eax
sub esp, 0x870
mov eax, dword [0x100a6250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x87c], esi
call fcn.10009860
test al, al
jne 0x100095b0
call fcn.10006f60
mov ecx, eax
test ecx, ecx
je 0x1000973f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x10087e70
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.10008d80
test al, al
jne 0x10009721
push 0
push 0x10087e70
jmp 0x1000971a
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100456c0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x10087fc0
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100456c0
push 0x250
lea eax, [ebp - 0x878]
push 0
push eax
call fcn.100456c0
add esp, 0x18
lea eax, [ebp - 0x878]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
test byte [ebp - 0x878], 0x10
jne 0x1000965f
cmp word [ebp - 0x84c], 0x2e
jne 0x1000966f
mov ax, word [ebp - 0x84a]
test ax, ax
je 0x1000965f
cmp ax, 0x2e
jne 0x1000966f
cmp word [ebp - 0x848], 0
jne 0x1000966f
lea eax, [ebp - 0x878]
push eax
push edi
call ebx
test eax, eax
jne 0x10009630
jmp 0x100096c5
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.100456c0
add esp, 0xc
lea eax, [ebp - 0x628]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.MicrosoftWindowsThemesCachedFiles
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x84c]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.10006f60
mov ecx, eax
test ecx, ecx
je 0x10009749
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.10008d80
test al, al
jne 0x10009721
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009703
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10007190
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001a767
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10006e50
push 0x80004005
call fcn.10006e50
int3
Function at 0x10009760
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x100a6250]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
push 2
mov dword [ebp - 0x234], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100097c6
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.100456c0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x100097d7
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a767
mov esp, ebp
pop ebp
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x238], eax
cmp eax, dword [ebp - 0x228]
je 0x10009814
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x10009814
lea eax, [ebp - 0x20c]
push eax
push dword [esi]
call fcn.1004c9d0
add esp, 8
test eax, eax
je 0x1000982d
add esi, 4
cmp esi, dword [edi + 4]
jne 0x100097f7
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x10009837
mov eax, dword [ebp - 0x238]
jmp 0x100097e8
mov dword [ebp - 0x234], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1001a767
mov esp, ebp
pop ebp
ret
Function at 0x10009cb0
Capabilities:
Modify service
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100a6250]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
push 0x20000000
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x10009dce
push esi
push 0xf01ff
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x10009d1a
push 0x14
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x10009d1a
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a767
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x10009dc1
cmp dword [ebp - 0x20], 1
jne 0x10009dc1
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10009db6
mov eax, dword [ebp - 8]
push 0x10089418
push eax
mov dword [ebp - 0x28], eax
call fcn.1001ac0f
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10009db6
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x28]
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
je 0x10009dad
mov eax, dword [ebx + 4]
cmp eax, 2
je 0x10009dad
cmp eax, 3
je 0x10009dad
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 3
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push ebx
call fcn.1001a724
add esp, 4
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1001a767
mov esp, ebp
pop ebp
ret

Function at 0x10009de0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10009e39
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10009e39
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10009e2a
cmp esi, edx
jae 0x10009e39
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10009e18
cmp esi, edx
jae 0x10009e39
cmp word [esi], 0
je 0x10009e39
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x10011130
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080268
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x100a6250]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.1001a729
mov edi, eax
add esp, 4
test edi, edi
je 0x100111d3
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1001bc59
add esp, 4
mov dword [edi + 4], eax
jmp 0x100111d5
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.1000ac40
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
call dword [edx + 0x30]
movzx edi, ax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x10011235
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x10011235
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov word [esi + 0x40], di
jne 0x10011259
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x1001127b
cmp byte [ebp + 0xc], 0
je 0x10011268
push esi
call fcn.1001c552
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x10011287
mov esi, str.ios_base::badbit_set
jmp 0x10011297
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.10008150
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.10007880
push 0x1009cb94
lea eax, [ebp - 0x30]
push eax
call fcn.1004628b
int3
Function at 0x10017830
Capabilities:
Check if file exists
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080a2b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x100a6250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
jne 0x100179f2
push 0x208
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.100456c0
add esp, 0xc
lea eax, [ebp - 0x228]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [0x100a9578]
test al, 1
jne 0x100178ba
or eax, 1
mov dword [0x100a9574], 0
mov dword [0x100a9578], eax
xorps xmm0, xmm0
mov byte [ebp - 0x239], 0
movlpd qword [ebp - 0x230], xmm0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
call fcn.1001d9f5
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 1
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x239]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x238]
push eax
push 0x100173c0
push 0x100a9574
call fcn.1001c123
add esp, 0x10
test eax, eax
je 0x10017a0d
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 2
push eax
call fcn.1001da2f
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x228]
push 0x100a957c
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100179f2
lea eax, [ebp - 0x228]
push eax
call fcn.10030c10
add esp, 4
test eax, eax
je 0x100179f2
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x100179f2
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x4c746547
push eax
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x1c], 0x78456175
mov dword [ebp - 0x18], 0x69616c70
mov word [ebp - 0x14], 0x6e
call fcn.10017490
push dword [ebp - 0x240]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x240]
mov edi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x100179e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x100179f2
call edi
mov dword [esi], eax
test eax, eax
je 0x100179f2
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001a767
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 3
push eax
call fcn.1001da50
add esp, 4
mov byte [ebp - 4], 1
test al, al
jne 0x10017a2d
call fcn.1001c13b
sub esp, 8
lea eax, [ebp - 0x230]
mov ecx, esp
push eax
call fcn.100176d0
call fcn.100182a0
int3
Function at 0x10018fb0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
movzx edx, byte [eax + 8]
mov edi, ecx
movzx ecx, byte [eax + 9]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
mov ebx, dword [ebp + 8]
xor edx, ecx
movzx ecx, byte [eax + 0xa]
imul edx, edx, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
lea esi, [edx*8]
mov edx, dword [edi + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x10019027
cmp ecx, eax
jne 0x1001901f
mov ecx, dword [edi + 4]
mov dword [edx], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov dword [esi + edx + 4], ecx
jmp 0x1001902f
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x1001902f
cmp ecx, eax
jne 0x1001902f
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push 0x10
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [edi + 8]
call fcn.1001a759
add esp, 8
mov dword [ebx], esi
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1001a340
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x100a6250]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [eax]
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
cmp edi, eax
je 0x1001a43a
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], edi
push ebx
mov dword [ebp - 0x4c], ecx
lea edx, [ebp - 5]
lea ecx, [ebp - 0x50]
mov byte [ebp - 5], 0
push ecx
push 0x100197f0
push eax
mov dword [ebp - 0x50], vtable.std::_Func_impl_no_alloc_class__lambda_9a0464b78bcacf2318b3e2e0517bf89c___bool__struct_HWND____.0
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x2c], ecx
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov ecx, dword [ebp - 0x2c]
movzx ebx, byte [ebp - 5]
test ecx, ecx
je 0x1001a3b8
mov edx, dword [ecx]
lea eax, [ebp - 0x50]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x2c], 0
test ebx, ebx
pop ebx
jne 0x1001a43a
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push eax
mov eax, dword [esi + 4]
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
movups xmmword [ebp - 0x28], xmm0
push dword [eax + 8]
call esi
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x18], xmm0
call esi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x18]
sub eax, dword [ebp - 0x28]
cmp ecx, eax
jl 0x1001a43a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x14]
sub eax, dword [ebp - 0x24]
cmp ecx, eax
jl 0x1001a43a
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x13
push 0
push 0
push 0
push 0
push 1
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push edi
call dword [sym.imp.USER32.dll_CloseWindow]
push 0
push 0xf060
push 0x112
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.1001a767
mov esp, ebp
pop ebp
ret 4

Function at 0x1001a670
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov ebx, dword [ebp + 8]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0x18]
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
and edx, eax
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 4]
mov ecx, dword [eax + edx*8]
add edx, edx
mov edi, dword [eax + edx*4]
lea edx, [eax + edx*4]
mov dword [ebp + 8], edi
mov edi, dword [ebp + 0xc]
nop dword [eax]
cmp dword [ebp + 8], esi
jne 0x1001a6d9
mov eax, esi
jmp 0x1001a6de
mov eax, dword [edx + 4]
mov eax, dword [eax]
cmp ecx, eax
je 0x1001a6f8
mov eax, dword [ecx + 8]
cmp eax, dword [edi]
je 0x1001a6ed
mov ecx, dword [ecx]
jmp 0x1001a6d0
pop edi
pop esi
mov dword [ebx], ecx
mov eax, ebx
pop ebx
pop ebp
ret 8
pop edi
mov dword [ebx], esi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 8