joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cc917
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
mov byte [ebp - 0x14], 0x56
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x75
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0xd], 0x41
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x6f
mov byte [ebp - 9], 0x63
mov byte [ebp - 8], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
call dword [eax + 4]
mov dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x40
push 0
call dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov ecx, 0x10
xor eax, eax
mov edi, dword [ebp - 0x18]
rep stosd dword es:[edi], eax
push 0x40
push 0x1000
push 0x70
push 0
call dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4ce796
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], 8
mov eax, dword [ebp + 0x14]
xor edx, edx
div dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
jmp 0x4ce7c7
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x18]
jae 0x4ce810
mov dword [ebp - 8], 0
jmp 0x4ce7e1
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jae 0x4ce80e
mov ecx, dword [ebp - 8]
imul ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
add edx, ecx
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov al, byte [eax]
mov byte [ecx + edx], al
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x4ce7d8
jmp 0x4ce7be
jmp 0x4ce81b
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
imul ecx, dword [ebp - 0x14]
add eax, ecx
cmp dword [ebp - 0xc], eax
jae 0x4ce841
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [edx], cl
jmp 0x4ce812
mov edx, dword [ebp + 0xc]
add edx, dword [ebp + 0x14]
mov al, byte [edx - 1]
mov byte [ebp - 4], al
mov dword [ebp - 0xc], 0
jmp 0x4ce85f
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x14]
sub edx, 1
cmp dword [ebp - 0xc], edx
jae 0x4ce889
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp - 4]
and edx, 0xff
xor ecx, edx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0xc]
mov byte [eax], cl
jmp 0x4ce856
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4f1b5b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
mov byte [ebp - 0x14], 0x56
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x75
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0xd], 0x41
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x6f
mov byte [ebp - 9], 0x63
mov byte [ebp - 8], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
call dword [eax + 4]
mov dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x40
push 0
call dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov ecx, 0x10
xor eax, eax
mov edi, dword [ebp - 0x18]
rep stosd dword es:[edi], eax
push 0x40
push 0x1000
push 0x70
push 0
call dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4f39da
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], 8
mov eax, dword [ebp + 0x14]
xor edx, edx
div dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
jmp 0x4f3a0b
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x18]
jae 0x4f3a54
mov dword [ebp - 8], 0
jmp 0x4f3a25
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jae 0x4f3a52
mov ecx, dword [ebp - 8]
imul ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
add edx, ecx
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov al, byte [eax]
mov byte [ecx + edx], al
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x4f3a1c
jmp 0x4f3a02
jmp 0x4f3a5f
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
imul ecx, dword [ebp - 0x14]
add eax, ecx
cmp dword [ebp - 0xc], eax
jae 0x4f3a85
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [edx], cl
jmp 0x4f3a56
mov edx, dword [ebp + 0xc]
add edx, dword [ebp + 0x14]
mov al, byte [edx - 1]
mov byte [ebp - 4], al
mov dword [ebp - 0xc], 0
jmp 0x4f3aa3
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x14]
sub edx, 1
cmp dword [ebp - 0xc], edx
jae 0x4f3acd
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp - 4]
and edx, 0xff
xor ecx, edx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0xc]
mov byte [eax], cl
jmp 0x4f3a9a
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4a7e80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a7f11
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.004a7aec
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0040408c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4a7efb
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x57d864]
call fcn.00405f00
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x4a79a4]
call fcn.0040c11c
call fcn.00403744
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7f18
lea eax, [ebp - 0x10]
call fcn.00403c4c
ret

Function at 0x4a7f24
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a7fbf
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040408c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4a7f99
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x57dc74]
call fcn.00405f00
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x4a79a4]
call fcn.0040c11c
call fcn.00403744
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004a7b1c
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7fc6
lea eax, [ebp - 0x10]
call fcn.00403c4c
ret

Function at 0x4bebbc
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
lea eax, [esp + 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
push esp
push 0
push 0x4bec00
lea eax, [esp + 0x10c]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
mov eax, esp
call fcn.0040946c
add esp, 0x200
Function at 0x401264
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push esi
xor eax, eax
push eax
push 0x80
push 3
push eax
push 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40129d
lea eax, [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp + 0xc]
push esi
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
ret 8

Function at 0x4012a2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x490a44]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 0x1c]
push eax
push ebx
mov esi, ecx
call fcn.00401264
mov edi, dword [ebp - 0x1c]
and dword [esi + 0x24], 0
lea eax, [edi + 1]
push eax
mov dword [esi + 0x20], edi
call fcn.00437c50
pop ecx
xor ecx, ecx
mov dword [esi], eax
cmp eax, ecx
jne 0x401324
mov byte [ebp - 0x14], cl
xor eax, eax
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4694d8
lea eax, [ebp - 0x14]
push 0x4694c4
push eax
call fcn.0044c132
add esp, 0x10
xor esi, esi
push esi
push 0x4694bc
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.0044c09a
push ecx
push ecx
push 4
push ecx
push 3
push SysReAllocString
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401342
xor eax, eax
jmp 0x401366
and dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
push edi
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044c554
leave
ret 4

Function at 0x4014ab
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x3a4]
sub esp, 0x424
mov eax, dword [0x490a44]
xor eax, ebp
mov dword [ebp + 0x3a0], eax
push ebx
push esi
mov esi, dword [ebp + 0x3b0]
push edi
mov edi, dword [ebp + 0x3ac]
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x5f]
push ebx
push eax
mov byte [ebp - 0x60], bl
call fcn.0044b9d0
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.0044c600
add esp, 0x14
lea eax, [ebp - 0x60]
push 0x13
mov dword [ebp - 0x78], eax
pop eax
mov dword [ebp - 0x80], esi
mov word [ebp - 0x70], ax
xor esi, esi
lea eax, [ebp - 0x80]
inc esi
push eax
mov dword [ebp - 0x7c], 3
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x6e], esi
mov dword [ebp - 0x6a], ebx
mov dword [ebp - 0x66], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov ecx, dword [ebp + 0x3a0]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044c554
add ebp, 0x3a4
leave
ret 8
Function at 0x403796
Capabilities:
Delete file

Disassembly:
push ebp
sub esp, 0x41c
lea ebp, [esp - 4]
mov eax, dword [0x490a44]
xor eax, ebp
mov dword [ebp + 0x41c], eax
push 0x24
mov eax, 0x465629
call fcn.0044d0fa
xor ebx, ebx
push 0x3ff
lea eax, [ebp + 0x1d]
push ebx
push eax
mov esi, ecx
mov byte [ebp + 0x1c], bl
call fcn.0044b9d0
add esp, 0xc
push 0x400
lea eax, [ebp + 0x1c]
push eax
mov ecx, esi
call fcn.00401421
mov eax, dword [esi + 0x38]
sub eax, dword [esi + 0x34]
add esi, 0x28
push 0x3c
cdq
pop ecx
idiv ecx
xor edi, edi
mov dword [ebp - 0x10], eax
cmp eax, ebx
jbe 0x403858
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402d46
mov dword [ebp - 0x14], eax
push edi
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0040155f
push eax
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call fcn.00403251
or dword [ebp - 4], 0xffffffff
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00401efc
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x403840
lea eax, [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push 1
lea ecx, [ebp]
call fcn.00401efc
inc edi
cmp edi, dword [ebp - 0x10]
jb 0x4037fb
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x41c]
xor ecx, ebp
call fcn.0044c554
add ebp, 0x420
leave
ret
Function at 0x4046a8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x490a44]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x18], eax
movzx eax, word [ebp + 8]
push 0xa
push eax
xor ebx, ebx
push ebx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
cmp edi, ebx
jne 0x4046ff
mov byte [ebp - 0x14], bl
xor eax, eax
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.FindResource
jmp 0x4047c0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
cmp eax, ebx
jne 0x404734
cmp ebx, ebx
jne 0x404734
mov byte [ebp - 0x14], bl
xor eax, eax
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4696d8
jmp 0x4047c0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
jne 0x40475e
mov byte [ebp - 0x14], bl
xor eax, eax
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4696c8
jmp 0x4047c0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
jne 0x404785
mov byte [ebp - 0x14], bl
xor eax, eax
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4696b8
jmp 0x4047c0
push dword [esi + 0x20]
mov ecx, esi
push eax
push 0x64
push dword [ebp - 0x18]
call fcn.004042d8
cmp eax, 1
jne 0x4047a6
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
jmp 0x4047e4
mov byte [ebp - 0x14], bl
xor eax, eax
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Write_DataToFileEnd
lea eax, [ebp - 0x14]
push 0x4694c4
push eax
call fcn.0044c132
add esp, 0x10
push ebx
push 0x4694bc
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044c554
leave
ret 8
Function at 0x404aba
Capabilities:
Print debug messages
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x404b53
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ebx, 0x2001f
push ebx
push 0
mov edi, str.SOFTWAREMicrosoftInternet_ExplorerMain
push edi
mov esi, SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404b25
push dword [ebp - 8]
call fcn.0044b860
pop ecx
inc eax
push eax
push dword [ebp - 8]
push 1
push 0
push str.Start_Page
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
test eax, eax
jne 0x404b42
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x404b55
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push ebx
push eax
push eax
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x404b48
jmp 0x404af4
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x469740
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408629
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xc90]
sub esp, 0xd10
mov eax, dword [0x490a44]
xor eax, ebp
mov dword [ebp + 0xc8c], eax
push ebx
push esi
mov esi, dword [ebp + 0xc98]
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x40877c
lea eax, [ebp - 0x7c]
push eax
push 0x47064c
push 1
push ebx
push 0x47067c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x408776
push 0x3ff
lea eax, [ebp + 0x789]
push ebx
push eax
mov byte [ebp + 0x788], bl
call fcn.0044b9d0
lea eax, [ebp + 0x788]
push esi
push eax
call fcn.0044c600
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
add esp, 0x14
lea edx, [ebp + 0x788]
push edx
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
lea edx, [ebp - 0x80]
push edx
push 0x47066c
push eax
call dword [ecx]
test eax, eax
jl 0x40876d
push ebx
push 0x10
lea eax, [ebp + 0xb88]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov esi, 0x4696a0
lea eax, [ebp + 0xb88]
push esi
push eax
call fcn.0044c610
xor eax, eax
push 0x7fe
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push ebx
push eax
call fcn.0044b9d0
lea eax, [ebp + 0x788]
push 0x5c
push eax
call fcn.0044de70
push esi
push eax
call fcn.0044de9d
push eax
lea eax, [ebp + 0xb88]
push eax
call fcn.0044c610
lea eax, [ebp + 0xb88]
push str..lnk
push eax
call fcn.0044c610
add esp, 0x34
push 0x104
lea eax, [ebp - 0x78]
push eax
push 0xffffffffffffffff
lea eax, [ebp + 0xb88]
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x78]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp + 0xc8c]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0044c554
add ebp, 0xc90
leave
ret 4
Function at 0x40d5bd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x40d5e2
cmp eax, edi
jge 0x40d5da
mov eax, esi
call fcn.0040cf71
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
xor ecx, ecx
cmp dword [esi + 8], ecx
jle 0x40d604
mov al, byte [esi + 0xc]
shr dword [esi + 0xc], 8
add dword [esi + 8], 0xfffffff8
mov byte [ebp + ecx - 4], al
inc ecx
cmp dword [esi + 8], 0
jg 0x40d5e9
cmp ecx, 4
jge 0x40d623
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x40d611
xor eax, eax
jmp 0x40d619
mov dl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, dl
mov byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 4
jl 0x40d607
movzx edi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl edi, 8
add edi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, edi
xor ecx, 0xffff
cmp eax, ecx
je 0x40d655
mov eax, str.zlib_corrupt
call fcn.0040ab8e
jmp 0x40d690
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x40d665
mov eax, str.read_past_buffer
jmp 0x40d64e
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x40d67a
mov ecx, edi
call fcn.0040cf9c
test eax, eax
je 0x40d690
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.0044c870
add dword [esi], edi
add dword [esi + 0x10], edi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret

Function at 0x413228
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x413233
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x4132ee
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x46ea08]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x46ea08]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x46ea08]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x46ea08]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x46ea08]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x46ea08]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x46ea08]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x46ea08]
inc edx
sub edi, 8
dec esi
jne 0x413253
pop ebx
test edi, edi
je 0x413307
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x46ea08]
inc edx
dec edi
jne 0x4132f2
pop edi
not eax
pop esi
ret
Function at 0x413749
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x41377d
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x413778
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x4137a5
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x41378e
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0044c870
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x41453d
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x490a44]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4145d1
mov al, byte [esi]
test al, al
je 0x4145d1
push edi
mov edi, esi
mov ecx, esi
cmp al, 0x2f
je 0x41456f
cmp al, 0x5c
jne 0x414571
mov edi, ecx
inc ecx
mov al, byte [ecx]
test al, al
jne 0x414567
cmp edi, esi
je 0x4145a4
sub edi, esi
push edi
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0044ebab
lea eax, [ebp - 0x108]
push eax
push ebx
mov byte [ebp + edi - 0x108], 0
call fcn.0041453d
add esp, 0x14
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0044c600
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0044c610
add esp, 0x10
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044c554
leave
ret

Function at 0x415a55
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x415ad0
cmp dword [esi + 4], 0xffffffff
jne 0x415ad0
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x4696a0
push edi
call fcn.0044c610
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x415aa2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x415aa2
mov eax, 0x2000000
jmp 0x415ad5
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041355f
add esp, 0x10
test eax, eax
jne 0x415ac0
mov eax, dword [ebp + 0x10]
jmp 0x415ad5
push eax
call fcn.00415651
mov dword [esi], eax
mov eax, dword [0x492378]
pop ecx
jmp 0x415ad5
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc