joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8e1164
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8e116a
pop ebp
sub ebp, 6
sub ebp, 0x4e1164
jmp 0x8e11c8
jmp 0x8e11d1
mov eax, 0x4e1164
add eax, ebp
add eax, 0x93
mov ecx, 0x625
mov edx, 0xddfbd9ce
xor byte [eax], dl
inc eax
dec ecx
jne 0x8e11e8
jmp 0x8e11fb
movsb byte es:[edi], byte [esi]
mov fs, word [esi - 0x31312132]
cmpsb byte [esi], byte es:[edi]
into
add ah, dl
into
std
push cs
sahf
xor dword [ebx - 0xe], ebx
lahf
mov cl, dh
sahf
inc ebp
add eax, dword [ebp + 0x47]
into
into
into
dec edi
invalid

Function at 0x419d30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x410015
lea edi, [esi - 0xf015]
push edi
or ebp, 0xffffffff
jmp 0x419d52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419d59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419d48
mov eax, 1
add ebx, ebx
jne 0x419d6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419d60
jne 0x419d7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419d60
xor ecx, ecx
sub eax, 3
jb 0x419d90
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419e02
mov ebp, eax
add ebx, ebx
jne 0x419d9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419da8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419dcc
inc ecx
add ebx, ebx
jne 0x419db8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419dad
jne 0x419dc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419dad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419dec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419ddd
jmp 0x419d4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419dec
add edi, ecx
jmp 0x419d4e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x419e0a
cmp byte [edi], 5
jne 0x419e0a
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 0x419e0f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419e87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419e3c
mov ecx, edi
jns 0x419e6b
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 + 0x19090]
or eax, eax
je 0x419e81
mov dword [ebx], eax
add ebx, 4
jmp 0x419e59
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x419ebb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x47fd48
Capabilities:
Delete registry key

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp al, 2
je 0x47fd5c
push esi
push ebx
call sub.advapi32.dll_RegDeleteKeyW
pop esi
pop ebx
ret
cmp dword [0x50b1a4], 0
jne 0x47fd7f
push 0x47fda4
push 0x47fdc4
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.00409620
mov dword [0x50b1a4], eax
cmp dword [0x50b1a4], 0
je 0x47fd99
push 0
push pe_nt_image_headers32
push esi
push ebx
call dword [0x50b1a4]
jmp 0x47fd9e
mov eax, 0x7f
pop esi
pop ebx
ret

Function at 0x47fde0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x47ff53
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x10], 0
je 0x47fe14
mov eax, dword [ebp - 0x10]
cmp word [eax], 0
jne 0x47fe1e
mov ebx, 0x57
jmp 0x47ff3d
mov eax, dword [0x505038]
cmp dword [eax], 2
jne 0x47ff2c
push 0
push 8
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
movzx eax, byte [ebp - 5]
call fcn.0047fd20
test eax, eax
jne 0x47ff2c
xor eax, eax
push ebp
push 0x47ff25
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, pe_nt_image_headers32
xor edx, edx
call fcn.00406584
xor eax, eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x47fe79
sub ebx, 4
mov ebx, dword [ebx]
mov dword [ebp - 0x1c], ebx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
call fcn.00406eb8
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov esi, eax
cmp esi, 0xea
jne 0x47fee4
mov edi, dword [ebp - 4]
test edi, edi
je 0x47feb4
sub edi, 4
mov edi, dword [edi]
cmp edi, 0x10000
jge 0x47ff0e
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x47fed3
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406584
jmp 0x47fe6d
test esi, esi
jne 0x47ff0e
mov eax, dword [ebp - 4]
call fcn.004064d4
mov ecx, eax
mov edx, dword [ebp - 0x14]
movzx eax, byte [ebp - 5]
call fcn.0047fde0
test eax, eax
je 0x47fe6d
inc dword [ebp - 0x18]
jmp 0x47fe6d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ff2c
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
movzx eax, byte [ebp - 5]
call fcn.0047fd48
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ff5a
lea eax, [ebp - 4]
call fcn.00406438
ret
Function at 0x4ab400
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x50b43c
mov eax, esi
mov edx, 8
test al, 1
je 0x4ab41c
shr eax, 1
xor eax, 0xedb88320
jmp 0x4ab41e
shr eax, 1
dec edx
jne 0x4ab40f
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4ab408
pop esi
ret

Function at 0x4ab434
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x50b438], 0
jne 0x4ab457
call fcn.004ab400
push 1
push 0x50b438
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x4ab482
mov edx, ebx
and edx, 0xff
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x50b43c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4ab45d
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4abfec
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
ret

Function at 0x4accd8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov byte [ebp - 5], 0
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.004064d4
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jle 0x4acd7a
mov eax, ebx
call fcn.00403018
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4acd73
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
push edi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4acd5d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4acd9c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4acd5d
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4acd91
mov eax, dword [ebp - 0x10]
call fcn.00403034
ret
mov eax, dword [0x505038]
cmp dword [eax], 1
je 0x4acd91
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004acafc
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4acfa4
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004acf58
test al, al
jne 0x4acfc5
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4ad013
xor eax, eax
push ebp
push 0x4ad003
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, esi
call fcn.004064d4
push eax
call sub.kernel32.dll_CreateDirectoryW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad00a
lea eax, [ebp - 0xc]
call fcn.004acf94
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100014b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 8], 0
jmp 0x10001507
jmp 0x10001599
mov eax, dword [ebp - 0xc]
mov ecx, 0xcccccccd
mov dword [ebp - 0x10], eax
mul ecx
shr edx, 4
imul eax, edx, 0x14
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov eax, ecx
sub eax, 6
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
je 0x10001527
jmp 0x100014eb
mov eax, dword [ebp - 0x14]
sub eax, 8
mov dword [ebp - 0x1c], eax
je 0x10001529
jmp 0x1000152b
jmp 0x100014bf
cmp dword [ebp - 0xc], 0x3c3
jne 0x100014c4
jmp 0x1000153a
jmp 0x10001571
cmp dword [ebp - 8], 0x92
je 0x100015a9
mov eax, dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
call eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x20], eax
jmp 0x100014fa
jmp 0x10001529
jmp 0x1000152b
jmp 0x1000152d
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x100014fa
mov eax, dword [ebp - 8]
mov ecx, 0xcc29786d
mov dword [ebp - 0x24], eax
mul ecx
shr edx, 8
imul eax, edx, 0x141
mov ecx, dword [ebp - 0x24]
sub ecx, eax
mov eax, ecx
sub eax, 0x2d
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
je 0x10001505
jmp 0x10001564
mov eax, dword [ebp - 0x28]
sub eax, 4
mov dword [ebp - 0x30], eax
jne 0x10001576
jmp 0x10001571
jmp 0x100014bf
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0xa
je 0x100014f8
jmp 0x1000158c
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x1000157d
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x10001507
add esp, 0x30
pop ebp
ret
Function at 0x1000a980
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x1019692c], 0x2282
mov dword [ebp - 8], 0
mov dword [0x1019692c], 0x3e3
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x1000aa2f
mov eax, dword [0x1019692c]
sub eax, 0x22df
mov dword [0x10196930], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
je 0x1000aae4
jmp 0x1000aaed
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [ecx + eax*2 - 0x12]
cmp eax, 0x64
je 0x1000aabf
jmp 0x1000aaf2
jmp 0x1000aa0e
jmp 0x1000aaf2
mov dword [0x10196930], 0x1508
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
je 0x1000aa6f
jmp 0x1000aafa
cmp dword [ebp - 0xc], 0x104
jge 0x1000aa0e
mov eax, dword [0x1019692c]
add eax, 0x14df
mov dword [0x1019692c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2]
cmp eax, 0
je 0x1000aa07
mov dword [0x1019692c], 0x1747
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x1000aa2f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [ecx + eax*2 - 0x18]
cmp eax, 0x6f
jne 0x1000aaf8
mov dword [0x1019692c], 0x591
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
jne 0x1000aaf6
mov dword [0x1019692c], 0x1be4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
je 0x1000a9ec
jmp 0x1000aaf4
mov dword [0x1019692c], 0x12df
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
je 0x1000a9c2
jmp 0x1000aa09
mov dword [ebp - 0x10], 1
jmp 0x1000ab0b
jmp 0x1000aa09
jmp 0x1000aaf4
jmp 0x1000aaf6
jmp 0x1000aaf8
jmp 0x1000aafa
mov dword [0x1019692c], 0xab8
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
add esp, 0x10
pop ebp
ret

Function at 0x1000ad40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.1000ad40]
mov dword [ebp - 4], eax
mov dword [0x1019692c], 0x181f
jmp 0x1000ad63
mov al, 1
test al, 1
jne 0x1000ad63
jmp 0x1000ada8
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1000ad8c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x1000ad8a
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x1000adb9
jmp 0x1000ad8c
mov eax, dword [ebp - 4]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 4], eax
mov dword [0x10196930], 0x16bf
jmp 0x1000ad5b
mov dword [0x10196930], 0x1dc5
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
add esp, 8
pop ebp
ret
Function at 0x401e80
Capabilities:
Copy file
Create directory
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42010b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x248
mov eax, dword [0x42c014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x23c]
push eax
push 0
push 0
push 0x421220
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x402068
push dword [ebp - 0x23c]
lea ecx, [ebp - 0x254]
call fcn.004045c0
push 0x4288fc
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004048b0
mov dword [ebp - 0x228], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x224], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x238], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x228], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x240]
cmp ecx, 8
jb 0x401f8d
mov edx, dword [ebp - 0x254]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401f83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402084
push ecx
push edx
call fcn.0040da15
add esp, 8
push dword [ebp - 0x23c]
xor eax, eax
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
push 0
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x401fe4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40202c
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str._access.exe
lea ecx, [ebp - 0x238]
call fcn.004048b0
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
push 0
cmovae eax, dword [ebp - 0x238]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x224]
cmp ecx, 8
jb 0x402068
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40205e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402089
push ecx
push edx
call fcn.0040da15
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040d671
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00412195
call fcn.00412195
int3
Function at 0x4042d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x42c014]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
push edi
mov edi, dword [ebp + 8]
push str.AccessUpdateCheck
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x404431
test esi, esi
je 0x404431
call fcn.00401e80
call fcn.00402090
movups xmm0, xmmword [str.ClipboardViewerClass]
mov ax, word [0x428d1c]
mov word [esp + 0x78], ax
lea eax, [esp + 0x50]
movups xmmword [esp + 0x50], xmm0
mov dword [esp + 0x2c], eax
lea eax, [esp + 8]
movups xmm0, xmmword [0x428d04]
push eax
mov dword [esp + 0xc], 0
movups xmmword [esp + 0x64], xmm0
mov dword [esp + 0x10], 0x404150
movq xmm0, qword [0x428d14]
movq qword [esp + 0x74], xmm0
xorps xmm0, xmm0
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x20], xmm0
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x1c], edi
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Clipboard_Viewer
lea eax, [esp + 0x78]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
call dword [sym.imp.USER32.dll_SetClipboardViewer]
push 0
push 0
mov dword [0x42db98], eax
xorps xmm0, xmm0
push 0
lea eax, [esp + 0x3c]
movaps xmmword [esp + 0x3c], xmm0
push eax
movq qword [esp + 0x50], xmm0
mov dword [esp + 0x58], 0
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x404419
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [esp + 0x30]
push eax
call esi
lea eax, [esp + 0x30]
push eax
call edi
push 0
push 0
push 0
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x4043f6
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.0040d671
mov esp, ebp
pop ebp
ret 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x8c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.0040d671
mov esp, ebp
pop ebp
ret 0x10

Function at 0x404cf0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x404d21
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x404d10
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x40e309
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40e348
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40e348
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40e348
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40e348
cmp dword [ecx + 0x74], 0xe
jbe 0x40e348
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41fe40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41fe6d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41fe6d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1019223f
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov bl, 0xe1
jmp 0x101921ec
lea ecx, [edx*4]
btc ecx, esi
shr cl, 3
jmp 0x10192209
jl 0x101921c8
lea ecx, [edx*4]
btc ecx, esi
jmp 0x10192224
and al, 0xeb
mov bl, 0x8d
dec edi
sbb byte [eax + ebp*8 + 0x2d], 0x77
pushal
lea ecx, [edi - 0x80]
pushfd
call fcn.1019223f
ja 0x10192206
pushal
pop es
int 0x7b
mul dword [edi + 2]
int1
in al, 0x6a
test dword [edi], esi
dec esi
fld st(0)
jmp 0x3bfa0d2d
shr cl, 3
jmp 0x10192209
sub ecx, edx
call 0x10192244
xor dword [edx + reloc.MSVCRT.dll___dllonexit], edi
sbb ebx, dword [edi - 0x3a6695f1]
jb 0x101922ab
jl 0x101921c0
and cl, 0xfc
loope 0x1019223e
jmp 0x10192229
salc
and eax, 0x8d9ce638
je 0x101922c4
rcl byte [esi - 0x15], 0xda
xchg dword [esp], esi
lea esi, reloc.MSVCRT.dll___dllonexit
jmp 0x101922d5
add dword [eax - 0x6d], esp
push ss
nop
adc ecx, dword [edx - reloc.MSVCRT.dll___dllonexit]
pop esi
popfd
push eax
push esp
add esp, 4
xchg dword [esp + 4], esi
clc
push dword [esp + 4]
ret 8

Function at 0x10192329
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ax, word [esp + 3]
jmp 0x10192307
sub edi, 4
mov ecx, dword [esp]
bsr ecx, edi
js 0x10192363
jns 0x10192363
div dword [edx + ebp*8 - 0x73]
jl 0x10192365
loope 0x1019233c
arpl word [edi], cx
mov gs, word [edi]
invalid
bsf dx, dx
jp 0x101922fc
mov ax, word [esp + 3]
jmp 0x10192307
div byte [ebp - 0x1b]
invalid
mov edx, ebp
jmp 0x10192365
jmp 0x1019234d
add edx, 0xfffffffc
jmp 0x101923ce
mov ecx, dword [edx]
inc edx
rdtsc
push esp
call fcn.10192396
ret
rdtsc
push esp
jmp 0x10192377
jno 0x10192371
mov ecx, dword [edx]
inc edx
jmp 0x101923ac

Function at 0x10195859
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 4]
jmp 0x10175f04
Function at 0x1019ad09
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushal
mov byte [esp], al
stc
xchg dword [esp + 0x20], eax
call fcn.1019acf3
call 0x1019ad4b
lea ecx, [edx + esi]
ror eax, 0x1e
jno 0x1019ad56
enter 0x711e, 0x32
jo 0x1019ad56
push edx
pop word [esp]
push word [esp + 1]
jno 0x1019ad7f
jo 0x1019ad7f
stc
jns 0x1019ad20
mov byte [ebx + 0x1b], bh
fdivr dword [ebx]
bsr edx, esp
jge 0x1019ad17
jl 0x1019ad17
adc edx, dword [eax - reloc.MSVCRT.dll___dllonexit]
lea ebx, [ebx + eax*4]
out dx, eax
or al, 0x8d
add eax, 0x6276ce04
jmp 0x1019ad1c
pushal
mov ecx, dword [esp]
jmp 0x1019ad26
mov eax, dword [edi + 0xc]
jmp 0x1019ad88
pushal
xor cl, 0xb2
jno 0x1019af53
not edx
jmp 0x1019af55
cmp dword [edi + 0xc], 1
push bx
lea esp, [esp + 2]
mov dword [edi + 0xc], eax
call fcn.1019ade2
lea ebx, [ebx + 4]
mov dword [ebx], ecx
mov ch, 0x8f
lea ebx, [ebx + esi]
lea ecx, [eax*4]
jmp 0x1019ae6d
mov ebx, dword [esp]
xchg dx, bx
jmp 0x1019ae7a
mov dword [esp + 2], esi
jmp 0x1019ae13
popal
mov dx, 0xa776
mov dx, word [esp]
rdtsc
jmp 0x1019b008
mov cl, byte [esp]
mov ebx, edi
mov dword [ebx], edx
mov bx, 0x6786
jmp 0x1019ae38
lea esp, [esp + 0x30]
jne 0x1019ae54
mov ebx, eax
call fcn.1019aedc
mov byte [ebp + 0x9caf8f], cl
add al, ch
jo 0x1019ae91
add byte [eax], al
das
scasd eax, dword es:[edi]
aas
pop edx
test eax, 0xccfd4280
pop edi
cmpsb byte [esi], byte es:[edi]
ror dword [edi], 1
mov byte [0x18c48360], al
cpuid
pushal
add esp, 0x18
ja 0x1019ae4e
mov dword [esp + 2], esi
jmp 0x1019ae13
not edx
jmp 0x1019ae9f
xchg ecx, eax
jmp 0x1019195d

Function at 0x1019ad4b
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushal
mov byte [esp], al
stc
xchg dword [esp + 0x20], eax
call fcn.1019acf3
call 0x1019ad4b
lea ecx, [edx + esi]
ror eax, 0x1e
jno 0x1019ad56
enter 0x711e, 0x32
jo 0x1019ad56
push edx
pop word [esp]
push word [esp + 1]
jno 0x1019ad7f
jo 0x1019ad7f
stc
jns 0x1019ad20
mov byte [ebx + 0x1b], bh
fdivr dword [ebx]
bsr edx, esp
jge 0x1019ad17
jl 0x1019ad17
adc edx, dword [eax - reloc.MSVCRT.dll___dllonexit]
lea ebx, [ebx + eax*4]
out dx, eax
or al, 0x8d
add eax, 0x6276ce04
jmp 0x1019ad1c
pushal
mov ecx, dword [esp]
jmp 0x1019ad26
mov eax, dword [edi + 0xc]
jmp 0x1019ad88
pushal
xor cl, 0xb2
jno 0x1019af53
not edx
jmp 0x1019af55
cmp dword [edi + 0xc], 1
push bx
lea esp, [esp + 2]
mov dword [edi + 0xc], eax
call fcn.1019ade2
lea ebx, [ebx + 4]
mov dword [ebx], ecx
mov ch, 0x8f
lea ebx, [ebx + esi]
lea ecx, [eax*4]
jmp 0x1019ae6d
mov ebx, dword [esp]
xchg dx, bx
jmp 0x1019ae7a
mov dword [esp + 2], esi
jmp 0x1019ae13
popal
mov dx, 0xa776
mov dx, word [esp]
rdtsc
jmp 0x1019b008
mov cl, byte [esp]
mov ebx, edi
mov dword [ebx], edx
mov bx, 0x6786
jmp 0x1019ae38
lea esp, [esp + 0x30]
jne 0x1019ae54
mov ebx, eax
call fcn.1019aedc
mov byte [ebp + 0x9caf8f], cl
add al, ch
jo 0x1019ae91
add byte [eax], al
das
scasd eax, dword es:[edi]
aas
pop edx
test eax, 0xccfd4280
pop edi
cmpsb byte [esi], byte es:[edi]
ror dword [edi], 1
mov byte [0x18c48360], al
cpuid
pushal
add esp, 0x18
ja 0x1019ae4e
mov dword [esp + 2], esi
jmp 0x1019ae13
not edx
jmp 0x1019ae9f
xchg ecx, eax
jmp 0x1019195d