joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10026b20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057b48
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x10076008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0x28]
call fcn.10005620
mov dword [ebp - 4], 0
mov dword [ebp - 0x6c], 0x200
mov dword [ebp - 0x68], 0
movzx eax, byte [ebp + 0xc]
push eax
push 0x1006e8cc
lea ecx, [ebp - 0x40]
push ecx
call fcn.1002eaa0
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x28]
call fcn.100054a0
lea ecx, [ebp - 0x40]
call fcn.10005450
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x28]
call fcn.10005370
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffff
jne 0x10026bc1
jmp 0x10026c81
push 0
push 0x200
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10055010
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
push 0
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor ecx, ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0x64], 0xffffffff
jne 0x10026c1b
cmp dword [ebp - 0x60], 0
jne 0x10026c1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10026c1b
jmp 0x10026c81
push 0
lea edx, [ebp - 0x74]
push edx
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10026c3d
mov byte [ebp - 0x41], 1
jmp 0x10026c41
mov byte [ebp - 0x41], 0
mov al, byte [ebp - 0x41]
mov byte [ebp - 0x42], al
movzx ecx, byte [ebp - 0x42]
test ecx, ecx
je 0x10026c57
mov edx, dword [ebp - 0x74]
or edx, dword [ebp - 0x70]
jne 0x10026c59
jmp 0x10026c81
cmp dword [ebp - 0x48], 0xffffffff
je 0x10026c69
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x43], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005450
mov al, byte [ebp - 0x43]
jmp 0x10026cbb
cmp dword [ebp - 0x48], 0xffffffff
je 0x10026c91
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._ERR__ReadMBR__Error_GetLastError_d
call fcn.100098e0
add esp, 8
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005450
mov al, byte [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002fa64
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10026ce0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057b48
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x10076008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0x28]
call fcn.10005620
mov dword [ebp - 4], 0
mov dword [ebp - 0x6c], 0x200
mov dword [ebp - 0x68], 0
movzx eax, byte [ebp + 0xc]
push eax
push 0x1006e91c
lea ecx, [ebp - 0x40]
push ecx
call fcn.1002eaa0
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x28]
call fcn.100054a0
lea ecx, [ebp - 0x40]
call fcn.10005450
push 0
push 0x20000000
push 3
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x28]
call fcn.10005370
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffff
jne 0x10026d84
jmp 0x10026e44
push 0
push 0x200
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10055010
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
push 0
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor ecx, ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0x64], 0xffffffff
jne 0x10026dde
cmp dword [ebp - 0x60], 0
jne 0x10026dde
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10026dde
jmp 0x10026e44
push 0
lea edx, [ebp - 0x74]
push edx
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10026e00
mov byte [ebp - 0x41], 1
jmp 0x10026e04
mov byte [ebp - 0x41], 0
mov al, byte [ebp - 0x41]
mov byte [ebp - 0x42], al
movzx ecx, byte [ebp - 0x42]
test ecx, ecx
je 0x10026e1a
mov edx, dword [ebp - 0x74]
or edx, dword [ebp - 0x70]
jne 0x10026e1c
jmp 0x10026e44
cmp dword [ebp - 0x48], 0xffffffff
je 0x10026e2c
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x43], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005450
mov al, byte [ebp - 0x43]
jmp 0x10026e6a
cmp dword [ebp - 0x48], 0xffffffff
je 0x10026e54
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005450
mov al, byte [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002fa64
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10028030
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0
push 0x200
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10055010
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x10028092
cmp dword [ebp - 0x18], 0
jne 0x10028092
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10028092
xor al, al
jmp 0x100280d4
push 0
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100280b4
mov byte [ebp - 1], 1
jmp 0x100280b8
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 2]
test ecx, ecx
je 0x100280ce
mov edx, dword [ebp - 0x24]
or edx, dword [ebp - 0x20]
jne 0x100280d2
xor al, al
jmp 0x100280d4
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x100280e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0
push 0x200
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10055010
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x10028142
cmp dword [ebp - 0x18], 0
jne 0x10028142
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10028142
xor al, al
jmp 0x10028184
push 0
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10028164
mov byte [ebp - 1], 1
jmp 0x10028168
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 2]
test ecx, ecx
je 0x1002817e
mov edx, dword [ebp - 0x24]
or edx, dword [ebp - 0x20]
jne 0x10028182
xor al, al
jmp 0x10028184
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x10028ce0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0xc], 0
je 0x10028cf2
cmp dword [ebp + 8], 0
jne 0x10028cf6
xor eax, eax
jmp 0x10028d50
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
jmp 0x10028d1e
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jge 0x10028d44
mov ecx, dword [ebp - 4]
shr ecx, 8
movzx edx, byte [ebp - 4]
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
xor edx, eax
xor ecx, dword [edx*4 + 0x100769b0]
mov dword [ebp - 4], ecx
jmp 0x10028d0c
mov ecx, dword [ebp - 4]
xor ecx, 0xffffffff
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x1002e1a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov byte [ebp - 1], 0
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp + 0xc]
mov ecx, 0x200
mul ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.1002e100
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x1002e1e8
jmp 0x1002e24f
push 0
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x1002e213
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1002e213
jmp 0x1002e24f
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1002e235
mov byte [ebp - 2], 1
jmp 0x1002e239
mov byte [ebp - 2], 0
mov al, byte [ebp - 2]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
jne 0x1002e24b
jmp 0x1002e24f
mov byte [ebp - 1], 1
cmp dword [ebp - 8], 0xffffffff
je 0x1002e25f
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x1002e270
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov byte [ebp - 1], 0
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp + 0xc]
mov ecx, 0x200
mul ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.1002e100
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x1002e2be
jmp 0x1002e349
push 0
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x1002e2e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1002e2e9
jmp 0x1002e349
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1002e30b
mov byte [ebp - 2], 1
jmp 0x1002e30f
mov byte [ebp - 2], 0
mov al, byte [ebp - 2]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
jne 0x1002e345
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._INF__WriteDisk__WriteFile__nDisk__d__nSize__d__GetLastError__d__dlPos__llu
call fcn.100098e0
add esp, 0x18
jmp 0x1002e349
mov byte [ebp - 1], 1
cmp dword [ebp - 8], 0xffffffff
je 0x1002e359
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x1002e460
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push ecx
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1002e476
shr eax, 4
and al, 1
pop ebx
ret
mov al, bl
pop ebx
ret

Function at 0x1002e640
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov edx, ecx
push esi
push ecx
lea ecx, [esp + 0xc]
call fcn.1002f2d0
add esp, 4
mov ecx, eax
push 0
call fcn.10005370
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [esp + 8]
mov esi, eax
call fcn.10005450
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002f6c0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100580bb
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x10076008]
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, ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x224], xmm0
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x228]
mov edi, dword [ebx + 4]
push ecx
or edi, 0x2001f
mov dword [ebp - 0x228], 0
push edi
push 0
push eax
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x1002f892
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x1002f762
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [ebp - 0x228]
and edi, 0x300
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], edi
test esi, esi
jne 0x1002f892
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x21c]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], 0x100
push ecx
lea ecx, [ebp - 0x210]
push ecx
push esi
push eax
call edi
test eax, eax
jne 0x1002f7fd
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x224]
call fcn.1002f6c0
mov esi, eax
test esi, esi
jne 0x1002f892
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x214], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x224]
call edi
test eax, eax
je 0x1002f7b2
mov eax, dword [ebp - 0x224]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1002f81a
push eax
call edi
mov dword [ebp - 0x224], 0
cmp byte [0x100795f0], 0
mov dword [ebp - 0x220], 0
jne 0x1002f864
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1002f856
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100795ec], eax
mov byte [0x100795f0], 1
jmp 0x1002f869
mov eax, dword [0x100795ec]
mov byte [0x100795f0], 1
jmp 0x1002f869
mov eax, dword [0x100795ec]
test eax, eax
je 0x1002f880
push 0
push dword [ebx + 4]
push dword [ebp - 0x22c]
push dword [ebx]
call eax
mov esi, eax
jmp 0x1002f898
push dword [ebp - 0x22c]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
jmp 0x1002f898
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x1002f8a5
push eax
call edi
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.1002fa64
mov esp, ebp
pop ebp
ret 4
Function at 0x1002f8d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100580fb
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x10076008]
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, ecx
mov edx, dword [ebp + 0xc]
xorps xmm0, xmm0
movlpd qword [ebp - 0x21c], xmm0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
push 0
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 0
push eax
mov eax, dword [edi + 4]
push 0
or eax, 0xf003f
mov dword [ebp - 0x228], 0
push eax
push 0
push 0
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x1002f985
push dword [ebp - 0x228]
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegCopyTreeW]
mov esi, eax
mov eax, dword [ebp - 0x228]
test esi, esi
je 0x1002f9a5
test eax, eax
je 0x1002f985
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.1002fa64
mov esp, ebp
pop ebp
ret 0xc
test eax, eax
je 0x1002f9b0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp + 0x10], 1
jne 0x1002fa5d
push 0x200
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], 0x100
push 0
push eax
call fcn.10033d10
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x224]
add esp, 0xc
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push dword [edi]
call ebx
test eax, eax
jne 0x1002fa5d
lea eax, [ebp - 0x210]
mov ecx, edi
push eax
call fcn.1002f6c0
mov esi, eax
test esi, esi
jne 0x1002f985
push 0x100
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], 0x100
push eax
call fcn.10033d10
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [edi]
call ebx
test eax, eax
je 0x1002fa05
xor eax, eax
jmp 0x1002f987

Function at 0x100398c5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.1003899e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10038953
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.1003898e
inc ebx
sub bl, byte [edi]
sbb dword [eax + 4], ebp
add dword [eax], eax
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid
Function at 0x100489c2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1004883f

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 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 0x412590
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x4125aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4125b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4125a0
mov eax, 1
add ebx, ebx
jne 0x4125c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4125b8
jne 0x4125d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4125b8
xor ecx, ecx
sub eax, 3
jb 0x4125e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41265a
mov ebp, eax
add ebx, ebx
jne 0x4125f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412600
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x412624
inc ecx
add ebx, ebx
jne 0x412610
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x412605
jne 0x412621
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412605
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x412644
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x412635
jmp 0x4125a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x412644
add edi, ecx
jmp 0x4125a6
pop esi
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x4126ac
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12708]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x127c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412661
mov ecx, edi
jns 0x412690
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x127cc]
or eax, eax
je 0x4126a6
mov dword [ebx], eax
add ebx, 4
jmp 0x41267e
call dword [esi + 0x127c8]
mov ebp, dword [esi + 0x127d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4126e0
sub esp, 0xffffff80
jmp 0x403ac6
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 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

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

Function at 0x403161
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x403161
lcall 0x5de5, 0x8b10c483
jmp loc.00791034