joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d4670
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [0x54ae68]
mov edi, eax
add esp, 4
test edi, edi
jne 0x4d4695
pop edi
pop esi
pop ecx
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
push ebx
add edx, eax
push ebp
mov ebp, dword [esp + 0x20]
mov dword [edi + 8], edx
cmp ebp, dword [esi + 0x10]
jbe 0x4d46dc
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebp
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov ebp, dword [esi + 0x14]
add esp, 0x18
jmp 0x4d46e0
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov ecx, dword [esi]
push eax
call ecx
mov edx, dword [edi + 8]
mov eax, dword [esi]
push edx
call eax
add esp, 8
mov dword [esp + 0x10], 0
test ebp, ebp
je 0x4d473c
mov dword [esp + 0x10], ebp
mov cl, byte [ebx]
xor cl, 0x36
mov byte [esp + 0x18], cl
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
call ecx
mov dl, byte [ebx]
xor dl, 0x5c
mov byte [esp + 0x24], dl
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x28]
push eax
push ecx
inc ebx
call edx
add esp, 0x18
dec ebp
jne 0x4d4703
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
cmp eax, dword [esi + 0x10]
jae 0x4d4778
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
push str.6_HM
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi + 4]
push 1
push 0x522ddb
push eax
call ecx
mov eax, dword [esp + 0x20]
inc eax
add esp, 0x18
mov dword [esp + 8], eax
cmp eax, dword [esi + 0x10]
jb 0x4d4747
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x4d4910
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
push 0xf0000040
push 0x18
push 0
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x4d4946
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x800c
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov eax, dword [esp + 0x18]
push esi
push eax
call fcn.0049cf70
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
push 0
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 0
lea eax, [esp + 8]
push eax
push 0
push 2
push ecx
mov dword [esp + 0x18], 0
call esi
cmp dword [esp + 4], 0x20
jne 0x4d49a3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push 0
lea edx, [esp + 8]
push edx
push eax
push 2
push ecx
call esi
mov eax, dword [esp + 0xc]
pop esi
test eax, eax
je 0x4d49b3
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 4]
test eax, eax
je 0x4d49c4
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
add esp, 0xc
ret
Function at 0x4d5e0b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x54b3f0]
jne 0x4d5e15
repz ret
jmp fcn.004e407f

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4de87d
call fcn.004ddbd0
mov dword [eax], esi
call fcn.004ddbbd
push 0x16
pop esi
mov dword [eax], esi
call fcn.004e6564
mov eax, esi
jmp 0x4de8d2
test dword [ebp + 0xc], 0xfffffff9
jne 0x4de863
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4de8aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004ddbe3
pop ecx
call fcn.004ddbbd
mov eax, dword [eax]
jmp 0x4de8d2
test al, 0x10
jne 0x4de8d0
test al, 1
je 0x4de8d0
test byte [ebp + 0xc], 2
je 0x4de8d0
call fcn.004ddbd0
mov dword [eax], 5
call fcn.004ddbbd
mov dword [eax], 0xd
jmp 0x4de8a1
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4f59a3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x54b3f0]
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.004e4ba2
and dword [ebp - 0x14], 0
cmp dword [0x550290], 0
mov dword [ebp - 0x18], eax
jne 0x4f5a56
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4f5afe
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x52c038
push ebx
call edi
test eax, eax
je 0x4f5afe
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x52c028
push ebx
mov dword [0x550290], eax
call edi
push eax
call esi
push 0x52c014
push ebx
mov dword [0x550294], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x550298], eax
call edi
push eax
call esi
mov dword [0x5502a0], eax
test eax, eax
je 0x4f5a56
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x55029c], eax
mov eax, dword [0x55029c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4f5aaf
cmp dword [0x5502a0], ecx
je 0x4f5aaf
push eax
call esi
push dword [0x5502a0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4f5aaf
test ebx, ebx
je 0x4f5aaf
call edi
test eax, eax
je 0x4f5aa6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4f5aa6
test byte [ebp - 8], 1
jne 0x4f5aaf
or dword [ebp + 0x10], 0x200000
jmp 0x4f5ae2
mov eax, dword [0x550294]
cmp eax, dword [ebp - 0x18]
je 0x4f5ae2
push eax
call esi
test eax, eax
je 0x4f5ae2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4f5ae2
mov eax, dword [0x550298]
cmp eax, dword [ebp - 0x18]
je 0x4f5ae2
push eax
call esi
test eax, eax
je 0x4f5ae2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x550290]
call esi
test eax, eax
je 0x4f5afe
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4f5b00
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d5e0b
leave
ret
Function at 0x4fefa0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004fefb0

Function at 0x4ff230
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4ff23c
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.004ff250
Function at 0x493730
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + 0x1af695c]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x1af68ec]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x493743
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x493784
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x1af6994]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4937b6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4937ba
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4937ab
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4937d8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4937dc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4937cd
xor ecx, ecx
mov eax, 0x1af68fc
xor ebx, ebx
mov bl, byte [ecx + 0x1af69a4]
cmp byte [esp + ebx + 0x14], 0
je 0x493807
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x1af69bc]
cmp byte [esp + ebx + 0x14], 0
je 0x49381e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, 0x1af695c
jl 0x4937ee
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x493777
lea edx, [esp + 0x84]
push edx
call fcn.00493860
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4e5b70
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push 0x1b00474
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4e5c62
lea ecx, [esp + 0x10]
push ecx
push str..htm
push closesocket
mov ecx, edi
call fcn.004e58f0
test eax, eax
jne 0x4e5c62
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push closesocket
mov ecx, edi
call fcn.004e58f0
test eax, eax
jne 0x4e5c62
lea edx, [esp + 0x10]
push 0x1b00450
push edx
call fcn.004ae8d6
mov esi, eax
add esp, 8
test esi, esi
jne 0x4e5c33
lea eax, [esp + 0x10]
push 0x1b0044c
push eax
call fcn.004ae850
mov esi, eax
add esp, 8
test esi, esi
jne 0x4e5c33
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x4e5c36
mov byte [esi], 0
push 0x1affd2c
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x583d50
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x583db2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret

Function at 0x583dc0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
push esi
push edi
push 5
push 0
push 0
push eax
push 0x1b00474
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x583e9d
lea ecx, [esp + 8]
push ecx
push str..htm
push closesocket
call fcn.00583d50
add esp, 0xc
test eax, eax
jne 0x583e9d
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 8]
push str._shellopencommand
push edx
call edi
lea eax, [esp + 8]
lea ecx, [esp + 8]
push eax
push ecx
push closesocket
call fcn.00583d50
add esp, 0xc
test eax, eax
jne 0x583e9d
lea edx, [esp + 8]
push 0x1b00450
push edx
call fcn.004ae8d6
mov esi, eax
add esp, 8
test esi, esi
jne 0x583e78
lea eax, [esp + 8]
push 0x1b0044c
push eax
call fcn.004ae850
mov esi, eax
add esp, 8
test esi, esi
jne 0x583e78
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 7]
jmp 0x583e7b
mov byte [esi], 0
push 0x1affd2c
push esi
call edi
mov edx, dword [esp + 0x214]
push edx
push esi
call edi
lea eax, [esp + 8]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
lea ecx, [esp + 0x214]
call fcn.005c47ef
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x2f03157f
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x705c6a40
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x405d7e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a1244], 0
push esi
jne 0x405db5
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d8f
mov dword [ecx*4 + 0x7a1240], eax
inc ecx
cmp ecx, 0x100
jl 0x405d8a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405de6
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a1240]
xor eax, esi
inc ecx
dec edx
jne 0x405dc8
pop edi
not eax
pop esi
ret 0xc

Function at 0x9b6058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x9b61a8
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 0x9b607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9b606a
add dl, dl
jne 0x9b6089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9b60dc
xor eax, eax
add dl, dl
jne 0x9b6096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9b617d
add dl, dl
jne 0x9b60a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9b60b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9b60bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9b60c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9b60d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9b6075
mov eax, 1
add dl, dl
jne 0x9b60ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9b60f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9b60e1
sub eax, ebx
mov ebx, 1
jne 0x9b6128
mov ecx, 1
add dl, dl
jne 0x9b610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9b6119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9b6105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9b6075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9b613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9b614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9b6136
cmp eax, 0x7d00
jae 0x9b616d
cmp eax, 0x500
jb 0x9b6168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9b6075
cmp eax, 0x7f
ja 0x9b6170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9b6075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9b619e
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 0x9b6075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x74fb338a
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x668f3f4f
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401090
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
mov eax, dword fs:[0x18]
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x14
mov edx, dword [ecx]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [ebp - 4]
sub esp, 0xc
leave
lea esp, [ecx - 4]
ret

Function at 0x4010d0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
test edx, edx
je 0x4011a0
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edi, edx
mov ebx, eax
sub esp, 0x3c
mov dword [esp + 8], edx
mov edx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [ebp - 0x20], edx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], eax
call edx
sub esp, 0x20
mov ecx, eax
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov esi, eax
sub esp, 0xc
xor eax, eax
test esi, esi
je 0x401197
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 4], 0
mov dword [esp], ebx
mov edx, dword [ebp - 0x20]
call edx
mov eax, esi
sub esp, 0x20
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
ret

Function at 0x4011b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
test edx, edx
je 0x401262
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edi, edx
mov ebx, eax
sub esp, 0x3c
mov dword [esp + 8], edx
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [ebp - 0x20], edx
mov dword [esp], eax
call edx
mov ecx, eax
sub esp, 0x18
lea esi, [ecx + ecx]
mov dword [esp + 4], 0
mov dword [ebp - 0x1c], ecx
mov eax, dword fs:[0x18]
mov dword [esp + 8], esi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov esi, eax
sub esp, 0xc
xor eax, eax
test esi, esi
je 0x40125a
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 0x14], ecx
mov edx, dword [ebp - 0x20]
call edx
mov eax, esi
sub esp, 0x18
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
ret
Function at 0x4014a0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
mov eax, dword fs:[0x18]
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x14
mov edx, dword [ecx]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 4]
sub esp, 0xc
leave
lea esp, [ecx - 4]
ret

Function at 0x4014e0
Capabilities:
Delete file
Get common file path

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
lea ebx, [ebp - 0x11c]
sub esp, 0x12c
mov esi, dword [ecx]
mov dword [esp + 4], ebx
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
sub esp, 8
test eax, eax
jne 0x401523
lea esp, [ebp - 0xc]
xor eax, eax
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x406000
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
sub esp, 0x10
test eax, eax
je 0x401516
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, 1
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret

Function at 0x401570
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, eax
mov eax, 0xfde9
sub esp, 0x20
call dbg.strdupWtoA
mov esi, eax
mov eax, dword [0x407014]
test eax, eax
je 0x401612
cmp byte [esi], 0x5c
mov eax, esi
jne 0x4015a8
lea esi, [esi]
add eax, 1
cmp byte [eax], 0x5c
je 0x4015a0
movzx edx, word [section..data]
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x18], dbg.fci_get_open_info
mov dword [esp + 0x14], dbg.fci_status
mov dword [esp + 0x10], dbg.fci_get_next_cab
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 0x1c], edx
call sym._FCIAddFile
mov dword [esp + 8], esi
mov ebx, eax
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 4], 0x5c
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strrchr]
lea edx, [eax + 1]
test eax, eax
mov eax, edx
cmove eax, esi
jmp 0x4015a8