joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4779e0
Capabilities:
Hash data using sha224

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0x367cd507
mov dword [eax + 8], 0x3070dd17
mov dword [eax + 0xc], 0xf70e5939
mov dword [eax + 0x10], 0xffc00b31
mov dword [eax + 0x14], 0x68581511
mov dword [eax + 0x18], 0x64f98fa7
mov dword [eax + 0x1c], 0xbefa4fa4
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], 0x1c
mov eax, 1
ret

Function at 0x477a40
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], 0x20
mov eax, 1
ret
Function at 0x4799f0
Capabilities:
Hash data using sha224

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xc1059ed8
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x40], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0x44], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x30
mov eax, 1
ret

Function at 0x479a90
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xf3bcc908
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x40], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x44], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x40
mov eax, 1
ret
Function at 0x4893b0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0xc
call fcn.0048a1d0
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push edi
test ebp, ebp
jne 0x4893ce
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x48947c
mov edi, dword [esp + 0x20]
test edi, edi
je 0x48944d
mov ecx, dword [ebx + 8]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], edi
call fcn.004625a0
add esp, 8
test eax, eax
je 0x489409
mov eax, dword [eax + 8]
pop edi
pop ebp
pop ebx
add esp, 0xc
ret
push esi
mov esi, 0x4a3220
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x489435
test cl, cl
je 0x489431
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x489435
add eax, 2
add esi, 2
test cl, cl
jne 0x489411
xor eax, eax
jmp 0x48943a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
pop esi
jne 0x48944d
push ebp
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
test eax, eax
jne 0x489486
mov ecx, dword [ebx + 8]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x14], str.default
mov dword [esp + 0x18], ebp
call fcn.004625a0
add esp, 8
test eax, eax
je 0x4893c5
mov eax, dword [eax + 8]
pop edi
pop ebp
pop ebx
add esp, 0xc
ret
push ebp
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
pop edi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0xfa0108
Capabilities:
Decompress data using aplib

Disassembly:
call 0xfa0258
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xfa012e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfa011a
add dl, dl
jne 0xfa0139
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfa018c
xor eax, eax
add dl, dl
jne 0xfa0146
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfa022d
add dl, dl
jne 0xfa0155
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfa0160
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfa016b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfa0176
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xfa0182
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xfa0125
mov eax, 1
add dl, dl
jne 0xfa019a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfa01a5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfa0191
sub eax, ebx
mov ebx, 1
jne 0xfa01d8
mov ecx, 1
add dl, dl
jne 0xfa01be
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfa01c9
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfa01b5
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfa0125
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xfa01ef
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfa01fa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfa01e6
cmp eax, 0x7d00
jae 0xfa021d
cmp eax, 0x500
jb 0xfa0218
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfa0125
cmp eax, 0x7f
ja 0xfa0220
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfa0125
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xfa024e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xfa0125
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4071fc
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x437100]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x208]
push edx
push 0xf003f
push 0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ecx
push eax
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x20c], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407292
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push edi
mov edi, 0x200
jmp 0x40725c
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x208]
call fcn.004071fc
push edi
lea eax, [ebp - 0x204]
push eax
push 0
push dword [ebp - 0x208]
call esi
test eax, eax
je 0x40724a
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
pop esi
mov ecx, dword [ebp - 4]
call fcn.00418bc8
leave
ret 8

Function at 0x407714
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x437100]
push ebx
mov dword [ebp - 0x410], ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x40c], ecx
je 0x40777a
push eax
mov esi, 0x400
push esi
lea eax, [ebp - 0x404]
push eax
call fcn.00407313
push 0x40186c
push esi
lea eax, [ebp - 0x404]
push eax
call fcn.00407560
push edi
push esi
lea eax, [ebp - 0x404]
push eax
call fcn.00407560
lea eax, [ebp - 0x404]
push ebx
lea ecx, [ebp - 0x408]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
cmp esi, ebx
jne 0x4077da
mov eax, dword [ebp - 0x40c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4077a6
sub eax, ecx
inc eax
push eax
push dword [ebp - 0x40c]
push 1
push ebx
push dword [ebp - 0x410]
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x408]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
call fcn.00418bc8
leave
ret 8

Function at 0x40fa2b
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
mov eax, 0xffff
je 0x40fa5b
mov ecx, dword [ebp + 8]
push esi
push edi
movzx esi, byte [ecx]
movzx edi, al
xor esi, edi
movzx ax, ah
xor ax, word [esi*2 + 0x402af8]
inc ecx
dec edx
jne 0x40fa41
pop edi
pop esi
not eax
pop ebp
ret 8
Function at 0x411440
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x7c]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4114c1
mov edx, dword [esi + 0x14]
movzx edx, word [edx + 3]
sub edx, 0
je 0x4114ab
dec edx
je 0x411492
dec edx
jne 0x41153c
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp word [eax + 0x15], 0
jbe 0x41153c
mov ecx, dword [esi + 0x20]
fld dword [ecx + 0x74]
push ecx
fmul dword [esi + 0x24]
fstp dword [esp]
call fcn.00411eea
jmp 0x41153c
fld dword [eax + 0x78]
push dword [ebp + 8]
fadd dword [esi + 0x24]
push ecx
mov ecx, eax
fstp dword [esp]
call fcn.00411f22
jmp 0x41153c
fld dword [eax + 0x70]
push dword [ebp + 8]
fmul dword [esi + 0x24]
push ecx
mov ecx, eax
fstp dword [esp]
call fcn.00411eb4
jmp 0x41153c
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x411524
mov ecx, dword [esi + 0x14]
movzx ecx, word [ecx + 3]
sub ecx, 0
je 0x4114ed
dec ecx
jne 0x41153c
fld dword [eax + 0x3c]
push dword [ebp + 8]
fadd dword [esi + 0x24]
push ecx
mov ecx, eax
fstp dword [esp]
call fcn.00415121
jmp 0x41153c
fld dword [eax + 0x38]
push dword [ebp + 8]
fmul dword [esi + 0x24]
push ecx
mov ecx, eax
fstp dword [esp]
call fcn.004150eb
mov al, byte [esi + 0x28]
test al, 2
je 0x41153c
mov ecx, dword [esi + 0x14]
cmp word [ecx], 2
jne 0x41151d
mov ecx, dword [esi + 0x1c]
push 1
call fcn.00414e59
jmp 0x41153c
and al, 0xfe
mov byte [esi + 0x28], al
jmp 0x41153c
mov eax, dword [esi + 0x14]
fld dword [esi + 0x24]
movzx eax, word [eax + 3]
sub ax, 3
push ecx
fstp dword [esp]
push eax
call fcn.0040f9f8
pop esi
pop ebp
ret 4

Function at 0x4178db
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
mov esi, ecx
call ebx
cmp eax, edi
mov dword [esi + 0x4c], eax
je 0x417934
cmp eax, 0xffffffff
je 0x417934
push edi
push edi
push 1
push edi
call ebx
cmp eax, edi
mov dword [esi + 0x50], eax
je 0x417934
cmp eax, 0xffffffff
je 0x417934
push edi
push edi
push esi
push 0x417749
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 0x48], eax
je 0x417934
cmp eax, 0xffffffff
je 0x417934
mov dword [ebp - 4], edi
jmp 0x417977
mov eax, dword [esi + 0x48]
cmp eax, edi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0x8007000e
je 0x417953
cmp eax, 0xffffffff
je 0x417953
push eax
call ebx
mov dword [esi + 0x48], edi
mov eax, dword [esi + 0x4c]
cmp eax, edi
je 0x417965
cmp eax, 0xffffffff
je 0x417965
push eax
call ebx
mov dword [esi + 0x4c], edi
mov eax, dword [esi + 0x50]
cmp eax, edi
je 0x417977
cmp eax, 0xffffffff
je 0x417977
push eax
call ebx
mov dword [esi + 0x50], edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x418bc8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x437100]
jne 0x418bd9
test ecx, 0xffff0000
jne 0x418bd9
ret
jmp fcn.00418be3
Function at 0x41b870
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x437100]
push ebx
mov ebx, ecx
mov dword [ebx + 4], 0x403d9c
mov dword [ebx + 8], 0x4018cc
mov dword [ebx + 0xc], 0x40182c
mov dword [ebp - 4], eax
push esi
xor esi, esi
push edi
mov edi, 1
mov dword [ebx + 0x10], edi
mov dword [ebx], 0x403ea8
mov dword [ebx + 4], 0x403e9c
mov dword [ebx + 8], 0x403e98
mov dword [ebx + 0xc], 0x403e88
lea eax, [ebx + 0x1c]
mov dword [ebx + 0x18], eax
mov dword [eax], esi
mov eax, dword [ebx + 0x18]
mov dword [eax + 8], esi
add eax, 4
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
mov dword [eax + 0x14], ecx
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x3c], esi
mov dword [ebx + 0x40], esi
add eax, 0x10
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x64], esi
mov eax, 0x403dcc
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x68], esi
mov dword [ebx + 0x6c], esi
mov dword [ebx + 0x70], esi
mov dword [ebx + 0x74], esi
mov dword [ebx + 0x78], esi
lea ecx, [ebx + 0xa0]
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x9c], esi
call fcn.0041c040
lea ecx, [ebx + 0x178]
call fcn.0041c040
lea edx, [ebp - 0x128]
push edx
push edi
push esi
push 0x403e64
push 0x80000001
mov dword [ebx + 0x254], esi
mov dword [ebx + 0x250], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41b9ca
mov edx, dword [ebp - 0x128]
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x10]
push ecx
push esi
push esi
push 0x403e50
push edx
mov dword [ebp - 0x12c], 0xa
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41b9bd
mov edi, 0x403e44
lea esi, [ebp - 0x10]
mov ecx, 0xc
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x41b9a0
mov dword [ebx + 0x250], 1
mov edi, 0x403e40
lea esi, [ebp - 0x10]
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x41b9bd
mov dword [ebx + 0x250], 2
mov eax, dword [ebp - 0x128]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebx + 0x250], 2
jne 0x41ba1d
xor eax, eax
mov dword [ebp - 0x124], 0x114
mov ecx, 0x44
lea edi, [ebp - 0x120]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x120], 6
mov eax, ebx
jae 0x41ba1f
pop edi
pop esi
mov dword [ebx + 0x250], 1
pop ebx
mov ecx, dword [ebp - 4]
call fcn.00418bc8
mov esp, ebp
pop ebp
ret
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.00418bc8
mov esp, ebp
pop ebp
ret

Function at 0x41f1a0
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
cmp byte [0x437110], 2
jne 0x41f1ef
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x14]
mov ecx, 1
cmp eax, ecx
ja 0x41f1df
mov eax, dword [ebp - 0x18]
lea edx, [eax - 1]
test eax, edx
mov byte [0x437110], 0xff
je 0x41f1e5
mov byte [0x437110], cl
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esp, ebp
pop ebp
ret
Function at 0x420090
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
mov esi, ecx
call edi
test eax, eax
mov dword [esi + 8], eax
je 0x4200b5
cmp eax, 0xffffffff
jne 0x4200bc
mov edi, 0x8007000e
jmp 0x420108
push 0
push 0
push 1
push 0
call edi
test eax, eax
mov dword [esi + 0xc], eax
je 0x4200b5
cmp eax, 0xffffffff
je 0x4200b5
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
push edi
push esi
push 0x41ff60
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 4], eax
jne 0x420144
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x420102
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
test edi, edi
jge 0x420144
mov eax, dword [esi + 8]
test eax, eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x420125
cmp eax, 0xffffffff
je 0x420125
push eax
call ebx
mov dword [esi + 8], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x42013b
cmp eax, 0xffffffff
je 0x42013b
push eax
call ebx
mov dword [esi + 0xc], 0
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, edi
pop edi
pop esi
pop ebp
ret 8

Function at 0x42fb10
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x404968
push 0x80000002
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42fb73
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push eax
push eax
mov eax, dword [ebp - 8]
push 0x40495c
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x42fb69
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
test ecx, ecx
setne al
mov esp, ebp
pop ebp
ret
Function at 0x40377c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x407018]
jne 0x403786
repz ret
jmp fcn.00403bb5

Function at 0x675da0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x272000]
push edi
or ebp, 0xffffffff
jmp 0x675dc2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x675dc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x675db8
mov eax, 1
add ebx, ebx
jne 0x675ddb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x675dd0
jne 0x675dec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x675dd0
xor ecx, ecx
sub eax, 3
jb 0x675e00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x675e72
mov ebp, eax
add ebx, ebx
jne 0x675e0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x675e18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x675e3c
inc ecx
add ebx, ebx
jne 0x675e28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x675e1d
jne 0x675e39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x675e1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x675e5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x675e4d
jmp 0x675dbe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x675e5c
add edi, ecx
jmp 0x675dbe
pop esi
mov edi, esi
mov ecx, 0x1d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x675e7a
cmp byte [edi], 1
jne 0x675e7a
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 0x675e7f
lea edi, [esi + 0x273000]
mov eax, dword [edi]
or eax, eax
je 0x675ef7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4de7ac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4de7e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x675eac
mov ecx, edi
jns 0x675edb
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 + 0x4de7ec]
or eax, eax
je 0x675ef1
mov dword [ebx], eax
add ebx, 4
jmp 0x675ec9
call dword [esi + 0x4de7fc]
mov ebp, dword [esi + 0x4de7f0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x675f2b
sub esp, 0xffffff80
jmp 0x4013c4
Function at 0x760370
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 0x76038e
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 0x789074
push ecx
mov edi, eax
call fcn.00774198
mov esi, eax
add esp, 8
test esi, esi
jne 0x7603cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0077402e
push esi
call fcn.00773fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x763850
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 0x7638ae
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 0x78e720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x7638ba
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.007741e1
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 0x7638ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x78e720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x76392a
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.00775082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x763957
mov word [eax], si
add eax, 2
push eax
call fcn.00775030
add esp, 4
jmp 0x763959
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 0x7638ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x7638b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x763ff0
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