joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ba790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4ba865
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x4ba865
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x4ba865
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x4ba7eb
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x4ba865
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4ba830
test dl, dl
je 0x4ba82c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4ba830
add ecx, 2
add eax, 2
test dl, dl
jne 0x4ba810
xor eax, eax
jmp 0x4ba835
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4ba847
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x4ba852
inc esi
cmp esi, ebp
jae 0x4ba865
mov edx, dword [esp + 0x10]
jmp 0x4ba806
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x4baac9
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x4baad4
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x4baae8
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x4baaec
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x4bab25
cmp dword [edi + ecx], 0x4550
jne 0x4bab25
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x4bab25
test byte [edi + ecx + 0x16], 2
je 0x4bab25
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x4bab2a
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x4bab66
xor eax, eax
jmp 0x4bab49
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x4bab6f
inc edx
movzx eax, dx
cmp eax, edi
jl 0x4bab49
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x4bab75
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x4babad
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x4babbb
add edx, 0x20
cmp eax, edx
jne 0x4babcc
test bx, bx
je 0x4bac01
add esi, 2
add edi, 2
jmp 0x4bab9d
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x4babda
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x4babe8
add edx, 0x20
sub ecx, edx
je 0x4bac01
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x4bab96
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

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

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx]
test eax, eax
je 0x4bb73b
test ecx, ecx
je 0x4bb73b
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x4bb73b
test ebx, ebx
je 0x4bb73b
mov ebx, eax
add ebx, edx
je 0x4bb73b
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x4bb73b
cmp dword [edx + eax + 0x14], 0
je 0x4bb73b
mov edi, dword [edx + eax + 0x20]
mov ebx, dword [edx + eax + 0x24]
add edi, eax
mov edx, dword [edx + eax + 0x1c]
add ebx, eax
add edx, eax
test esi, esi
jbe 0x4bb73b
mov dword [esp], edx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
movzx ecx, word [ebx + ebp*2]
mov esi, dword [eax + ebp*4]
add esi, dword [esp + 0x24]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4bb72b
test dl, dl
je 0x4bb727
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4bb72b
add edi, 2
add esi, 2
test dl, dl
jne 0x4bb70b
xor eax, eax
jmp 0x4bb730
sbb eax, eax
or eax, 1
test eax, eax
je 0x4bb747
inc ebp
cmp ebp, dword [esp + 4]
jb 0x4bb6f8
xor eax, eax
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esp]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x24]
add eax, edx
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x4d9ec3
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x4d9efb
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4d9ee9
mov al, 1
jmp 0x4d9f5a
cmp dword [ebx + 0x54], ecx
jne 0x4d9ef2
mov al, 2
jmp 0x4d9f5a
cmp dword [ebx + 0x7c], ecx
jne 0x4d9f5a
mov al, 3
jmp 0x4d9f5a
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4d9f10
mov al, 4
jmp 0x4d9f5a
cmp ecx, 5
jne 0x4d9f30
cmp ebx, 0
jne 0x4d9f1e
mov al, 5
jmp 0x4d9f5a
cmp ebx, 1
jne 0x4d9f27
mov al, 6
jmp 0x4d9f5a
cmp ebx, 2
jne 0x4d9f30
mov al, 7
jmp 0x4d9f5a
cmp ecx, 6
jne 0x4d9f58
cmp ebx, 0
jne 0x4d9f3e
mov al, 8
jmp 0x4d9f5a
cmp ebx, 1
jne 0x4d9f45
mov al, 9
cmp ebx, 2
jne 0x4d9f4c
mov al, 0xa
cmp ebx, 3
jne 0x4d9f53
mov al, 0xb
cmp ebx, 4
jne 0x4d9f5a
mov al, 0xc
pop ebx
leave
ret

Function at 0x4f0668
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x4f06a0
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4f068e
mov al, 1
jmp 0x4f06ff
cmp dword [ebx + 0x54], ecx
jne 0x4f0697
mov al, 2
jmp 0x4f06ff
cmp dword [ebx + 0x7c], ecx
jne 0x4f06ff
mov al, 3
jmp 0x4f06ff
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4f06b5
mov al, 4
jmp 0x4f06ff
cmp ecx, 5
jne 0x4f06d5
cmp ebx, 0
jne 0x4f06c3
mov al, 5
jmp 0x4f06ff
cmp ebx, 1
jne 0x4f06cc
mov al, 6
jmp 0x4f06ff
cmp ebx, 2
jne 0x4f06d5
mov al, 7
jmp 0x4f06ff
cmp ecx, 6
jne 0x4f06fd
cmp ebx, 0
jne 0x4f06e3
mov al, 8
jmp 0x4f06ff
cmp ebx, 1
jne 0x4f06ea
mov al, 9
cmp ebx, 2
jne 0x4f06f1
mov al, 0xa
cmp ebx, 3
jne 0x4f06f8
mov al, 0xb
cmp ebx, 4
jne 0x4f06ff
mov al, 0xc
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x6b2b484c
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
mov eax, section..text
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x644e340f
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x407740
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x614d53
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6cda00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00453ad3
xor eax, eax
lea ebx, [esi + 0x10]
mov dword [esi], 0x63d69c
mov dword [ebp - 4], eax
mov dword [ebx + 4], eax
mov dword [ebx], 0x63d68c
lea edi, [esi + 0x20]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
push edi
mov byte [ebp - 4], 1
call dword [0x63aa9c]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], 0
cmp dword [eax + 0xc], ecx
sete cl
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x40781e
mov eax, dword [eax + 4]
push eax
call dword [0x63a280]
push eax
mov ecx, esi
call fcn.00454278
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
push eax
push ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [0x63a288]
push eax
mov ecx, ebx
call fcn.0045454c
test ebx, ebx
je 0x4077fd
mov ebx, dword [ebx + 4]
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.00454638
mov ecx, dword [esi + 0x24]
mov edx, dword [edi]
push ecx
mov dword [esi + 0x18], eax
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.00453c8f
jmp 0x407830
mov ecx, dword [eax + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
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 8

Function at 0x4429d0
Capabilities:
Check for vm using instruction vpcext

Disassembly:
sar edx, 1
xchg edi, eax
xchg ebp, eax
cld
in eax, dx
and al, 0xf5
invalid
Function at 0x44388c
Capabilities:
Encode data using xor

Disassembly:
add dword [esi], ebp
invalid
jg 0x44388d
lodsd eax, dword [esi]
sar edx, 0x36
mov edx, 0x85e80e6c
jbe 0x443816
adc bh, dh
shl dword [esi - 0x881fed7], 0x40
inc cl
cmpsb byte [esi], byte es:[edi]
sub dword [ecx], eax
jle 0x44383e
add dword [esi - 9], edi
inc eax
stc
sbb eax, esi
push ds
or dword [esi], eax
sbb esi, dword [eax + 0x5d]
insb byte es:[edi], dx
popal
daa
loope 0x443865
add ah, byte [edi + 0x6409b4aa]
cmpsd dword [esi], dword es:[edi]
ljmp 0x5e77
inc esi
jge 0x4438d3
cwde
sub al, byte gs:[ebp + 0x3c]
invalid
cmp eax, dword [esi - 0x55f46880]
jge 0x443840
outsd dx, dword [esi]
mov byte [0x8cbc0e0e], al
call 0x73763f44
xor ebx, dword [ecx + 0x63b76b53]
jge 0x4438b0
invalid
push es
xor dh, byte [ebx + 0x33]
cdq
push ebx
imul esi, dword [edi - 0x20dc829d], 0x1c
and ebx, edi
sbb al, 0x21
not byte [ecx - 0x3b]
in eax, dx
je 0x443882
and ebx, edi
sbb al, 0x21
fistp word [ecx]
not byte [ecx - 0x3b]
in eax, dx
je 0x443882
add eax, 0x80dbcf2e
jne 0x443872
lcall 0x57fa, 0x83fe03db
ja 0x443831
cli
add byte [0xf256f23c], 0x76
push ds
mov eax, 0xc41b9e17
pop ss
sahf
sbb eax, esp
jle 0x443844
invalid
sbb ebp, dword [eax + 0x43a80587]
inc ebx
les edi, [edx]
dec edx
pop es
into
stosd dword es:[edi], eax
arpl word [edx - 0x791e27c2], bp
push es
sal dword [esi - 0x20], cl
mov word [0x7d45e5f4], es
pop ds
invalid
Function at 0x4628e4
Capabilities:
Encode data using xor

Disassembly:
arpl word [ecx + 0xf], bx
stosd dword es:[edi], eax
test dword [ebp + edx*2 + 0x230c725d], eax
pop ecx
bts dword [ebp + 0x725d5584], eax
or al, 0x23
and edx, dword [edx - 0x78506464]
loopne 0x462919
xchg edx, eax
pushfd
wait
scasd eax, dword es:[edi]
xchg eax, esp
and ebx, dword [eax - 0x55d9560f]
mov ah, 0x62
cwde
int1
test eax, 0x62b4aa26
mov byte [edi], ah
xchg ah, cl
add ch, byte [esp + esi*8 - 0x7b]
leave
jbe 0x4628ee
hlt
mov word [ecx + 0x5d6df68b], fs
mov ah, 0xb0
imul esp, eax, 0xcb151cdc
daa
cmp edx, esi
cli
dec edx
js 0x462903
test byte [esi + esi*4 - 0x60], dh
popal
dec ebp
mov edx, 0xa222e246
stosd dword es:[edi], eax
xor ah, byte [0x78c4fdf]
and cl, byte [0x8f6093f6]
inc ebp
xchg edi, eax
jl 0x46291d
xor byte [ecx - 0x2a978688], cl
cmp eax, 0xd751bc4
les ebx, [ebx]
jne 0x462951
jb 0x462980
sbb ch, byte [ecx]
jl 0x4628e5
lahf
cmc
sbb al, ah
mov dword [0x669c92b0], eax
test dword [ebx + ebp*4 + 0x6d], 0xce2461dc
xchg edx, eax
pushfd
test word [ebx + ebp*4 + 0x6d], 0x61dc
and al, 0xce
lcall 0x649d, 0x131c9fa2
jp 0x462940
fidivr word [edi - 0x56e44d29]
scasb al, byte es:[edi]
clc
movsd dword es:[edi], dword [esi]
lahf
invalid
cmp esi, dword [esi + ebp*2]
jb 0x4629cc
or bl, byte [ecx + 0x13044563]
mov ecx, 0xf1526495
outsb dx, byte [esi]
push esi
cmp dword [ebx + 0x3b], ebx
scasb al, byte es:[edi]
pop ecx
imul edx, dword [ecx + ebp*2 - 0x7c2dea89], 0x76
sub dl, byte [ebx + 0x7388e6]
movsb byte es:[edi], byte [esi]
cmpsb byte [esi], byte es:[edi]
call 0x7c78d66e
adc dword [ebp - 0x6095270f], ebp
push 0x6628bbce
or eax, 0xb1d92e3e
les edx, [edi - 0x3fe06935]
in eax, 0x99
sub eax, 0xd70d2117
pop es
out 0x96, eax
xchg esi, eax
mov ebx, 0xdcd80b1e
pushfd
imul ebp, dword [esi + 0x12], 0xee042fc8
mov dword [0xc76a713b], eax
les esp, [esi]
in eax, 0x99
aad 0x39
scasb al, byte es:[edi]
sahf
sal byte [edx - 0x2021cf7c], 0x71
push ds
fnstcw word [eax]
push 0x863e0359
mov bl, 0xaa
add dword [edi], 0x1ca1d8c4
hlt

Function at 0x5e1e8d
Capabilities:
Encode data using xor

Disassembly:
out dx, al
mov eax, dword [ebp + 0x27838a39]
push edx
jg 0x5e1ed1
mov dword [0x296dde6e], eax
sti
dec esp
std
int 0x10
movsd dword es:[edi], dword [esi]
ret
stc
jl 0x5e1f06
into
adc al, 0xa0
pop edi
mov edi, 0xe1c4b710
invalid
mov al, byte [0xe412d25c]
sal dword [ebx], 0x9f
xor byte [ecx], cl
invalid

Function at 0x5e4abe
Capabilities:
Encode data using xor

Disassembly:
push ecx
fnstcw word [ebx - 0x39f23a37]
imul edx, dword [eax - 0x61], 0x40
sub al, 0xe8
and al, 0xf0
sub esp, dword [ebx + 0x12]
retf
mov cl, 0x6b
pop ebx
cmp cl, byte [edi + 0x27]
jo 0x5e4a74
jne 0x5e4aee
into
jp 0x5e4a40
xlatb
sub dl, ch
nop
retf 0x76bc
out dx, eax
lodsb al, byte [esi]
daa
cli
xchg ebx, eax
in eax, dx
jmp 0x5e4a66
invalid
Function at 0x410a00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x448040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
lea edx, [ebp - 8]
push ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [0x448434]
push esi
push edi
mov esi, 4
mov edi, dword [eax + 0x3f04]
mov eax, dword [edi + 0xfc]
mov ebx, dword [edi + 0x104]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x440510]
sub esi, 1
jne 0x410a40
mov eax, dword [0x448434]
not ebx
cmp dword [eax + 0x3f28], ebx
jne 0x410a7a
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.00421810
add esp, 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
lea ecx, [edi + 0xfc]
call fcn.00421a10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e467
mov esp, ebp
pop ebp
ret
Function at 0x43f17f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43f1be
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43f1be
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43f1be
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43f1be
cmp dword [ecx + 0x74], 0xe
jbe 0x43f1be
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x653370
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 0x65338e
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 0x67c074
push ecx
mov edi, eax
call fcn.00667198
mov esi, eax
add esp, 8
test esi, esi
jne 0x6533cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0066702e
push esi
call fcn.00666fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x656850
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 0x6568ae
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 0x681720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6568ba
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.006671e1
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 0x6568ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x681720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x65692a
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.00668082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x656957
mov word [eax], si
add eax, 2
push eax
call fcn.00668030
add esp, 4
jmp 0x656959
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 0x6568ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x6568b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x6570c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x67c458
push ecx
call fcn.006671e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.006671e1
add esp, 0x10
jmp 0x6570d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0066720b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00666dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00657050
mov eax, dword [0x681728]
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 0x65713b
push esi
call fcn.00656fb0
add esp, 4
mov dword [0x681728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x65714c
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.00656ff0
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 0x65a440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x65a4b7
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 0x65a48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x65a471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x65a47e
add edx, ecx
cmp ebx, edx
jb 0x65a48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x65a467
xor ecx, ecx
jmp 0x65a4a2
test eax, eax
jne 0x65a492
xor ecx, ecx
jmp 0x65a4a2
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.0065a3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x65a8f0
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 0x65a921
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 0x65a946
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 0x65a96e
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 0x65a993
push ecx
push esi
call fcn.0065a4c0
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 0x65bc00
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 0x65bc4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x65bc2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x65bc38
add edx, eax
cmp ebx, edx
jb 0x65bc46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x65bc21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x65bc50
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 0x65bc70
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 0x65bcb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x65bc9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x65bca8
add edx, ecx
cmp ebx, edx
jb 0x65bcb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x65bc91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x65bf60
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.00668145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x65bffb
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 0x65bfdd
lea eax, [esp + 0x18]
push eax
jmp 0x65bfe2
push 0x681720
call fcn.00667fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x65bfb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x65bf40
push 4
push ecx
push eax
call fcn.0066843f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret