joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c830
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x10
push ebx
mov ebx, dword [ecx + 0xa0]
push ebp
push esi
test ebx, ebx
push edi
je 0x41c955
xor eax, eax
xor esi, esi
mov ax, word [ecx + 0x14]
mov si, word [ecx + 6]
xor edi, edi
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x41c955
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x41c86d
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x41c87a
add edx, ecx
cmp ebx, edx
jb 0x41c88a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x41c863
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
test eax, eax
je 0x41c955
mov edi, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x24]
sub edi, edx
add edi, ebx
add edi, eax
je 0x41c955
mov esi, dword [edi + 4]
test esi, esi
je 0x41c955
cmp dword [edi], 0
je 0x41c955
cmp esi, 8
jb 0x41c955
mov eax, dword [esp + 0x2c]
mov ecx, edi
add esi, 0xfffffff8
lea ebp, [edi + 8]
mov edx, dword [eax]
sub ecx, edx
lea edx, [esp + 0x28]
mov dword [esp + 0x28], ecx
lea ecx, [eax + 8]
lea eax, [esp + 0x10]
push edx
push eax
shr esi, 1
call fcn.0041bb40
test esi, esi
mov dword [esp + 0x28], 0
jbe 0x41c947
mov ax, word [ebp]
mov bx, ax
shr bx, 0xc
cmp bx, 3
jne 0x41c92d
mov ecx, dword [edi]
and eax, 0xfff
add eax, ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [eax + 8]
call fcn.0041bb40
cmp bx, 4
jne 0x41c937
add ebp, 2
dec esi
mov eax, dword [esp + 0x28]
add ebp, 2
inc eax
cmp eax, esi
mov dword [esp + 0x28], eax
jb 0x41c8f9
add edi, dword [edi + 4]
mov esi, dword [edi + 4]
test esi, esi
jne 0x41c8b3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x41c980
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x41c9ca
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x41c9ab
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x41c9b8
add edx, eax
cmp ebx, edx
jb 0x41c9c6
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x41c9a1
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x41c9d0
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0x41c9f0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x41ca30
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x41ca1b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x41ca28
add edx, ecx
cmp ebx, edx
jb 0x41ca32
inc edi
add eax, 0x28
cmp edi, esi
jb 0x41ca11
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x41cc50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.00429465
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x41cceb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x41cccd
lea eax, [esp + 0x18]
push eax
jmp 0x41ccd2
push 0x459a78
call fcn.00429881
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x41cca0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x41cc30
push 4
push ecx
push eax
call fcn.004296b3
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0x41d000
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push 0
push 0
push 0
push edi
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.00429465
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x41d09b
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41d07d
lea eax, [esp + 0x18]
push eax
jmp 0x41d082
push 0x459a78
call fcn.00429881
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x41d050
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x41cc30
push 4
push ecx
push eax
call fcn.004296b3
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0x422da0
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 0x422e0b
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x422e45
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.00422aa0
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0x422dd5
mov edi, 0x43c860
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x422e45
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00422aa0
add edi, 4
add esp, 0xc
cmp edi, 0x43c874
jb 0x422e10
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 0x422e80
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.004293a2
mov esi, eax
add esp, 8
test esi, esi
je 0x422f17
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 0x422f12
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.00428d7f
add esp, 8
test eax, eax
je 0x422ef3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0x422ef8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.00428d7f
add esp, 8
test eax, eax
jne 0x422ed5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0x422f12
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 0x423d20
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4378ab
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 0x423e12
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.0042842f
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x423e12
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.0041f380
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0042883b
push 0x10
call fcn.00428803
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x423dd5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.004151c0
jmp 0x423dd7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00423990
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x423e00
mov ecx, edi
call fcn.004152c0
push edi
call fcn.004287f8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x423e31
inc ebx
cmp ebx, 0x20
jb 0x423d4e
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 0x425010
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438818
push 0x4294fc
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 0x4250e9
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 0x4250e9
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.00428803
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x4250e9
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 0x4250e9
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 0x4250ec
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00425111
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425b30
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 0x425b68
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 0x425b70
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 0x425ba4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x425ba4
push eax
push esi
call fcn.0042883b
add esp, 8
pop esi
ret 0x10

Function at 0x425bb0
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 0x425c32
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x425c25
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x43d2fc
push ecx
mov dword [esp + 0x1c], 4
call fcn.0042842f
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 0x425bea
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 0x425c40
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 0x425cd2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x425cc5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x43d2fc
push ecx
mov dword [esp + 0x1c], 4
call fcn.0042842f
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 0x425cbb
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x425c7a
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 0x425e50
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 0x425f81
push esi
call fcn.00429465
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.00418150
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x425f81
push 0
push ebp
call fcn.00418470
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00418330
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x425edb
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.004183c0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x425f71
push 0x43d8f4
push edi
call fcn.00427280
push eax
push ebx
push esi
call fcn.00425db0
push 0x43d8d4
push edi
call fcn.00427280
push eax
push ebx
push esi
call fcn.00425db0
push 0x43d8b4
push edi
call fcn.00427280
push eax
push ebx
push esi
call fcn.00425db0
push 0x43d89c
push edi
call fcn.00427280
add esp, 0x44
push eax
push ebx
push esi
call fcn.00425db0
push 0x43d87c
push edi
call fcn.00427280
push eax
push ebx
push esi
call fcn.00425db0
push 0x43d864
push edi
call fcn.00427280
push eax
push ebx
push esi
call fcn.00425db0
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 0x427040
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.00426fd0
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00426fd0
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00426fd0
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00426fd0
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 0x4270c0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x218]
push ebp
mov ebp, dword [esp + 0x218]
push esi
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x427166
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push eax
push edx
call edi
mov esi, eax
test esi, esi
jne 0x42713e
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004270c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42713e
lea edx, [esp + 0x14]
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call edi
mov esi, eax
test esi, esi
je 0x42710e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
pop edi
je 0x42715e
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
Function at 0x428230
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 0x428286
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x43888c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x428279
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x428288
xor eax, eax
pop esi
leave
ret 4

Function at 0x42f3f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4587d0
cmp edx, dword [eax]
je 0x42f412
add eax, 8
inc ecx
cmp eax, 0x458860
jl 0x42f403
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4587d0]
jne 0x42f540
mov eax, dword [0x45d918]
cmp eax, 1
je 0x42f51a
test eax, eax
jne 0x42f443
cmp dword [0x458024], 1
je 0x42f51a
cmp edx, 0xfc
je 0x42f540
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42f47a
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004307e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0042f6c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x42f4bd
lea eax, [ebp - 0x1a4]
push eax
call fcn.0042f6c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x438d40
push edi
call fcn.00430660
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004307e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004307f0
lea eax, [ebp - 0xa0]
push 0x438d20
push eax
call fcn.004307f0
push dword [esi + 0x4587d4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004307f0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00432a03
add esp, 0x2c
pop edi
jmp 0x42f540
lea eax, [ebp + 8]
lea esi, [esi + 0x4587d4]
push 0
push eax
push dword [esi]
call fcn.0042f6c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x100308e0
Capabilities:
Encode data using xor

Disassembly:
sbb byte [ebp - 0x249df97c], ch
mov ebp, 0xf17aadbc
in eax, dx
outsd dx, dword [esi]
jb 0x781e9b5f
push ecx
sub al, 0x81
push ebx
xor byte [ebx + 0x6f], 0x31
and eax, 0xce78cfc6
add cl, byte [edx + 0x41ecdd74]
mov dh, byte [ebp + ebx*8 - 0x14]
inc ecx
add al, 0xd2
dec ebp
dec ebx
pop ss
fsubr dword [ebp + 0xb26fe11]
or eax, dword es:[ebx + 0x1170dfb6]
sub ebp, edx
jno 0x100308d2
fsubr dword [edx]
xor eax, 0x67de7d27
pop esi
push es
in al, dx
aam 0x40
jbe 0x10030966
fild dword [edi]
invalid
push 0xd0fb4ba5
cld
and ah, byte [ebx]
cmc
xchg ebx, eax
ror edi, cl
invalid

Function at 0x100327a0
Capabilities:
Encode data using xor

Disassembly:
movsb byte es:[edi], byte [esi]
pop eax
clc
int3
movsb byte es:[edi], byte [esi]
movsd dword es:[edi], dword [esi]
dec ebp
xor edx, dword cs:[eax - 0x34]
xor edx, dword [eax - 0x34]
jge 0x10032797
pop ebp
push ds
pushfd
push es
wait
sti
loopne 0x1003279b
imul esi, dword [edx], 0xffffffc8
pop edx
inc dword [esi]
pop ebx
fmul qword [ecx - 0x52]
or byte [ebx], dl
and eax, dword [ebx + 0x1a6b02c]
salc
xor dword [edi], 0x8c7ae9dd
or byte [esi - 0x1858dbdc], al
pop es
sbb ch, byte [edx + 0x2a]
sub byte [0x96dec3ae], dl
ficom word [esi - 0x4b3125b8]
mov byte [edi - 0x52], dh
test al, 0x8a
inc edi
mov dl, 0x1e
cmp ebp, dword [edx]
pop edi
and al, 6
stosb byte es:[edi], al
je 0x10032805
and esi, dword ss:[eax - 0x409b4ac3]
in al, dx
outsb dx, byte [esi]
test al, 0x20
mov ecx, 0x68c0e4c2
retf 0xfcd2
bound ebx, qword [0x3dc9fffb]
dec edx
inc dword [ebx + esi*4]
mov esi, 0x2e1c2e5a
xchg byte [0xff8501], bl
push ebp
or eax, 0xfaf2542e
add byte [ebx], ah
arpl word [ebx + 0x7b167b51], bx
jmp 0x1003280b

Function at 0x107bf053
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x107b9140]
jne 0x107bf05d
repz ret
jmp fcn.107bf2df
Function at 0x107c3feb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x107b9140]
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.107bfa36
and dword [ebp - 0x14], 0
cmp dword [0x107bcacc], 0
mov dword [ebp - 0x18], eax
jne 0x107c409e
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x107c4146
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x107c4146
mov esi, dword [sym.imp.kernel32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x107bcacc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x107bcad0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x107bcad4], eax
call edi
push eax
call esi
mov dword [0x107bcadc], eax
test eax, eax
je 0x107c409e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x107bcad8], eax
mov eax, dword [0x107bcad8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, ecx
je 0x107c40f7
cmp dword [0x107bcadc], ecx
je 0x107c40f7
push eax
call esi
push dword [0x107bcadc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x107c40f7
test ebx, ebx
je 0x107c40f7
call edi
test eax, eax
je 0x107c40ee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x107c40ee
test byte [ebp - 8], 1
jne 0x107c40f7
or dword [ebp + 0x10], 0x200000
jmp 0x107c412a
mov eax, dword [0x107bcad0]
cmp eax, dword [ebp - 0x18]
je 0x107c412a
push eax
call esi
test eax, eax
je 0x107c412a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x107c412a
mov eax, dword [0x107bcad4]
cmp eax, dword [ebp - 0x18]
je 0x107c412a
push eax
call esi
test eax, eax
je 0x107c412a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x107bcacc]
call esi
test eax, eax
je 0x107c4146
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x107c4148
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.107bf053
leave
ret