joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002ba03
Capabilities:
Delete file

Disassembly:
push 0x420
mov eax, 0x1006cafb
call fcn.100521f6
mov eax, dword [ebp + 8]
push eax
lea esi, [ebp - 0x42c]
mov ebx, ecx
call fcn.10004103
mov eax, esi
push eax
xor edi, edi
mov eax, ebx
mov dword [ebp - 4], edi
call fcn.1002770a
pop ecx
test al, al
jne 0x1002bb5f
cmp byte [0x100a60b8], al
je 0x1002bb45
cmp dword [0x10093f44], edi
je 0x1002bb45
cmp byte [0x10093f0a], 0
mov al, byte [0x10093f48]
mov esi, SysReAllocString
je 0x1002ba6e
cmp al, 4
jae 0x1002baac
test al, al
jmp 0x1002baa6
cmp al, 4
jae 0x1002ba7a
test al, al
jne 0x1002bb45
mov ecx, dword [0x10093f34]
and ecx, esi
xor eax, eax
or eax, ecx
je 0x1002bb45
mov ecx, dword [0x10093f3c]
mov eax, ecx
xor edx, edx
and eax, esi
cmp edx, dword [0x10093f38]
jne 0x1002bb45
cmp eax, ecx
jne 0x1002bb45
mov ebx, 0x3ff
push ebx
lea eax, [ebp - 0x40f]
push edi
push eax
mov byte [ebp - 0x410], 0
call fcn.10051a60
add esp, 0xc
push str.RemoveShellLinkFromDictionary_failed
push ebx
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.10050e28
add esp, 0x10
cmp byte [0x100a60b8], 0
je 0x1002bb45
cmp dword [0x10093f44], edi
je 0x1002bb45
cmp byte [0x10093f0a], 0
mov al, byte [0x10093f48]
je 0x1002bb0a
cmp al, 4
jae 0x1002bb38
test al, al
jmp 0x1002bb36
cmp al, 4
jae 0x1002bb12
test al, al
jne 0x1002bb45
mov ecx, dword [0x10093f34]
and ecx, esi
xor eax, eax
or eax, ecx
je 0x1002bb45
mov ecx, dword [0x10093f3c]
mov eax, ecx
xor edx, edx
and eax, esi
cmp edx, dword [0x10093f38]
jne 0x1002bb45
cmp eax, ecx
jne 0x1002bb45
lea eax, [ebp - 0x410]
push eax
call fcn.1002c268
pop ecx
xor bl, bl
push edi
push 1
lea esi, [ebp - 0x42c]
call fcn.1000457f
mov al, bl
call fcn.10052279
ret 4
cmp dword [ebp - 0x414], 8
mov eax, dword [ebp - 0x428]
jae 0x1002bb74
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
inc bl
jmp 0x1002bb47

Function at 0x1002bc46
Capabilities:
Get common file path

Disassembly:
push 0x20
mov eax, 0x1006b8d2
call fcn.1005218d
lea eax, [ebp - 0x10]
push eax
xor ebx, ebx
push 2
push ebx
mov edi, ecx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x1002bc74
lea ecx, [ebp - 0x10]
call fcn.1002bd23
jmp 0x1002bc76
xor al, al
test al, al
jne 0x1002bc7e
xor al, al
jmp 0x1002bcba
push 0x1007bc7c
lea esi, [ebp - 0x2c]
call fcn.100040e3
push edi
mov eax, esi
mov dword [ebp - 4], ebx
call fcn.1002770a
pop ecx
mov bl, al
neg bl
sbb bl, bl
or dword [ebp - 4], 0xffffffff
push 0
push 1
inc bl
call fcn.1000457f
test bl, bl
jne 0x1002bc7a
push 1
push edi
call fcn.100277c7
pop ecx
pop ecx
call fcn.10052265
ret
Function at 0x1002bfdd
Capabilities:
Check if file exists
Copy file
Create process on windows
Terminate process

Disassembly:
push 0x98
mov eax, 0x1006db15
call fcn.100521f6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
test ebx, ebx
je 0x1002c0b6
test eax, eax
je 0x1002c0b6
push 0x38
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.10051a60
and dword [ebp - 0x88], 0
add esp, 0xc
mov edi, 0x10079910
push edi
lea esi, [ebp - 0x48]
mov dword [ebp - 0xa4], 0x3c
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0xa0], 0x440
call fcn.100040e3
push dword [ebp - 0x4c]
and dword [ebp - 4], 0
mov eax, esi
push eax
call fcn.10004241
push edi
mov eax, esi
push eax
call fcn.10004241
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x1002c068
lea eax, [ebp - 0x44]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1002c0cc
mov esi, dword [ebp - 0x6c]
test esi, esi
je 0x1002c1c5
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1002c0c0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea esi, [ebp - 0x48]
call fcn.1000457f
xor eax, eax
call fcn.10052279
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1002c1c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80004005
je 0x1002c0e4
cmp eax, 0x483
jne 0x1002c1c5
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, str.StartPin
push edi
push ebx
call esi
test eax, eax
je 0x1002c107
push str.TaskbarPin
push ebx
call esi
test eax, eax
jne 0x1002c1c5
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.1002bcc0
test al, al
je 0x1002c1b9
push edi
push ebx
call esi
test eax, eax
mov eax, str.StartMenu
je 0x1002c13e
mov eax, str.TaskBar
push eax
lea esi, [ebp - 0x68]
call fcn.100040e3
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
mov byte [ebp - 4], 2
call fcn.1002770a
pop ecx
push 0
push 1
mov byte [ebp - 4], 1
call fcn.1000457f
push 0x1007b80c
lea esi, [ebp - 0x68]
call fcn.100040e3
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
mov byte [ebp - 4], 3
call fcn.1002770a
pop ecx
push 0
push 1
call fcn.1000457f
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1002c196
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002c1b9
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1002c1ad
lea eax, [ebp - 0x28]
push 1
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.1000457f
push 0
push 1
lea esi, [ebp - 0x48]
call fcn.1000457f
xor eax, eax
inc eax
jmp 0x1002c0b8
Function at 0x1002c74f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x1008f210]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
je 0x1002c83f
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jl 0x1002c83f
push edi
xor eax, eax
push 0x4e
push eax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x52]
push eax
call fcn.10051a60
movzx eax, byte [ebp - 0x25d]
push eax
movzx eax, byte [ebp - 0x25e]
push eax
movzx eax, byte [ebp - 0x25f]
push eax
movzx eax, byte [ebp - 0x260]
push eax
movzx eax, byte [ebp - 0x261]
push eax
movzx eax, byte [ebp - 0x262]
push eax
movzx eax, byte [ebp - 0x263]
push eax
movzx eax, byte [ebp - 0x264]
push eax
movzx eax, word [ebp - 0x266]
push eax
movzx eax, word [ebp - 0x268]
push eax
push dword [ebp - 0x26c]
lea edi, [ebp - 0x54]
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
push 0x28
pop ecx
call fcn.1002c6b6
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x25c], ax
lea eax, [ebp - 0x25a]
push eax
call fcn.10051a60
add esp, 0x48
lea eax, [ebp - 0x25c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, edi
push eax
lea eax, [ebp - 0x25c]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor eax, eax
inc eax
pop edi
jmp 0x1002c841
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004c55d
leave
ret
Function at 0x1002cbe6
Capabilities:
Create directory
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor esi, esi
push edi
cmp eax, esi
je 0x1002ccb6
xor ecx, ecx
cmp cx, word [eax]
je 0x1002ccb6
mov edi, dword [ebp + 8]
cmp edi, esi
je 0x1002ccb6
cmp cx, word [edi]
je 0x1002ccb6
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x10], ebx
cmp ebx, 0xffffffff
je 0x1002ccb6
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x1002ccaf
cmp eax, 0x40000000
ja 0x1002ccaf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
push esi
push esi
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x1002cca5
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, esi
je 0x1002cca0
push dword [ebp + 8]
mov ecx, edi
push dword [ebp - 8]
call fcn.1002c84d
pop ecx
pop ecx
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0xc]
call ebx
push dword [ebp - 0x10]
call ebx
mov eax, dword [ebp - 4]
jmp 0x1002ccb8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1002cf35
Capabilities:
Get file version info

Disassembly:
push 0xc
mov eax, 0x1006e6c8
call fcn.1005218d
mov ebx, dword [ebp + 8]
lea esi, [ebx + 0x34]
push esi
call fcn.1002d0ad
xor edi, edi
push 0x34
push edi
mov dword [ebp - 4], edi
push ebx
mov byte [ebx + 0x4c], 0
call fcn.10051a60
add esp, 0xc
push edi
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x10], eax
cmp eax, edi
je 0x1002cfd2
push eax
mov eax, esi
call fcn.10012686
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
jne 0x1002cf87
call fcn.1004cee2
push dword [esi + 0xc]
push dword [ebp - 0x10]
push edi
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1002cfd2
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
mov dword [ebp - 0x14], edi
jne 0x1002cfaa
call fcn.1004cee2
mov esi, dword [esi + 0xc]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x10076e30
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1002cfd2
mov esi, dword [ebp - 0x18]
push 0xd
pop ecx
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov byte [ebx + 0x4c], 1
mov eax, ebx
call fcn.10052265
ret 8

Function at 0x1002d174
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1008f210]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10091b00]
cmp eax, 0xffffffff
jne 0x1002d2fa
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [0x10091b00], 0xfffffc18
mov dword [ebp - 0x118], 0x114
call fcn.10051a60
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1002d2f5
cmp dword [ebp - 0x108], 2
jne 0x1002d2f5
mov eax, dword [ebp - 0x114]
cmp eax, 5
jne 0x1002d27b
cmp dword [ebp - 0x110], 0
jne 0x1002d201
xor eax, eax
inc eax
jmp 0x1002d2e2
cmp dword [ebp - 0x110], 1
jne 0x1002d26e
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_1
call fcn.1004dc45
add esp, 0xc
test eax, eax
jne 0x1002d22b
push 3
jmp 0x1002d2e1
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_2
call fcn.1004dc45
add esp, 0xc
test eax, eax
jne 0x1002d24c
push 4
jmp 0x1002d2e1
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_3
call fcn.1004dc45
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 5
jmp 0x1002d2e2
cmp dword [ebp - 0x110], 2
jne 0x1002d2f5
push 6
jmp 0x1002d2e1
cmp eax, 6
jne 0x1002d2da
cmp dword [ebp - 0x110], 0
jne 0x1002d2c9
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_1
call fcn.1004dc45
add esp, 0xc
test eax, eax
jne 0x1002d2a7
push 8
jmp 0x1002d2e1
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_2
call fcn.1004dc45
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 9
jmp 0x1002d2e2
xor eax, eax
cmp dword [ebp - 0x110], 1
setne al
add eax, 0xa
jmp 0x1002d2e2
cmp eax, 0xa
jne 0x1002d2e9
push 0xd
pop eax
mov dword [0x10091b00], eax
jmp 0x1002d2fa
cmp eax, 6
jbe 0x1002d2f5
mov eax, 0x3e8
jmp 0x1002d2e2
mov eax, dword [0x10091b00]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004c55d
leave
ret
Function at 0x1002d53c
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp edi, ebx
jne 0x1002d556
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1002d5f5
push esi
push dword [ebp + 8]
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x1002d58e
push 0x104
push edi
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x1002d585
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1002d5f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1002d5f2
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], ebx
call fcn.1002d39f
pop ecx
test eax, eax
jne 0x1002d5f2
cmp dword [ebp - 4], ebx
je 0x1002d5f2
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp dword [eax + 0x44], ecx
jne 0x1002d5c5
cmp dword [eax + 0x3c], ebx
je 0x1002d5c5
cmp word [eax + 0x38], bx
ja 0x1002d5d7
mov ecx, dword [eax]
cmp ecx, ebx
je 0x1002d5cf
add eax, ecx
jmp 0x1002d5d1
xor eax, eax
cmp eax, ebx
jne 0x1002d5b2
jmp 0x1002d5e9
movzx ebx, word [eax + 0x38]
push dword [eax + 0x3c]
shr ebx, 1
mov eax, edi
call fcn.1002d443
mov ebx, edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x1002d7df
Capabilities:
Read file on windows

Disassembly:
push 0xac
mov eax, 0x1006dacd
call fcn.100521f6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x94], ecx
mov ecx, dword [ebp + 0xc]
mov edi, edx
push 0x1007b294
push eax
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x98], ecx
call fcn.1004f7e9
mov esi, eax
xor ebx, ebx
pop ecx
pop ecx
cmp esi, ebx
jne 0x1002d84b
cmp edi, ebx
je 0x1002d844
lea esi, [ebp - 0xb8]
call fcn.1002db94
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.10004f39
push ebx
push 1
mov ecx, esi
call fcn.1000507a
xor al, al
jmp 0x1002d923
mov eax, dword [ebp - 0x98]
cmp eax, ebx
je 0x1002d85f
mov eax, dword [eax]
mov dword [ebp - 0x8c], eax
jmp 0x1002d865
mov dword [ebp - 0x8c], ebx
mov ecx, dword [ebp - 0x94]
mov byte [ebp - 0x24], bl
xor eax, eax
lea edi, [ebp - 0x23]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0xffffffffffffffff
push ebx
stosb byte es:[edi], al
call fcn.10004d40
push 2
push ebx
push esi
call fcn.1004fbb2
push esi
call fcn.1004fdd4
push ebx
push ebx
push esi
mov edi, eax
call fcn.1004fbb2
add esp, 0x1c
cmp edi, ebx
jle 0x1002d8d9
push edi
call fcn.1004c552
push esi
push 1
push edi
push eax
mov dword [ebp - 0x90], eax
call fcn.100500e2
mov ecx, dword [ebp - 0x94]
add esp, 0x14
push edi
push dword [ebp - 0x90]
call fcn.10004c6d
push dword [ebp - 0x90]
call fcn.1004d030
pop ecx
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x88]
push str._s_d_bytes
push eax
call fcn.10050dab
mov ecx, dword [ebp - 0x9c]
add esp, 0x10
cmp ecx, ebx
je 0x1002d908
lea eax, [ebp - 0x88]
push eax
call fcn.10004cdf
push esi
call fcn.1004faac
mov eax, dword [ebp - 0x98]
pop ecx
cmp eax, ebx
je 0x1002d921
mov ecx, dword [ebp - 0x8c]
mov dword [eax], ecx
mov al, 1
call fcn.10052279
ret
Function at 0x1002f624
Capabilities:
Check if file exists

Disassembly:
push 0x98
mov eax, 0x1006c981
call fcn.100521f6
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x48], eax
cmp eax, ebx
je 0x1002f6ae
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002f6ae
mov eax, 0xcd44
mov word [ebp - 0x20], ax
mov eax, 0x11d0
mov word [ebp - 0x1e], ax
xor eax, eax
mov dword [ebp - 0x24], 0xaac56b
mov byte [ebp - 0x1c], 0x8c
mov byte [ebp - 0x1b], 0xc2
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], 0xc0
mov byte [ebp - 0x18], 0x4f
mov byte [ebp - 0x17], 0xc2
mov byte [ebp - 0x16], 0x95
mov byte [ebp - 0x15], 0xee
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x3c], ax
push 0x25
lea edi, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.10027cd3
pop ecx
test al, al
jne 0x1002f6b6
push ebx
push 1
mov esi, edi
call fcn.1000457f
xor eax, eax
call fcn.10052279
ret
push str.Wintrust.dll
lea esi, [ebp - 0xa4]
call fcn.100040e3
lea eax, [ebp - 0x40]
push eax
mov eax, esi
mov byte [ebp - 4], 1
call fcn.1002770a
pop ecx
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.1000457f
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
jae 0x1002f6ed
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x44], eax
cmp eax, ebx
jne 0x1002f708
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1002f7a1
push str.WinVerifyTrust
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
jne 0x1002f722
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1002f796
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x48]
push 0x30
pop edi
push edi
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x88]
push ebx
push eax
mov dword [ebp - 0x58], 0x10
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
call fcn.10051a60
lea eax, [ebp - 0x58]
add esp, 0xc
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x7c], 2
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], 0x100
mov dword [ebp - 0x5c], ebx
call esi
push dword [ebp - 0x44]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
push 1
lea esi, [ebp - 0x40]
call fcn.1000457f
xor eax, eax
cmp edi, ebx
sete al
jmp 0x1002f6b0
Function at 0x1002fa55
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, eax
lea eax, [edi + 2]
mov esi, ecx
test eax, eax
jl 0x1002fb57
push 3
cdq
pop ecx
idiv ecx
cmp eax, 0x40000000
jge 0x1002fb57
cmp edi, 2
mov ecx, dword [ebp + 8]
jle 0x1002faed
push ebx
xor edx, edx
push 3
lea eax, [edi - 3]
pop ebx
div ebx
inc eax
mov edx, eax
imul edx, edx, 0xfffffffd
add edi, edx
movzx edx, byte [esi]
shr edx, 2
mov dl, byte [edx + 0x10076150]
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 + 0x10076150]
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 + 0x10076150]
inc ecx
mov byte [ecx], dl
movzx edx, byte [esi + 2]
and edx, 0x3f
mov dl, byte [edx + 0x10076150]
inc ecx
mov byte [ecx], dl
inc ecx
add esi, 3
dec eax
jne 0x1002fa95
pop ebx
test edi, edi
je 0x1002fb42
movzx eax, byte [esi]
shr eax, 2
mov al, byte [eax + 0x10076150]
mov byte [ecx], al
movzx eax, byte [esi]
and eax, 3
inc ecx
shl eax, 4
cmp edi, 1
jle 0x1002fb31
movzx edx, byte [esi + 1]
shr edx, 4
mov al, byte [eax + edx + 0x10076150]
mov byte [ecx], al
movzx eax, byte [esi + 1]
inc ecx
and eax, 0xf
mov al, byte [eax*4 + 0x10076150]
mov byte [ecx], al
jmp 0x1002fb3d
mov al, byte [eax + 0x10076150]
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1002fb50
mov edx, ecx
sub edx, dword [ebp + 8]
mov dword [eax], edx
mov byte [ecx], 0
xor eax, eax
jmp 0x1002fb5a
or eax, 0xffffffff
pop edi
pop esi
pop ebp
ret

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

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x1003192e
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x100319e0
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10075d50]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10075d50]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10075d50]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10075d50]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10075d50]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10075d50]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10075d50]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10075d50]
inc ecx
sub edi, 8
dec esi
jne 0x10031945
pop ebx
test edi, edi
je 0x100319f9
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x10075d50]
inc ecx
dec edi
jne 0x100319e4
pop esi
not eax
pop edi
ret
Function at 0x10031b03
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, edx
shr eax, 4
xor eax, ecx
and eax, 0xf0f0f0f
xor ecx, eax
shl eax, 4
xor edx, eax
mov eax, edx
shr eax, 0x10
xor eax, ecx
and eax, 0xffff
xor ecx, eax
shl eax, 0x10
xor edx, eax
mov eax, ecx
shr eax, 2
xor eax, edx
and eax, 0x33333333
xor edx, eax
shl eax, 2
xor ecx, eax
mov eax, ecx
shr eax, 8
xor eax, edx
and eax, 0xff00ff
xor edx, eax
shl eax, 8
xor eax, ecx
rol eax, 1
mov ecx, eax
push ebx
xor ecx, edx
and ecx, 0xaaaaaaaa
push esi
xor eax, ecx
push edi
xor ecx, edx
rol ecx, 1
push 0x3f
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 8
pop edi
mov ecx, dword [ebp + 0xc]
mov esi, eax
ror esi, 4
xor esi, dword [ecx]
add ecx, 4
mov edx, esi
shr edx, 0x18
mov ebx, esi
shr ebx, 0x10
and ebx, edi
and edx, edi
mov edx, dword [edx*4 + 0x10074050]
or edx, dword [ebx*4 + 0x10074250]
mov ebx, esi
shr ebx, 8
and ebx, edi
or edx, dword [ebx*4 + 0x10074450]
and esi, edi
or edx, dword [esi*4 + 0x10074650]
mov esi, dword [ecx]
add ecx, 4
mov dword [ebp + 0xc], ecx
xor esi, eax
mov ecx, esi
shr ecx, 0x18
and ecx, edi
mov ecx, dword [ecx*4 + 0x10074150]
mov ebx, esi
shr ebx, 0x10
and ebx, edi
or ecx, dword [ebx*4 + 0x10074350]
mov ebx, esi
shr ebx, 8
and ebx, edi
or ecx, dword [ebx*4 + 0x10074550]
and esi, edi
or ecx, dword [esi*4 + 0x10074750]
or ecx, edx
xor dword [ebp - 4], ecx
mov esi, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
ror esi, 4
xor esi, dword [ecx]
add ecx, 4
mov edx, esi
shr edx, 0x18
mov ebx, esi
shr ebx, 0x10
and ebx, edi
and edx, edi
mov edx, dword [edx*4 + 0x10074050]
or edx, dword [ebx*4 + 0x10074250]
mov ebx, esi
shr ebx, 8
and ebx, edi
or edx, dword [ebx*4 + 0x10074450]
and esi, edi
or edx, dword [esi*4 + 0x10074650]
mov esi, dword [ecx]
xor esi, dword [ebp - 4]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov ecx, esi
shr ecx, 0x18
and ecx, edi
mov ecx, dword [ecx*4 + 0x10074150]
mov ebx, esi
shr ebx, 0x10
and ebx, edi
or ecx, dword [ebx*4 + 0x10074350]
mov ebx, esi
shr ebx, 8
and ebx, edi
or ecx, dword [ebx*4 + 0x10074550]
and esi, edi
or ecx, dword [esi*4 + 0x10074750]
or ecx, edx
xor eax, ecx
dec dword [ebp - 8]
jne 0x10031b7e
ror eax, 1
mov edx, eax
xor edx, dword [ebp - 4]
pop edi
and edx, 0xaaaaaaaa
xor eax, edx
xor edx, dword [ebp - 4]
ror edx, 1
mov ecx, edx
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor edx, ecx
mov ecx, edx
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
shl ecx, 2
xor edx, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, edx
and ecx, 0xffff
xor edx, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, eax
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov esi, ecx
shl esi, 4
xor esi, eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor ecx, edx
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret