joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e4e1
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47b5f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [fcn.0047d4b0]
push 0
lea ecx, [esp + 0x20]
call fcn.00484256
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0044de41
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00484184
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00480a48
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00480a48
push 1
push 0
push 0
mov ecx, esi
call fcn.004809f0
push 1
push 0
push 1
mov ecx, esi
call fcn.004809f0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004842c8
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x44e661
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47b618
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00484256
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0044de41
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00484184
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [fcn.0047d4b0]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x44e725
cmp dword [esp + 0x40], 1
jne 0x44e723
cmp ecx, eax
jge 0x44e725
mov eax, ecx
cmp eax, 0xc8
jge 0x44e731
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0044e4e1
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [fcn.0047d4ac]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004842c8
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x44ef21
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47b6c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0047ee65
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x482e78
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x482dc0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [int.0047d050]
push eax
mov ecx, edi
call fcn.004844fe
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00485a1a
test eax, eax
je 0x44f03d
mov ecx, dword [esp + 0x3c]
call fcn.0048452b
mov ecx, dword [esi + 0x1c]
mov ebp, dword [fcn.0047d4d0]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x44f001
push edi
mov ecx, esi
call fcn.00481b8f
mov ecx, esi
call fcn.0044f1e1
cmp dword [esp + 0x38], 1
jne 0x44f036
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00481cca
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x451221
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x451254
push esi
call fcn.0045f5e1
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45124d
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4512da
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4512c3
mov eax, dword [esi + 8]
test eax, eax
je 0x451278
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4512bf
cmp eax, 2
je 0x4512c3
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45126b
cmp eax, 3
je 0x45129e
cmp eax, 1
jne 0x45126b
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45126b
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45126b
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00451301
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4512e9
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00451301
add esp, 4
pop esi
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x397b67
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x57e57966
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x46cfa2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046cb89

Function at 0x46cfad
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046cd18

Function at 0x46d4d0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0042a4a0
mov eax, dword [0x497040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00469fc7
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x46d512
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x46d66e
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0047f8b0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4e6398]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0046ea63
mov ecx, dword [esi*4 + 0x4e6398]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x46d667
cmp eax, dword [edi + ecx + 0x24]
jne 0x46d667
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46d667
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0046ea63
add esp, 0x14
test edx, edx
jl 0x46d667
jg 0x46d5dd
test eax, eax
jb 0x46d667
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x46d667
jl 0x46d5f7
cmp dword [ebp - 0x1008], eax
ja 0x46d667
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x46d615
test ebx, ebx
je 0x46d64e
cmp ecx, edi
jae 0x46d64e
mov al, byte [ecx]
cmp al, 0xd
jne 0x46d62f
lea eax, [edi - 1]
cmp ecx, eax
jae 0x46d63b
cmp byte [ecx + 1], 0xa
jne 0x46d63b
inc ecx
jmp 0x46d63b
movzx eax, al
movsx eax, byte [eax + 0x497320]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x46d615
cmp edx, ebx
jne 0x46d615
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x46d66c
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042904c
leave
ret
Function at 0x46dbec
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4e6398]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x46dc2c
cmp byte [ebx], 0xa
jne 0x46dc2c
or byte [eax + edi + 0x28], 4
jmp 0x46dc31
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x46dd2f
mov al, byte [edx]
cmp al, 0x1a
je 0x46dd11
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x46dc60
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x46dc85
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x46dc8f
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x46dc42
jmp 0x46dd2f
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46dd0c
cmp dword [ebp - 0xc], 0
je 0x46dd0c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4e6398]
test byte [eax + edi + 0x28], 0x48
je 0x46dce6
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x46dcd1
mov byte [esi], dl
jmp 0x46dce2
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4e6398]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x46dd2f
cmp byte [ebp - 1], 0xa
jne 0x46dcf5
cmp esi, ebx
jne 0x46dcf5
mov byte [esi], 0xa
jmp 0x46dd2e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0046ea81
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x46dd2f
mov byte [esi], 0xd
jmp 0x46dd2e
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4e6398]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x46dd2b
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x46dd2f
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x46dd38
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4e6398]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x46dd7b
cmp word [esi], dx
jne 0x46dd7b
or byte [edi + eax + 0x28], 4
jmp 0x46dd80
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x46ded3
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x46deb3
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x46ddc2
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x46ddf8
cmp eax, edx
jae 0x46de04
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x46dd9a
jmp 0x46ded3
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46deaf
cmp dword [ebp - 0x14], 0
je 0x46deaf
mov eax, dword [ebx*4 + 0x4e6398]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x46de87
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x46de50
mov word [esi], cx
jmp 0x46de83
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4e6398]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4e6398]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4e6398]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x46ded3
pop ebx
cmp word [ebp - 4], bx
jne 0x46de98
cmp esi, dword [ebp + 0xc]
jne 0x46de98
mov word [esi], bx
jmp 0x46ded0
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0046ea81
add esp, 0x10
cmp word [ebp - 4], bx
je 0x46ded3
push 0xd
jmp 0x46decc
mov ecx, dword [ebx*4 + 0x4e6398]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x46deca
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x46ded3
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x642c6b55
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
lea eax, [ebp - 8]
mov ebx, ecx
push eax
push esi
push 0x642c1808
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x642c6b97
cmp eax, 2
jne 0x642c6b85
push eax
jmp 0x642c6baa
push eax
push 0x642c1a40
call fcn.642c6785
pop ecx
pop ecx
jmp 0x642c6c39
cmp dword [ebp - 8], 1
jne 0x642c6c76
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x642c6bae
push 0x20
pop ecx
mov dword [ebp - 4], ecx
mov edi, ecx
and edi, 1
add edi, ecx
lea ecx, [edi + 2]
call fcn.642c4f15
mov esi, eax
test esi, esi
je 0x642c6c39
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push 0x642c1808
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
mov word [edi + esi], cx
test byte [ebp - 4], 1
je 0x642c6bea
mov byte [edi + esi - 1], cl
test eax, eax
je 0x642c6c7f
cmp eax, 2
jne 0x642c6b85
push ecx
lea edx, [edi + 2]
mov ecx, esi
call fcn.642c4fa7
test eax, eax
jns 0x642c6c11
push eax
push 0x642c1a80
jmp 0x642c6b8b
push dword [ebp - 4]
mov edi, 0x642c1808
push esi
push 1
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x642c6c7f
push eax
push edi
push 0x642c1ac0
call 0x642d1fbe
add esp, 0xc
mov ecx, esi
call fcn.642c4f7b
push 2
pop eax
mov ecx, eax
mov dword [ebp - 4], eax
call fcn.642c4f15
mov esi, eax
test esi, esi
je 0x642c6c76
mov edx, dword [ebp - 4]
push ecx
mov ecx, esi
call fcn.642c4fa7
test eax, eax
jns 0x642c6c7f
push eax
push 0x642c1b04
call fcn.642c6785
pop ecx
pop ecx
mov ecx, esi
call fcn.642c4f7b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
mov eax, esi
jmp 0x642c6c78
Function at 0x642c7980
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 0x642c79be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x642c79b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x642c79c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x642c79a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x642c7a90
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 0x642c7ac1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x642c7ac1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x642c7ac1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x319f0dd7
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x2e2691a
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x403340
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
mov edi, edx
push esi
push 0x80
push 3
pop eax
push eax
push esi
push 1
push SysReAllocStringLen
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 4], esi
cmp ebx, 0xffffffff
je 0x403397
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, 0x400
push ebx
lea ecx, [eax - 1]
cmp ecx, 0x3fe
cmovbe eax, edx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 4]
shr esi, 0xa
test edi, edi
je 0x4033a7
push 3
pop eax
mov word [edi], ax
mov dword [edi + 8], esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403d88
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x81c
mov eax, 0x4f7c48
call fcn.004e336a
mov esi, ecx
mov edi, dword [0x542750]
xor eax, eax
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x814], edi
mov dword [ebp - 4], eax
test edx, edx
je 0x403ed8
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x824]
jne 0x403dbd
sub ecx, ebx
sar ecx, 1
je 0x403ed8
mov dword [ebp - 0x818], edi
push edx
lea eax, [ebp - 0x818]
mov byte [ebp - 4], 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push eax
call fcn.0040301c
add esp, 0xc
lea eax, [ebp - 0x81c]
xor ebx, ebx
push eax
push 0x20019
push ebx
push dword [ebp - 0x818]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403ebd
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push ebx
push eax
mov dword [ebp - 0x820], 1
call fcn.004db6f0
add esp, 0xc
mov dword [ebp - 0x828], 0x800
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x820]
push eax
push ebx
push str.DisplayIcon
push dword [ebp - 0x81c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x403eb1
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x814]
call fcn.004028a2
push 0x22
lea ecx, [ebp - 0x814]
call fcn.00404ba1
mov ecx, dword [ebp - 0x814]
call fcn.00404b29
test eax, eax
jne 0x403eb1
lea ecx, [ebp - 0x814]
call fcn.00404f1e
push dword [ebp - 0x81c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x814]
mov ecx, esi
push eax
call fcn.004028cd
lea ecx, [ebp - 0x818]
call fcn.00403030
jmp 0x403ee6
lea eax, [ebp - 0x814]
mov ecx, esi
push eax
call fcn.004028cd
lea ecx, [ebp - 0x814]
call fcn.00403030
mov eax, esi
call fcn.004e3319
ret
Function at 0x404016
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov edi, edx
push ebx
mov esi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x404084
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x404035
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
sub eax, esi
movzx ecx, word [esi]
mov word [eax + esi], cx
lea esi, [esi + 2]
test cx, cx
jne 0x40405f
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
test edi, edi
je 0x404095
push 0xb
pop eax
mov word [edi], ax
or eax, 0xffffffff
mov word [edi + 8], ax
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x404c55
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 0x10]
push ebx
push esi
push edi
push 0xf0000000
xor edi, edi
mov esi, edx
inc edi
mov ebx, ecx
push edi
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x404c84
xor eax, eax
jmp 0x404d50
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push 0
test eax, eax
jne 0x404cab
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x404c7d
push esi
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x404cbe
xor edi, edi
jmp 0x404d3a
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea eax, [ebp - 8]
push 4
pop ecx
push 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 8], ecx
push eax
push ecx
push dword [ebp - 0xc]
call esi
push dword [ebp - 0x14]
call fcn.004d5f08
pop ecx
mov ebx, eax
mov eax, dword [ebp - 0x14]
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push ebx
push 2
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp + 0xc]
xor esi, esi
mov byte [eax], 0
cmp dword [ebp - 8], esi
jbe 0x404d33
mov edi, eax
movzx eax, byte [esi + ebx]
push eax
lea eax, [ebp - 4]
push 0x50e6e8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
inc esi
cmp esi, dword [ebp - 8]
jb 0x404d08
xor edi, edi
inc edi
push ebx
call fcn.004d5e39
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4051a2
Capabilities:
Create directory

Disassembly:
push 8
mov eax, 0x4f7d18
call fcn.004e3337
mov esi, ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 0x10], 0
mov eax, dword [0x542750]
mov dword [esi], eax
and dword [ebp - 4], 0
push str.cache
push 0x547b18
push 0x50de04
push esi
mov dword [ebp - 0x10], 1
call fcn.0040301c
add esp, 0x10
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, esi
call fcn.004e3305
ret