joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407220
Capabilities:
Extract resource via kernel32 functions
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 0xc], 4
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 4
mov dword [esi + 0x444], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.debug
push str.SoftwareBitdefender_bdhtml
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 4], 1
jne 0x407276
mov byte [esi + 0x449], 1
movzx eax, word [esi + 0x444]
push 0x17
push eax
push dword [esi + 0x22c]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4072a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x238], eax
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push edi
push dword [esi + 0x22c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x407292
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4072da
push edi
push dword [esi + 0x22c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jne 0x4072f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebx
mov dword [esi + 0x238], eax
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
lea eax, [edi + 2]
push eax
mov dword [esi + 0x1c], eax
call fcn.0049cef0
push dword [esi + 0x1c]
mov dword [esi + 0x18], eax
push 0
push eax
call fcn.00495790
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
push edi
push ebx
call fcn.00403e80
add dword [esi + 0x1c], 0xfffffffe
add esp, 0x18
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x407338
push eax
push 0x104
lea eax, [esi + 0x20]
push eax
jmp 0x407385
cmp word [0x4fa658], 0
jne 0x40734c
push 0
call fcn.004086e0
add esp, 4
lea edx, [esi + 0x20]
test edx, edx
je 0x40738d
mov ecx, 0x4fa658
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407360
sub ecx, edi
sar ecx, 1
cmp ecx, 0x104
jge 0x40738d
push 0x4fa658
push 0x104
lfence
push edx
call fcn.004989ad
add esp, 0xc
lea ecx, [esi - 0x14]
call fcn.004073a0
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x407510
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 0
cmp dword [edi + 0x1c], 0
mov byte [edi + 0x454], 1
je 0x40754b
mov esi, dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x40754b
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x40755c
push 5
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_IsWindow]
cmp eax, 1
jne 0x407671
push ebx
nop
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x407670
push str._PropGlobalDlgHandle
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x4075ad
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x40765e
mov eax, dword [edi]
mov esi, dword [eax + 0x94]
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call dword [0x4c758c]
mov ecx, edi
call esi
test eax, eax
jne 0x40765e
mov esi, dword [0x4fa644]
test esi, esi
jne 0x407635
push str.sciter.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40762b
push str.SciterAPI
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x407624
mov ecx, ebx
call dword [0x4c758c]
call ebx
mov dword [0x4fa644], eax
mov esi, dword [eax + 0x26c]
mov ecx, esi
call dword [0x4c758c]
call esi
test eax, eax
je 0x40762b
mov dword [0x4fa640], eax
jmp 0x40762b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [0x4fa644]
test esi, esi
je 0x40769c
mov esi, dword [esi + 0x50]
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call dword [0x4c758c]
call esi
test eax, eax
jne 0x407654
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_IsWindow]
cmp eax, 1
je 0x407570
pop ebx
cmp dword [ebp - 4], 0
je 0x407687
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x407687
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0x250]
mov dword [edi + 0x18], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0xffffffffffffffff
call fcn.004a32de
int3
Function at 0x407a30
Capabilities:
Extract resource via kernel32 functions
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4f4164]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x218], eax
push esi
mov esi, ecx
push edi
test ebx, ebx
je 0x407c36
cmp word [ebx], 0
je 0x407c36
push str.sciter:
push ebx
call fcn.00495bdc
add esp, 8
cmp eax, ebx
je 0x407c21
push 0x2f
push ebx
call fcn.004958ea
mov edi, eax
add esp, 8
test edi, edi
je 0x407c36
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00495790
push 0xffffffffffffffff
lea eax, [edi + 2]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004986c2
lea eax, [ebp - 0x20c]
push 0x2e
push eax
call fcn.004958ea
mov edi, eax
add esp, 0x24
test edi, edi
je 0x407b30
xor eax, eax
mov word [edi], ax
add edi, 2
je 0x407b30
push str.HTML
push edi
call fcn.00498d5f
add esp, 8
test eax, eax
je 0x407b30
push 0x4e1238
push edi
call fcn.00498d5f
add esp, 8
test eax, eax
lea eax, [ebp - 0x20c]
jne 0x407b2d
push 0x4e1238
push eax
push dword [esi + 0x244]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x407b26
mov esi, dword [esi + 0x244]
jmp 0x407b55
push 0x4e1238
jmp 0x407b32
push edi
jmp 0x407b38
push 0x17
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 0x240]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x407c21
mov esi, dword [esi + 0x240]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x407c36
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x214], eax
test eax, eax
je 0x407c36
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x210], edi
test edi, edi
je 0x407c36
mov esi, dword [0x4fa644]
test esi, esi
jne 0x407c06
push str.sciter.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x407bfc
push str.SciterAPI
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x407bef
mov ecx, edi
call dword [0x4c758c]
call edi
mov dword [0x4fa644], eax
mov esi, dword [eax + 0x26c]
mov ecx, esi
call dword [0x4c758c]
call esi
mov edi, dword [ebp - 0x210]
test eax, eax
je 0x407bfc
mov dword [0x4fa640], eax
jmp 0x407bfc
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [ebp - 0x210]
mov esi, dword [0x4fa644]
test esi, esi
je 0x407c4e
mov esi, dword [esi + 0xc]
mov ecx, esi
push edi
push dword [ebp - 0x214]
push ebx
push dword [ebp - 0x218]
call dword [0x4c758c]
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00450df0
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450df0
mov esp, ebp
pop ebp
ret 8
push 0xffffffffffffffff
call fcn.004a32de
int3
Function at 0x407cb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x30], 0
jne 0x407d56
mov edi, dword [esi + 0x18]
mov ebx, dword [esi + 0x2c]
mov esi, dword [0x4fa644]
mov dword [ebp - 4], edi
test esi, esi
jne 0x407d40
push str.sciter.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x407d32
push str.SciterAPI
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x407d28
mov ecx, edi
call dword [0x4c758c]
call edi
mov dword [0x4fa644], eax
mov esi, dword [eax + 0x26c]
mov ecx, esi
call dword [0x4c758c]
call esi
mov edi, dword [ebp - 4]
test eax, eax
je 0x407d32
mov dword [0x4fa640], eax
jmp 0x407d32
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [ebp - 4]
mov esi, dword [0x4fa644]
test esi, esi
je 0x407e11
mov esi, dword [esi + 0x1c]
mov ecx, esi
push ebx
push edi
call dword [0x4c758c]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ebx, [esi + 0x34]
mov ecx, ebx
call fcn.00408c80
mov ecx, dword [esi + 0x2c]
mov edi, eax
mov eax, dword [esi + 0x30]
test edi, edi
mov edx, dword [esi + 0x18]
mov esi, dword [0x4fa644]
cmovne ebx, edi
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
test esi, esi
jne 0x407dec
push str.sciter.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x407dd9
push str.SciterAPI
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
test eax, eax
je 0x407dd2
mov ecx, eax
call dword [0x4c758c]
call dword [ebp - 4]
mov dword [0x4fa644], eax
mov esi, dword [eax + 0x26c]
mov ecx, esi
call dword [0x4c758c]
call esi
test eax, eax
je 0x407dd9
mov dword [0x4fa640], eax
jmp 0x407dd9
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [0x4fa644]
test esi, esi
je 0x407e11
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov esi, dword [esi + 0x20]
push ebx
push eax
push ecx
push edx
mov ecx, esi
call dword [0x4c758c]
call esi
test edi, edi
je 0x407e0a
push edi
call fcn.004985dc
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.004a32de
int3
Function at 0x408970
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bab15
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4f4164]
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
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], eax
mov esi, SysReAllocString
call fcn.00406e50
mov byte [ebp - 4], 1
mov al, byte [ebp - 0x38]
test al, al
je 0x408a0c
cmp dword [ebp - 0x3c], 8
lea edx, [ebp - 0x50]
mov esi, VariantInit
cmovae edx, dword [ebp - 0x50]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4089e6
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004038a0
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.00404fe0
mov al, byte [ebp - 0x38]
mov byte [ebp - 4], 0
test al, al
je 0x408a62
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x408a4e
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408a44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408b36
push edx
push ecx
call fcn.00450975
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
push 0x1b
push str.SoftwareBitdefender_bdhtml
lea ecx, [ebp - 0x28]
call fcn.004052f0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x30]
push ecx
push 0x20019
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], 0
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push esi
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x408adb
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push str.dark
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x2c]
test eax, eax
push dword [ebp - 0x30]
mov edx, 1
cmove ecx, edx
mov dword [ebp - 0x2c], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x2c], 1
mov edx, dword [ebp - 0x14]
sete bl
cmp edx, 8
jb 0x408b18
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408b0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408b3b
push edx
push ecx
call fcn.00450975
add esp, 8
mov al, bl
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.00450df0
mov esp, ebp
pop ebp
ret
call fcn.004984ff
call fcn.004984ff
int3
Function at 0x408b70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4f4164]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 0x20019
push 0
xorps xmm0, xmm0
mov esi, ecx
push str..DEFAULTSoftwareSetId
push VariantInit
xor bl, bl
movq qword [ebp - 0xc], xmm0
movups xmmword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x1c], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x408bea
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], 1
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0x26
push eax
lea eax, [ebp - 0x38]
push eax
push edi
push str.wslibsite_lang
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x408bf8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x408c6c
cmp dword [esi + 0x14], 8
jb 0x408c04
mov esi, dword [esi]
lea eax, [ebp - 0x2c]
mov cx, word [esi]
cmp cx, word [eax]
jne 0x408c49
test cx, cx
je 0x408c29
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x408c49
add esi, 4
add eax, 4
test cx, cx
jne 0x408c07
xor ecx, ecx
movzx eax, bl
pop edi
test ecx, ecx
mov edx, 1
pop esi
cmove eax, edx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00450df0
mov esp, ebp
pop ebp
ret
sbb ecx, ecx
movzx eax, bl
or ecx, 1
mov edx, 1
pop edi
test ecx, ecx
pop esi
cmove eax, edx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00450df0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450df0
mov esp, ebp
pop ebp
ret
Function at 0x40e7d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb0a0
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4f4164]
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 edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x220], eax
test edi, edi
je 0x40e94a
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e817
sub ecx, edx
sar ecx, 1
je 0x40e94a
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00495790
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40e94a
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x40e94a
push str.OBKDbg.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x40e94a
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40e94a
test al, 0x10
jne 0x40e94a
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0x224], esi
test esi, esi
je 0x40e94a
mov ecx, edi
mov dword [ebp - 0x21c], 0
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e8e0
sub ecx, edx
sar ecx, 1
je 0x40e943
push 1
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x40e943
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0xfffffffe
push eax
push edi
mov ecx, ebx
call dword [0x4c758c]
call ebx
test eax, eax
je 0x40e943
mov eax, dword [ebp - 0x21c]
cmp eax, 0xfffffffe
je 0x40e943
mov ecx, dword [ebp - 0x220]
test eax, eax
push esi
setne al
mov byte [ecx], al
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 1
jmp 0x40e94c
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
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.00450df0
mov esp, ebp
pop ebp
ret
Function at 0x418290
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbf77
mov eax, dword fs:[0]
push eax
sub esp, 0x398
mov eax, dword [0x4f4164]
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 dword [ebp - 0x3a4], ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test edi, edi
je 0x4184d8
test esi, esi
je 0x4184d8
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4182e0
sub ecx, edx
sar ecx, 1
je 0x4184d8
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418300
sub ecx, edx
sar ecx, 1
je 0x4184d8
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00495790
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x4184d8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4184d8
lea ecx, [ebp - 0x294]
call dword [0x4c757c]
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x294]
call dword [0x4c7560]
test al, al
je 0x4184cc
lea ecx, [ebp - 0x294]
call dword [0x4c7578]
test eax, eax
je 0x4184cc
push str.virtual_printers
mov ecx, eax
call dword [0x4c7584]
mov ebx, eax
mov dword [ebp - 0x3a0], ebx
test ebx, ebx
je 0x4184bc
nop word [eax + eax]
push str.rule
mov ecx, ebx
call dword [0x4c7584]
mov edi, eax
test edi, edi
je 0x41849f
mov ebx, dword [ebp - 0x3a4]
nop dword [eax]
lea ecx, [ebp - 0x318]
call fcn.00417390
push edi
lea ecx, [ebp - 0x318]
mov byte [ebp - 4], 1
call fcn.004185e0
test al, al
je 0x418473
push str.rule
mov ecx, edi
call dword [0x4c7584]
mov esi, eax
test esi, esi
je 0x418465
lea ecx, [ebp - 0x39c]
call fcn.00417390
push esi
lea ecx, [ebp - 0x39c]
mov byte [ebp - 4], 2
call fcn.004185e0
test al, al
je 0x418443
lea eax, [ebp - 0x39c]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.004185b0
lea ecx, [ebp - 0x39c]
mov byte [ebp - 4], 1
call fcn.00417570
push str.rule
mov ecx, esi
call dword [0x4c7574]
mov esi, eax
test esi, esi
jne 0x418412
lea eax, [ebp - 0x318]
mov ecx, ebx
push eax
call fcn.004185b0
lea ecx, [ebp - 0x318]
mov byte [ebp - 4], 0
call fcn.00417570
push str.rule
mov ecx, edi
call dword [0x4c7574]
mov edi, eax
test edi, edi
jne 0x4183e0
mov ebx, dword [ebp - 0x3a0]
push str.virtual_printers
mov ecx, ebx
call dword [0x4c7574]
mov ebx, eax
mov dword [ebp - 0x3a0], eax
test ebx, ebx
jne 0x4183c0
lea ecx, [ebp - 0x294]
call dword [0x4c7570]
mov al, 1
jmp 0x4184da
lea ecx, [ebp - 0x294]
call dword [0x4c7570]
xor al, al
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.00450df0
mov esp, ebp
pop ebp
ret 8
Function at 0x419470
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4194b7
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419481
sub ecx, edx
sar ecx, 1
je 0x4194b7
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4194b7
test eax, 0x18450
jne 0x4194b7
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4194b7
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41d370
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc655
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4f4164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov esi, 0x1505
mov edx, dword [ecx]
movzx eax, word [edx]
test ax, ax
je 0x41d3c9
mov edi, eax
nop
mov eax, esi
lea edx, [edx + 2]
shl esi, 5
add esi, eax
movzx eax, di
add esi, eax
movzx eax, word [edx]
mov edi, eax
test ax, ax
jne 0x41d3b0
push esi
push ecx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0041c940
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x41d3fa
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0xfffffff
je 0x41d567
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
push 0x10
lfence
call fcn.00450e28
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.00422240
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [edi + 0xc], ecx
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4cdde0]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x4cdde0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
seta al
test al, al
je 0x41d505
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call fcn.004a2a30
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00451050
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x41d4e3
cmp eax, 0x200
jae 0x41d4e1
shl eax, 3
cmp eax, ecx
jae 0x41d4e3
mov eax, ecx
push eax
mov ecx, ebx
call fcn.0042a910
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041c940
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
jmp 0x41d508
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x10], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x41d534
mov dword [ecx + eax*8], edi
jmp 0x41d546
cmp esi, edx
jne 0x41d53d
mov dword [ecx + eax*8], edi
jmp 0x41d54a
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x41d54a
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.00451caa
int3
Function at 0x41dbe0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, 0x1505
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov edx, dword [ebx]
movzx esi, word [edx]
test si, si
je 0x41dc19
nop dword [eax]
mov ecx, eax
lea edx, [edx + 2]
shl eax, 5
add eax, ecx
movzx ecx, si
add eax, ecx
movzx ecx, word [edx]
mov esi, ecx
test cx, cx
jne 0x41dc00
push eax
push ebx
lea eax, [ebp - 8]
mov ecx, edi
push eax
call fcn.0041c940
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x41dc33
mov ecx, dword [edi + 4]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41ef60
Capabilities:
Encode data using xor
Hash data using fnv
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov edi, dword [edx + 0x10]
jb 0x41ef73
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x41ef91
nop
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x41ef80
imul eax, esi, 0xcc9e2d51
pop edi
pop esi
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, dword [ebp + 8]
rol eax, 0xd
lea eax, [eax + eax*4]
add eax, 0xe6546b64
pop ebp
ret