joyce8/EMBER2024-capa huggingface dataset:
Function at 0x846f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x85b9fb
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 0x847002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.0084adff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x847002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.008426e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0084b20b
push 0x10
call fcn.0084b1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x846fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.008371c0
jmp 0x846fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00846b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x846ff0
mov ecx, edi
call fcn.008372c0
push edi
call fcn.0084b1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x847021
inc ebx
cmp ebx, 0x20
jb 0x846f3e
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 0x848250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x85c808
push 0x84c288
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 0x848329
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 0x848329
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.0084b1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x848329
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 0x848329
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 0x84832c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00848351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x848d20
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 0x848d58
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 0x848d60
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 0x848d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x848d94
push eax
push esi
call fcn.0084b20b
add esp, 8
pop esi
ret 0x10

Function at 0x848da0
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 0x848e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x848e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x861320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0084adff
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 0x848dda
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 0x848e30
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 0x848ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x848eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x861320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0084adff
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 0x848eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x848e6a
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 0x849000
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 0x849131
push esi
call fcn.0084c145
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.0083b080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x849131
push 0
push ebp
call fcn.0083b3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.0083b260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x84908b
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.0083b2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x849121
push 0x861918
push edi
call fcn.0084a3f0
push eax
push ebx
push esi
call fcn.00848f60
push 0x8618f8
push edi
call fcn.0084a3f0
push eax
push ebx
push esi
call fcn.00848f60
push 0x8618d8
push edi
call fcn.0084a3f0
push eax
push ebx
push esi
call fcn.00848f60
push 0x8618c0
push edi
call fcn.0084a3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00848f60
push 0x8618a0
push edi
call fcn.0084a3f0
push eax
push ebx
push esi
call fcn.00848f60
push 0x861888
push edi
call fcn.0084a3f0
push eax
push ebx
push esi
call fcn.00848f60
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 0x84a1b0
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.0084a140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0084a140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0084a140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0084a140
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 0x84abfa
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 0x84ac50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x85c87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x84ac43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x84ac52
xor eax, eax
pop esi
leave
ret 4
Function at 0x4e6050
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x80000]
push edi
or ebp, 0xffffffff
jmp 0x4e6072
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e6079
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e6068
mov eax, 1
add ebx, ebx
jne 0x4e608b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e6080
jne 0x4e609c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e6080
xor ecx, ecx
sub eax, 3
jb 0x4e60b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e6122
mov ebp, eax
add ebx, ebx
jne 0x4e60bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4e60c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4e60ec
inc ecx
add ebx, ebx
jne 0x4e60d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e60cd
jne 0x4e60e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e60cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e610c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e60fd
jmp 0x4e606e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e610c
add edi, ecx
jmp 0x4e606e
pop esi
lea edi, [esi + 0xe3000]
mov eax, dword [edi]
or eax, eax
je 0x4e6174
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe9298]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe939c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e6129
mov ecx, edi
jns 0x4e6158
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 + 0xe93a0]
or eax, eax
je 0x4e616e
mov dword [ebx], eax
add ebx, 4
jmp 0x4e6146
call dword [esi + 0xe93a8]
mov ebp, dword [esi + 0xe93a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x4e61a8
sub esp, 0xffffff80
jmp 0x46994c
Function at 0x401000
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x404
push ebx
push ebp
push esi
xor esi, esi
push edi
xor eax, eax
mov dword [esp + eax*4 + 0x14], eax
inc eax
cmp eax, 0x100
jl 0x40100e
mov edi, dword [esp + 0x424]
mov ebx, dword [esp + 0x41c]
xor ecx, ecx
mov eax, ecx
xor edx, edx
div edi
mov ebp, dword [esp + ecx*4 + 0x14]
xor eax, eax
mov al, byte [edx + ebx]
add eax, ebp
add esi, eax
and esi, 0x800000ff
jns 0x40104d
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [esp + ecx*4 + 0x14]
mov eax, dword [esp + esi*4 + 0x14]
mov byte [esp + 0x10], dl
mov dword [esp + ecx*4 + 0x14], eax
mov edx, dword [esp + 0x10]
and edx, 0xff
inc ecx
cmp ecx, 0x100
mov dword [esp + esi*4 + 0x14], edx
jl 0x40102a
mov eax, dword [esp + 0x420]
xor edx, edx
test eax, eax
jbe 0x4010fc
mov ebp, dword [esp + 0x418]
inc ecx
and ecx, 0x800000ff
jns 0x401099
dec ecx
or ecx, 0xffffff00
inc ecx
mov edi, dword [esp + ecx*4 + 0x14]
add esi, edi
and esi, 0x800000ff
jns 0x4010af
dec esi
or esi, 0xffffff00
inc esi
mov bl, byte [esp + ecx*4 + 0x14]
mov edi, dword [esp + esi*4 + 0x14]
mov byte [esp + 0x10], bl
mov dword [esp + ecx*4 + 0x14], edi
mov edi, dword [esp + 0x10]
and edi, 0xff
mov dword [esp + esi*4 + 0x14], edi
mov ebx, dword [esp + ecx*4 + 0x14]
add ebx, edi
and ebx, 0x800000ff
jns 0x4010e3
dec ebx
or ebx, 0xffffff00
inc ebx
mov bl, byte [esp + ebx*4 + 0x14]
xor byte [edx + ebp], bl
inc edx
cmp edx, eax
jb 0x401088
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x404
ret
mov eax, dword [esp + 0x418]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x404
ret
Function at 0x4021dd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x406100
cmp edx, dword [eax]
je 0x4021ff
add eax, 8
inc ecx
cmp eax, 0x406190
jl 0x4021f0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x406100]
jne 0x40232d
mov eax, dword [0x4084f8]
cmp eax, 1
je 0x402307
test eax, eax
jne 0x402230
cmp dword [0x406054], 1
je 0x402307
cmp edx, 0xfc
je 0x40232d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402267
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004027c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402970
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4022aa
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402970
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4053d0
push edi
call fcn.00404010
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004027c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004027d0
lea eax, [ebp - 0xa0]
push 0x4053b0
push eax
call fcn.004027d0
push dword [esi + 0x406104]
lea eax, [ebp - 0xa0]
push eax
call fcn.004027d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00403f84
add esp, 0x2c
pop edi
jmp 0x40232d
lea eax, [ebp + 8]
lea esi, [esi + 0x406104]
push 0
push eax
push dword [esi]
call fcn.00402970
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 0x4b5e70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x73000]
push edi
jmp 0x4b5e8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b5e91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b5e80
mov eax, 1
add ebx, ebx
jne 0x4b5ea3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b5eb4
jne 0x4b5ed3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b5ed3
dec eax
add ebx, ebx
jne 0x4b5ec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b5e98
add ebx, ebx
jne 0x4b5ecf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b5f25
xor ecx, ecx
sub eax, 3
jb 0x4b5eeb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b5f5a
sar eax, 1
mov ebp, eax
jmp 0x4b5ef6
add ebx, ebx
jne 0x4b5ef6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b5ec4
inc ecx
add ebx, ebx
jne 0x4b5f04
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b5ec4
add ebx, ebx
jne 0x4b5f11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b5f06
jne 0x4b5f22
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b5f06
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b5f44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b5f36
jmp 0x4b5e86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b5f44
add edi, ecx
jmp 0x4b5e86
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b5f62
cmp byte [edi], 0x13
jne 0x4b5f62
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4b5f67
lea edi, [esi + 0xb1000]
mov eax, dword [edi]
or eax, eax
je 0x4b5fdf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xba77c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xba8d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b5f94
mov ecx, edi
jns 0x4b5fc3
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 + 0xba8d4]
or eax, eax
je 0x4b5fd9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b5fb1
call dword [esi + 0xba8e4]
mov ebp, dword [esi + 0xba8d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4b6013
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x401084
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
mov dword [esi + 0x6c], eax
jne 0x4010a0
xor al, al
jmp 0x4010bd
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x4010c1
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
cmp eax, edi
setne cl
mov al, cl
pop edi
pop esi
pop ecx
ret

Function at 0x401113
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
mov dword [ebp + 0x10], eax
call dword [sym.imp.ole32.dll_CoInitialize]
push dword [ebp + 8]
and dword [0x4065a4], 0
mov ebx, 0x406540
mov dword [0x406540], 0x64
push 0x406030
push ebx
call fcn.00403143
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, 0x406080
lea edi, [ebp - 4]
movsw word es:[edi], word [esi]
mov dword [0x4065a8], eax
lea eax, [ebp - 4]
movsb byte es:[edi], byte [esi]
xor esi, esi
push eax
push dword [ebp + 0x10]
mov dword [ebp - 8], esi
mov dword [ebp + 8], 1
call fcn.004010d5
mov edi, eax
pop ecx
cmp edi, esi
pop ecx
je 0x4011d7
push str.UnregServer
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4011ae
push str.RegServer
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4011c8
lea eax, [ebp - 4]
push eax
push edi
jmp 0x40117a
push esi
push ebx
call fcn.00403310
push 1
push esi
push esi
push 1
push 0x405150
call dword [sym.imp.OLEAUT32.dll_VarDecFix]
jmp 0x4011d1
push esi
push 1
push ebx
call fcn.004032a7
mov dword [ebp - 8], eax
mov dword [ebp + 8], esi
cmp dword [ebp + 8], esi
je 0x40122d
mov ecx, ebx
call fcn.00401084
push esi
push 4
push ebx
call fcn.00403194
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push esi
push esi
lea eax, [ebp - 0x24]
push esi
push eax
call edi
test eax, eax
je 0x40121c
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push esi
push esi
lea eax, [ebp - 0x24]
push esi
push eax
jmp 0x4011f9
push ebx
call fcn.00403217
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call fcn.00403247
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x420e80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420ead
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420ead
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x66978b
Capabilities:
Encode data using xor

Disassembly:
cmp dword [ebp + 0x14], ecx
pushfd
push 0x48881e7
push dword [esp + 4]
lea esp, [esp + 0xc]
ja 0x54422b
pushfd
jmp 0x53acac
lea esp, [esp + 0x28]
jne 0x669de9
rcl cl, cl
jae 0x6677be
mov cl, 0x85
mov ecx, dword [ebp - 4]
cmc
jmp 0x531eec
pop edi
xchg si, di
pop esi
xchg cx, di
bsf cx, sp
mov ecx, dword [esi + 4]
clc
pushfd
bt ebp, 7
push dword [esp]
or ecx, ecx
call fcn.00669d93
bt bx, ax
mov ecx, dword [ebp - 4]
clc
cmp cx, 0x842a
call fcn.00537ea4
mov esp, ds
invalid
add esi, 2
mov dword [esp + 4], 0x88e6ca6b
mov byte [esp + 4], bh
mov byte [esp + 4], 0xa
mov byte [esp], 0x39
dec ecx
mov byte [esp], cl
mov byte [esp], 0xa9
pushal
jmp 0x531fc6
bt di, di
call fcn.006665d4
push ebx
adc eax, 0x555fb3d3
pushal
add dword [edx - 0x7c], edi
pop ecx
sbb eax, 0x8ce0eea3
inc eax
xor ch, byte [esp + ecx*8 + 0x24489cf7]
or edi, dword [esi - 0x7d]
and edx, dword [edi + eax*2 + 0x3a]
ja 0x669b06
sar byte [edx + 0x344e602c], 1
mov edx, 0x344e602c
pop ebx
mov byte [ecx], 8
pop esp
dec esi
lds ebx, [esp + 0x5426a8a8]
push es
inc edi
loop 0x669b47
xchg dword [ebp + 0x5b8fdfab], edx
adc eax, 0x44556ad9
push 0x55
inc esp
test byte [edi], 0x6c
pop ebx
je 0x669ae7
pop es
sti
push eax
aam 0x1b
popal
inc eax
imul ebp, dword [ecx + ebx*4 + 0x18d4d59], 0x5bef7a13
into
xchg ecx, eax
xchg dword [eax], edx
test byte [ebx - 0x55452e63], dl
aam 0xcd
lodsb al, byte [esi]
insd dword es:[edi], dx
aaa
ror esi, 1
mov dword [0x288bc7a6], eax
test byte [edx - 0x6a], ch
sar esi, 1
xchg edi, eax
dec ecx
das
jae 0x669b66
pmullw mm0, qword [ecx + 0x6c]
jns 0x669b83
mov ss, word [edx - 0x50b3bef7]
mov eax, dword [0xef79de1]
jg 0x669b56
cmp dword [ebx - 0x43], ebp
out 0x14, eax
iretd
imul edi, dword [ebp - 0x2830eb19], 0xffffffbf
mov eax, dword [0x2023cad7]
add dword [ecx - 0x43], esi
mov ecx, 0xb6560111
int1
adc dword [ecx], eax
push esi
mov dh, 0xf1
xchg ecx, eax
mov al, ch
rcl eax, cl
or al, 0x6e
pop ebx
mov al, 0xd4
add byte [edx - 0x41], bh
invalid
and bl, 0xcb
bsr bx, bx
and bh, al
mov bx, word [esi]
cmp sp, 0x6402
pushfd
mov dword [esp], 0x5261ed86
shr ebx, 0xc
jmp 0x669abb