joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408e90
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488f7a
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4c4074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call fcn.00403d50
mov ecx, eax
test ecx, ecx
je 0x408fe2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ebx, ax
call fcn.00403d50
mov ecx, eax
test ecx, ecx
je 0x408fec
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push ebx
push esi
push dword [0x4c508c]
mov dword [ebp - 0x14], 3
call fcn.00409a80
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x408f56
push 0
push esi
push dword [0x4c508c]
lea ecx, [ebp - 0x10]
call fcn.00409a80
mov eax, dword [ebp - 0x10]
mov esi, dword [edi]
lea ebx, [eax - 0x10]
sub esi, 0x10
cmp ebx, esi
je 0x408fa4
cmp dword [esi + 0xc], 0
jl 0x408f99
mov ecx, dword [ebx]
cmp ecx, dword [esi]
jne 0x408f99
mov ecx, ebx
call fcn.004025a0
mov dword [ebp - 0x18], eax
lea edx, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408f92
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [edi], eax
jmp 0x408fa4
push dword [eax - 0xc]
mov ecx, edi
push eax
call fcn.00407350
mov eax, 3
mov dword [ebp - 0x14], eax
and eax, 0xfffffffd
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x408fce
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004024c0
push 0x80004005
call fcn.004024c0
int3
Function at 0x40b090
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489428
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4c4074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x14], 0x4a85d0
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
cmp esi, 0xffffffff
jne 0x40b0ef
xor edi, edi
or esi, eax
jmp 0x40b0fa
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], 0x4a85d0
test esi, esi
je 0x40b11a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40d730
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489941
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4c4074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x1c], esi
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
push 0x104
mov dword [ebp - 0x14], 0x104
call fcn.00408300
mov eax, dword [esi + 0xc]
mov esi, dword [ebp - 0x10]
add eax, 0x30
push 0x104
push esi
push 0x2000003
push eax
push 1
call dword [sym.imp.CRYPT32.dll_CertNameToStrW]
mov edi, eax
cmp edi, 0x104
jbe 0x40d7ec
push esi
mov dword [ebp - 0x14], edi
call fcn.0046eb32
add esp, 4
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push edi
call fcn.00408300
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x10]
push edi
push esi
mov eax, dword [ecx + 0xc]
push 0x2000003
add eax, 0x30
push eax
push 1
call dword [sym.imp.CRYPT32.dll_CertNameToStrW]
mov edi, eax
test edi, edi
je 0x40d80d
cmp edi, dword [ebp - 0x14]
ja 0x40d80d
call fcn.00403d50
push eax
lea eax, [edi - 1]
mov ecx, ebx
push eax
push esi
call fcn.00408450
mov byte [ebp - 4], 1
jmp 0x40d826
call fcn.00403d50
mov ecx, eax
test ecx, ecx
je 0x40d855
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 0
push esi
call fcn.0046eb32
mov eax, ebx
mov dword [ebp - 0x10], 0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004024c0
int3
Function at 0x40d920
Capabilities:
Get file size
Hash data with md5
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x94
push 0xffffffffffffffff
push 0x489970
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4c4074]
xor eax, ebp
mov dword [ebp + 0x90], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], edx
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push ecx
mov byte [ebp + 0x6c], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x20], 0x4a85d0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0
cmp edi, 0xffffffff
jne 0x40d99e
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0x4a85d0
push eax
jmp 0x40d9f5
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
je 0x40d9e2
test eax, eax
je 0x40d9e2
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
push 0x10000
call fcn.00408010
mov esi, dword [ebp - 0x18]
test esi, esi
jne 0x40da27
mov byte [ebp - 4], 0
push esi
call fcn.0046eb32
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], 0x4a85d0
test edi, edi
je 0x40da02
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0
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 + 0x90]
xor ecx, ebp
call fcn.0046e38e
lea esp, [ebp + 0x94]
pop ebp
ret
xor ebx, ebx
mov dword [ebp], 0x67452301
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0xd], bl
mov byte [ebp + 0x68], bl
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 4], 0xefcdab89
mov dword [ebp + 8], 0x98badcfe
mov dword [ebp + 0xc], 0x10325476
push 0
lea eax, [ebp - 0x14]
push eax
push 0x10000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40da9a
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x40da9a
mov edx, dword [ebp - 0x28]
lea eax, [ecx + ebx]
cmp eax, edx
jbe 0x40da87
mov ecx, edx
mov byte [ebp - 0xd], 1
sub ecx, ebx
mov dword [ebp - 0x14], ecx
push ecx
push esi
lea ecx, [ebp]
call fcn.0040f020
add ebx, dword [ebp - 0x14]
cmp byte [ebp - 0xd], 0
je 0x40da54
lea ecx, [ebp]
call fcn.0040f0f0
lea eax, [ebp + 0x6c]
push eax
lea ecx, [ebp]
call fcn.0040f1c0
mov bl, al
mov byte [ebp - 4], 0
push esi
call fcn.0046eb32
add esp, 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], 0x4a85d0
test edi, edi
je 0x40dae4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0
test bl, bl
je 0x40da02
mov bl, byte [ebp + 0x6c]
test bl, bl
je 0x40db2c
lea edi, [ebp + 0x6c]
mov eax, dword [ebp - 0x24]
movzx esi, word [eax]
mov eax, esi
lea ecx, [eax - 0x41]
add eax, 0x20
movzx edx, ax
cmp cx, 5
mov eax, esi
cmova edx, eax
movsx eax, bl
movzx ecx, dx
cmp eax, ecx
jne 0x40da02
mov al, byte [edi + 1]
inc edi
add dword [ebp - 0x24], 2
mov bl, al
test al, al
jne 0x40daf6
mov al, 1
jmp 0x40da04
Function at 0x40dbb0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x4899c1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4c4074]
xor eax, ebp
mov dword [ebp + 0x208], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea eax, [ebp]
mov dword [ebp - 0x18], esi
push eax
push 0x104
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x40dc4f
call fcn.00403d50
test eax, eax
je 0x40dc84
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0046e38e
lea esp, [ebp + 0x20c]
pop ebp
ret
cmp word [ebp + eax*2 - 2], 0x5c
je 0x40dc62
mov ecx, 0x5c
mov word [ebp + eax*2], cx
inc eax
add eax, eax
cmp eax, 0x208
jae 0x40dc7f
xor ecx, ecx
mov word [ebp + eax], cx
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.00407430
jmp 0x40dc1e
call fcn.0046ea58
push 0x80004005
call fcn.004024c0
int3

Function at 0x40deb0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489ae0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4c4074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
cmp dword [eax - 0xc], 0x104
jl 0x40df40
call fcn.0040e110
test al, al
jne 0x40df40
push 0x4a88bc
lea ecx, [ebp - 0x10]
call fcn.00407430
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
mov eax, dword [esi]
push dword [eax - 0xc]
push eax
call fcn.004023a0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 1
sete bl
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40df4e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40df4e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 1
sete bl
test bl, bl
jne 0x40df58
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e980
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489c67
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x4c4074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [esi], 0
call fcn.0041ef60
mov ebx, eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4c65b8]
cmp eax, dword [ecx + 4]
jle 0x40ea17
push 0x4c65b8
call fcn.0046e5c6
add esp, 4
cmp dword [0x4c65b8], 0xffffffff
jne 0x40ea17
mov dword [ebp - 4], 0
sub esp, 0x10
mov ecx, 0x4c65c0
push 0
push 0xa
call fcn.0041ec60
mov dword [ebp - 4], 0xffffffff
push 0x4c65b8
call fcn.0046e57c
add esp, 4
mov eax, dword [ebx]
cmp eax, dword [0x4c65c0]
jae 0x40ea25
xor ecx, ecx
jmp 0x40ea6a
jbe 0x40ea2e
mov ecx, 1
jmp 0x40ea6a
mov eax, dword [ebx + 4]
cmp eax, dword [0x4c65c4]
jae 0x40ea3d
xor ecx, ecx
jmp 0x40ea6a
jbe 0x40ea46
mov ecx, 1
jmp 0x40ea6a
mov eax, dword [ebx + 0xc]
cmp eax, dword [0x4c65cc]
jae 0x40ea55
xor ecx, ecx
jmp 0x40ea6a
mov ecx, 1
ja 0x40ea6a
mov eax, dword [ebx + 8]
xor edx, edx
cmp eax, dword [0x4c65c8]
cmovb ecx, edx
test cl, cl
je 0x40ebe3
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x24
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor ecx, ecx
mov eax, edi
cmp word [edi], cx
je 0x40ea9a
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x40ea90
xor edx, edx
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], dx
je 0x40eac2
nop dword [eax + eax]
lea eax, [eax + 2]
inc edx
cmp word [eax], 0
jne 0x40eab0
cmp ecx, edx
jb 0x40ebe3
lea ecx, [ebp - 0x21c]
xor edx, edx
call fcn.0040eed0
mov ecx, eax
test ecx, ecx
je 0x40eaf7
nop word [eax + eax]
mov ax, word [edi + edx*2]
cmp ax, word [ebp + edx*2 - 0x21c]
jne 0x40ebe3
inc edx
cmp edx, ecx
jb 0x40eae0
push 0x208
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.00470500
add esp, 0xc
lea eax, [ebp - 0x424]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea eax, [ebp - 0x62c]
push 0
push eax
call fcn.00470500
add esp, 0xc
lea eax, [ebp - 0x62c]
push eax
push 0
push str.shim_clone
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x62c]
mov ecx, esi
push eax
call fcn.0040ec60
mov dword [ebp - 0x634], 0
mov byte [ebp - 0x630], 0
mov dword [ebp - 4], 1
call fcn.0041f8d0
mov eax, dword [0x4c5fc0]
test eax, eax
je 0x40eb94
lea ecx, [ebp - 0x634]
push ecx
call eax
mov byte [ebp - 0x630], 1
push 0
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
sete al
mov byte [esi + 4], al
je 0x40ebb2
push edi
mov ecx, esi
call fcn.0040ec60
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x630], 0
je 0x40ebef
call fcn.0041f8d0
mov ecx, dword [0x4c5fbc]
test ecx, ecx
je 0x40ebef
lea eax, [ebp - 0x634]
push eax
call ecx
mov byte [ebp - 0x630], 0
jmp 0x40ebef
push edi
mov ecx, esi
call fcn.0040ec60
mov byte [esi + 4], 0
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 - 0x14]
xor ecx, ebp
call fcn.0046e38e
mov esp, ebp
pop ebp
ret 4
Function at 0x40edc0
Capabilities:
Delete file
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489ca0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4c4074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], edx
xor edi, edi
xor esi, esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
push ecx
lea ecx, [ebp - 0x30]
call fcn.0040e980
mov byte [ebp - 4], 1
lea eax, [ebp - 0x20]
mov ebx, dword [ebp - 0x30]
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x40ee7e
push eax
lea ecx, [ebp - 0x14]
call fcn.00408010
mov esi, dword [ebp - 0x14]
test al, al
jne 0x40ee31
mov edi, 8
jmp 0x40ee86
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x40ee7e
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4a8ad8
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x40ee86
cmp dword [ebp - 0x24], 0
je 0x40ee86
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
test ecx, ecx
je 0x40ee70
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x40ee86
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
jmp 0x40ee86
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov byte [ebp - 4], 0
cmp byte [ebp - 0x2c], 0
je 0x40ee97
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call fcn.0046eb32
add esp, 4
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.0046eb32
add esp, 4
mov dword [ebp - 0x14], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411490
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov edx, dword [0x4c5fdc]
push edi
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [0x4c5fe8]
and ecx, eax
mov edi, dword [edx + ecx*8]
lea ebx, [edx + ecx*8]
mov edx, dword [0x4c5fd4]
mov eax, edi
cmp edi, edx
jne 0x4114ed
mov ecx, edx
jmp 0x4114f2
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x41150e
mov ecx, dword [eax + 8]
cmp ecx, dword [esi]
je 0x411501
mov eax, dword [eax]
jmp 0x4114e5
cmp eax, edx
je 0x41150e
pop edi
pop esi
add eax, 0xc
pop ebx
ret 4
push str.invalid_unordered_map_K__T__key
call fcn.0046d2b1
int3

Function at 0x411970
Capabilities:
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
mov eax, dword [edi + 0x18]
imul ecx, ecx, 0x1000193
pop edi
pop esi
and eax, ecx
ret 4

Function at 0x411a70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 8]
mov ecx, 0
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x411aa1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x411a90
pop edi
mov eax, esi
pop esi
ret 8
Function at 0x41a730
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov byte [esp + 7], 1
push esi
push edi
mov ecx, dword [ebx + 0x54]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x41a78f
mov eax, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [esp + 0x14], eax
call edi
push dword [ebx + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0xfffffffe
call dword [sym.imp.USER32.dll_GetParent]
push dword [ebx + 4]
mov esi, eax
call edi
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x4e
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
add esp, 0x10
ret
shr ecx, 2
test cl, 1
je 0x41a7c8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov edi, dword [ebx + 4]
mov esi, eax
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push edi
movzx eax, ax
push eax
push 0x111
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
add esp, 0x10
ret
push 1
push 0
push 0
push dword [ebx + 0x28]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta cl
mov byte [esp + 0xf], cl
jbe 0x41a806
or byte [ebx + 0x58], 2
push 1
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
add esp, 0x10
ret
pop edi
pop esi
mov al, cl
pop ebx
add esp, 0x10
ret

Function at 0x41aad0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4880e0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4c4074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41ab6d
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x41ab2e
cmp eax, 2
jne 0x41ab4a
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x41ab67
test ecx, ecx
je 0x41ab62
test cl, 1
jne 0x41ab4a
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x41ab67
mov eax, 0xd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41acb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x150
mov eax, dword [0x4c4074]
xor eax, esp
mov dword [esp + 0x14c], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0x38]
push edi
push pe_nt_image_headers32
xorps xmm0, xmm0
mov dword [esp + 0x38], 0
push 0
push eax
mov edi, ecx
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x2c], xmm0
mov dword [esp + 0x44], 0x114
call fcn.00470500
add esp, 0xc
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41ad1f
cmp dword [esp + 0x3c], 6
mov eax, 0x30
jae 0x41ad24
mov eax, 0x2c
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 1
test eax, eax
je 0x41ad4b
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
mov eax, dword [0x4c508c]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x2c], eax
lea eax, [esp + 8]
push eax
push 0
push 0x432
push dword [edi]
mov dword [esp + 0x40], 0
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x154]
pop edi
pop esi
xor ecx, esp
call fcn.0046e38e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41d330
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x41d3aa
mov esi, dword [esp + 0x10]
mov ecx, 1
mov edx, dword [esi]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x41d365
push edi
mov ecx, esi
call fcn.00402330
mov edx, dword [esi]
push edi
push edx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x41d38c
mov ecx, dword [esi]
test ecx, ecx
je 0x41d390
push dword [ecx - 8]
push ecx
call fcn.004738dc
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x41d3aa
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x41d3aa
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
push 0x80070057
call fcn.004024c0
int3
Function at 0x41ea70
Capabilities:
Check for time delay via gettickcount
Query service status

Disassembly:
sub esp, 0x30
mov eax, dword [0x4c4074]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
lea eax, [esp + 4]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
xorps xmm0, xmm0
push eax
push 0x24
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0
push eax
push 0
push ebx
movups xmmword [esp + 0x24], xmm0
mov dword [esp + 0x44], 0
movups xmmword [esp + 0x34], xmm0
call ebp
test eax, eax
jne 0x41ead5
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0046e38e
add esp, 0x30
ret 8
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x1c], esi
je 0x41eb29
nop dword [eax]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push 0x24
lea eax, [esp + 0x20]
push eax
push 0
push ebx
call ebp
test eax, eax
je 0x41eb5a
cmp dword [esp + 0x1c], esi
je 0x41eb29
call edi
sub eax, dword [esp + 0x14]
cmp eax, 0x7530
ja 0x41eb40
cmp dword [esp + 0x1c], esi
jne 0x41eaf0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0046e38e
add esp, 0x30
ret 8
pop edi
pop esi
pop ebp
mov eax, 0x102
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0046e38e
add esp, 0x30
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046e38e
add esp, 0x30
ret 8