joyce8/EMBER2024-capa huggingface dataset:
Function at 0x555d85
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x601b54], 0
push esi
push edi
jne 0x555cfb
call fcn.00555c67
test eax, eax
je 0x555d40
mov eax, dword [0x601b54]
cmp eax, 1
jne 0x555d1c
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x555d40
jmp 0x555d82
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x555d82
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x555d44
xor eax, eax
jmp 0x555d82
mov eax, dword [esi]
push dword [0x601b54]
call edi
mov edi, eax
test edi, edi
je 0x555d66
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x555d82
lea edi, [esi + 0xff0]
push esi
push dword [0x601b54]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x555d6c
mov eax, esi
pop edi
pop esi
ret
jmp 0x555ce7

Function at 0x558160
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c4f7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5fb61c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edx, dword [esi + 0x50]
mov ebx, dword [esi + 0x54]
xor eax, eax
mov edi, ebx
mov ecx, edx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
mov dword [ebp - 4], 4
push ebx
cmp eax, 0x10
jb 0x5581b4
call fcn.004cbd30
jmp 0x5581b9
call int.0042bfd0
mov edx, dword [esi + 0x3c]
mov ebx, dword [esi + 0x40]
xor eax, eax
mov edi, ebx
mov ecx, edx
rep stosd dword es:[edi], eax
add esp, 4
lea ecx, [edx*4]
mov byte [ebp - 4], 3
push ebx
cmp ecx, 0x10
jb 0x5581e2
call fcn.004cbd30
jmp 0x5581e7
call int.0042bfd0
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
add esp, 4
mov edi, edx
xor al, al
push edx
mov byte [ebp - 4], 2
rep stosb byte es:[edi], al
call int.0042bfd0
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
mov edi, edx
xor al, al
push edx
mov byte [ebp - 4], 1
rep stosb byte es:[edi], al
call int.0042bfd0
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov edi, edx
xor al, al
push edx
mov byte [ebp - 4], 0
rep stosb byte es:[edi], al
call int.0042bfd0
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edi, edx
xor al, al
push edx
mov dword [ebp - 4], 0xffffffff
rep stosb byte es:[edi], al
call int.0042bfd0
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5589c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c5d2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 1
mov dword [ebp - 0x14], esi
call fcn.004c6540
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 4], 2
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xb
call fcn.00568af0
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 0xc
call fcn.00568af0
mov byte [esi + 0x5c], 1
lea edi, [esi + 0x60]
push 1
mov ecx, edi
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x18], edi
call fcn.004c6540
lea eax, [edi + 0x10]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ecx, 0x10
mov dword [eax + 0x48], ecx
mov byte [eax + 0x41], 1
mov dword [eax + 0x4c], eax
lea eax, [edi + 0x60]
mov dword [eax + 0x48], ecx
mov byte [eax + 0x41], 1
mov dword [eax + 0x4c], eax
mov eax, dword [edi + 0xac]
push eax
mov byte [ebp - 4], 0xf
call fcn.0056cf00
mov dword [edi], vtable.CryptoPP::SHA1.0
add esp, 4
mov dword [esi], vtable.CryptoPP::PK_MessageAccumulatorImpl_class_CryptoPP::SHA1_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005332ca
mov esp, ebp
pop ebp
ret

Function at 0x56cf00
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret
Function at 0x570ca0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor eax, eax
push esi
mov dword [ebp - 0x14], eax
push edi
mov edi, edi
movzx eax, byte [eax + 0x5bffb0]
mov esi, eax
shr esi, 6
mov edi, esi
and edi, 2
mov dword [ebp - 8], edi
and esi, 1
mov ecx, eax
shr ecx, 5
mov edx, ecx
mov edi, ecx
mov dword [ebp - 4], esi
mov esi, ecx
and edi, 1
mov ecx, eax
shr ecx, 7
mov dword [ebp - 0xc], ecx
lea ebx, [eax + eax]
xor ebx, eax
lea ecx, [ebx + ebx]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
imul ebx, ebx, 0x1b000000
xor ecx, eax
shl ecx, 0x19
xor ecx, ebx
mov ebx, edi
imul ebx, ebx, 0x1b000000
xor ecx, ebx
and esi, 2
mov ebx, esi
imul ebx, ebx, 0x1b000000
xor ecx, ebx
mov ebx, dword [ebp - 4]
imul ebx, ebx, 0x1b000000
xor ecx, ebx
mov ebx, dword [ebp - 8]
imul ebx, ebx, 0x1b000000
xor ecx, ebx
and edx, 4
mov dword [ebp - 0x10], edi
imul edi, edi, 0x11b00
mov ebx, edx
imul ebx, ebx, 0x1b000000
xor ecx, ebx
mov ebx, dword [ebp - 0x18]
add ebx, ebx
add ebx, ebx
xor ebx, eax
shl ebx, 8
xor ebx, edi
mov edi, esi
imul edi, edi, 0x11b00
xor ebx, edi
mov edi, dword [ebp - 4]
imul edi, edi, 0x11b00
xor ebx, edi
mov edi, dword [ebp - 8]
imul edi, edi, 0x11b00
xor ebx, edi
mov edi, edx
imul edi, edi, 0x11b00
xor ebx, edi
or ecx, ebx
mov ebx, dword [ebp - 0x10]
imul ebx, ebx, 0x11b0000
lea edi, [eax*8]
xor edi, eax
shl edi, 0x10
xor edi, ebx
mov ebx, esi
imul ebx, ebx, 0x11b0000
xor edi, ebx
mov ebx, edx
imul ebx, ebx, 0x11b0000
xor edi, ebx
lea ebx, [eax*4]
or ecx, edi
mov edi, dword [ebp - 0xc]
xor ebx, eax
add ebx, ebx
imul edi, edi, 0x11b
imul esi, esi, 0x11b
imul edx, edx, 0x11b
xor ebx, edi
mov edi, dword [ebp - 0x10]
imul edi, edi, 0x11b
xor ebx, edi
xor ebx, esi
xor ebx, edx
xor ebx, eax
or eax, ecx
or ebx, ecx
xor edx, edx
or edx, eax
mov eax, dword [ebp - 0x14]
xor ecx, ecx
or ebx, ecx
mov dword [eax*8 + 0x6027e0], edx
mov dword [eax*8 + 0x6027e4], ebx
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 0x100
jl 0x570cb0
pop edi
pop esi
mov byte [0x602fe1], 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x40b26416
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x48153175
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x7ffe537c
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x30]
add al, 4
sub al, 4
inc esi
dec esi
pushf
popf
push eax
pop eax
not eax
not eax
and al, 0xff
add al, 4
sub al, 4
push eax
pop eax
not eax
not eax
push eax
pop eax
not eax
not eax
push es
pop ds
xor eax, ecx
xor eax, ecx
and al, 0xff
xor eax, ecx
xor eax, ecx
and al, 0xff
pushf
popf
push eax
pop eax
add al, 4
sub al, 4
push eax
pop eax
add al, 4
sub al, 4
push eax
pop eax
pushf
popf
add al, 0
xor eax, ecx
xor eax, ecx
push es
pop ds
xor eax, ecx
xor eax, ecx
push es
pop ds
xor eax, ecx
xor eax, ecx
push es
pop ds
xor eax, ecx
xor eax, ecx
push es
pop ds
xor eax, ecx
xor eax, ecx
add al, 0
pushf
popf
push es
pop ds
push bx
inc esp
inc esp
and bh, 0xff
call 0x7ffe53fa
pop edx
push eax
pop eax
xor dx, dx
inc esi
dec esi
cld
add al, 0
add edx, 0xd5e0
xor eax, ecx
xor eax, ecx
xor ecx, ecx
nop
push eax
pop eax
mov cl, 0x1e
push es
pop ds
xor eax, ecx
xor eax, ecx
push eax
pop eax
push eax
pop eax
xor byte [ecx + edx], 3
loop 0x7ffe5420
cld
push dword fs:[0x24]
pop dword [edx + 0xa]
cld
add al, 0
mov cl, 0xff
not eax
not eax
push eax
pop eax
pushf
popf
push edx
loop 0x7ffe5440
push eax
pop eax
push eax
pop eax
cld
mov dword [edx + 0x11], 0xffffacbb
mov ecx, dword [eax + 0x2c]
clc
inc esi
dec esi
mov dword [edx + 0x1b], ecx
inc esi
dec esi
mov dword [edx + 0x100], ecx
push eax
pop eax
add al, 4
sub al, 4
add al, 0
stc
mov dword [eax + 0x2c], esp
add al, 0
add al, 0
push 0
add al, 0
clc
push 0
add al, 0
push bx
inc esp
inc esp
push 0
push eax
pop eax
push bx
inc esp
inc esp
push es
pop ds
cld
push 0
add al, 0
pushf
popf
add al, 0
push 0x30
not eax
not eax
inc esi
dec esi
nop
push 0x20
inc esi
dec esi
add al, 4
sub al, 4
push 0
cld
push 0
push bx
inc esp
inc esp
add edx, 0xffff7f2b
and al, 0xff
add al, 4
sub al, 4
clc
push edx
xor eax, ecx
xor eax, ecx
and al, 0xff
push edx
add al, 4
sub al, 4
push es
pop ds
and al, 0xff
clc
push 0
add al, 4
sub al, 4
inc esi
dec esi
push es
pop ds
call dword [edx + 0x8218]
push eax
pop eax
push bx
inc esp
inc esp
clc
add esp, 0x3f8
xor eax, ecx
xor eax, ecx
push es
pop ds
xor eax, eax
add al, 4
sub al, 4
add al, 0
push edx
cdq
pop edx
inc eax
push es
pop ds
not eax
not eax
inc esi
dec esi
ret 0xc

Function at 0x7ffe9c50
Capabilities:
Encode data using xor

Disassembly:
xor dh, byte [ebx]
sbb byte [0x34241005], bh
xor eax, 0x240c3d1a
cmp byte [ecx], bh
adc al, 0x32
sub al, 0x30
aaa
or al, 0x33
add al, 0x2d
sbb eax, dword [esi]
xor eax, 0x36341c1f
sub byte [0xb19211f], bh
sbb ebx, dword [0x3e1a0d05]
sub dword ss:[ebx], ecx
add eax, dword [ebx]
adc al, 0x3c
sub ah, byte [ebx]
or al, 0x35
sbb ebx, dword [edx]
xor edx, dword [edx]
sub esp, dword [edx]
and eax, 0x33d381c
or eax, 0x2e362406
and eax, 0xb47c2720
jl 0x7ffe9c06
jl 0x7ffe9c06
and byte [ebx + 0x3406814], cl
and al, 0x8c
dec ebp
pop ds
out 0x1c, al
cmp dword [ebx - 0x70], 0x2d
sysret
Function at 0x45b790
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
cmp esi, 0x804
ja 0x45b7cd
je case.0x45b7c6.1027
lea eax, [esi - 0x403]
cmp eax, 0x2a
ja case.0x45b7c6.1032
movzx eax, byte [eax + 0x45b820]
jmp dword [eax*4 + 0x45b818]
cmp esi, 0xc0a
je case.0x45b7c6.1027
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.005290f0
add esp, 0xc
lea eax, [ebp - 0x404]
push 0x200
push eax
push 3
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x45b806
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0040154f
mov esp, ebp
pop ebp
ret

Function at 0x45b7d5
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
cmp esi, 0x804
ja 0x45b7cd
je case.0x45b7c6.1027
lea eax, [esi - 0x403]
cmp eax, 0x2a
ja case.0x45b7c6.1032
movzx eax, byte [eax + 0x45b820]
jmp dword [eax*4 + 0x45b818]
cmp esi, 0xc0a
je case.0x45b7c6.1027
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.005290f0
add esp, 0xc
lea eax, [ebp - 0x404]
push 0x200
push eax
push 3
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x45b806
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0040154f
mov esp, ebp
pop ebp
ret

Function at 0x45c9a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555f98
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5c7cec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [edi + 0x28], 0
mov dword [ebp - 4], 0
jne 0x45ca69
mov al, byte [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov byte [edi + 0x2a], al
mov eax, dword [ebp + 0xc]
mov byte [edi + 0x28], 1
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
mov dword [edi + 0x34], 0
test ecx, ecx
je 0x45ca69
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
mov dword [edi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp dword [edi + 0x2c], 0
mov dword [edi + 0x30], eax
je 0x45ca69
test eax, eax
je 0x45ca69
cmp byte [edi + 0x2a], 0
lea esi, [edi + 0x20]
push esi
push 0
push edi
mov ecx, 0x4fa680
mov dword [esi], 0
mov eax, 0x45cb90
cmovne eax, ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [esi], 0
mov dword [edi + 0x24], eax
je 0x45ca69
test eax, eax
je 0x45ca69
mov byte [edi + 0x29], 1
mov bl, byte [edi + 0x29]
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b6790
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x74000]
push edi
jmp 0x4b67aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b67b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b67a0
mov eax, 1
add ebx, ebx
jne 0x4b67c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b67d4
jne 0x4b67f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b67f3
dec eax
add ebx, ebx
jne 0x4b67e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b67b8
add ebx, ebx
jne 0x4b67ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b6845
xor ecx, ecx
sub eax, 3
jb 0x4b680b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b687a
sar eax, 1
mov ebp, eax
jmp 0x4b6816
add ebx, ebx
jne 0x4b6816
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b67e4
inc ecx
add ebx, ebx
jne 0x4b6824
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b67e4
add ebx, ebx
jne 0x4b6831
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b6826
jne 0x4b6842
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b6826
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b6864
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b6856
jmp 0x4b67a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b6864
add edi, ecx
jmp 0x4b67a6
pop esi
mov edi, esi
mov ecx, 0x3711
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b6882
cmp byte [edi], 0x1b
jne 0x4b6882
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 0x4b6887
lea edi, [esi + 0xb2000]
mov eax, dword [edi]
or eax, eax
je 0x4b68ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbd038]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbd18c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b68b4
mov ecx, edi
jns 0x4b68e3
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 + 0xbd190]
or eax, eax
je 0x4b68f9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b68d1
call dword [esi + 0xbd1a0]
mov ebp, dword [esi + 0xbd194]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4b6933
sub esp, 0xffffff80
jmp 0x416120
Function at 0x402080
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov eax, ecx
mov dword [ebp - 0xc], edx
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 8], eax
push ecx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
xor bl, bl
test edi, edi
je 0x402107
push esi
push edi
call fcn.004032b8
add esp, 4
mov esi, eax
push esi
push edi
push 0
push dword [ebp - 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4020fd
lea ecx, [esi + 6]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4020d0
sub ecx, edx
mov bl, 1
mov edx, dword [ebp - 0xc]
sar ecx, 1
lea ecx, [ecx*2 + 0xb]
and ecx, 0xfffffffc
mov eax, dword [ecx + esi + 0xc]
mov ecx, dword [ecx + esi + 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
push esi
call fcn.0040326d
add esp, 4
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402110
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x3c
lea eax, [ebp - 0x3c]
mov esi, ecx
push 0
push eax
call fcn.00405870
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], 0x440
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0x414b84
movups xmmword [ebp - 0x1c], xmm0
push eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], str._upgrade
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop esi
setne al
mov esp, ebp
pop ebp
ret
Function at 0x402910
Capabilities:
Create directory
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x41700c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0
push 0x1c
push eax
push 0
mov dword [ebp - 0x210], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.TsBrowser
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x414bd8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp word [ebp - 0x20c], ax
jne 0x402997
xor ecx, ecx
jmp 0x4029af
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4029a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.004013e0
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.0040325c
mov esp, ebp
pop ebp
ret 4

Function at 0x4029e0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push str.GlobalFF8C28A9_0AEA_4C77_A8F5_4DDF3DCEED1E40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete bl
test esi, esi
je 0x402a13
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x402a1b
mov ecx, dword [ebp + 8]
call fcn.00402110
pop esi
pop ebx
pop ebp
ret 4
Function at 0x402a30
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f0a8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x41700c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0x2c]
push eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.00401600
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402bc3
lea eax, [ebp - 0x44]
push eax
call fcn.00402850
mov byte [ebp - 4], 1
lea esi, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x80], 0
cmovae esi, dword [ebp - 0x44]
lea edx, [ebp - 0x80]
cmp dword [ebp - 0x18], 8
push eax
cmovae ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x7c], 0
call fcn.00402080
add esp, 4
lea edx, [ebp - 0x84]
mov bl, al
mov ecx, esi
lea eax, [ebp - 0x7c]
push eax
call fcn.00402080
add esp, 4
test al, al
je 0x402b9f
test bl, bl
je 0x402b9f
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x7c]
cmp eax, ecx
ja 0x402b2c
jne 0x402b9f
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x84]
jbe 0x402b9f
xor eax, eax
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x5c], ax
push ecx
lea edx, [ebp - 0x74]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call section..text
add esp, 4
test al, al
je 0x402b97
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00403030
test eax, eax
jne 0x402b97
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.004029e0
lea ecx, [ebp - 0x74]
call fcn.00402c00
lea ecx, [ebp - 0x44]
call fcn.004013a0
mov bl, 1
jmp 0x402bc5
lea ecx, [ebp - 0x74]
call fcn.00402c00
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x402bc3
inc eax
push eax
push dword [ebp - 0x44]
call fcn.004014e0
xor bl, bl
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x402bd7
inc ecx
push ecx
push dword [ebp - 0x2c]
call fcn.004014e0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040325c
mov esp, ebp
pop ebp
ret 4
Function at 0x410214
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, dword [ebp + 8]
mov edi, 0x1505
jmp 0x410235
push eax
call dword [sym.imp.MSVCR80.dll_towupper]
imul edi, edi, 0x21
movzx eax, ax
xor edi, eax
inc esi
pop ecx
inc esi
movzx eax, word [esi]
test ax, ax
jne 0x410223
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x410245
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, dword [ebp + 8]
mov edi, 0x1505
jmp 0x410270
mov ecx, dword [ebp + 0xc]
dec dword [ebp + 0xc]
test ecx, ecx
je 0x410278
push eax
call dword [sym.imp.MSVCR80.dll_towupper]
imul edi, edi, 0x21
movzx eax, ax
xor edi, eax
inc esi
pop ecx
inc esi
movzx eax, word [esi]
test ax, ax
jne 0x410254
mov eax, edi
pop edi
pop esi
pop ebp
ret 8

Function at 0x4124ca
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41716c]
jne 0x4124d4
repz ret
jmp fcn.00412b25

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x236357c6
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
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
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x5ae7651e
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219