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

Disassembly:
mov ecx, dword [eax + 0x38]
mov dl, byte [eax + 0x34]
push ebx
push ebp
push esi
xor esi, esi
test ecx, ecx
push edi
jle 0x425f5a
movzx edi, dl
mov ecx, dword [eax + 0x260]
mov ebx, ecx
shr ebx, 0x18
xor ebx, edi
mov ebp, dword [ebx*4 + 0x458da0]
shl ecx, 8
xor ecx, ebp
mov dword [eax + 0x260], ecx
mov ecx, dword [eax + 0x38]
inc esi
cmp esi, ecx
jl 0x425f33
mov ecx, dword [eax + 0x34]
mov bl, 1
mov byte [eax + ecx + 0x58], bl
mov ecx, dword [eax + 0x38]
mov esi, ecx
dec esi
je 0x425ffe
dec esi
je 0x425fda
dec esi
je 0x425fce
mov byte [ecx + eax + 0x54], bl
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
inc ecx
mov dword [eax + 0x44], ecx
mov byte [ecx + esi], dl
mov ebp, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
inc ebp
mov dword [eax + 0x44], ebp
mov ecx, ebp
mov byte [ecx + esi], dl
mov ebx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
inc ebx
mov dword [eax + 0x44], ebx
mov ecx, ebx
mov byte [ecx + esi], dl
mov edi, dword [eax + 0x44]
mov dl, byte [eax + 0x38]
mov esi, dword [eax + 0x24]
inc edi
mov dword [eax + 0x44], edi
mov ecx, edi
sub dl, 4
mov byte [ecx + esi], dl
mov ecx, dword [eax + 0x44]
pop edi
pop esi
inc ecx
pop ebp
mov dword [eax + 0x44], ecx
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
inc dword [eax + 0x44]
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
mov esi, dword [eax + 0x44]
inc esi
mov dword [eax + 0x44], esi
mov ecx, esi
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
mov ecx, dword [eax + 0x44]
pop edi
pop esi
inc ecx
pop ebp
mov dword [eax + 0x44], ecx
pop ebx
ret
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [ecx + esi], dl
mov ecx, dword [eax + 0x44]
pop edi
pop esi
inc ecx
pop ebp
mov dword [eax + 0x44], ecx
pop ebx
ret
Function at 0x427990
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
mov dword [ecx + 0x18], 0xc3d2e1f0
ret

Function at 0x429bc0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], edx
xor edx, edx
cmp ecx, edx
mov dword [ebp - 0xc], ecx
jne 0x429bdf
push 0x57
call fcn.00412210
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
mov byte [eax + ebx], al
inc eax
cmp eax, 0x100
jb 0x429be7
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
mov byte [ebp - 4], dl
mov byte [ebp + 8], dl
mov edi, ebx
mov dword [ebp - 8], pe_nt_image_headers32
jmp 0x429c12
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov dl, byte [ebp + 8]
and esi, 0xff
mov al, byte [esi + ecx]
add al, byte [edi]
add dl, al
mov byte [ebp + 8], dl
mov edx, dword [ebp + 8]
and edx, 0xff
add edx, ebx
mov ecx, edi
call fcn.00429c60
xor edx, edx
lea eax, [esi + 1]
div dword [ebp - 0x10]
mov eax, dword [ebp - 8]
inc edi
dec eax
mov dword [ebp - 8], eax
mov byte [ebp - 4], dl
jne 0x429c0f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x429c70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
cmp esi, ebx
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
je 0x429c94
mov ecx, 0x40
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov al, byte [ebx + 0x100]
mov cl, byte [ebx + 0x101]
mov byte [ebp + 8], al
mov eax, edx
and eax, 0xfffffffc
mov byte [ebp + 0xc], cl
mov dword [ebp - 0x14], eax
mov esi, 0
jbe 0x429dfe
mov al, byte [ebp + 8]
mov cl, byte [ebp + 0xc]
inc al
mov byte [ebp + 8], al
mov edx, dword [ebp + 8]
and edx, 0xff
mov al, byte [edx + ebx]
lea edi, [edx + ebx]
add cl, al
mov byte [ebp + 0xc], cl
mov ecx, dword [ebp + 0xc]
and ecx, 0xff
lea edx, [ecx + ebx]
mov ecx, edi
mov dword [ebp - 4], edx
call fcn.00429c60
mov edx, dword [ebp - 4]
mov cl, byte [edi]
xor eax, eax
mov al, byte [edx]
add al, cl
xor ecx, ecx
and eax, 0xff
mov cl, byte [eax + ebx]
mov edi, ecx
inc byte [ebp + 8]
mov edx, dword [ebp + 8]
and edx, 0xff
mov al, byte [edx + ebx]
lea ecx, [edx + ebx]
add byte [ebp + 0xc], al
mov edx, dword [ebp + 0xc]
and edx, 0xff
add edx, ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
call fcn.00429c60
mov ecx, dword [ebp - 4]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [ebp - 8]
add dl, byte [ecx]
mov cl, byte [ebp + 8]
xor eax, eax
and edx, 0xff
mov ah, byte [edx + ebx]
or edi, eax
inc cl
mov byte [ebp + 8], cl
mov edx, dword [ebp + 8]
and edx, 0xff
mov al, byte [edx + ebx]
lea ecx, [edx + ebx]
add byte [ebp + 0xc], al
mov edx, dword [ebp + 0xc]
and edx, 0xff
add edx, ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
call fcn.00429c60
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
add cl, byte [edx]
xor eax, eax
and ecx, 0xff
mov al, byte [ecx + ebx]
shl eax, 0x10
or edi, eax
inc byte [ebp + 8]
mov ecx, dword [ebp + 8]
mov al, byte [ebp + 0xc]
and ecx, 0xff
mov dl, byte [ecx + ebx]
add ecx, ebx
add al, dl
mov byte [ebp + 0xc], al
mov eax, dword [ebp + 0xc]
and eax, 0xff
lea edx, [eax + ebx]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
call fcn.00429c60
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx]
mov cl, byte [eax]
mov eax, dword [ebp - 0xc]
add dl, cl
xor ecx, ecx
add esi, 4
and edx, 0xff
mov cl, byte [edx + ebx]
mov edx, dword [esi + eax - 4]
shl ecx, 0x18
or ecx, edi
xor edx, ecx
mov dword [esi + eax - 4], edx
cmp esi, dword [ebp - 0x14]
jb 0x429cb9
mov edx, dword [ebp - 0x10]
cmp esi, edx
jae 0x429e58
mov al, byte [ebp + 8]
mov cl, byte [ebp + 0xc]
inc al
mov byte [ebp + 8], al
mov edx, dword [ebp + 8]
and edx, 0xff
mov al, byte [edx + ebx]
lea edi, [edx + ebx]
add cl, al
mov byte [ebp + 0xc], cl
mov ecx, dword [ebp + 0xc]
and ecx, 0xff
lea edx, [ecx + ebx]
mov ecx, edi
mov dword [ebp - 4], edx
call fcn.00429c60
mov edx, dword [ebp - 4]
mov cl, byte [edi]
xor eax, eax
mov al, byte [edx]
add al, cl
and eax, 0xff
mov cl, byte [eax + ebx]
mov eax, dword [ebp - 0xc]
xor byte [esi + eax], cl
mov eax, dword [ebp - 0x10]
inc esi
cmp esi, eax
jb 0x429e02
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42e7b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [eax + 0x25c]
test ecx, ecx
jle 0x42cc9c
push ebx
mov ecx, 0xfffffff8
push esi
mov esi, dword [eax + 0x4c]
mov bl, byte [eax + 0x25b]
mov edx, dword [eax + 0x2c]
mov byte [edx + esi], bl
mov edx, dword [eax + 0x4c]
mov esi, dword [eax + 0x25c]
mov ebx, dword [eax + 0x258]
inc edx
add esi, ecx
mov dword [eax + 0x4c], edx
shl ebx, 8
mov edx, esi
test edx, edx
mov dword [eax + 0x258], ebx
mov dword [eax + 0x25c], esi
jg 0x42cc61
pop esi
pop ebx
ret
sub esp, 8
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x44]
xor ebx, ebx
cmp eax, ebx
push edi
mov byte [esp + 0xc], dl
jle 0x42e7fd
mov ecx, dword [esi + 0x264]
mov eax, dword [esi + 0x260]
mov edx, ecx
shr edx, 0x1f
add ecx, ecx
not eax
or edx, ecx
xor edx, eax
mov dword [esi + 0x260], eax
cmp dword [esi + 0x26c], 1
mov dword [esi + 0x264], edx
jle 0x42e7f6
mov dword [esi + 0x4c], ebx
mov ecx, esi
call fcn.00432800
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x26c]
add edx, ecx
cmp eax, 1
mov dword [esi + 0x2c], edx
jne 0x42e856
mov ecx, 0x42
mov edi, 8
mov eax, esi
mov dword [esi + 0x25c], ebx
mov dword [esi + 0x258], ebx
call fcn.0042cca0
mov ecx, 0x5a
call fcn.0042cca0
mov ecx, 0x68
call fcn.0042cca0
mov al, byte [esi + 0x270]
add al, 0x30
movzx ecx, al
mov eax, esi
call fcn.0042cca0
cmp dword [esi + 0x44], ebx
jle 0x42e8f8
mov ecx, 0x31
mov edi, 8
mov eax, esi
call fcn.0042cca0
mov ecx, 0x41
call fcn.0042cca0
mov ecx, 0x59
call fcn.0042cca0
mov ecx, 0x26
call fcn.0042cca0
mov ecx, 0x53
call fcn.0042cca0
mov ecx, 0x59
call fcn.0042cca0
mov ebx, dword [esi + 0x260]
mov ecx, ebx
shr ecx, 0x18
mov dword [esp + 0x10], ebx
call fcn.0042cca0
movzx ecx, byte [esp + 0x12]
call fcn.0042cca0
movzx ecx, bh
call fcn.0042cca0
mov ecx, ebx
and ecx, 0xff
call fcn.0042cca0
xor ecx, ecx
mov edi, 1
call fcn.0042cca0
mov ecx, dword [esi + 0x1c]
mov edi, 0x18
call fcn.0042cca0
call fcn.0042cda0
call fcn.0042cf60
mov al, byte [esp + 0xc]
test al, al
je 0x42e985
mov ecx, 0x17
mov edi, 8
mov eax, esi
call fcn.0042cca0
mov ecx, 0x72
call fcn.0042cca0
mov ecx, 0x45
call fcn.0042cca0
mov ecx, 0x38
call fcn.0042cca0
mov ecx, 0x50
call fcn.0042cca0
mov ecx, 0x90
call fcn.0042cca0
mov ebx, dword [esi + 0x264]
mov ecx, ebx
shr ecx, 0x18
mov dword [esp + 0x10], ebx
call fcn.0042cca0
movzx ecx, byte [esp + 0x12]
call fcn.0042cca0
movzx ecx, bh
call fcn.0042cca0
mov ecx, ebx
and ecx, 0xff
call fcn.0042cca0
pop edi
pop esi
pop ebx
add esp, 8
jmp 0x42cc50
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x436bd0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
shr ecx, 2
mov edx, ecx
dec ecx
test edx, edx
push esi
mov esi, dword [esp + 8]
mov eax, 0xeeeeeeee
je 0x436c34
push ebx
push edi
lea edi, [ecx + 1]
mov ecx, dword [esp + 0x18]
mov edx, ecx
and edx, 0xff
add eax, dword [edx*4 + 0x467508]
mov ebx, dword [esi]
lea edx, [eax + ecx]
xor ebx, edx
mov dword [esi], ebx
mov edx, ebx
mov ebx, eax
shl ebx, 5
add edx, ebx
lea eax, [eax + edx + 3]
mov edx, ecx
xor edx, 0x7ff
shl edx, 0x15
add edx, 0x11111111
shr ecx, 0xb
add esi, 4
or ecx, edx
dec edi
jne 0x436bf1
pop edi
pop ebx
pop esi
ret

Function at 0x436c40
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
shr ecx, 2
mov edx, ecx
dec ecx
test edx, edx
push esi
mov esi, dword [esp + 8]
mov eax, 0xeeeeeeee
je 0x436ca2
mov edx, dword [esp + 0x10]
push ebx
push edi
lea edi, [ecx + 1]
mov ecx, dword [esi]
mov ebx, edx
and ebx, 0xff
add eax, dword [ebx*4 + 0x467508]
lea ebx, [eax + edx]
xor ebx, ecx
mov dword [esi], ebx
mov ebx, eax
shl ebx, 5
add ecx, ebx
lea eax, [eax + ecx + 3]
mov ecx, edx
xor ecx, 0x7ff
shl ecx, 0x15
add ecx, 0x11111111
shr edx, 0xb
add esi, 4
or edx, ecx
dec edi
jne 0x436c61
pop edi
pop ebx
pop esi
ret

Function at 0x436ef0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

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

Disassembly:
push edi
mov edi, dword [esp + 0x10]
xor eax, eax
test edi, edi
je 0x437a0d
mov eax, dword [edi]
push ebx
mov bl, byte [esp + 0x18]
test bl, 1
push esi
je 0x437a1b
or eax, 0xffffffff
test bl, 2
je 0x437a52
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov esi, edx
dec edx
test esi, esi
je 0x437a52
push ebp
lea esi, [edx + 1]
xor edx, edx
mov dl, byte [ecx]
mov ebp, eax
and ebp, 0xff
shr eax, 8
xor ebp, edx
mov edx, dword [ebp*4 + 0x459bb4]
xor eax, edx
inc ecx
dec esi
jne 0x437a33
pop ebp
pop esi
test bl, 4
pop ebx
je 0x437a5b
not eax
test edi, edi
je 0x437a61
mov dword [edi], eax
pop edi
ret
Function at 0x437ed0
Capabilities:
Get common file path
Get disk size

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x114
push 0x104
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
mov al, byte [esp + 0x1c]
add esp, 0xc
test al, al
je 0x437efd
cmp byte [esp + 0x11], 0x3a
je 0x437f0d
lea edx, [esp + 0x10]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x27], 0
mov dword [esp + 0x14], 0x200
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov eax, dword [esp]
add esp, 0x114
ret
Function at 0x412210
Capabilities:
Parse pe header

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

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0xddc370
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 0xddc38e
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 0xe05074
push ecx
mov edi, eax
call fcn.00df0198
mov esi, eax
add esp, 8
test esi, esi
jne 0xddc3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00df002e
push esi
call fcn.00deffb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xddf850
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 0xddf8ae
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 0xe0a720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xddf8ba
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.00df01e1
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 0xddf8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xe0a720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xddf92a
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.00df1082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xddf957
mov word [eax], si
add eax, 2
push eax
call fcn.00df1030
add esp, 4
jmp 0xddf959
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 0xddf8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xddf8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xddfff0
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
Function at 0xde0080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xde00c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xe05458
push ecx
call fcn.00df01e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00df01e1
add esp, 0x10
jmp 0xde00d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00df020b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00defdff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00de0050
mov eax, dword [0xe0a728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0xde013b
push esi
call fcn.00ddffb0
add esp, 4
mov dword [0xe0a728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xde014c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00ddfff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0xde3440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xde34b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xde348e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xde3471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xde347e
add edx, ecx
cmp ebx, edx
jb 0xde348a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xde3467
xor ecx, ecx
jmp 0xde34a2
test eax, eax
jne 0xde3492
xor ecx, ecx
jmp 0xde34a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.00de33c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xde38f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xde3921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0xde3946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0xde396e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0xde3993
push ecx
push esi
call fcn.00de34c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0xde4c00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0xde4c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0xde4c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0xde4c38
add edx, eax
cmp ebx, edx
jb 0xde4c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0xde4c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0xde4c50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0xde4c70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xde4cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xde4c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xde4ca8
add edx, ecx
cmp ebx, edx
jb 0xde4cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0xde4c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0xde4f60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.00df1145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xde4ffb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0xde4fdd
lea eax, [esp + 0x18]
push eax
jmp 0xde4fe2
push 0xe0a720
call fcn.00df0fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xde4fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xde4f40
push 4
push ecx
push eax
call fcn.00df143f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret