joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e014ca3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x28
mov eax, 0x2e030759
call fcn.2e02e6de
mov esi, dword [ebp + 8]
xor eax, eax
mov bl, al
mov edi, dword [ebp + 0xc]
cmp dword [ecx + 0x10], eax
jbe 0x2e014da7
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.2e014b8d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push esi
call fcn.2e010d8f
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014d65
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x2e033941
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014d5c
mov eax, dword [ebp - 0x2c]
inc eax
push eax
call fcn.2e00202e
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push esi
push 0
push 0
push 0x2e033941
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014d4e
push esi
mov ecx, edi
call fcn.2e010e6c
mov bl, 1
push 1
push esi
mov byte [ebp - 4], 0
call fcn.2e00202e
pop ecx
pop ecx
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x2e014da7
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 2
cmp eax, 0x1000
jb 0x2e014d9e
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.2e00202e
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x34]
push eax
push ecx
call fcn.2e00202e
pop ecx
pop ecx
mov al, bl
call fcn.2e02e6bc
ret 8

Function at 0x2e014de1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x2e03078d
call fcn.2e001511
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push dword [ebp + 8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x2e014e1b
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014e81
lea eax, [ebp - 0x14]
mov edi, 0x2e033941
push eax
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014e78
mov eax, dword [ebp - 0x14]
test eax, eax
js 0x2e014e78
inc eax
push eax
call fcn.2e00202e
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014e6a
mov ecx, dword [ebp + 0xc]
push esi
call fcn.2e010e6c
mov bl, 1
or dword [ebp - 4], 0xffffffff
push 1
push esi
call fcn.2e00202e
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.2e00155b
ret 8
Function at 0x2e01e565
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x2e030a97
call fcn.2e02e6de
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
mov edi, ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e01e683
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push ebx
push str.progid
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e01e67a
mov eax, dword [ebp - 0x30]
inc eax
push eax
call fcn.2e00202e
mov esi, eax
pop ecx
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
push esi
push ebx
push ebx
push str.progid
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x2e01e66d
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.2e010e6c
push str.IE.HTTP
lea ecx, [ebp - 0x28]
call fcn.2e00202e
test al, al
jne 0x2e01e620
push ebx
push str.AppX
lea ecx, [ebp - 0x28]
call fcn.2e00202e
push 1
test eax, eax
pop edx
cmove edi, edx
jmp 0x2e01e623
xor edx, edx
inc edx
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x2e01e65d
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], dl
cmp eax, 0x1000
jb 0x2e01e654
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.2e00202e
mov eax, dword [ebp - 0x34]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
push eax
push ecx
call fcn.2e00202e
pop ecx
pop ecx
xor ecx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
inc ecx
mov byte [ebp - 0x28], bl
or dword [ebp - 4], 0xffffffff
push ecx
push esi
call fcn.2e00202e
pop ecx
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, di
call fcn.2e02e6bc
ret
Function at 0x401410
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x403d80
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x426068]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x18]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x403e1f
mov dword [ebp - 0x14], 1
mov ecx, 0xc
imul edx, ecx, 0
lea eax, [ebp + edx - 0x10]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov ecx, 0xc
imul edx, ecx, 0
mov dword [ebp + edx - 8], 2
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x403e08
mov dword [ebp - 0x1c], 1
jmp 0x403e0f
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404ef4
mov esp, ebp
pop ebp
ret
Function at 0x403e30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x417a58
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x426068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x40], 0xffffffff
lea eax, [ebp + 0xc]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0x10]
call fcn.00402b60
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x403eab
push 0x42400a
mov ecx, dword [ebp + 8]
call fcn.00402df0
mov edx, dword [ebp - 0x38]
or edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 8]
jmp 0x403f9f
lea ecx, [ebp - 0x30]
call fcn.00402e60
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x400
mov dword [ebp - 0x18], 1
push 0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x30]
call fcn.004045d0
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x30]
call fcn.00404620
push eax
lea edx, [ebp - 0x18]
push edx
push 0
mov ecx, dword [ebp + 0x14]
call fcn.00402b60
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x40], 0
je 0x403f3b
push 0x42400b
mov ecx, dword [ebp + 8]
call fcn.00402df0
mov edx, dword [ebp - 0x38]
or edx, 1
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402d20
mov eax, dword [ebp + 8]
jmp 0x403f9f
lea ecx, [ebp - 0x30]
call fcn.00402b60
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x3c]
mov dl, byte [ecx]
mov byte [ebp - 0x31], dl
add dword [ebp - 0x3c], 1
cmp byte [ebp - 0x31], 0
jne 0x403f4f
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
push 0
mov ecx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x30]
call fcn.004045d0
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402d70
mov eax, dword [ebp - 0x38]
or eax, 1
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402d20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00404ef4
mov esp, ebp
pop ebp
ret
Function at 0x403fc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x426068]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 9], 0
lea eax, [ebp - 8]
push eax
push 0x102
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00402b60
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404034
mov ecx, dword [ebp + 0x14]
call fcn.00402b40
add eax, 1
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00402b60
push eax
push 1
push 0
mov ecx, dword [ebp + 0x10]
call fcn.00402b60
push eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40402a
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 8]
push ecx
push 0x202
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00402b60
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404094
mov ecx, dword [ebp + 0x14]
call fcn.00402b40
add eax, 1
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00402b60
push eax
push 1
push 0
mov ecx, dword [ebp + 0x10]
call fcn.00402b60
push eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40408a
mov byte [ebp - 9], 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 9]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404ef4
mov esp, ebp
pop ebp
ret
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x1002aaee
pop dword [ebp - 0x3c]
mov eax, 0xf38c19f9
sub eax, 0xe3896f0b
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xcbffe84
add dword [ebp - 0x4c], 0x419246c7
mov dword [ebp - 0x48], 0xe3c6e1fa
sub dword [ebp - 0x48], 0xb19395b5
mov dword [ebp - 0x44], 0x71488622
add dword [ebp - 0x44], 0xdb03be0c
mov dword [ebp - 0x40], 0x1f5249ba
add dword [ebp - 0x40], 0xe0adb646
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x6d9e4a30
sub eax, 0x5d9b89f8
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x6a57fa13
add dword [ebp - 0x4c], 0xa1a6f43
mov dword [ebp - 0x48], 0x14bde582
add dword [ebp - 0x48], 0x2cae7bf3
mov dword [ebp - 0x44], 0xfd213673
sub dword [ebp - 0x44], 0x99b1ca07
mov dword [ebp - 0x40], 0x5f43e6fd
sub dword [ebp - 0x40], 0x5f43e6fd
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x39868
push 0
call eax
mov ecx, 0x9cfb434
sub ecx, 0x9cf5ff9
mov ebx, eax
mov esi, 0x415523bc
sub esi, 0x31518dbc
add esi, dword [ebp - 0x3c]
mov edi, 0x926fb534
add edi, 0xa4e28a58
sub dword [ebp - 0x28], 0xda012917
mov edx, dword [esi]
mov dword [ebp - 0x38], 0xb7ecadd1
add edx, edi
xor dword [ebp - 0x24], eax
mov dword [ebx], edx
add dword [ebp - 0x30], 0xc74f96a5
add ebx, 0xa814d3ad
sub ebx, 0xa814d3a9
add esi, 4
loop 0x1002ac0b
add eax, 0xdcbc0d08
sub eax, 0xdcbac949
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xb4d025b0
sub ecx, 0xa4d025b0
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x409070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x40907f
pop dword [ebp - 8]
mov eax, 0x2feebf9f
add eax, 0xd051d0e0
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x34b7e
push 0
mov eax, 0xeb77e923
add eax, 0x14c8f7b5
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x360f
mov edx, eax
mov esi, 0x413bc4
add esi, dword [ebp - 8]
mov ebx, 0x80a0d40a
add dword [ebp - 4], 0xa50ad426
mov edi, dword [esi]
sub dword [ebp - 4], edx
sub edi, ebx
xor dword [ebp - 4], eax
mov dword [edx], edi
add dword [ebp - 4], 0xadfa41f1
add edx, 0x8afc193b
add edx, 0x7503e6c9
add esi, 0xd9f8910
sub esi, 0xd9f890c
loop 0x4090cc
add eax, 0xa81f936c
sub eax, 0xa81ec85d
xor ebx, ebx
add ebx, eax
add eax, 0x7fdf3dd9
add eax, 0x8020c22c
mov ecx, 0xb959b681
add ecx, 0x46e6497f
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x4086ca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x4086d9
pop dword [ebp - 0x28]
mov eax, 0x95b22ce4
sub eax, 0x9571a60b
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xa6af776a
add dword [ebp - 0x38], 0xa7a2cde1
mov dword [ebp - 0x34], 0x5d40ddd4
sub dword [ebp - 0x34], 0x2b0d918f
mov dword [ebp - 0x30], 0x89962b4d
sub dword [ebp - 0x30], 0x3d49e71f
mov dword [ebp - 0x2c], 0xa798bfde
sub dword [ebp - 0x2c], 0xa798bfde
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x103f41f
add dword [ebp - 0x38], 0x736e7537
mov dword [ebp - 0x34], 0x39ff8947
sub dword [ebp - 0x34], 0xf89327d2
mov dword [ebp - 0x30], 0xc728c3ea
sub dword [ebp - 0x30], 0x63b9577e
mov dword [ebp - 0x2c], 0xa0f81a49
add dword [ebp - 0x2c], 0x5f07e5b7
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x39db5
push 0
call eax
mov ecx, 0xeefcb0fc
sub ecx, 0xeefc67a3
xor ebx, ebx
add ebx, eax
mov edx, 0x5686f75a
sub edx, 0x5645475a
add edx, dword [ebp - 0x28]
mov edi, 0xbea113c6
sub edi, 0xd3ea3484
mov esi, dword [edx]
xor dword [ebp - 0x10], 0x6a3c6274
sub esi, edi
mov dword [ebx], esi
xor dword [ebp - 0x18], 0xa512dee2
add ebx, 0x69482ea6
add ebx, 0x96b7d15e
add edx, 0x12e3f1a5
add edx, 0xed1c0e5f
loop 0x4087f3
add eax, 0xd779cd38
add eax, 0x28874aff
xor ebx, ebx
add ebx, eax
add eax, 0x6def82a
add eax, 0xf92107db
mov ecx, 0x400000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x418060
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 8
push esi
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x4180d8
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
call fcn.00418010
push str.WavePad_Internal
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
test esi, esi
mov dword [esp + 4], eax
je 0x4180b6
mov ecx, dword [0x4c8abc]
push 0x4c87ac
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
lea edx, [esp + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_GetPriorityClipboardFormat]
mov ecx, eax
pop esi
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
xor eax, eax
test ecx, ecx
setne al
add esp, 8
ret
xor ecx, ecx
xor eax, eax
test ecx, ecx
setne al
pop esi
add esp, 8
ret

Function at 0x468e4a
Capabilities:
Encode data using xor

Disassembly:
lahf
shr dword [esi - 0x59], 1
jnp 0x468e57
xor byte [edx + 0x780352de], bh
lodsb al, byte [esi]
mov esi, 0xa108c590
xor byte [edx + 0x1c], bl
in eax, 0xf4
out dx, al
out 0xcd, al
nop
xchg ebx, eax
push ebx
xchg ah, dl
jbe 0x468e3a
aam 0x76
loopne 0x468dec
xchg ecx, eax
scasd eax, dword es:[edi]
outsd dx, dword [esi]
inc ecx
jno 0x468ed7
jmp 0x881363a9
xchg dword [edi + edi*2], edx
push es
push es
int 0x3b
fild qword [esi + 0x5ed168f2]
jg 0x468e46
mov cl, 0x5e
invalid

Function at 0x47e163
Capabilities:
Encode data using xor

Disassembly:
ja 0x47e173
sub al, 0xfb
push 0xffffffffffffff84
sbb dword [edx + 0x53], esi
pushal
mov eax, 0x57798368
xor cl, ah
clc
clc
pushfd
adc bl, dl
test byte [ebx + 0x7e], dh
sub byte [ebx - 0x614b9b97], al
out 6, al
push ss
adc bl, byte [ebx]
clc
salc
addsd xmm7, xmm5
ja 0x47e186
sbb cl, bh
cmp byte [0xaaa8ca60], al
stosd dword es:[edi], eax
aaa
invalid
cmp dh, dh
aam 0xe2
aas
push cs
dec edx
jbe 0x47e1c5
add byte [ebp - 0x642b2783], bl
fsub qword [ebp + 0x21]
add esi, esi
out 0x23, al
das
and dword gs:[ecx], eax
mul dh
and ebp, dword [edi]
jnp 0x47e1d7
push esi
bound edi, qword [ebp - 0x45fe2e6e]
std
mov ecx, ss
loope 0x47e11a
dec esi
xchg ebx, eax
wait
rol byte [ecx - 0x6724f10d], 0xa
inc esi
stosb byte es:[edi], al
push cs
fistp dword [eax - 0x55b90cf6]
out dx, al
nop
xor bh, byte [ecx + 0x70cb1a4b]
sahf
popfd
leave
sar dword ss:[edx - 0x18cb25c], cl
imul edx, dword [edx - 0x1d], 0x7246ca00
xchg ecx, eax
das
mov byte [eax - 0x9925205], bh
add ah, byte [edx]
movsb byte es:[edi], byte [esi]
cmp ch, byte [ebp + 0x4f]
mov bl, 0x12
jge 0x47e18d
test byte [esi - 0x74e18870], ah
insb byte es:[edi], dx
in al, dx
shr dword [ebx - 0x510b85b2], cl
cmpsb byte [esi], byte es:[edi]
nop
ja 0x47e1e4
push ds
mov ebp, dword [esp + ebp*8 - 0x2d]
stosd dword es:[edi], eax
dec esi
jp 0x47e1c2
scasb al, byte es:[edi]
pop eax
invalid
stc
in eax, dx
mov bh, 0x7d
ror byte [edi + 0x25], 1
fnstsw word [esi - 0x2e]
pushfd
pop eax
push edx
dec ebx
adc byte [eax - 0x1477f99c], 0x69
sub dword [ebp - 0x3724b291], eax
add ch, dl
fcomp qword [edx + 0x2da1dbc6]
invalid
Function at 0x4abd13
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46f490
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48cc80]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov eax, dword [0x48f4f0]
push eax
lea ecx, [esp + 0x34]
call 0x4cf463
lea esi, [esp + 0x34]
mov dword [esp + 0x6c], 0
call int.004ae003
push 0x47ba28
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x78], 1
call fcn.004a48f3
add esp, 0xc
mov byte [esp + 0x6c], 3
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4abd97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x50]
call 0x4e0579
mov ebx, dword [esp + 0x74]
lea eax, [ebx + 0x2d8]
push 0x47ba48
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x78], 4
call fcn.004a48f3
add esp, 0xc
lea edx, [esp + 0x50]
mov byte [esp + 0x6c], 5
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x38]
call 0x4cf393
mov byte [esp + 0x6c], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4abdfd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
cmp dword [esp + 0x58], esi
jle 0x4ac2f0

Function at 0x4ad9f3
Capabilities:
Encode data using xor

Disassembly:
xor dword [ebx + ebp*2 - 0x7c], edi
sbb al, 0x21
push esi
push ds
or byte [ebp + edi*2 + 0x744b04be], 0x6a
Function at 0x4bcab1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c5370
cmp edx, dword [eax]
je 0x4bcad3
add eax, 8
inc ecx
cmp eax, 0x4c5400
jl 0x4bcac4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c5370]
jne 0x4bcc01
mov eax, dword [0x4c9d00]
cmp eax, 1
je 0x4bcbdb
test eax, eax
jne 0x4bcb04
cmp dword [0x4c529c], 1
je 0x4bcbdb
cmp edx, 0xfc
je 0x4bcc01
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bcb3b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bd490
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bd920
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bcb7e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bd920
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c1c54
push edi
call fcn.004bf7f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bd490
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bd4a0
lea eax, [ebp - 0xa0]
push 0x4c1c34
push eax
call fcn.004bd4a0
push dword [esi + 0x4c5374]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bd4a0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bf764
add esp, 0x2c
pop edi
jmp 0x4bcc01
lea eax, [ebp + 8]
lea esi, [esi + 0x4c5374]
push 0
push eax
push dword [esi]
call fcn.004bd920
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 0x95b370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x95b38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x984074
push ecx
mov edi, eax
call fcn.0096f198
mov esi, eax
add esp, 8
test esi, esi
jne 0x95b3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0096f02e
push esi
call fcn.0096efb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x95e850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x95e8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x989720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x95e8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.0096f1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x95e8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x989720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x95e92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00970082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x95e957
mov word [eax], si
add eax, 2
push eax
call fcn.00970030
add esp, 4
jmp 0x95e959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x95e8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x95e8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x95eff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret