joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e09c
Capabilities:
Hash data with md5

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

Function at 0x42ee3f
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4490e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42ef6e
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x42ef6d
cmp edi, 0x40
jbe 0x42ee89
lea ecx, [ebp - 0x14]
push ecx
push edi
push eax
call fcn.0042ecde
add esp, 0xc
push 0x10
lea eax, [ebp - 0x14]
pop edi
mov dword [ebp - 0x18], eax
push ebx
push 0x40
lea eax, [esi + 0x58]
push 0x36
push eax
call sub.MSVCR90.dll_memset
push 0x40
lea ebx, [esi + 0x98]
push 0x5c
push ebx
call sub.MSVCR90.dll_memset
add esp, 0x18
test edi, edi
jbe 0x42eec1
mov ecx, dword [ebp - 0x18]
mov eax, ebx
mov dl, byte [ecx]
xor byte [eax - 0x40], dl
mov dl, byte [ecx]
xor byte [eax], dl
inc ecx
inc eax
dec edi
jne 0x42eeb3
push esi
call fcn.0042e09c
add esp, 4
lea eax, [esi + 0x58]
push 0x40
pop ebx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42ef5c
mov ecx, dword [esi]
mov edi, ecx
push ebx
and edi, 0x3f
pop eax
add ecx, ebx
sub eax, edi
mov dword [ebp - 0x1c], eax
mov dword [esi], ecx
cmp ecx, ebx
jae 0x42eef4
inc dword [esi + 4]
test edi, edi
je 0x42ef29
cmp eax, 0x40
ja 0x42ef29
push eax
push dword [ebp - 0x18]
lea eax, [edi + esi + 0x18]
push eax
call sub.MSVCR90.dll_memcpy
lea eax, [esi + 0x18]
push esi
call fcn.0042e0c4
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
add esp, 0x10
push 0x40
pop ebx
sub ebx, eax
xor edi, edi
cmp ebx, 0x40
jb 0x42ef47
mov eax, ebx
shr eax, 6
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
push esi
call fcn.0042e0c4
add dword [ebp - 0x18], 0x40
sub ebx, 0x40
dec dword [ebp - 0x1c]
pop ecx
jne 0x42ef31
test ebx, ebx
jbe 0x42ef5c
push ebx
push dword [ebp - 0x18]
lea eax, [edi + esi + 0x18]
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
push 0x10
lea eax, [ebp - 0x14]
push 0
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00425cba
leave
ret

Function at 0x42f17a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x42f1ae
xor eax, eax
cmp ax, word [esi]
je 0x42f1ae
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f1b9
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42f1aa
test al, 0x10
je 0x42f1aa
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret
push 0x132b3a1
call fcn.0042f750
pop ecx
xor al, al
pop esi
ret
Function at 0x430009
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x44ca98], 0
push esi
jne 0x42ff77
call fcn.0042fe8b
test eax, eax
je 0x42ffba
mov eax, dword [0x44ca98]
cmp eax, 1
jne 0x42ff98
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x42ffba
pop esi
ret
push eax
call dword [0x44caa0]
test eax, eax
jne 0x430002
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 0x42ffbe
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x44ca98]
call dword [0x44caa0]
mov edi, eax
test edi, edi
je 0x42ffe3
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x42ffff
mov edi, esi
add esi, 0xff0
push edi
push dword [0x44ca98]
call dword [fcn.0044ca9c]
add edi, 0x10
cmp edi, esi
jb 0x42ffeb
mov eax, edi
pop edi
pop esi
ret
jmp 0x42ff64
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0xad179a8
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x32827854
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4148ef
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00414765

Function at 0x418f20
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00418a73

Function at 0x50c5f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
jmp 0x50c60a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50c611
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50c600
mov eax, 1
add ebx, ebx
jne 0x50c623
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50c618
jne 0x50c634
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50c618
xor ecx, ecx
sub eax, 3
jb 0x50c648
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50c6ba
mov ebp, eax
add ebx, ebx
jne 0x50c653
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x50c660
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x50c684
inc ecx
add ebx, ebx
jne 0x50c670
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50c665
jne 0x50c681
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50c665
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50c6a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50c695
jmp 0x50c606
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50c6a4
add edi, ecx
jmp 0x50c606
pop esi
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x50c703
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xeacc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xeb24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50c6c1
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xeb2c]
or eax, eax
je 0x50c6fd
mov dword [ebx], eax
add ebx, 4
jmp 0x50c6de
call dword [esi + 0xeb28]
mov ebp, dword [esi + 0xeb30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x50c737
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x970058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x9701a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x97007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x97006a
add dl, dl
jne 0x970089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9700dc
xor eax, eax
add dl, dl
jne 0x970096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x97017d
add dl, dl
jne 0x9700a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9700b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9700bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9700c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9700d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x970075
mov eax, 1
add dl, dl
jne 0x9700ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9700f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9700e1
sub eax, ebx
mov ebx, 1
jne 0x970128
mov ecx, 1
add dl, dl
jne 0x97010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x970119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x970105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x970075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x97013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x97014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x970136
cmp eax, 0x7d00
jae 0x97016d
cmp eax, 0x500
jb 0x970168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x970075
cmp eax, 0x7f
ja 0x970170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x970075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x97019e
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 0x970075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x2f5c41f6
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
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
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x34d638a3
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x51341d40
Capabilities:
Encode data using xor

Disassembly:
jmp 0x51341d4a
pushal
call 0x51341d50
pop ebp
sub ebp, 0x10
sub ebp, 0x3a1d40
mov al, byte [esp + 0x28]
cmp al, 1
je 0x51341d74
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x51341d7d
mov eax, 0x3a1d40
add eax, ebp
add eax, 0x63
mov ecx, 0x5f7
mov edx, 0x4ff0e71b
xor byte [eax], dl
inc eax
dec ecx
jne 0x51341d94
jmp 0x51341da7
nop
salc
nop
xchg edx, eax
daa
sbb ebx, dword [ebx]
sbb ebx, dword [edx + 0x1b1be3da]
sbb ebx, dword [eax]
salc
mov dword [0x1b1b1b18], eax
mov eax, dword [0x1b1b1b33]
in al, dx
stc
sbb bl, dl
nop
lcall 0xde18, 0x1b1b1b17
dec ebx
dec ebx
jae 0x51341df8
pushal
adc eax, 0xb91a731b
xor byte [ebx], bl
sbb dh, byte [edi]
aas
jae 0x51341e2e
mov ebx, 0x1ef38f73
sbb ebx, dword [ebx]
sbb esi, edx
xor ebx, dword [ebx]
sbb ebx, dword [ebx]
dec esi
nop
not dword [eax + 0x1b1b139e]
sbb edx, dword [eax + 0x1b1b178e]
sbb edx, dword [eax + 0x1b1b0b96]
sbb ebx, edx
sbb dword [edx], ebp
sbb dword [eax + 0x14521fd9], ebx
sahf
out dx, eax
in al, 0xe4
in al, 0x46
fst dword [edi]
sbb edx, dword [eax + 0x1b1f3f97]
sbb ebx, dword [ebx]
sbb ebx, dword [ebx]
nop
xchg esi, eax
or ebx, dword [ebx]
sbb ebx, dword [ebx]
invalid
jae 0x51341e43
pushal
adc eax, 0xb91a731b
xor byte [ebx], bl
sbb dh, byte [edi]
aas
dec edx
push ds
sbb ebx, dword [ebx]
sbb esi, edx
pop edx
sbb dword [ebx], ebx
sbb ecx, dword [esi - 0x6a]
ja 0x51341e75
sbb esp, esp
outsb dx, byte [esi]
pop ss
in al, 0x6e
adc esi, ebx
imul ebx, dword [ebx], 0xa6901b1b
cmpsb byte [esi], byte es:[edi]
adc ebx, dword [ebx]
sbb ebx, dword [ebx]
sub dl, dl
lcall 0x9aee, 0x9cc249e9
jmp 0x3fd0e09f
sbb ebx, dword [ebx]
jge 0x51341dfa
pop es
and bl, byte [ebx - 0x60eb0c20]
add dword [ebx], ebx
sbb ebx, dword [ebx]
wait
loopne 0x51341e6a
adc al, 0x9f
or bl, byte [ebx]
sbb ebx, dword [ebx]
jge 0x51341e1a
loopne 0x51341e66
adc al, 0x9f
push cs
sbb ebx, dword [ebx]
sbb ebx, dword [edx - 0xe]
xlatb
in al, 0xe4
in al, 0x32
push edi
and bl, byte [edx]
cwde
ficomp dword [esi]
cwde
pop ds
repne cmpsb byte [esi], byte es:[edi]
in al, 0xe4
in al, 0x32
dec edi
and bl, byte [ecx]
cwde
ficomp dword [0x981ff198]
push ds
mov al, 0xe4
in al, 0xe4
inc esi
fst dword [edi]
sbb ecx, dword [esi - 0x70]
test dword [ebp + 0x4c], 0x176e904e
nop
adc sp, di
test eax, 0x9a1d919b
fstp qword [edx]
sbb ebx, dword [ebx]
sbb edx, dword [ebx + 0x1adc9a1c]
sbb ebx, dword [ebx]
sbb esp, dword [eax + 0x1b1b1b19]
sbb ecx, ecx
adc al, 0x9e
push ds
sbb ebx, dword [ebx]
sbb edx, dword [ecx - 0x36f6a2f3]
adc al, 0x98
ret
Function at 0x300010c4
Capabilities:
Terminate process

Disassembly:
call fcn.300010ce
jmp 0x300011ab
push 0x58
push 0x300012c8
call fcn.301d2000
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x30002040
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x300015e4
xor esi, esi
inc esi
mov eax, dword [0x3000203c]
cmp eax, esi
je 0x30001602
mov eax, dword [0x3000203c]
test eax, eax
jne 0x3000157c
mov dword [0x3000203c], esi
push 0x300012c0
push 0x300012b8
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
jne 0x3000168f
mov eax, dword [0x3000203c]
cmp eax, esi
jne 0x30001257
push 0x300012b4
push 0x300012ac
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x3000203c], 2
test ebx, ebx
jne 0x30001263
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x3000204c], 0
jne 0x3000160f
mov eax, dword [sym.imp.MSVCR80.dll__acmdln]
mov esi, dword [eax]
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
jbe 0x30001528
cmp al, 0x22
je 0x30001518
movzx eax, al
push eax
call dword [sym.imp.MSVCR80.dll__ismbblead]
pop ecx
test eax, eax
jne 0x30001633
inc esi
jmp 0x30001280
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
jmp 0x30001295
test al, al
je 0x30001536
cmp dword [ebp - 0x1c], 0
jne 0x3000128d
mov al, byte [esi]
test al, al
je 0x30001546
cmp al, 0x20
ja 0x30001546
inc esi
mov dword [ebp - 0x20], esi
jmp 0x30001536
test byte [ebp - 0x3c], 1
jne 0x30001576
push 0xa
pop eax
push eax
push esi
push 0
push 0x30000000
call fcn.30001587
mov dword [0x30002024], eax
cmp dword [0x30002018], 0
jne 0x3000166b
push eax
call dword [sym.imp.MSVCR80.dll_exit]
movzx eax, word [ebp - 0x38]
jmp 0x3000154f
mov dword [0x30002050], esi
jmp 0x30001233
cmp eax, esi
jne 0x300015f2
xor esi, esi
inc esi
mov ebx, esi
jmp 0x300011fa
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x300011e5
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x30001233
push 0x3000204c
call fcn.30001973
pop ecx
test eax, eax
je 0x30001270
push 0
push 2
push 0
call dword [0x3000204c]
jmp 0x30001270
inc esi
mov dword [ebp - 0x20], esi
jmp 0x300012a8
cmp dword [0x30002050], 0
jne 0x3000167a
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x30002024]
jmp 0x3000169b
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.30001504
ret
Function at 0x104c4058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.104c41a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x104c407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104c406a
add dl, dl
jne 0x104c4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104c40dc
xor eax, eax
add dl, dl
jne 0x104c4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104c417d
add dl, dl
jne 0x104c40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104c40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104c40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104c40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x104c40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x104c4075
mov eax, 1
add dl, dl
jne 0x104c40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104c40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104c40e1
sub eax, ebx
mov ebx, 1
jne 0x104c4128
mov ecx, 1
add dl, dl
jne 0x104c410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x104c4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104c4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104c4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x104c413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x104c414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104c4136
cmp eax, 0x7d00
jae 0x104c416d
cmp eax, 0x500
jb 0x104c4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104c4075
cmp eax, 0x7f
ja 0x104c4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104c4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x104c419e
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 0x104c4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x5e173c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5e1774
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005df7c9
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005df7a1
jmp 0x5e1780
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5e2e33
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5e2e75
call fcn.005e8fee
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x5e2e75
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x5e2e6c
xor eax, eax
jmp 0x5e2e7d
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005e2e83
pop edi
pop esi
pop ebx
ret 4

Function at 0x5e951e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x5e954c
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x5e956a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005e9484
jmp 0x5e956a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5e956a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005e9484
test edi, edi
mov eax, edi
jne 0x5e9554
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x5c1240
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x64e3fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00640768
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x5c12c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0063d8c2
mov eax, dword [eax]
push 0x859254
push eax
call fcn.0062f934
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.006409f3
test bl, bl
je 0x5c12c2
push 0x859254
lea ecx, [esp + 0xc]
call fcn.00640dcf
push 0x85cdf0
lea ecx, [esp + 0xc]
call fcn.00640dcf
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x5c12fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.006409f3
jmp 0x5c13c9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x5c1382
lea edx, [esp + 0x7c]
push 0x85cdec
push edx
call fcn.0062f934
add esp, 8
test eax, eax
je 0x5c1382
lea eax, [esp + 0x7c]
push 0x85cde8
push eax
call fcn.0062f934
add esp, 8
test eax, eax
je 0x5c1382
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x5c1312
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.006409f3
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x5c1bc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x5c1c22
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc