joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40eb30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4239a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x42c520]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x40ecc1
cmp byte [ebx + 0x49], 0
je 0x40ecc1
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x40ecb5
lea esi, [ebp - 0x2c]
call fcn.0040e640
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x40eba3
lea edx, [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebx + 0x44]
mov esi, dword [ecx]
lea edi, [ebp - 0x30]
push edi
mov edi, dword [ebp - 0x1c]
add edi, edx
push edi
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x40ebdc
dec eax
je 0x40ebe0
sub eax, 2
lea ecx, [ebp - 0x2c]
je 0x40ecbc
call fcn.0040d200
xor al, al
jmp 0x40ecc3
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x40ebf0
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x40ec1d
cmp edi, 0x10
jae 0x40ebff
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00413287
add esp, 0x10
cmp esi, eax
jne 0x40ecad
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x40ecb9
test esi, esi
jne 0x40eb97
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x40ecde
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x40ecde
cmp edi, esi
jae 0x40ec96
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040f260
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x40eb97
mov ecx, eax
cmp edi, 0x10
jae 0x40ec72
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x40ec8d
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x40eb91
test esi, esi
jne 0x40ec68
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x40eca5
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x40eb91
lea ecx, [ebp - 0x2c]
call fcn.0040d200
xor al, al
jmp 0x40ecc3
lea ecx, [ebp - 0x2c]
call fcn.0040d200
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00412123
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.00411371
int3
Function at 0x40eff0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42397b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x42c520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], 0x428cd4
call fcn.00411dc1
push 4
mov dword [ebp - 4], 0
call fcn.00412602
mov edi, eax
add esp, 4
test edi, edi
je 0x40f06c
call fcn.00411792
mov dword [edi], eax
call fcn.00411551
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00411486
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40f062
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.004114ae
jmp 0x40f06e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40fb70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423da8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x42c520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x1c]
push 0x42d540
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00409ac0
add esp, 8
lea ecx, [ebp - 0x18]
push 0x42d5b4
push ecx
mov byte [ebp - 4], 1
call fcn.00409ac0
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push 0x6a
mov byte [ebp - 4], 3
call fcn.00407040
add esp, 4
cmp eax, ebx
je 0x40fc01
push eax
lea eax, [ebx + 0x6a]
lea edi, [ebp - 0x14]
call fcn.00406b40
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx - 0xc], ebx
je 0x40fc8d
mov edx, dword [ebp - 0x18]
cmp dword [edx - 0xc], ebx
je 0x40fc8d
cmp dword [esi - 0xc], ebx
je 0x40fc8d
xor eax, eax
mov dword [ebp - 0x14], eax
nop
cmp eax, 2
jge 0x40fc8d
xor ecx, ecx
cmp eax, ebx
setne cl
push 2
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
add ecx, 0x80000001
mov dword [ebp - 0x20], ebx
call fcn.0040fae0
test eax, eax
jne 0x40fc71
mov edi, dword [ebp - 0x18]
cmp esi, ebx
je 0x40fc71
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push ebx
push edi
mov edi, dword [ebp - 0x28]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x40fc74
mov edi, dword [ebp - 0x28]
cmp edi, ebx
je 0x40fc82
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], ebx
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], ebx
jmp 0x40fc20
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40fcad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fcd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fcf2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410010
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
push esi
add eax, eax
lea edx, [ebp + 0xc]
push edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41007e
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x41004d
cmp eax, 2
jne 0x410068
mov eax, dword [ebp - 4]
test esi, esi
je 0x410078
test eax, eax
je 0x410073
test al, 1
jne 0x410068
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x410078
mov eax, 0xd
mov esp, ebp
pop ebp
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x412123
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42c520]
jne 0x41212d
repz ret
jmp fcn.004184aa

Function at 0x420aac
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42c520]
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.00417cd7
and dword [ebp - 0x14], 0
cmp dword [0x4632b0], 0
mov dword [ebp - 0x18], eax
jne 0x420b5f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x420c07
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x420c07
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4632b0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4632b4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4632b8], eax
call edi
push eax
call esi
mov dword [0x4632c0], eax
test eax, eax
je 0x420b5f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4632bc], eax
mov eax, dword [0x4632bc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x420bb8
cmp dword [0x4632c0], ecx
je 0x420bb8
push eax
call esi
push dword [0x4632c0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x420bb8
test ebx, ebx
je 0x420bb8
call edi
test eax, eax
je 0x420baf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x420baf
test byte [ebp - 8], 1
jne 0x420bb8
or dword [ebp + 0x10], 0x200000
jmp 0x420beb
mov eax, dword [0x4632b4]
cmp eax, dword [ebp - 0x18]
je 0x420beb
push eax
call esi
test eax, eax
je 0x420beb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x420beb
mov eax, dword [0x4632b8]
cmp eax, dword [ebp - 0x18]
je 0x420beb
push eax
call esi
test eax, eax
je 0x420beb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4632b0]
call esi
test eax, eax
je 0x420c07
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x420c09
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00412123
leave
ret
Function at 0x58f820
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc1000]
push edi
jmp 0x58f83a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x58f841
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58f830
mov eax, 1
add ebx, ebx
jne 0x58f853
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x58f864
jne 0x58f883
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58f883
dec eax
add ebx, ebx
jne 0x58f870
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x58f848
add ebx, ebx
jne 0x58f87f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x58f8d5
xor ecx, ecx
sub eax, 3
jb 0x58f89b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x58f90a
sar eax, 1
mov ebp, eax
jmp 0x58f8a6
add ebx, ebx
jne 0x58f8a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58f874
inc ecx
add ebx, ebx
jne 0x58f8b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58f874
add ebx, ebx
jne 0x58f8c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x58f8b6
jne 0x58f8d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x58f8b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x58f8f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x58f8e6
jmp 0x58f836
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x58f8f4
add edi, ecx
jmp 0x58f836
pop esi
mov edi, esi
mov ecx, 0x17a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x58f912
cmp byte [edi], 7
jne 0x58f912
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 0x58f917
lea edi, [esi + 0x18d000]
mov eax, dword [edi]
or eax, eax
je 0x58f986
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18f0f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18f140]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x58f944
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18f144]
or eax, eax
je 0x58f980
mov dword [ebx], eax
add ebx, 4
jmp 0x58f961
call dword [esi + 0x18f154]
mov ebp, dword [esi + 0x18f148]
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 0x58f9ba
sub esp, 0xffffff80
jmp 0x4021e2
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
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 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
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 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x9e8058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009e81a8
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 0x9e807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9e806a
add dl, dl
jne 0x9e8089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9e80dc
xor eax, eax
add dl, dl
jne 0x9e8096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9e817d
add dl, dl
jne 0x9e80a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9e80b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9e80bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9e80c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9e80d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9e8075
mov eax, 1
add dl, dl
jne 0x9e80ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9e80f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9e80e1
sub eax, ebx
mov ebx, 1
jne 0x9e8128
mov ecx, 1
add dl, dl
jne 0x9e810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9e8119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9e8105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9e8075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9e813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9e814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9e8136
cmp eax, 0x7d00
jae 0x9e816d
cmp eax, 0x500
jb 0x9e8168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9e8075
cmp eax, 0x7f
ja 0x9e8170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9e8075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9e819e
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 0x9e8075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x427dab
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushfd
lea esp, [esp + 0x34]
jne 0x425d74

Function at 0x42843a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp al, byte [edi]
setns ah
movzx eax, cl
lea edi, [edi + 1]
lahf
mov eax, dword [esp + 0x34]
push ebx
mov dword [esp], 0x83e7bc0b
pushfd
lea esp, [esp + 0x40]
ja 0x424ddd
pushfd
lea esp, [esp + 4]
jb 0x428b86
pushal
stc
clc
cmp byte [edi - 1], 0
pushfd
lea esp, [esp + 0x24]
jne 0x426d89
stc
mov edi, dword [edx + 0x24]
call fcn.004242a9
psubsw mm1, qword [eax]
pop eax
mov ecx, 0xb41d559c
clc
clc
or byte [edx + 0x2b], bl
sti
mov ebx, dword [ebx]
out dx, al
inc ecx
shl ah, cl
hlt

Function at 0x428b32
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 0x28]
jae fcn.004292ed
pushal
pushfd
pushfd
mov word [esp + 8], sp
lea esp, [esp + 0x28]
jmp 0x4233f1
cmp bx, 0xff
push eax
push dword [esp]
cmc
sub ecx, dword [edx + 0x10]
jmp 0x42924f
lea esp, [esp + 0x38]
jbe 0x426312
sub di, 0x1696
mov edi, dword [edx + 0x24]
pushfd
xchg cx, bx
btr bx, 4
add edi, eax
neg cl
mov bh, byte [esp]
stc
bt edi, ecx
mov ebx, dword [edx + 0x20]
sal ch, 2
shrd cx, sp, 0xc
rcr cx, 6
add ebx, eax
btr ecx, ebx
bswap cx
mov dword [ebp - 8], 0
btr cx, 2
shrd cx, bx, cl
mov ecx, dword [edx + 0x18]
lea esp, [esp + 4]
pushal
cmp ecx, dword [edx + 0x14]
jmp 0x4259b2

Function at 0x429efb
Capabilities:
Encode data using xor

Disassembly:
mov byte [esp], bh
mov byte [esp + 4], 0x5a
lea esp, [esp + 0x20]
call fcn.00425ebd
pushfd
pushal
mov esp, esi
pushfd
mov byte [esp], 0xf0
pushal
lea esp, [esp + 0x24]
jmp 0x4292fa
call fcn.00423518
bt esp, 0x19
imul edx, edx, 0xa
clc
add edx, eax
push eax
lea esp, [esp + 4]
jmp 0x42571d
mov dword [esp], edi
pushfd
mov dword [esp], ebx
pushal
jmp 0x4259cd
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x40c279
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x40c288
pop dword [ebp - 0x14]
mov eax, 0xe984142f
add eax, 0x16bcae59
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xaaec1a8c
sub dword [ebp - 0x24], 0x5c99d541
mov dword [ebp - 0x20], 0x8b283c79
sub dword [ebp - 0x20], 0x58f4f034
mov dword [ebp - 0x1c], 0x8de05d6f
sub dword [ebp - 0x1c], 0x41941941
mov dword [ebp - 0x18], 0xe2624db9
add dword [ebp - 0x18], 0x1d9db247
lea eax, [ebp - 0x24]
push eax
mov eax, 0x42a426d2
add eax, 0xbd9e09a2
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xdd66a7a
sub dword [ebp - 0x24], 0x99640124
mov dword [ebp - 0x20], 0x7ead11fb
sub dword [ebp - 0x20], 0x3d40b086
mov dword [ebp - 0x1c], 0x50a34c6c
add dword [ebp - 0x1c], 0x12cc2000
mov dword [ebp - 0x18], 0xa66415bc
sub dword [ebp - 0x18], 0xa66415bc
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x390cf
push 0
call eax
mov ecx, 0xf2a674a3
add ecx, 0xd59c0d2
mov ebx, eax
mov edi, 0x434400
add edi, dword [ebp - 0x14]
mov edx, 0xa7507cf7
add edx, 0xdc7d823f
add dword [ebp - 0x10], eax
mov esi, dword [edi]
add dword [ebp - 0x10], 0xa313d707
xor esi, edx
sub dword [ebp - 4], edi
mov dword [ebx], esi
mov dword [ebp - 0xc], 0xa826df68
add ebx, 4
add edi, 0xb1cf4cfb
add edi, 0x4e30b309
loop 0x40c39f
add eax, 0xc8a7
mov ebx, eax
add eax, 5
mov ecx, 0x56e71241
add ecx, 0xa958edbf
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x405edf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
mov byte [ebp - 0x79f], 0x7e
mov byte [ebp - 0x79e], 0x12
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.004041d6
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.00404137
add esp, 0xc
jmp 0x40613e

Function at 0x4063d7
Capabilities:
Get common file path

Disassembly:
and al, 3
fbld tbyte [esi - 0x75]
or al, 0x4b
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.004041c6
sub eax, 0xffe3904e
jne 0x4063fd
push dword [ebp + 4]
push dword [ebp]
invalid
invalid
invalid
invalid
Function at 0x7728d282
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x77291004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, edx
test edi, edi
je 0x7728d2e5
push ecx
push ecx
push ecx
mov edx, 0x400
lea ecx, [ebp - 0x404]
call fcn.7728d02b
push 0x772818a0
mov edx, 0x400
lea ecx, [ebp - 0x404]
call fcn.7728cf9d
push edi
mov edx, 0x400
lea ecx, [ebp - 0x404]
call fcn.7728cf9d
lea ecx, [ebp - 0x404]
xor edi, edi
lea eax, [ebp - 0x40c]
push edi
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push ecx
push 0x80000000
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExA]
test eax, eax
jne 0x7728d35f
mov eax, edi
mov dword [ebp - 0x408], eax
test esi, esi
je 0x7728d331
lea eax, [ebp - 0x408]
mov edx, 0x7fffffff
push eax
mov ecx, esi
call fcn.7728cfeb
mov ecx, eax
mov eax, dword [ebp - 0x408]
jmp 0x7728d336
mov ecx, 0x80070057
test ecx, ecx
jns 0x7728d33c
mov eax, edi
inc eax
push eax
push esi
push 1
push edi
push ebx
push dword [ebp - 0x40c]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExA]
push dword [ebp - 0x40c]
mov esi, eax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.77290370
leave
ret 8

Function at 0x7728d370
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x77291004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x108]
mov edi, edx
push eax
push 0xf003f
push 0
mov esi, ecx
push edi
push esi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExA]
test eax, eax
jne 0x7728d3ea
jmp 0x7728d3b8
mov ecx, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
call fcn.7728d370
push 0x100
lea eax, [ebp - 0x104]
push eax
push 0
push dword [ebp - 0x108]
call dword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegEnumKeyA]
test eax, eax
je 0x7728d3a7
push dword [ebp - 0x108]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
push edi
push esi
call dword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.77290370
leave
ret

Function at 0x772905a0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x772905de
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x772905d6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x772905e0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x772905c6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x772906b0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x772906e1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x772906e1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x772906e1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x772951ac
Capabilities:
Encode data using xor

Disassembly:
call 0x77295125
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x77295155
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x77295171
xor edx, 0
jmp 0x7729517c
xor edx, edx
jmp 0x77295193
jmp 0x7729519f
xor eax, eax
push 0x8427d7c0
call 0x772951ac
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x772951e8
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x772951c1
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x772951ff
add eax, 0
jno 0x77295204
add esi, 0
ret 0x10