joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x4018c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x403464], eax
mov edi, 0
mov ecx, 0xa
push edi
loop 0x4018dd
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [0x403464]
mov dword [ebp - 0x1c], edx
lea ecx, str.contents
mov dword [ebp - 8], ecx
lea eax, section..text
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0x67
push dword [0x403464]
call dword [sym.imp.USER32.dll_LoadBitmapA]
push 0x66
push dword [0x403464]
call dword [sym.imp.USER32.dll_LoadBitmapA]
xor eax, eax
push eax
push dword [0x403464]
push eax
push eax
push 0x1f4
push 0x2f4
push 0x578
push 0xce4
push 0
mov ecx, str.frantically
push eax
push str.contents
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403474], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403474]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4019a6
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x40198d
pop ebp
ret 0x10
Function at 0x4027a4
Capabilities:
Copy file
Extract resource via kernel32 functions
Get common file path
Get file size
Move file
Read file on windows
Terminate process
Write file on windows

Disassembly:
stc
jmp 0x4027c4
pushal
clc
jmp 0x4027db
call 0x4027f3
adc byte [0x160e0ead], al
pushfd
push ds
xchg esp, ebp
mov fs, word [0x62347e1b]
pop ss
scasd eax, dword es:[edi]
jo 0x402852
jmp 0x402800
add esi, 0xffffff88
jmp 0x40282d
cmp dword [esi], 0
clc
jmp 0x40283b
je 0x402a08
stc
jmp 0x402865
outsd dx, dword [esi]
push cs
pop ds
imul byte [edi - 0x1336c20b]
pop esi
out 0x5e, eax
mov bl, 0xb5
pop ds
mov esp, 0x72fe8be3
adc eax, 0xd0a9c96b
stc
mov edi, esi
jb 0x40287e
imul ecx, ecx, 0xffffffa9
sar cl, 1
aam 0xb0
or bh, 0xd2
js 0x402899
xor al, byte [ecx + 0x20742527]
add eax, 0x4c6838b
add esi, 4
jmp 0x40289f
loopne 0x40290f
push esp
nop
bound ecx, qword ss:[ebx - 0x52dd14ea]
daa
call dword [ecx]
mov edx, 0x6bf3413
imul ecx, ebp, 0xcf7fe16b
rcr dword [ecx - 0x56a9f33f], cl
push cs
hlt
mov edx, dword [esi]
jmp 0x4028c5
add edx, esi
clc
jae 0x4028ea
jb 0x402941
wait
invalid
mov eax, dword [esi + 4]
jmp 0x4028f2
sub dword [edx], 0x8c86caf4
jmp 0x402909
retf 0x8c86
add edx, 4
jmp 0x40293d
and al, 0xd9
pop edx
imul edi, dword [edi + ebp*4], 0x85c5c4bf
xor dl, cl
scasd eax, dword es:[edi]
aam 0x55
jbe 0x4028f5
jecxz 0x402976
call 0xa9426d94
cld
pop esi
popfd
pop esp
cwde
lodsd eax, dword [esi]
cmp dword [ecx + 0x25], 0xaa45296
clc
inc eax
fisttp word [edi - 0x770077fb]
sub eax, 1
stc
jmp 0x40294e
jne 0x4028ed
jb 0x40297c
jp 0x402965
hlt
dec ecx
dec eax
push edi
cmc
ficomp dword [edx]
jnp 0x402997
pop ds
jmp 0x4029dc
cli
dec eax
push cs
fnstsw word [ecx + 0x38]
add esi, 8
jmp 0x402987
sub dword [edi], 1
stc
jb 0x4029b3
sub al, 0x5d
not dword [edx]
mov bh, 0xd6
sbb bh, 0x58
and byte [ecx + 0x3e], ah
jbe 0x4029ec
popal
jbe 0x4029ec
imul ecx, dword [ebx - 0x38c7c46e], 0x35
nop
mov edi, 0x254a26df
xor ecx, esp
dec ecx
xlatb
dec esp
inc ebp
aad 0xf7
invalid
jne 0x402881
clc
jae 0x4029d0
fidivr word [eax + 8]
in eax, dx
insd dword es:[edi], dx
nop
mov ah, 0x53
inc edx
inc ebx
inc ebp
invalid
mov ebx, esi
jmp 0x402a03
shr byte [ebp + 0x5d], 1
test eax, 0xfebf9b1f
in al, dx
movsd dword es:[edi], dword [esi]
std
sbb dword [edi + 0x6a], eax
push 0xffffffffffffffde
sbb eax, ebx
mov ch, 0x7e
idiv dword [edi]
rcr edi, 0x85
ret
ficomp word [ecx]
fdiv dword [ebp - 0x3ec00882]
fild word [ebp - 0x6980163d]
cli
inc ebp
stosd dword es:[edi], eax
xchg esp, eax
mov bh, 0x29
and esp, dword [eax]
call fcn.00402a62
jmp 0x402a31
popal
stc
jmp 0x402a5d
jmp fcn.00401000
Function at 0x4027f3
Capabilities:
Copy file
Extract resource via kernel32 functions
Get common file path
Get file size
Move file
Read file on windows
Terminate process
Write file on windows

Disassembly:
stc
jmp 0x4027c4
pushal
clc
jmp 0x4027db
call 0x4027f3
adc byte [0x160e0ead], al
pushfd
push ds
xchg esp, ebp
mov fs, word [0x62347e1b]
pop ss
scasd eax, dword es:[edi]
jo 0x402852
jmp 0x402800
add esi, 0xffffff88
jmp 0x40282d
cmp dword [esi], 0
clc
jmp 0x40283b
je 0x402a08
stc
jmp 0x402865
outsd dx, dword [esi]
push cs
pop ds
imul byte [edi - 0x1336c20b]
pop esi
out 0x5e, eax
mov bl, 0xb5
pop ds
mov esp, 0x72fe8be3
adc eax, 0xd0a9c96b
stc
mov edi, esi
jb 0x40287e
imul ecx, ecx, 0xffffffa9
sar cl, 1
aam 0xb0
or bh, 0xd2
js 0x402899
xor al, byte [ecx + 0x20742527]
add eax, 0x4c6838b
add esi, 4
jmp 0x40289f
loopne 0x40290f
push esp
nop
bound ecx, qword ss:[ebx - 0x52dd14ea]
daa
call dword [ecx]
mov edx, 0x6bf3413
imul ecx, ebp, 0xcf7fe16b
rcr dword [ecx - 0x56a9f33f], cl
push cs
hlt
mov edx, dword [esi]
jmp 0x4028c5
add edx, esi
clc
jae 0x4028ea
jb 0x402941
wait
invalid
mov eax, dword [esi + 4]
jmp 0x4028f2
sub dword [edx], 0x8c86caf4
jmp 0x402909
retf 0x8c86
add edx, 4
jmp 0x40293d
and al, 0xd9
pop edx
imul edi, dword [edi + ebp*4], 0x85c5c4bf
xor dl, cl
scasd eax, dword es:[edi]
aam 0x55
jbe 0x4028f5
jecxz 0x402976
call 0xa9426d94
cld
pop esi
popfd
pop esp
cwde
lodsd eax, dword [esi]
cmp dword [ecx + 0x25], 0xaa45296
clc
inc eax
fisttp word [edi - 0x770077fb]
sub eax, 1
stc
jmp 0x40294e
jne 0x4028ed
jb 0x40297c
jp 0x402965
hlt
dec ecx
dec eax
push edi
cmc
ficomp dword [edx]
jnp 0x402997
pop ds
jmp 0x4029dc
cli
dec eax
push cs
fnstsw word [ecx + 0x38]
add esi, 8
jmp 0x402987
sub dword [edi], 1
stc
jb 0x4029b3
sub al, 0x5d
not dword [edx]
mov bh, 0xd6
sbb bh, 0x58
and byte [ecx + 0x3e], ah
jbe 0x4029ec
popal
jbe 0x4029ec
imul ecx, dword [ebx - 0x38c7c46e], 0x35
nop
mov edi, 0x254a26df
xor ecx, esp
dec ecx
xlatb
dec esp
inc ebp
aad 0xf7
invalid
jne 0x402881
clc
jae 0x4029d0
fidivr word [eax + 8]
in eax, dx
insd dword es:[edi], dx
nop
mov ah, 0x53
inc edx
inc ebx
inc ebp
invalid
mov ebx, esi
jmp 0x402a03
shr byte [ebp + 0x5d], 1
test eax, 0xfebf9b1f
in al, dx
movsd dword es:[edi], dword [esi]
std
sbb dword [edi + 0x6a], eax
push 0xffffffffffffffde
sbb eax, ebx
mov ch, 0x7e
idiv dword [edi]
rcr edi, 0x85
ret
ficomp word [ecx]
fdiv dword [ebp - 0x3ec00882]
fild word [ebp - 0x6980163d]
cli
inc ebp
stosd dword es:[edi], eax
xchg esp, eax
mov bh, 0x29
and esp, dword [eax]
call fcn.00402a62
jmp 0x402a31
popal
stc
jmp 0x402a5d
jmp fcn.00401000
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1e1a1366
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x6ebd4700
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x7b284553
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0xde4730c
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x96c
lea esi, [esp + 0x16c]
mov edx, 0
mov al, byte [edx + 0x401260]
xor eax, 0xffffffd8
mov byte [esi], al
inc esi
inc edx
cmp edx, 0x26
jne 0x401016
mov byte [esi], 0
sub esp, 4
push 0x104
lea edi, [esp + 0x70]
push edi
push 0
call 0x4012a0
lea ebp, [esp + 0x170]
push ebp
push 1
push 0
call 0x4012a8
mov byte [esi], 0x29
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call 0x4012b0
mov ebx, eax
add esp, 4
test eax, eax
je 0x401238
cmp eax, 0xffffffff
je 0x401238
push 2
push 0
push 0xffffffffffffff85
push eax
call 0x4012b8
sub esp, 0xc
push 0
lea eax, [esp + 0x74]
push eax
push 0x7b
push ebp
push ebx
call 0x4012c0
push ebx
call 0x4012c8
mov bl, byte [esp + 0x178]
xor ebx, 0xffffffa4
lea eax, [esp + 0x17a]
add esp, 0xc
lea edx, [esp + 0x1e7]
xor byte [eax - 1], bl
inc eax
cmp eax, edx
jne 0x4010be
lea edx, [esp + 0x10]
lea eax, [esp + 0x54]
cmp edx, eax
jae 0x4010da
mov byte [edx], 0
inc edx
cmp edx, eax
jne 0x4010d2
sub esp, 8
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x19d]
push eax
call 0x4012d0
add esp, 8
test eax, eax
jne 0x401238
sub esp, 4
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea eax, [esp + 0x84]
push eax
call 0x4012b0
mov esi, eax
add esp, 4
test eax, eax
paddusb mm7, mm7
fadd qword [eax]
fadd qword [ebx - 0x7b230024]
fadd qword [eax]
fadd qword [eax]
fadd qword [edx]
fadd qword [eax]
fadd qword [ebp + 0x2bdcffdc]
fsub qword [esp + ebx*8]
add esp, ebx
add ah, bl
push esi
fcomp qword [edi - 0x24]
add ah, bl
mov ebx, esp
and al, 0xdc
add esp, ebx
add ah, bl
jae 0x40113f
add ah, bl
add ah, bl
add bl, ah
add ah, bl
test esp, ebx
invalid
add ah, bl
sbb esp, 4
fsubr qword [edx - 0x24]
push eax
fsubr qword [edi - 0x24]
add ah, bl
mov esp, ebx
sbb esp, 8
fadd qword [eax]
fadd qword [esp + ebx*8 + 0x74]
fcom qword [edi - 0x24]
push esi
fdivr qword [ebx]
fadd qword [eax]
fcom qword [esi - 0x24]
cmp eax, 0x89dc00dc
fmul qword [ecx + 0x24dc03dc]
fadd qword [ecx]
fadd qword [eax]
fadd st(4), st(0)
fdivr qword [ecx]
fdiv qword [ebx - 0x24]
mov esp, ebx
xor ah, bl
inc edx
mov esp, ebx
add ebx, esp
and al, 0xdc
add esp, ebx
add ah, bl
rcr ah, 1
invalid
sbb esp, 0xc
fadd qword [eax]
fdivr qword [esi - 0x1423ff24]
fcom qword [eax - 0x6f236f24]
fcom qword [eax - 0x6f236f24]
fcom qword [eax - 0x6f236f24]
fcom qword [eax - 0x6f236f24]
fcom qword [eax - 0x5c236f24]
fsub st(0), st(0)
fsub st(5), st(0)
fsubr st(0), st(0)
fcomp qword [ecx - 0x1e231724]
fdivr st(5), st(0)
fcomp qword [esi - 0x62231e24]
fsub st(7), st(0)
fdivr st(5), st(0)
fcomp qword [ecx - 0x1e231f24]
fsub st(6), st(0)
fsub st(5), st(0)
fsubr st(1), st(0)
fcom qword [eax - 0x6f236f24]
fcom qword [eax - 0x6f236f24]
fcom qword [eax - 0x6f236f24]
fcom qword [eax - 0x6f236f24]
fcom qword [eax - 0x7f230024]
fadd qword [eax - 0x24]
nop
fdiv st(7), st(0)
fdiv qword [eax - 0x24]
inc eax
fcom qword [eax + 0x6cdcffdc]
fadd qword [eax - 0x24]
nop
fdiv st(7), st(0)
fcom qword [esp + ebx*8 - 0x236f23c0]
invalid
Function at 0x4020b9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4020f8
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4020f8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4020f8
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4020f8
cmp dword [ecx + 0x74], 0xe
jbe 0x4020f8
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x637370
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 0x63738e
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 0x660074
push ecx
mov edi, eax
call fcn.0064b198
mov esi, eax
add esp, 8
test esi, esi
jne 0x6373cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0064b02e
push esi
call fcn.0064afb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x63a850
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 0x63a8ae
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 0x665720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x63a8ba
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.0064b1e1
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 0x63a8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x665720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x63a92a
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.0064c082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x63a957
mov word [eax], si
add eax, 2
push eax
call fcn.0064c030
add esp, 4
jmp 0x63a959
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 0x63a8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x63a8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x63b0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x660458
push ecx
call fcn.0064b1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.0064b1e1
add esp, 0x10
jmp 0x63b0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0064b20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.0064adff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.0063b050
mov eax, dword [0x665728]
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 0x63b13b
push esi
call fcn.0063afb0
add esp, 4
mov dword [0x665728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x63b14c
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.0063aff0
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 0x63e440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x63e4b7
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 0x63e48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x63e471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x63e47e
add edx, ecx
cmp ebx, edx
jb 0x63e48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x63e467
xor ecx, ecx
jmp 0x63e4a2
test eax, eax
jne 0x63e492
xor ecx, ecx
jmp 0x63e4a2
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.0063e3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x63e8f0
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 0x63e921
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 0x63e946
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 0x63e96e
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 0x63e993
push ecx
push esi
call fcn.0063e4c0
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 0x63fc00
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 0x63fc4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x63fc2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x63fc38
add edx, eax
cmp ebx, edx
jb 0x63fc46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x63fc21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x63fc50
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 0x63fc70
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 0x63fcb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x63fc9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x63fca8
add edx, ecx
cmp ebx, edx
jb 0x63fcb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x63fc91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x63ff60
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.0064c145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x63fffb
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 0x63ffdd
lea eax, [esp + 0x18]
push eax
jmp 0x63ffe2
push 0x665720
call fcn.0064bfd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x63ffb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x63ff40
push 4
push ecx
push eax
call fcn.0064c43f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0x640310
Capabilities:
Query or enumerate registry key

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 0
push 0
push 0
push edi
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.0064c145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x6403ab
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_RegEnumKeyExW]
test eax, eax
jne 0x64038d
lea eax, [esp + 0x18]
push eax
jmp 0x640392
push 0x665720
call fcn.0064bfd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x640360
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x63ff40
push 4
push ecx
push eax
call fcn.0064c43f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret