joyce8/EMBER2024-capa huggingface dataset:
Function at 0x63d540
Capabilities:
Hash data with md5

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x7c]
cmp eax, dword [ecx + 8]
jbe 0x63d778
sub esp, 0xfc
lea eax, [0x6e06e0]
mov dword [esp], eax
mov dword [esp + 4], 0x24
mov dword [esp + 8], 0x24
call fcn.0046ca20
mov eax, dword [esp + 0xc]
mov dword [esp + 0xf8], eax
nop
lea edi, [esp + 0x94]
xor eax, eax
call fcn.00471d39
nop
mov dword [esp + 0x94], 0x67452301
mov dword [esp + 0x98], 0xefcdab89
mov dword [esp + 0x9c], 0x98badcfe
mov dword [esp + 0xa0], 0x10325476
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov eax, dword [esp + 0x100]
mov ecx, eax
mov edx, dword [esp + 0x104]
jmp 0x63d642
mov dword [esp + 0x90], edx
mov dword [esp + 0xf4], eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
lea ebp, [esp + 0x94]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.00494450
mov eax, dword [esp + 0xf4]
add eax, 0xc
mov ecx, dword [esp + 0x90]
lea edx, [ecx - 1]
mov ecx, dword [esp + 0x100]
test edx, edx
jg 0x63d5f6
lea edi, [esp + 0x34]
lea esi, [esp + 0x94]
call fcn.0047217a
lea eax, [esp + 0x34]
mov dword [esp], eax
call fcn.00494730
lea edi, [esp + 0x20]
lea esi, [esp + 4]
call fcn.00472238
mov dword [esp], 0
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x10
lea eax, [0x6e06e0]
mov dword [esp + 0x10], eax
call fcn.0046cad0
mov eax, dword [esp + 0x14]
mov dword [esp + 0xf0], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
mov dword [esp], eax
lea edx, [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x10
call fcn.00472440
mov eax, dword [esp + 0x30]
cmp eax, 0x24
jl 0x63d6d6
mov eax, 0x24
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xf8]
cmp ecx, edx
je 0x63d6f8
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00472440
mov eax, dword [esp + 0x100]
mov dword [esp], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 8], eax
call fcn.0063d430
mov eax, dword [esp + 0x10]
cmp eax, 0x14
jl 0x63d72b
mov eax, 0x14
mov ecx, dword [esp + 0xf8]
lea edx, [ecx + 0x10]
mov ebx, dword [esp + 0xc]
cmp ebx, edx
je 0x63d754
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.00472440
mov ecx, dword [esp + 0xf8]
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], 0x24
mov dword [esp + 0x114], 0x24
add esp, 0xfc
ret
call fcn.004706b0
jmp fcn.0063d540
Function at 0x641800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6419a8
sub esp, 0x48
movzx eax, word [esp + 0x78]
cmp ax, 0x303
jb 0x64182c
movzx ecx, byte [esp + 0x80]
jmp 0x641839
movzx ecx, byte [esp + 0x80]
cmp cl, 0xe4
jne 0x641871
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x64198f
cmp cl, 0xe4
je 0x641850
cmp ax, 0x303
jmp 0x641875
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x48
ret
cmp ax, 0x303
jae 0x641903
cmp cl, 0xe3
jne 0x6418cd
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + 0x18]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x48
ret
lea edi, [esp]
lea esi, [esp + 0x4c]
call fcn.004721de
call fcn.006414e0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x48
ret
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call fcn.00492ba0
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0x1c]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call edx
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x48
ret
lea eax, [0x6e0660]
mov dword [esp], eax
lea eax, [0x7a3ee0]
mov dword [esp + 4], eax
call fcn.0046ae10
nop
call fcn.004706b0
jmp fcn.00641800
Function at 0x646e40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x64702c
sub esp, 0x68
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
xor ecx, ecx
mov ebx, 1
jmp 0x646e7d
mov ebp, dword [esp + 0x5c]
lea ecx, [ebp + 1]
cmp dl, 0x2d
sete bl
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
cmp eax, ecx
jle 0x647020
mov dword [esp + 0x5c], ecx
mov byte [esp + 0x18], bl
movzx ebp, byte [edx + ecx]
xchg ebp, eax
mov byte [esp + 0x19], al
xchg ebp, eax
lea esi, [ebp - 0x20]
mov ecx, esi
mov edx, 1
shl edx, cl
neg ecx
mov byte [esp + 0x1b], cl
mov eax, 1
shr eax, cl
lea edi, [ebp - 0x60]
mov ecx, edi
mov ebx, 1
shl ebx, cl
mov dword [esp + 0x64], ebx
neg ecx
mov byte [esp + 0x1a], cl
mov ebx, 1
shr ebx, cl
mov dword [esp + 0x60], ebx
add ebp, 0xffffffc0
mov ecx, ebp
mov ebx, 1
shl ebx, cl
xchg esi, eax
cmp al, 0x20
xchg esi, eax
sbb esi, esi
and edx, esi
movzx esi, byte [esp + 0x1b]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
sbb esi, esi
and eax, esi
or eax, edx
and eax, 0x3ff6cfa
cmp cl, 0x20
sbb edx, edx
and edx, ebx
xchg edi, eax
cmp al, 0x20
xchg edi, eax
sbb ebx, ebx
mov ebp, dword [esp + 0x64]
and ebp, ebx
movzx ebx, byte [esp + 0x1a]
cmp bl, 0x20
sbb ebx, ebx
mov esi, dword [esp + 0x60]
and esi, ebx
or ebp, esi
and ebp, 0x57ffffff
or ebp, eax
test ebp, ebp
setne al
test edx, 0xc7fffffe
setne dl
or eax, edx
test al, al
je 0x64700c
movzx eax, byte [esp + 0x18]
test al, al
je 0x646f61
movzx edx, byte [esp + 0x19]
lea ebx, [edx - 0x61]
cmp bl, 0x19
jbe 0x646f74
test al, al
jne 0x646e68
jmp 0x646f66
movzx edx, byte [esp + 0x19]
lea eax, [edx - 0x41]
cmp al, 0x19
ja 0x646e68
jmp 0x646fc0
lea eax, [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call fcn.00450df0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00647040
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
lea eax, [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call fcn.00450df0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00647040
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
add esp, 0x68
ret
call fcn.004706b0
jmp fcn.00646e40
Function at 0x6a53b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6a5517
sub esp, 0x1c
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0x14], 3
jne 0x6a53f6
mov edx, dword [ecx]
test edx, edx
je 0x6a53ed
mov edx, dword [edx + 4]
movzx ebx, byte [esp + 0x29]
movzx ebp, byte [esp + 0x28]
mov eax, 0xffffffff
xor esi, esi
jmp 0x6a5408
mov byte [esp + 0x30], 0
add esp, 0x1c
ret
mov byte [esp + 0x30], 0
add esp, 0x1c
ret
mov edx, dword [edx + 0x10]
mov edi, eax
mov eax, esi
mov esi, edi
test edx, edx
je 0x6a54ac
cmp dword [edx + 0x14], 3
je 0x6a541d
mov edi, 1
jmp 0x6a547a
test bl, bl
je 0x6a5478
mov edi, dword [edx + 0x20]
cmp dword [ecx + 0x20], edi
je 0x6a5430
mov edi, 1
jmp 0x6a547a
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x1c]
mov ebx, dword [ecx + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
call fcn.00402e10
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
movzx ebx, byte [esp + 0x29]
movzx ebp, byte [esp + 0x28]
mov esi, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x10]
jmp 0x6a547a
xor edi, edi
xchg edi, eax
test al, al
xchg edi, eax
je 0x6a548b
mov edi, esi
mov esi, eax
mov eax, edi
jmp 0x6a53ff
inc esi
cmp ecx, edx
jne 0x6a549d
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x6a54a8
mov eax, esi
jmp 0x6a53ff
mov edi, eax
mov eax, esi
mov esi, edi
jmp 0x6a53ff
mov eax, esi
jmp 0x6a54b2
mov ecx, esi
mov esi, eax
mov eax, ecx
cmp esi, 0xffffffff
je 0x6a550e
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x6a54c2
sub eax, esi
lea esi, [eax + 1]
mov ecx, dword [esp + 0x24]
sub esi, ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x6a5501
mov eax, esi
cmp ecx, 0xffffffff
je 0x6a54dc
cdq
idiv ecx
jmp 0x6a54de
xor edx, edx
test edx, edx
jne 0x6a54f7
mov eax, esi
cmp ecx, 0xffffffff
je 0x6a54ee
cdq
idiv ecx
jmp 0x6a54f0
neg eax
test eax, eax
setge cl
jmp 0x6a54f9
xor ecx, ecx
mov byte [esp + 0x30], cl
add esp, 0x1c
ret
test esi, esi
sete al
mov byte [esp + 0x30], al
add esp, 0x1c
ret
mov byte [esp + 0x30], 0
add esp, 0x1c
ret
call fcn.004706b0
jmp fcn.006a53b0
Function at 0x6a7aa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6a7c57
sub esp, 0x54
mov ecx, dword [esp + 0x6c]
cmp ecx, 2
jne 0x6a7ad8
mov edx, dword [esp + 0x68]
cmp word [edx], 0x3d23
jne 0x6a7ad8
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov ebx, ecx
jmp 0x6a7b48
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
test ecx, ecx
je 0x6a7b48
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.00466330
mov eax, dword [esp + 8]
lea ecx, [0x6e0660]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
lea eax, [0x728561]
mov dword [esp], eax
mov dword [esp + 4], 4
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004d54a0
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], ebx
movzx ecx, byte [esp + 0x74]
test cl, cl
je 0x6a7b66
mov eax, 2
lea ecx, [0x727cae]
jmp 0x6a7b6a
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
lea edi, [esp + 0x2c]
xor eax, eax
call fcn.00471d48
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.00466330
mov ecx, dword [esp + 8]
lea edx, [0x6e0660]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.00466330
mov ecx, dword [esp + 8]
lea edx, [0x6e0660]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], ecx
call fcn.00466330
mov ecx, dword [esp + 8]
lea edx, [0x6e0660]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00466330
mov ecx, dword [esp + 8]
lea edx, [0x6e0660]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
lea ecx, [0x72c90b]
mov dword [esp], ecx
mov dword [esp + 4], 0xa
lea ecx, [esp + 0x2c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 4
call fcn.004d54a0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x54
ret
call fcn.004706b0
jmp fcn.006a7aa0
Function at 0x4738f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x58000]
push edi
jmp 0x47390a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x473911
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x473900
mov eax, 1
add ebx, ebx
jne 0x473923
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x473934
jne 0x473953
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x473953
dec eax
add ebx, ebx
jne 0x473940
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x473918
add ebx, ebx
jne 0x47394f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4739a5
xor ecx, ecx
sub eax, 3
jb 0x47396b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4739da
sar eax, 1
mov ebp, eax
jmp 0x473976
add ebx, ebx
jne 0x473976
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x473944
inc ecx
add ebx, ebx
jne 0x473984
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x473944
add ebx, ebx
jne 0x473991
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x473986
jne 0x4739a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x473986
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4739c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4739b6
jmp 0x473906
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4739c4
add edi, ecx
jmp 0x473906
pop esi
mov edi, esi
mov ecx, 0x9bb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4739e2
cmp byte [edi], 9
jne 0x4739e2
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 0x4739e7
lea edi, [esi + 0x71000]
mov eax, dword [edi]
or eax, eax
je 0x473a5f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x92a7c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x92b5c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x473a14
mov ecx, edi
jns 0x473a43
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 + 0x92b64]
or eax, eax
je 0x473a59
mov dword [ebx], eax
add ebx, 4
jmp 0x473a31
call dword [esi + 0x92b60]
mov ebp, dword [esi + 0x92b68]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x473a93
sub esp, 0xffffff80
jmp 0x417d2f
Function at 0x7d7370
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 0x7d738e
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 0x800074
push ecx
mov edi, eax
call fcn.007eb198
mov esi, eax
add esp, 8
test esi, esi
jne 0x7d73cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.007eb02e
push esi
call fcn.007eafb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x7da850
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 0x7da8ae
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 0x805720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x7da8ba
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.007eb1e1
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 0x7da8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x805720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x7da92a
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.007ec082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x7da957
mov word [eax], si
add eax, 2
push eax
call fcn.007ec030
add esp, 4
jmp 0x7da959
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 0x7da8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x7da8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x7db0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x800458
push ecx
call fcn.007eb1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.007eb1e1
add esp, 0x10
jmp 0x7db0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.007eb20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.007eadff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.007db050
mov eax, dword [0x805728]
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 0x7db13b
push esi
call fcn.007dafb0
add esp, 4
mov dword [0x805728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x7db14c
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.007daff0
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 0x7de440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x7de4b7
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 0x7de48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x7de471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x7de47e
add edx, ecx
cmp ebx, edx
jb 0x7de48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x7de467
xor ecx, ecx
jmp 0x7de4a2
test eax, eax
jne 0x7de492
xor ecx, ecx
jmp 0x7de4a2
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.007de3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x7de8f0
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 0x7de921
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 0x7de946
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 0x7de96e
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 0x7de993
push ecx
push esi
call fcn.007de4c0
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 0x7dfc00
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 0x7dfc4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x7dfc2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x7dfc38
add edx, eax
cmp ebx, edx
jb 0x7dfc46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x7dfc21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x7dfc50
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 0x7dfc70
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 0x7dfcb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x7dfc9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x7dfca8
add edx, ecx
cmp ebx, edx
jb 0x7dfcb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x7dfc91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x7dff60
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.007ec145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x7dfffb
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 0x7dffdd
lea eax, [esp + 0x18]
push eax
jmp 0x7dffe2
push 0x805720
call fcn.007ebfd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x7dffb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x7dff40
push 4
push ecx
push eax
call fcn.007ec43f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret