joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f635
Capabilities:
Hash data using sha256

Disassembly:
and dword [ecx + 0x20], 0
and dword [ecx + 0x24], 0
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
ret

Function at 0x41f675
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
sub esp, 0x124
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0xfc
lea eax, [esp + 0x3c]
mov ebx, ecx
push ebp
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebp
call fcn.004127c0
add esp, 0xc
mov esi, ebx
push 8
pop ecx
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov esi, ebp
lea edx, [ebx + 0x29]
movzx ecx, byte [edx - 1]
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
mov dword [esp + esi*4 + 0x34], ecx
inc esi
lea edx, [edx + 4]
cmp esi, 0x10
jb 0x41f6ae
push 0x30
lea edi, [esp + 0x70]
pop ebx
mov ecx, dword [edi - 0x34]
mov edx, dword [edi]
mov esi, ecx
rol esi, 0xe
mov eax, ecx
shr ecx, 3
ror eax, 7
xor esi, eax
xor esi, ecx
mov ecx, edx
mov eax, edx
shr edx, 0xa
lea edi, [edi + 4]
rol ecx, 0xf
rol eax, 0xd
xor ecx, eax
xor ecx, edx
add esi, ecx
add esi, dword [edi - 0x3c]
add esi, dword [edi - 0x18]
mov dword [edi + 4], esi
dec ebx
jne 0x41f6e0
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
mov esi, edi
ror esi, 0xb
mov eax, edi
mov ecx, edi
rol eax, 7
xor esi, eax
mov eax, edi
ror eax, 6
xor esi, eax
mov eax, dword [esp + 0x24]
and eax, edi
not ecx
and ecx, dword [esp + 0x28]
add ebp, 4
xor ecx, eax
add esi, ecx
mov ecx, dword [esp + 0x10]
add esi, dword [ebp + 0x43a904]
mov edx, ecx
add esi, dword [esp + ebp + 0x30]
mov eax, ecx
add esi, dword [esp + 0x2c]
rol eax, 0xa
ror edx, 0xd
xor edx, eax
mov eax, ecx
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x14]
mov ecx, eax
and eax, dword [esp + 0x10]
xor ecx, dword [esp + 0x10]
and ecx, dword [esp + 0x18]
xor ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
add edx, ecx
mov dword [esp + 0x14], eax
add edi, esi
lea eax, [edx + esi]
mov dword [esp + 0x10], eax
cmp ebp, 0x100
jb 0x41f720
lea ecx, [esp + 0x10]
push 8
mov dword [esp + 0x24], edi
sub ecx, ebx
pop edx
mov eax, dword [ecx + ebx]
add dword [ebx], eax
lea ebx, [ebx + 4]
dec edx
jne 0x41f7d5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
Function at 0x420045
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
push ebx
push esi
push edi
xor eax, eax
push 0x18e
mov word [esp + 0x1c], ax
xor edi, edi
lea eax, [esp + 0x1e]
push edi
push eax
mov esi, edx
call fcn.004127c0
add esp, 0xc
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push dword [0x449234]
push dword [0x44922c]
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
mov ebx, 0x449228
mov ecx, ebx
call fcn.004059e7
push 0x5c
mov ecx, ebx
call fcn.004059b8
test eax, eax
jle 0x4200ad
push eax
mov ecx, ebx
call fcn.0040599c
xor eax, eax
xorps xmm0, xmm0
mov word [0x4499c8], ax
movlpd qword [0x44ad28], xmm0
test esi, esi
je 0x4200ca
cmp word [esi], di
cmovne eax, esi
push ecx
push ecx
push eax
push ecx
push ecx
call fcn.004228e4
lea eax, [esp + 0x18]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4200ff
push 0x10
push 0x43d538
push str.WSA_sockets_startup_failed_
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
jmp 0x42013d
call fcn.004264f4
call fcn.004237cc
push edi
push edi
push edi
push edi
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
sub esp, 0xc
call fcn.00405918
call fcn.00405778
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4214e6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, ecx
call fcn.004214ac
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [esi + 0x320], eax
cmp eax, 0x390
jae 0x421514
and dword [esi + 0x320], 0
xor al, al
jmp 0x421554
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [esi + 0x318], eax
test eax, eax
je 0x421509
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [esi + 0x31c], eax
test eax, eax
jne 0x421552
push dword [esi + 0x318]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
and dword [esi + 0x318], 0
jmp 0x421509
mov al, 1
pop esi
ret 8

Function at 0x422598
Capabilities:
Identify system language via api

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
je 0x422600
push ecx
push edi
mov ecx, 0x44b220
call fcn.00409816
mov esi, eax
test esi, esi
jne 0x422659
cmp word [edi], bp
je 0x422600
mov esi, ebp
cmp dword [0x44b224], esi
jbe 0x422600
mov ebx, ebp
mov eax, dword [0x44b220]
add eax, ebx
push edi
push eax
call fcn.00411014
pop ecx
pop ecx
test eax, eax
je 0x4225f2
inc esi
add ebx, 0x34c
cmp esi, dword [0x44b224]
jb 0x4225cd
jmp 0x422600
imul esi, esi, 0x34c
add esi, dword [0x44b220]
jne 0x422659
call dword [sym.imp.KERNEL32.DLL_GetSystemDefaultUILanguage]
mov edi, dword [0x44b224]
movzx ecx, ax
mov esi, ebp
test edi, edi
je 0x42263f
mov edx, dword [0x44b220]
lea eax, [edx + 0x30c]
test ecx, ecx
je 0x422629
cmp dword [eax], ecx
je 0x422635
inc esi
add eax, 0x34c
cmp esi, edi
jb 0x422621
jmp 0x42263f
imul esi, esi, 0x34c
add esi, edx
jne 0x422659
push ecx
push 0x43e510
mov ecx, 0x44b220
call fcn.00409816
mov esi, eax
test esi, esi
jne 0x422659
xor al, al
jmp 0x422699
mov ecx, esi
call fcn.00421a55
test al, al
jne 0x422687
push ecx
mov esi, 0x44b220
push 0x43e510
mov ecx, esi
call fcn.00409816
test eax, eax
je 0x42267f
push eax
mov ecx, esi
jmp 0x42268d
mov dword [0x44b22c], ebp
jmp 0x422697
push esi
mov ecx, 0x44b220
call fcn.004097d7
mov dword [0x44b22c], eax
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x422701
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x788
lea ecx, [ebp - 0x784]
push ebx
push esi
push edi
call fcn.00405a51
lea ecx, [ebp - 0x21c]
call fcn.00405a51
lea ecx, [ebp - 0x56c]
call fcn.00421eaf
push 0x43e510
lea ecx, [ebp - 0x21c]
call fcn.0040968b
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x56c]
call fcn.00421c66
test al, al
jne 0x422758
xor bl, bl
jmp 0x4227c8
lea eax, [ebp - 0x56c]
mov edi, 0x44b220
push eax
mov ecx, edi
call fcn.004097a1
mov esi, dword [ebp + 0x10]
xor ebx, ebx
test esi, esi
je 0x4227b7
cmp word [esi], bx
je 0x4227b7
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4227b7
push esi
lea ecx, [ebp - 0x21c]
call fcn.0040968b
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x56c]
call fcn.00421c66
test al, al
je 0x4227b7
lea eax, [ebp - 0x56c]
push eax
mov ecx, edi
call fcn.004097a1
jmp 0x4227c6
push edi
push 0x4226a0
push 0xa
push ebx
call dword [sym.imp.KERNEL32.DLL_EnumResourceNamesW]
mov bl, 1
lea ecx, [ebp - 0x56c]
call fcn.00421e85
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 0x14

Function at 0x42297e
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Import public key
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
push esi
push edi
mov esi, ecx
je 0x4229ed
cmp dword [ebp + 0xc], 0
je 0x4229ed
cmp dword [ebp + 0x10], 0
je 0x4229ed
cmp dword [ebp + 0x14], 0
je 0x4229ed
mov eax, dword [esi]
test eax, eax
je 0x4229ed
xor edi, edi
cmp dword [eax + 0xc], edi
je 0x4229ed
push 0xf0000000
push 1
push edi
push edi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4229ed
lea eax, [ebp - 8]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
add eax, 0x38
push eax
push 0x10001
push dword [ebp - 4]
call dword [sym.imp.CRYPT32.dll_CryptImportPublicKeyInfo]
test eax, eax
jne 0x4229f5
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor al, al
pop edi
pop esi
leave
ret 0x10
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x8004
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x422a18
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
jmp 0x4229e3
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x422a40
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x4229e3
push edi
push edi
push dword [ebp - 8]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureW]
push dword [ebp - 8]
test eax, eax
je 0x422a2f
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, 1
jmp 0x4229ef
Function at 0x422fb7
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x422fcf
xor al, al
jmp 0x42306b
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
push esi
call ebx
cmp eax, 0xffffffff
je 0x422fe5
mov al, 1
jmp 0x42306a
push edi
push SysReAllocString
push esi
push ecx
mov edx, 0x103
lea ecx, [ebp - 0x208]
call fcn.00422e6d
xor eax, eax
lea edi, [ebp - 0x208]
cmp word [ebp - 0x208], ax
je 0x42304d
push 0x5c
pop ecx
cmp word [edi], cx
jne 0x423045
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0x208]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x42303d
xor eax, eax
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
je 0x423063
push 0x5c
pop ecx
mov word [edi], cx
xor eax, eax
add edi, 2
cmp word [edi], ax
jne 0x423011
push esi
call ebx
cmp eax, 0xffffffff
jne 0x423067
xor eax, eax
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x423067
xor al, al
jmp 0x423069
mov al, 1
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x4232bc
Capabilities:
Check if file exists
Enumerate files on windows
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x4234ac
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4234ac
xor ebx, ebx
push esi
xor eax, eax
push ebx
mov word [esi], ax
push ebx
cmp dword [ebp + 0xc], eax
jne 0x42331e
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4234ac
mov edi, dword [ebp + 0x14]
push ecx
lea eax, [ebp + 0x10]
push eax
mov edx, edi
mov ecx, esi
call fcn.00422ec1
test eax, eax
js 0x42335e
push SysReAllocString
push str.MacromediaFlash_PlayerSharedObjects
jmp 0x42334e
push 0x1c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4234ac
mov edi, dword [ebp + 0x14]
push ecx
lea eax, [ebp + 0x10]
push eax
mov edx, edi
mov ecx, esi
call fcn.00422ec1
test eax, eax
js 0x42335e
push SysReAllocString
push str.GoogleChromeUser_DataDefaultPepper_DataShockwave_FlashWritableRootSharedObjects
mov eax, dword [ebp + 0x10]
mov edx, edi
push ecx
sub edx, eax
lea ecx, [esi + eax*2]
call fcn.00422e6d
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4234ac
xor eax, eax
push 0x206
mov word [ebp - 0x458], ax
lea eax, [ebp - 0x456]
push ebx
push eax
call fcn.004127c0
push 0x24c
lea eax, [ebp - 0x24c]
push ebx
push eax
mov dword [ebp - 0x250], ebx
call fcn.004127c0
push esi
push 0x43e7bc
lea eax, [ebp - 0x660]
push 0x103
push eax
call fcn.00409cf6
add esp, 0x28
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x660]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp + 0x14], eax
cmp eax, 0xffffffff
je 0x423484
test byte [ebp - 0x250], 2
jne 0x42344b
test byte [ebp - 0x250], 0x10
je 0x42344b
cmp word [ebp - 0x224], 0x2e
je 0x42344b
push dword [ebp + 8]
lea eax, [ebp - 0x224]
push eax
push esi
push str._s_s_s
lea eax, [ebp - 0x660]
push 0x103
push eax
call fcn.00409cf6
add esp, 0x18
lea eax, [ebp - 0x660]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x423465
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x458]
push 0x104
push eax
call fcn.0041060d
mov eax, dword [ebp + 0x14]
add esp, 0xc
lea ecx, [ebp - 0x250]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
je 0x423477
mov eax, dword [ebp + 0x14]
jmp 0x4233db
lea eax, [ebp - 0x660]
push eax
mov edx, edi
mov ecx, esi
call fcn.00409d25
mov bl, 1
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.DLL_FindClose]
test bl, bl
jne 0x4234a8
cmp word [ebp - 0x458], 0
je 0x4234a8
push dword [ebp + 8]
lea eax, [ebp - 0x458]
push eax
push esi
push str._s_s_s
push edi
push esi
call fcn.00409cf6
add esp, 0x18
mov al, bl
jmp 0x4234ae
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4234f7
Capabilities:
Delete file

Disassembly:
sub esp, 0x10
push ebx
mov eax, 0xbf00
push ebp
mov word [esp + 8], ax
xor eax, eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], 0x4f534354
mov dword [esp + 0x1a], 0x400
mov word [esp + 0x1e], ax
cmp dword [esp + 0x24], eax
je 0x4236c0
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4236c0
mov ebp, dword [esp + 0x30]
test ebp, ebp
je 0x4236c0
push ecx
push 2
push ecx
push 0x40000000
push dword [esp + 0x34]
call fcn.00409509
test al, al
je 0x4236c0
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423566
sub ecx, edx
mov edx, ebp
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x423574
sub edx, esi
mov esi, 0xff00
lea eax, [edx + 0x18]
add eax, ecx
movzx edx, ax
mov ecx, edx
and ecx, esi
mov eax, edx
shl eax, 0x10
add ecx, eax
mov eax, edx
sar eax, 8
shl ecx, 8
and eax, esi
add ecx, eax
sar edx, 0x18
add ecx, edx
push 0x10
lea eax, [esp + 0x14]
mov dword [esp + 0x16], ecx
push eax
mov ecx, edi
call fcn.004093d4
cmp eax, 0x10
jne 0x4236af
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4235c6
and dword [esp + 0x30], 0
sub ecx, edx
movzx esi, cx
mov eax, esi
shl eax, 8
movzx eax, ax
mov dword [esp + 0x28], eax
push 2
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.004093d4
cmp eax, 2
jne 0x4236af
push esi
push ebx
mov ecx, edi
call fcn.004093d4
cmp eax, esi
jne 0x4236af
push 3
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call fcn.004093d4
cmp eax, 3
jne 0x4236af
push 2
pop ebx
push ebx
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
mov dword [esp + 0x30], 0x903
call fcn.004093d4
cmp eax, ebx
jne 0x4236af
push 4
push str.uniq
mov ecx, edi
call fcn.004093d4
cmp eax, 4
jne 0x4236af
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423656
sub ecx, edx
movzx esi, cx
mov eax, esi
shl eax, 9
add eax, 0x106
movzx eax, ax
mov dword [esp + 0x28], eax
push ebx
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.004093d4
cmp eax, ebx
jne 0x4236af
push esi
push ebp
mov ecx, edi
call fcn.004093d4
cmp eax, esi
jne 0x4236af
push 1
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call fcn.004093d4
cmp eax, 1
jne 0x4236af
mov ecx, edi
call fcn.00409545
mov al, 1
jmp 0x4236c2
mov ecx, edi
call fcn.00409545
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10

Function at 0x424014
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
xor eax, eax
push edi
mov edi, edx
mov esi, ecx
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x424053
test esi, esi
je 0x42405e
mov ebx, eax
test edi, edi
je 0x42405e
movsx edx, byte [ebx + esi]
mov eax, ebx
and eax, 0xf
mov al, byte [eax + ebp]
add al, byte [esp + 0x10]
mov dword [esp + 0x10], edx
xor byte [ebx + esi], al
inc ebx
cmp ebx, edi
jb 0x424035
jmp 0x42405e
push 0x43aa08
call fcn.004240b1
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x424064
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
xor ebx, ebx
push edi
mov esi, edx
test ebp, ebp
je 0x42409f
cmp dword [esp + 0x18], ebx
je 0x42409f
test ecx, ecx
je 0x4240ac
mov edi, ebx
test esi, esi
je 0x4240ac
xor edx, edx
mov eax, edi
div dword [esp + 0x18]
mov al, byte [edx + ebp]
add al, bl
xor byte [edi + ecx], al
movsx ebx, byte [edi + ecx]
inc edi
cmp edi, esi
jb 0x424084
jmp 0x4240ac
push 0x43aa08
call fcn.004240ef
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4240b1
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push edi
mov edi, ecx
mov ebp, edx
xor ebx, ebx
mov dword [esp + 0xc], ebp
test edi, edi
je 0x4240ea
push esi
mov esi, ebx
test ebp, ebp
je 0x4240e9
mov ebp, dword [esp + 0x18]
movsx edx, byte [esi + edi]
mov eax, esi
and eax, 0xf
mov al, byte [ebp + eax*4]
add al, bl
xor byte [esi + edi], al
inc esi
mov ebx, edx
cmp esi, dword [esp + 0x10]
jb 0x4240ca
pop esi
pop edi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4240ef
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, edx
xor edx, edx
test ecx, ecx
je 0x42411c
push esi
mov esi, edx
test edi, edi
je 0x42411b
push ebx
mov ebx, dword [esp + 0x10]
mov eax, esi
and eax, 0xf
mov al, byte [ebx + eax*4]
add al, dl
xor byte [esi + ecx], al
movsx edx, byte [esi + ecx]
inc esi
cmp esi, edi
jb 0x424104
pop ebx
pop esi
pop edi
ret

Function at 0x424abf
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x424c08
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x464
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x20], ax
lea eax, [esp + 0x22]
mov esi, ecx
push eax
mov dword [esp + 0x1c], esi
xor ebx, ebx
call fcn.004127c0
mov edi, dword [ebp + 8]
add esp, 0xc
test edi, edi
je 0x424e08
cmp dword [ebp + 0xc], ebx
je 0x424e08
push dword [ebp + 0xc]
lea eax, [esp + 0x1c]
push edi
push 0x43e864
push 0x104
push eax
call fcn.00409cf6
add esp, 0x14
lea eax, [esp + 0x220]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x424db1
test byte [esp + 0x220], 0x10
je 0x424d0a
cmp byte [ebp + 0x10], 0
je 0x424d0a
push 0x43e860
lea eax, [esp + 0x250]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x424d8d
push 0x43e858
lea eax, [esp + 0x250]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x424d8d
lea eax, [esp + 0x24c]
push eax
push edi
push 0x43e864
lea eax, [esp + 0x24]
push 0x104
push eax
call fcn.00409cf6
add esp, 0x14
lea eax, [esp + 0x18]
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.00424c08
add ebx, eax
jmp 0x424d8d
lea eax, [esp + 0x24c]
push eax
push edi
push 0x43e864
lea eax, [esp + 0x24]
push 0x104
push eax
call fcn.00409cf6
add esp, 0x14
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x424d8c
lea ecx, [esp + 0x18]
call fcn.004078b4
cmp eax, dword [0x449230]
jae 0x424d8c
mov esi, dword [0x44922c]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
add eax, eax
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.0041715d
add esp, 0xc
test eax, eax
je 0x424d88
push 4
push 0
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
mov esi, dword [esp + 0x10]
mov byte [esi], 1
jmp 0x424d8c
mov esi, dword [esp + 0x10]
inc ebx
lea eax, [esp + 0x220]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x424c88
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.DLL_FindClose]
cmp byte [ebp + 0x14], 0
je 0x424e04
push edi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
je 0x424dc5
inc ebx
jmp 0x424e04
mov ecx, edi
call fcn.004078b4
cmp eax, dword [0x449230]
jae 0x424e04
mov esi, dword [0x44922c]
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
add eax, eax
push eax
push edi
push esi
call fcn.0041715d
add esp, 0xc
test eax, eax
je 0x424e04
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
mov ecx, dword [esp + 0x10]
mov byte [ecx], 1
mov eax, ebx
jmp 0x424e0a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x424e13
Capabilities:
Get file system object information
Query or enumerate registry value

Disassembly:
sub esp, 0x6bc
push ebp
push esi
xor ebp, ebp
push 0x2b0
lea eax, [esp + 0x18]
push ebp
push eax
mov dword [esp + 0x1c], ebp
call fcn.004127c0
mov esi, dword [esp + 0x6d4]
add esp, 0xc
test esi, esi
je 0x424f86
push edi
mov edi, dword [esp + 0x6d0]
test edi, edi
je 0x424f85
push ebx
mov ebx, dword [esp + 0x6d8]
test ebx, ebx
je 0x424f84
push 0x1000
xor eax, eax
mov word [edi], ax
or dword [ebx], 0xffffffff
push 0x2b4
lea eax, [esp + 0x20]
push eax
push ebp
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ebp, dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea eax, [esp + 0x24]
push eax
call ebp
test eax, eax
jle 0x424eae
lea eax, [esp + 0x24]
push eax
push edi
call ebp
lea edx, [eax - 1]
mov ecx, edi
call fcn.00409fa4
mov eax, dword [esp + 0x1c]
jmp 0x424f82
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x4d0]
push eax
push esi
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
push eax
push SysReAllocStringLen
call esi
push str.DefaultIcon
mov edx, 0x200
lea ecx, [esp + 0x4d0]
call fcn.00409f6a
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2d0]
push eax
lea eax, [esp + 0x4d4]
push eax
push SysReAllocStringLen
mov dword [esp + 0x20], 0x104
call esi
lea eax, [esp + 0x2cc]
push 0x43e854
push eax
call fcn.0040fda3
pop ecx
pop ecx
mov dword [esp + 0x14], eax
test eax, eax
je 0x424f84
push eax
call ebp
xor esi, esi
inc esi
sub esi, eax
lea eax, [esp + 0x2cc]
push eax
call ebp
push edi
add esi, eax
call ebp
shr eax, 1
je 0x424f74
cmp eax, 0x7fffffff
ja 0x424f74
shr esi, 1
cmp esi, 0x7ffffffe
jbe 0x424f61
xor eax, eax
mov word [edi], ax
jmp 0x424f74
push esi
lea ecx, [esp + 0x2d0]
push ecx
push ecx
mov edx, eax
mov ecx, edi
call fcn.00424b56
mov eax, dword [esp + 0x14]
add eax, 2
push eax
call fcn.00410279
pop ecx
mov dword [ebx], eax
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x6bc
ret 0xc