joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc38e00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0xc4e8f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov ecx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x24]
lea eax, [esp + 4]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push esi
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0xc38ed2
lea edx, [esp + 0x24]
push eax
push edx
call fcn.00c357a0
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0xc38e61
mov edx, dword [eax]
jmp 0xc38e63
xor edx, edx
xor ecx, ecx
push edi
xor eax, eax
push edx
push ecx
mov ecx, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov edx, dword [ecx + 4]
push eax
push esi
push 2
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.00c37050
mov eax, dword [esp + 0x44]
add esp, 0x20
cmp eax, edi
mov dword [esp + 0x1c], 0xffffffff
je 0xc38ebf
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0xc38ebf
cmp esi, edi
je 0xc38ebf
mov ecx, esi
call fcn.00c30a00
push esi
call fcn.00c3e1c8
add esp, 4
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push edi
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.00c35990
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
cmp eax, edi
je 0xc38ef5
mov eax, dword [eax]
jmp 0xc38ef7
xor eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
push ebx
push esi
push eax
push ecx
push edx
call fcn.00c34640
add esp, 0x10
mov bl, al
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0xc38f25
mov eax, dword [eax]
jmp 0xc38f27
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
cmp esi, edi
je 0xc38f76
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0xc38f76
cmp esi, edi
je 0xc38f76
mov eax, dword [esi]
cmp eax, edi
je 0xc38f5d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0xc38f6d
push eax
call fcn.00c3e1c8
add esp, 4
push esi
call fcn.00c3e1c8
add esp, 4
mov ecx, dword [esp + 0x18]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0xc38f90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0xc38ffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0xc39035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.00c38e00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0xc38fc5
mov edi, 0xc538b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0xc39035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00c38e00
add edi, 4
add esp, 0xc
cmp edi, 0xc538c0
jb 0xc39000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0xc39070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.00c3f082
mov esi, eax
add esp, 8
test esi, esi
je 0xc39107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0xc39102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.00c3e946
add esp, 8
test eax, eax
je 0xc390e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0xc390e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.00c3e946
add esp, 8
test eax, eax
jne 0xc390c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0xc39102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0xc39f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0xc4e9fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0xc3a002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00c3ddff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0xc3a002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.00c356e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.00c3e20b
push 0x10
call fcn.00c3e1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0xc39fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.00c2a1c0
jmp 0xc39fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00c39b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0xc39ff0
mov ecx, edi
call fcn.00c2a2c0
push edi
call fcn.00c3e1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0xc3a021
inc ebx
cmp ebx, 0x20
jb 0xc39f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0xc3b250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xc4f808
push 0xc3f288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0xc3b329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0xc3b329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00c3e1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xc3b329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0xc3b329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0xc3b32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00c3b351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xc3bd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xc3bd58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xc3bd60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xc3bd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xc3bd94
push eax
push esi
call fcn.00c3e20b
add esp, 8
pop esi
ret 0x10

Function at 0xc3bda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xc3be22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xc3be15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xc54320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00c3ddff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xc3bdda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xc3be30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xc3bec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xc3beb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xc54320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00c3ddff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xc3beab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xc3be6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xc3c000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xc3c131
push esi
call fcn.00c3f145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00c2e080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xc3c131
push 0
push ebp
call fcn.00c2e3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00c2e260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xc3c08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00c2e2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xc3c121
push 0xc54918
push edi
call fcn.00c3d3f0
push eax
push ebx
push esi
call fcn.00c3bf60
push 0xc548f8
push edi
call fcn.00c3d3f0
push eax
push ebx
push esi
call fcn.00c3bf60
push 0xc548d8
push edi
call fcn.00c3d3f0
push eax
push ebx
push esi
call fcn.00c3bf60
push 0xc548c0
push edi
call fcn.00c3d3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00c3bf60
push 0xc548a0
push edi
call fcn.00c3d3f0
push eax
push ebx
push esi
call fcn.00c3bf60
push 0xc54888
push edi
call fcn.00c3d3f0
push eax
push ebx
push esi
call fcn.00c3bf60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xc3d1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00c3d140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00c3d140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00c3d140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00c3d140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xc3dbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xc3dc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xc4f87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xc3dc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xc3dc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x1246058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x12461a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x124607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x124606a
add dl, dl
jne 0x1246089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x12460dc
xor eax, eax
add dl, dl
jne 0x1246096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x124617d
add dl, dl
jne 0x12460a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12460b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12460bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12460c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x12460d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1246075
mov eax, 1
add dl, dl
jne 0x12460ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12460f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x12460e1
sub eax, ebx
mov ebx, 1
jne 0x1246128
mov ecx, 1
add dl, dl
jne 0x124610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1246119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1246105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1246075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x124613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x124614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1246136
cmp eax, 0x7d00
jae 0x124616d
cmp eax, 0x500
jb 0x1246168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1246075
cmp eax, 0x7f
ja 0x1246170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1246075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x124619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1246075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x422d18
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov edx, ebx
mov eax, esp
call fcn.0041a764
add esp, 0x208
pop ebx
ret

Function at 0x422d44
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.0041a764
add esp, 0x208
pop ebx
ret

Function at 0x422ea0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x422fd6
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x422fc0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
je 0x422efd
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x422fc0
cmp dword [ebp - 0x14], 0
jne 0x422f12
mov eax, dword [ebp - 0xc]
call fcn.00407a20
mov bl, 1
jmp 0x422fc0
cmp dword [ebp - 0x14], 0x70000000
jb 0x422f20
call fcn.0041f258
mov esi, dword [ebp - 0x14]
inc esi
shr esi, 1
lea eax, [ebp - 4]
mov ecx, esi
xor edx, edx
call fcn.00407ba8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
call fcn.00407fa0
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
je 0x422ec6
test eax, eax
jne 0x422fc0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
je 0x422f6e
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x422fc0
mov esi, dword [ebp - 0x14]
shr esi, 1
jmp 0x422f76
dec esi
test esi, esi
je 0x422f85
mov eax, dword [ebp - 4]
cmp word [eax + esi*2 - 2], 0
je 0x422f75
cmp dword [ebp - 0x10], 7
jne 0x422f90
test esi, esi
je 0x422f90
inc esi
lea eax, [ebp - 4]
mov edx, esi
call fcn.00408664
cmp dword [ebp - 0x10], 7
jne 0x422fb3
test esi, esi
je 0x422fb3
lea eax, [ebp - 4]
call fcn.00407fa0
mov word [eax + esi*2 - 2], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00407e00
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422fdd
lea eax, [ebp - 4]
call fcn.00407a20
ret

Function at 0x42459c
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x4c090c
mov eax, esi
mov edx, 8
test al, 1
je 0x4245b8
shr eax, 1
xor eax, 0xedb88320
jmp 0x4245ba
shr eax, 1
dec edx
jne 0x4245ab
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4245a4
pop esi
Function at 0x405f30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4263eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4041f4
call fcn.00406b91
push 4
mov dword [esp + 0x18], 0
call fcn.0040784b
mov edi, eax
add esp, 4
test edi, edi
je 0x405fa4
push ebx
call fcn.00406a69
mov dword [edi], eax
call fcn.00406828
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406b52
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x405f98
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406b7a
pop ebx
jmp 0x405fa6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4082c1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x429648]
jne 0x4082cb
repz ret
jmp fcn.0040cb4c
Function at 0x411f8c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x429648]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b6bd
and dword [ebp - 0x14], 0
cmp dword [0x42bf8c], 0
mov dword [ebp - 0x18], eax
jne 0x41203f
push 0x403f00
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4120e7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403ef4
push ebx
call edi
test eax, eax
je 0x4120e7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403ee4
push ebx
mov dword [0x42bf8c], eax
call edi
push eax
call esi
push 0x403ed0
push ebx
mov dword [0x42bf90], eax
call edi
push eax
call esi
push 0x403eb4
push ebx
mov dword [0x42bf94], eax
call edi
push eax
call esi
mov dword [0x42bf9c], eax
test eax, eax
je 0x41203f
push 0x403e9c
push ebx
call edi
push eax
call esi
mov dword [0x42bf98], eax
mov eax, dword [0x42bf98]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412098
cmp dword [0x42bf9c], ecx
je 0x412098
push eax
call esi
push dword [0x42bf9c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412098
test ebx, ebx
je 0x412098
call edi
test eax, eax
je 0x41208f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41208f
test byte [ebp - 8], 1
jne 0x412098
or dword [ebp + 0x10], 0x200000
jmp 0x4120cb
mov eax, dword [0x42bf90]
cmp eax, dword [ebp - 0x18]
je 0x4120cb
push eax
call esi
test eax, eax
je 0x4120cb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4120cb
mov eax, dword [0x42bf94]
cmp eax, dword [ebp - 0x18]
je 0x4120cb
push eax
call esi
test eax, eax
je 0x4120cb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42bf8c]
call esi
test eax, eax
je 0x4120e7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4120e9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004082c1
leave
ret

Function at 0x424d60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov eax, 0x6b
mov edx, 0x72
mov word [0x7afce8], ax
mov word [0x7afcec], dx
mov ecx, 0x6e
mov edx, 0x65
xor eax, eax
push 0x7afce8
mov dword [0x7afcf4], 0x320033
mov dword [0x7afcfc], 0x6c006c
mov word [0x7afcee], cx
mov dword [0x7afcf0], 0x6c0065
mov dword [0x7afcf8], 0x64002e
mov word [0x7afcea], dx
mov word [0x7afd00], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [0x7afce4]
lea ecx, [esp]
push ecx
push 0x40
mov dword [0x7afce0], eax
mov eax, dword [0x430d34]
push edx
push eax
mov byte [0x42bfab], 0x65
mov dword [0x42bfa1], 0x75747269
mov word [0x42bfa5], 0x6c61
mov byte [0x42bfa0], 0x56
mov word [0x42bfac], 0x7463
mov byte [0x42bfae], 0
mov dword [0x42bfa7], 0x746f7250
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret