joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418c0c
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffc00
mov esi, ecx
mov ebx, edx
mov edi, eax
push esi
mov eax, 0xd04
call fcn.0040a8d8
push eax
test ebx, ebx
je 0x418c35
cmp byte [ebx], 0
je 0x418c35
mov edx, ebx
jmp 0x418c37
xor edx, edx
push edx
call fcn.0041234c
add esp, 0xc
call fcn.004123f0
call sub.KERNEL32.DLL_GetLastError
cmp eax, 3
jne 0x418ca6
push esi
call fcn.0041fa04
pop ecx
mov ebp, eax
mov eax, esi
call fcn.00402170
test al, al
jne 0x418c7a
push esp
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
push esp
call fcn.0041fa04
pop ecx
add eax, ebp
inc eax
mov ebp, eax
cmp ebp, 0x104
jle 0x418ca6
push 0x104
mov eax, 0xe68
call fcn.0040a8d8
push eax
test ebx, ebx
je 0x418c9b
cmp byte [ebx], 0
jne 0x418c9d
xor ebx, ebx
push ebx
call fcn.0041234c
add esp, 0xc
mov eax, edi
call fcn.00418e70
add esp, 0x400
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x41f414
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov eax, dword [esp + 0xc]
add esp, 0x20
ret

Function at 0x4245c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x424622
call fcn.00424570
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0041fa04
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0041fa04
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x424680
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x42ab5c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x42475a
cmp dword [0x42ab58], 0
jne 0x42475a
cmp dword [0x42ad4c], 0
je 0x424714
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00424518
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4246fa
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00424518
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4246fa
lea ebx, [ebp - 0x84]
jmp 0x4246fb
inc ebx
call fcn.0042463c
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x424795
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x42ab60
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0041fa04
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x42ab63
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x424795
cmp dword [0x42ab58], 0
je 0x424774
cmp dword [0x42ab58], 0xffffffff
je 0x424795
push esi
call dword [0x42ab58]
pop ecx
mov eax, dword [0x42ab5c]
test eax, eax
je 0x424795
cmp dword [0x42ab5c], 0xffffffff
je 0x424795
cmp byte [eax], 0
je 0x424795
push esi
push eax
call fcn.004245c0
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403b40
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x234
mov eax, dword [0x416188]
xor eax, ebp
mov dword [ebp + 0x1b0], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 0x1bc]
push edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x60]
call fcn.004034c0
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x403bb4
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x78], edx
lea ecx, [ebp - 0x60]
call fcn.004013e0
mov eax, dword [ebp - 0x78]
jmp 0x403c53
mov dword [ebp - 0x68], pe_nt_image_headers32
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x50]
push edx
push 0
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x403c0e
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x60]
call fcn.00403b40
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x403c05
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x6c], edx
lea ecx, [ebp - 0x60]
call fcn.004013e0
mov eax, dword [ebp - 0x6c]
jmp 0x403c53
mov dword [ebp - 0x68], pe_nt_image_headers32
jmp 0x403bbb
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x60], 0
je 0x403c2f
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebp + 0x1bc]
push ecx
mov ecx, dword [ebp - 0x64]
call fcn.00402ba0
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x60]
call fcn.004013e0
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp + 0x1b0]
xor ecx, ebp
call fcn.00406dec
add ebp, 0x1b4
mov esp, ebp
pop ebp
ret 4

Function at 0x403d30
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x403d8f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x403d5c
mov eax, 1
jmp 0x403dad
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x403d8d
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc]
jmp 0x403dad
jmp 0x403da8
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x403da8
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x403dad
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x405050
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
xor eax, eax
jne 0x405059
cmp dword [ebp + 0xc], 0
je 0x40506c
mov dword [ebp - 0x18], 1
jmp 0x405073
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jne 0x405089
mov eax, 0xd
jmp 0x40510c
xor edx, edx
jne 0x40505d
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 8]
mov cx, word [eax]
mov word [ebp - 2], cx
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x4050a9
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x20]
sar edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
lea eax, [edx + ecx*2]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
lea eax, [edx + ecx*2]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 1
jne 0x40509a
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 7
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x40bf7d
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x416188]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00407d5e
mov dword [ebp - 0x14], eax
cmp dword [0x417f18], edi
jne 0x40c06e
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x40bffb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c14e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40c14e
push 0x410680
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c14e
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x417f18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x417f1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x417f20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x417f28], eax
test eax, eax
je 0x40c06b
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x417f24], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c093
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c086
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x40c0a8
push 4
pop eax
jmp 0x40c150
cmp dword [ebp - 0x14], edi
je 0x40c0a8
push dword [0x417f18]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c08d
mov eax, dword [0x417f24]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x40c106
cmp dword [0x417f28], esi
je 0x40c106
push eax
call ebx
push dword [0x417f28]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c106
test eax, eax
je 0x40c106
call ecx
test eax, eax
je 0x40c0fb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40c0fb
test byte [ebp - 8], 1
jne 0x40c106
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x40c136
mov eax, dword [0x417f1c]
cmp eax, esi
je 0x40c133
push eax
call ebx
test eax, eax
je 0x40c133
call eax
mov edi, eax
test edi, edi
je 0x40c133
mov eax, dword [0x417f20]
cmp eax, esi
je 0x40c133
push eax
call ebx
test eax, eax
je 0x40c133
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x417f18]
call ebx
test eax, eax
je 0x40c14e
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x40c150
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406dec
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x6c614afd
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x41917353
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x6abf3283
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x7d655054
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4054c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x47bbb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x208]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x204]
mov dword [ebp - 0x208], 0x100
push eax
push dword [ebp + 8]
push dword [ecx + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
test esi, esi
jne 0x405540
cmp word [ebp - 0x204], ax
jne 0x405517
xor ecx, ecx
jmp 0x40552f
lea ecx, [ebp - 0x204]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405520
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x204]
mov ecx, edi
push eax
call fcn.00405f80
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043834d
mov esp, ebp
pop ebp
ret 8

Function at 0x405620
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ecx]
mov dword [ebp - 4], 4
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], 0
cmp eax, 0x47841c
jne 0x405692
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
push dword [ecx + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
test edx, edx
jne 0x40567f
mov eax, dword [ebp - 4]
cmp eax, 4
je 0x405671
cmp eax, 3
jne 0x405687
cmp dword [ebp - 8], 4
jne 0x405687
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, edx
mov esp, ebp
pop ebp
ret 8
mov eax, 0x3f4
mov esp, ebp
pop ebp
ret 8
lea edx, [ebp - 4]
push edx
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 0xc]
push edx
push dword [ebp + 8]
call dword [eax]
jmp 0x40565e
Function at 0x4056b0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00438470
mov eax, dword [0x47bbb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1008], 1
mov dword [ebp - 0x100c], 0x800
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp eax, 0x47841c
jne 0x4057f1
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x1008]
push eax
push 0
push edx
push dword [ecx + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x40575e
mov eax, dword [ebp - 0x1008]
cmp eax, 1
jne 0x405772
cmp word [ebp - 0x804], si
jne 0x40572f
xor ecx, ecx
jmp 0x40574f
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405740
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x804]
mov ecx, edi
push eax
call fcn.00405f80
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043834d
mov esp, ebp
pop ebp
ret 8
cmp eax, 2
jne 0x4057da
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x100c], eax
test eax, eax
je 0x4057c3
cmp eax, 0x400
ja 0x4057c3
lea eax, [ebp - 0x1004]
mov ecx, edi
push eax
call fcn.00405d30
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043834d
mov esp, ebp
pop ebp
ret 8
pop edi
mov eax, 0xea
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043834d
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, 0x3f4
pop edi
xor ecx, ebp
pop esi
call fcn.0043834d
mov esp, ebp
pop ebp
ret 8
lea esi, [ebp - 0x1008]
push esi
lea esi, [ebp - 0x100c]
push esi
lea esi, [ebp - 0x804]
push esi
push edx
call dword [eax]
jmp 0x405711

Function at 0x405870
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, esi
push edi
lea edi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x405880
mov eax, dword [ecx]
sub edx, edi
sar edx, 1
lea edx, [edx*2 + 2]
cmp eax, 0x47841c
jne 0x4058bd
push edx
push esi
push 1
push 0
push dword [ebp + 8]
push dword [ecx + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 8
pop edi
pop esi
pop ebp
ret 8
push 1
push edx
push esi
push dword [ebp + 8]
call dword [eax + 4]
jmp 0x4058b7
Function at 0x40af40
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
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 edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp ebx, esi
jne 0x40af9b
mov ecx, esi
jmp 0x40afa0
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x40afc5
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x40afaf
mov eax, dword [eax]
jmp 0x40af93
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
mov ecx, dword [ebp + 8]
cmovne eax, esi
pop edi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x40b410
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov esi, dword [ebx + 4]
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 edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
mov eax, dword [ebx + 0xc]
lea edx, [ecx*8]
add eax, edx
mov dword [esp + 0x14], edx
lea ecx, [ebx + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
cmp esi, eax
je 0x40b49c
mov esi, dword [esp + 0xc]
mov esi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x40b49c
mov ecx, dword [edi]
nop dword [eax + eax]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x40b4e1
cmp esi, eax
jne 0x40b490
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x40b4ca
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x40b504
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x40b526
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
call fcn.0040b070
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x40b50c
mov dword [ecx], edi
jmp 0x40b526
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x40b526
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.0040b540
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40dc70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x40dc7e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
pop ebp
ret

Function at 0x40dc90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x47bbb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x218]
mov edi, ecx
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x40ddb5
sub esp, 8
lea eax, [ebp - 0x218]
mov edx, esp
mov dword [edx], eax
cmp word [ebp - 0x218], 0
jne 0x40dce0
xor ecx, ecx
jmp 0x40dcff
lea ecx, [ebp - 0x218]
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dcf0
sub ecx, esi
sar ecx, 1
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x248]
call fcn.0040b8a0
sub esp, 8
mov edx, esp
cmp dword [eax + 0x14], 8
jb 0x40dd1c
mov ecx, dword [eax]
jmp 0x40dd1e
mov ecx, eax
mov dword [edx], ecx
lea ecx, [ebp - 0x230]
mov eax, dword [eax + 0x10]
mov dword [edx + 4], eax
call fcn.0040b8a0
lea ecx, [ebp - 0x230]
call fcn.0040c270
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.00408b60
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x40dd68
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004048f0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
cmp eax, 8
jb 0x40dda3
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.004048f0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043834d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0043834d
mov esp, ebp
pop ebp
ret