joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ed6f
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
call fcn.0040f2f2
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 4]
push ecx
mov edi, 0xf003f
push edi
xor ebx, ebx
push ebx
push eax
mov esi, SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.004016a2
cmp dword [ebp - 0xc], ebx
je 0x40edf5
cmp dword [ebp + 8], ebx
je 0x40ee4d
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push eax
call fcn.0040f2f2
mov eax, dword [eax]
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 4]
push ecx
push ebx
push edi
push ebx
push ebx
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.004016a2
cmp esi, ebx
je 0x40edf5
xor eax, eax
jmp 0x40ee50
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [ebp + 8]
push eax
push 4
push ebx
push str.FullDump
push dword [ebp - 4]
call esi
cmp dword [ebp + 8], ebx
je 0x40ee36
cmp dword [ebp + 8], 2
je 0x40ee36
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
lea ecx, [ecx + ecx + 2]
push ecx
push eax
push 1
push ebx
push str.HASH
push dword [ebp - 4]
call esi
jmp 0x40ee44
push str.HASH
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40ee55
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x429024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x214], 0
and word [ebp - 0x20c], 0
push esi
push edi
push 0x206
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x20a]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x20e], 0x5c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edi, 0x421fb4
je 0x40eedd
push edi
lea eax, [ebp - 0x20c]
push eax
call esi
push str.TencentQQMiscQQTroubleShoot
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40ef1c
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40ef1c
push dword [ebp - 0x210]
call fcn.0040da50
pop ecx
jmp 0x40ef37
push edi
lea eax, [ebp - 0x20c]
push eax
call esi
push dword [ebp - 0x210]
lea ecx, [ebp - 0x20c]
call fcn.00404554
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
xor ecx, ebp
pop esi
call fcn.00419804
leave
ret
Function at 0x40efd9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x644
mov eax, 0x41ad34
call fcn.0041a287
mov eax, dword [ebp + 8]
mov dword [ebp - 0x644], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp eax, esi
jne 0x40f001
xor eax, eax
jmp 0x40f11b
push eax
lea eax, [ebp - 0x640]
push eax
call fcn.0040f2f2
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 0x634]
push ecx
push 0x20019
push esi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
mov eax, dword [ebp - 0x640]
add eax, 0xfffffff0
call fcn.004016a2
cmp edi, esi
jne 0x40effa
push 0x618
lea eax, [ebp - 0x62e]
push esi
push eax
mov word [ebp - 0x630], si
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x648]
push eax
push esi
push str.ExtRptFile
push dword [ebp - 0x634]
mov dword [ebp - 0x648], 1
mov dword [ebp - 0x64c], 0x30c
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
je 0x40f0ab
push dword [ebp - 0x634]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40effa
lea eax, [ebp - 0x63c]
push eax
lea ecx, [ebp - 0x630]
call fcn.00404554
lea eax, [ebp - 0x638]
push eax
mov ecx, 0x422144
mov dword [ebp - 4], esi
call fcn.00404554
mov ecx, dword [ebp - 0x644]
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x63c]
push eax
mov byte [ebp - 4], 1
call fcn.00411dcb
pop ecx
pop ecx
push dword [ebp - 0x634]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x638]
add eax, 0xfffffff0
call fcn.004016a2
mov eax, dword [ebp - 0x63c]
add eax, 0xfffffff0
call fcn.004016a2
xor eax, eax
inc eax
call fcn.0041a30a
ret
Function at 0x40f121
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x650
mov eax, 0x41acf6
call fcn.0041a287
mov eax, dword [ebp + 8]
mov dword [ebp - 0x654], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x650], eax
mov eax, dword [ebp + 0x10]
xor esi, esi
cmp eax, esi
jne 0x40f152
xor eax, eax
jmp 0x40f2ec
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.0040f2f2
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 0x640]
push ecx
push 0x20019
push esi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
mov eax, dword [ebp - 0x658]
add eax, 0xfffffff0
call fcn.004016a2
cmp edi, esi
jne 0x40f14b
push 0x410
lea eax, [ebp - 0x636]
push esi
push eax
mov word [ebp - 0x638], si
call sub.MSVCR80.dll_memset
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea eax, [ebp - 0x648]
push eax
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x64c]
push eax
push esi
push str.InstallDir
push dword [ebp - 0x640]
mov ebx, 0x208
mov dword [ebp - 0x64c], 1
mov dword [ebp - 0x648], ebx
call edi
cmp eax, esi
je 0x40f1ff
push dword [ebp - 0x640]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40f14b
lea eax, [ebp - 0x63c]
push eax
lea ecx, [ebp - 0x638]
call fcn.00404554
lea eax, [ebp - 0x644]
push eax
mov ecx, 0x422144
mov dword [ebp - 4], esi
call fcn.00404554
mov ecx, dword [ebp - 0x654]
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x63c]
push eax
mov byte [ebp - 4], 1
call fcn.00411dcb
push ebx
lea eax, [ebp - 0x21e]
push esi
push eax
mov word [ebp - 0x220], si
call sub.MSVCR80.dll_memset
add esp, 0x14
lea eax, [ebp - 0x648]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x64c]
push eax
push esi
push str.ExcDir
push dword [ebp - 0x640]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x64c], ebx
mov dword [ebp - 0x648], 0x104
call edi
test eax, eax
jne 0x40f2c2
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x63c]
push eax
call fcn.00401458
mov ecx, dword [ebp - 0x650]
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x63c]
push eax
call fcn.00411dcb
pop ecx
pop ecx
push dword [ebp - 0x640]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x644]
add eax, 0xfffffff0
call fcn.004016a2
mov eax, dword [ebp - 0x63c]
add eax, 0xfffffff0
call fcn.004016a2
mov eax, ebx
call fcn.0041a30a
ret

Function at 0x40f4dd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40f540
cmp dword [ebp + 0xc], 1
je 0x40f519
cmp dword [ebp + 0xc], 2
je 0x40f519
push 0xd
pop eax
jmp 0x40f540
test edi, edi
mov eax, dword [ebp - 4]
je 0x40f53a
test eax, eax
je 0x40f536
test al, 1
jne 0x40f514
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x40f53a
jmp 0x40f514
and word [edi], 0
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8
Function at 0x414130
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, eax
push 3
mov esi, ecx
xor edx, edx
lea eax, [edi + 2]
pop ecx
div ecx
cmp eax, 0x40000000
jae 0x414231
mov ecx, dword [ebp + 0xc]
shl eax, 2
cmp dword [ecx], eax
jb 0x414231
cmp edi, 2
mov ecx, dword [ebp + 8]
jbe 0x4141cb
push ebx
push 3
xor edx, edx
lea eax, [edi - 3]
pop ebx
div ebx
inc eax
movzx edx, byte [esi]
shr edx, 2
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
movzx edx, byte [esi]
movzx ebx, byte [esi + 1]
and edx, 3
shl edx, 4
shr ebx, 4
mov dl, byte [edx + ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], dl
movzx edx, byte [esi + 1]
movzx ebx, byte [esi + 2]
and edx, 0xf
shr ebx, 6
mov dl, byte [ebx + edx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], dl
movzx edx, byte [esi + 2]
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], dl
inc ecx
add esi, 3
sub edi, 3
dec eax
jne 0x414170
pop ebx
test edi, edi
je 0x414220
movzx eax, byte [esi]
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movzx eax, byte [esi]
and eax, 3
inc ecx
shl eax, 4
cmp edi, 1
jbe 0x41420f
movzx edx, byte [esi + 1]
shr edx, 4
mov al, byte [eax + edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movzx eax, byte [esi + 1]
inc ecx
and eax, 0xf
mov al, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
jmp 0x41421b
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov edx, dword [ebp + 0xc]
mov eax, ecx
sub eax, dword [ebp + 8]
mov byte [ecx], 0
mov dword [edx], eax
xor eax, eax
jmp 0x414234
or eax, 0xffffffff
pop edi
pop esi
pop ebp
ret
Function at 0x414320
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x414352
lea esp, [esp]
test cl, 3
je 0x414352
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x41f118]
add ecx, 1
sub esi, 1
jne 0x414330
cmp esi, 0x20
push ebx
push edi
jb 0x41453c
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x41f518]
xor edx, dword [ebx*4 + 0x41f918]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x41f118]
add ecx, 4
xor edx, dword [eax*4 + 0x41fd18]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x41f518]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x41f918]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x41f118]
add ecx, 4
xor eax, dword [edx*4 + 0x41fd18]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x41f518]
xor edx, dword [ebx*4 + 0x41f918]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x41f118]
xor edx, dword [eax*4 + 0x41fd18]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x41f518]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x41f918]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x41f118]
xor eax, dword [edx*4 + 0x41fd18]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x41f518]
xor edx, dword [ebx*4 + 0x41f918]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x41f118]
xor edx, dword [eax*4 + 0x41fd18]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x41f518]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x41f918]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x41f118]
and edx, 0xff
xor eax, dword [edx*4 + 0x41fd18]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x41f518]
xor edx, dword [ebx*4 + 0x41f918]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x41f118]
add ecx, 4
xor edx, dword [eax*4 + 0x41fd18]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x41f518]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x41f918]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x41f118]
and edx, 0xff
xor eax, dword [edx*4 + 0x41fd18]
sub edi, 1
jne 0x414362
cmp esi, 4
jb 0x414589
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x41f518]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x41f918]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x41f118]
and eax, 0xff
xor edi, dword [eax*4 + 0x41fd18]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x414546
test esi, esi
pop edi
pop ebx
je 0x4145ad
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x41f118]
add ecx, 1
sub esi, 1
jne 0x414590
not eax
pop esi
ret
Function at 0x415180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esi + 0x2c]
push edi
lea esp, [esp]
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea edx, [ecx + ebp - 0x106]
cmp eax, edx
mov dword [esp + 0xc], edi
jb 0x415210
mov eax, dword [esi + 0x38]
push ebp
lea ecx, [eax + ebp]
push ecx
push eax
call sub.MSVCR80.dll_memcpy
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], ebp
sub dword [esi + 0x6c], ebp
add esp, 0xc
sub dword [esi + 0x5c], ebp
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x4151df
sub eax, ebp
jmp 0x4151e1
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x4151d0
mov ecx, dword [esi + 0x40]
mov edx, ebp
lea ecx, [ecx + ebp*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x415200
sub eax, ebp
jmp 0x415202
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x4151f1
add edi, ebp
mov dword [esp + 0xc], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x415342
mov edx, dword [esi + 0x74]
add edx, dword [esi + 0x6c]
mov eax, dword [edi + 4]
add edx, dword [esi + 0x38]
mov ecx, dword [esp + 0xc]
mov ebx, eax
cmp ebx, ecx
mov dword [esp + 0x10], edx
jbe 0x415238
mov ebx, ecx
test ebx, ebx
je 0x41528c
sub eax, ebx
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x41525a
mov edx, dword [edi]
mov ecx, dword [edi + 0x30]
mov eax, ebx
call fcn.00417ac0
jmp 0x415273
cmp eax, 2
jne 0x41527a
mov ecx, dword [edi]
test ecx, ecx
mov eax, dword [edi + 0x30]
jne 0x41526c
xor eax, eax
jmp 0x415277
mov edx, ebx
call fcn.00414320
mov edx, dword [esp + 0x10]
mov dword [edi + 0x30], eax
mov ecx, dword [edi]
push ebx
push ecx
push edx
call sub.MSVCR80.dll_memcpy
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov ebx, dword [esi + 0x74]
cmp ebx, 3
jb 0x4152b6
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x58]
add edx, eax
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp ebx, 0x106
jae 0x4152ca
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x415190
mov eax, dword [esi + 0x16c0]
mov ecx, dword [esi + 0x3c]
cmp eax, ecx
jae 0x415342
mov edi, dword [esi + 0x6c]
add edi, ebx
cmp eax, edi
jae 0x415311
sub ecx, edi
mov ebx, ecx
cmp ebx, 0x102
jbe 0x4152f1
mov ebx, 0x102
mov eax, dword [esi + 0x38]
push ebx
add eax, edi
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
add ebx, edi
pop edi
pop ebp
mov dword [esi + 0x16c0], ebx
pop ebx
add esp, 8
ret
lea edx, [edi + 0x102]
cmp eax, edx
jae 0x415342
sub edi, eax
add edi, 0x102
sub ecx, eax
cmp edi, ecx
jbe 0x41532b
mov edi, ecx
mov ecx, dword [esi + 0x38]
push edi
add ecx, eax
push 0
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
add dword [esi + 0x16c0], edi
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x417d6d
Capabilities:
Hash data with md5

Disassembly:
push 0x5c
push 0
push esi
call sub.MSVCR80.dll_memset
and dword [esi + 0x10], 0
and dword [esi + 0x14], 0
and dword [esi + 0x58], 0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
ret
Function at 0x4268c5
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x4141c4], 0
jne 0x4268d3
call fcn.0042689b
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x426900
test cl, 7
je 0x426900
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
dec esi
inc ecx
jmp 0x4268e1
cmp esi, 8
jb 0x426984
mov edi, esi
shr edi, 3
xor eax, dword [ecx]
add ecx, 8
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
sub esi, 8
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
mov edx, eax
movzx eax, dl
mov eax, dword [eax*4 + 0x4141c0]
xor eax, dword [ecx - 4]
shr edx, 8
xor eax, edx
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
dec edi
jne 0x42690a
xor edx, edx
test esi, esi
jbe 0x4269a4
push ebx
movzx edi, byte [edx + ecx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x4141c0]
inc edx
cmp edx, esi
jb 0x42698b
pop ebx
pop edi
pop esi
ret 0xc
Function at 0x42d5a2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
push 0x20
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 8], ecx
call fcn.0042deb6
xor eax, eax
push 4
xor ecx, ecx
mov dword [ebp + 8], eax
xor ebx, ebx
pop edx
cmp eax, 0xa
jg 0x42d6b0
cmp ebx, edx
jge 0x42d5f7
lea esi, [ebp + ebx*4 - 0x28]
mov dword [ebp - 4], esi
cmp ecx, edx
jge 0x42d5f9
mov edi, dword [ebp - 8]
lea esi, [ecx + eax*4]
lea edi, [edi + esi*4 + 0x14]
mov esi, dword [ebp - 4]
add dword [ebp - 4], edx
inc ebx
inc ecx
cmp ebx, edx
movsd dword es:[edi], dword [esi]
jl 0x42d5dc
cmp ecx, edx
jne 0x42d601
inc eax
mov dword [ebp + 8], eax
xor ecx, ecx
cmp ebx, edx
jl 0x42d5c8
cmp eax, 0xa
jg 0x42d6b0
mov dword [ebp - 4], 0x418ca8
movzx esi, byte [ebp - 0x1b]
mov al, byte [ebp - 0x28]
xor al, byte [esi + 0x418dc8]
movzx esi, byte [ebp - 0x1a]
mov bl, byte [esi + 0x418dc8]
movzx esi, byte [ebp - 0x19]
xor byte [ebp - 0x27], bl
mov bl, byte [esi + 0x418dc8]
movzx esi, byte [ebp - 0x1c]
xor byte [ebp - 0x26], bl
mov bl, byte [esi + 0x418dc8]
mov esi, dword [ebp - 4]
xor al, byte [esi]
xor byte [ebp - 0x25], bl
inc dword [ebp - 4]
push 3
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x24]
pop edi
xor esi, esi
mov bl, byte [eax + esi - 4]
xor byte [eax + esi], bl
inc esi
cmp esi, edx
jl 0x42d65c
add eax, edx
dec edi
jne 0x42d65a
xor ebx, ebx
cmp dword [ebp + 8], 0xa
jg 0x42d6b0
cmp ebx, edx
jge 0x42d699
lea eax, [ebp + ebx*4 - 0x28]
cmp ecx, edx
jge 0x42d69b
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 8]
lea esi, [ecx + esi*4]
lea edi, [edi + esi*4 + 0x14]
mov esi, eax
inc ebx
add eax, edx
inc ecx
cmp ebx, edx
movsd dword es:[edi], dword [esi]
jl 0x42d67d
cmp ecx, edx
jne 0x42d6a2
inc dword [ebp + 8]
xor ecx, ecx
cmp ebx, edx
jl 0x42d66f
cmp dword [ebp + 8], 0xa
jle 0x42d615
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42d6b7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
add ecx, 0x24
push 4
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 9
pop edi
xor eax, eax
mov ecx, dword [ebp - 4]
lea esi, [ebp + eax - 0x1c]
add ecx, 2
mov dword [ebp - 8], edi
movzx edx, byte [ecx + 1]
movzx ebx, byte [ecx - 1]
mov dl, byte [eax + edx*4 + 0x415ca8]
xor dl, byte [eax + ebx*4 + 0x4164a8]
movzx ebx, byte [ecx - 2]
xor dl, byte [eax + ebx*4 + 0x4168a8]
movzx ebx, byte [ecx]
xor dl, byte [eax + ebx*4 + 0x4160a8]
add ecx, edi
mov byte [esi], dl
add esi, edi
dec dword [ebp - 8]
jne 0x42d6df
inc eax
cmp eax, edi
jl 0x42d6d2
push 0x10
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call fcn.0042deb6
add dword [ebp - 4], 0x10
dec dword [ebp - 0xc]
jne 0x42d6d0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43145e
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4
Function at 0x410410
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48f8ab
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.00484169
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x410492
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00481c83
mov eax, dword [eax]
push 0x4b0c9c
push eax
call fcn.00473f84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004843f4
test bl, bl
je 0x410492
push 0x4b0c9c
lea ecx, [esp + 0xc]
call fcn.00484784
push 0x4b0ca8
lea ecx, [esp + 0xc]
call fcn.00484784
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 0x4104ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004843f4
jmp 0x410599
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 0x410552
lea edx, [esp + 0x7c]
push 0x4b0ca4
push edx
call fcn.00473f84
add esp, 8
test eax, eax
je 0x410552
lea eax, [esp + 0x7c]
push 0x4b0ca0
push eax
call fcn.00473f84
add esp, 8
test eax, eax
je 0x410552
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 0x4104e2
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.004843f4
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4