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

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x454825
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x5c8910]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x20], ecx
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [esp + 0x24], edi
cmp edi, 0xffffffff
je 0x454a03
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x4549fc
cmp esi, 0x400000
jae 0x4548d6
push esi
call fcn.0051b796
pop ecx
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], eax
push ecx
push esi
push eax
push edi
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4548c6
cmp dword [esp + 0x10], esi
jne 0x4548c6
push dword [esp + 0x20]
mov edx, esi
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.00454785
pop ecx
jmp 0x4548ca
mov esi, dword [esp + 0xc]
push esi
call fcn.0053b82d
pop ecx
jmp 0x4549fc
push ebx
push ebx
push ebx
push 2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edx, eax
mov dword [esp + 0x18], edx
cmp edx, 0xffffffff
je 0x454a03
mov eax, esi
lea ecx, [esp + 0x28]
shr eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, ebx
mov dword [esp + 0xc], eax
call fcn.00453ea2
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x1c], eax
jbe 0x45496b
push 0x10000
push eax
push ebx
push 4
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4549f2
push 0x10000
mov edx, eax
lea ecx, [esp + 0x2c]
call fcn.00453ec6
pop ecx
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
add eax, 0x10000
mov edx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x1c]
jb 0x454914
test si, si
je 0x4549a2
push ebx
push dword [esp + 0x10]
push ebx
push 4
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4549f2
sub esi, dword [esp + 0xc]
lea ecx, [esp + 0x28]
push esi
mov edx, eax
call fcn.00453ec6
pop ecx
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov byte [esp + 0x84], bl
lea edi, [esp + 0x85]
xor eax, eax
lea edx, [esp + 0x28]
stosd dword es:[edi], eax
lea ecx, [esp + 0x84]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00453f61
mov esi, dword [esp + 0x20]
movzx eax, byte [esp + ebx + 0x84]
push eax
push 0x5a2dbc
push 3
push esi
call fcn.00537692
add esp, 0x10
add esi, 4
inc ebx
cmp ebx, 0x10
jl 0x4549cc
mov edi, dword [esp + 0x24]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0053bd6c
mov esp, ebp
pop ebp
ret
Function at 0x456e19
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x456e27
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
not ecx
mov ebx, 0xff
cmp esi, 8
jb 0x456ee2
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x5963e0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x5963e0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x5963e0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x5963e0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x5963e0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x5963e0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x5963e0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x5963e0]
dec edi
jne 0x456e45
pop edi
test esi, esi
je 0x456efb
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x5963e0]
inc edx
dec esi
jne 0x456ee6
not ecx
pop esi
mov eax, ecx
pop ebx
pop ebp
ret

Function at 0x457441
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 0x6af60], edi
cmp dword [esi + 0x6af58], edi
jne 0x45746a
mov dword [esi + 0x6af60], 1
mov dword [esi + 0x6af58], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af58]
mov dword [esi + 0x6af54], edi
push edi
push eax
call fcn.00538910
add esp, 0xc
mov dword [esi + 0x6af84], 0x20
mov eax, 0x102
mov dword [esi + 0x6af7c], 0x1000
lea ebx, [esi + 0x1af58]
mov dword [esi + 0x6af80], eax
mov ecx, esi
mov dword [esi + 0x6af88], eax
push 0x10000
push ebx
mov dword [esi + 0x6af6c], edi
mov dword [esi + 0x6af5c], edi
call fcn.00456f66
mov dword [esi + 0x6af78], eax
test eax, eax
je 0x457511
cmp eax, 0xffffffff
je 0x457511
mov dword [esi + 0x6af74], edi
cmp eax, 0x106
jae 0x4574ec
mov ecx, esi
call fcn.0045730c
mov dword [esi + 0x6af64], edi
mov ecx, edi
movzx eax, byte [ebx + edi]
shl ecx, 5
xor ecx, eax
and ecx, 0x7fff
inc edi
mov dword [esi + 0x6af64], ecx
cmp edi, 2
jb 0x4574f4
jmp 0x457521
mov dword [esi + 0x6af74], 1
mov dword [esi + 0x6af78], edi
pop edi
pop esi
pop ebx
ret
Function at 0x459fa8
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x5c8910]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5cb294]
push esi
xor esi, esi
push edi
mov edi, 0xfffffc18
cmp eax, 0xffffffff
jne 0x45a123
push 0x110
lea eax, [ebp - 0x324]
mov dword [0x5cb294], edi
push esi
push eax
mov dword [ebp - 0x328], 0x114
call fcn.00538910
add esp, 0xc
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45a119
cmp dword [ebp - 0x318], 2
jne 0x45a119
cmp dword [ebp - 0x324], 5
jne 0x45a0ae
mov eax, dword [ebp - 0x320]
test eax, eax
jne 0x45a03b
inc eax
mov dword [0x5cb294], eax
jmp 0x45a1d3
cmp eax, 1
jne 0x45a09f
push 0x7f
lea eax, [ebp - 0x314]
push eax
push str.Service_Pack_1
call fcn.0053966c
add esp, 0xc
test eax, eax
jne 0x45a05f
push 3
pop eax
jmp 0x45a031
push 0x7f
lea eax, [ebp - 0x314]
push eax
push str.Service_Pack_2
call fcn.0053966c
add esp, 0xc
test eax, eax
jne 0x45a07d
push 4
jmp 0x45a05c
push 0x7f
lea eax, [ebp - 0x314]
push eax
push str.Service_Pack_3
call fcn.0053966c
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 5
jmp 0x45a031
cmp eax, 2
jne 0x45a119
push 6
pop eax
mov dword [0x5cb294], eax
jmp 0x45a11e
cmp dword [ebp - 0x324], 6
jne 0x45a119
cmp dword [ebp - 0x320], esi
jne 0x45a105
push 0x7f
lea eax, [ebp - 0x314]
push eax
push str.Service_Pack_1
call fcn.0053966c
add esp, 0xc
test eax, eax
jne 0x45a0e0
push 8
jmp 0x45a05c
push 0x7f
lea eax, [ebp - 0x314]
push eax
push str.Service_Pack_2
call fcn.0053966c
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 9
jmp 0x45a031
cmp dword [ebp - 0x320], 1
mov eax, dword [0x5cb294]
push 0xa
pop ecx
cmove eax, ecx
jmp 0x45a0a7
mov eax, dword [0x5cb294]
cmp eax, 0xffffffff
je 0x45a12b
cmp eax, edi
jne 0x45a1d3
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push esi
push eax
call fcn.00538910
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.kernel32.dll
lea eax, [ebp - 0x210]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x330]
mov dword [ebp - 0x32c], esi
push eax
lea edx, [ebp - 0x32c]
mov dword [ebp - 0x330], esi
lea ecx, [ebp - 0x210]
call fcn.00459d4c
pop ecx
test eax, eax
je 0x45a1ce
mov eax, dword [ebp - 0x32c]
cmp eax, 0x60002
jne 0x45a1ab
push 0xb
jmp 0x45a05c
cmp eax, 0x60003
jne 0x45a1b9
push 0xc
jmp 0x45a05c
cmp eax, 0xa0000
je 0x45a1c7
cmp eax, 0x60004
jne 0x45a1ce
push 0xd
jmp 0x45a05c
mov eax, dword [0x5cb294]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0053bd6c
mov esp, ebp
pop ebp
ret
Function at 0x45aaa8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
push edi
mov edi, ecx
lea eax, [ebx + 2]
test eax, eax
js 0x45abbf
push 3
cdq
pop ecx
idiv ecx
cmp eax, 0x40000000
jge 0x45abbf
push esi
mov esi, dword [ebp + 8]
cmp ebx, 2
jle 0x45ab48
lea eax, [ebx - 3]
xor edx, edx
div ecx
push 3
lea edx, [eax + 1]
imul ecx, edx, 0xfffffffd
add ebx, ecx
mov dword [ebp - 4], ebx
pop ebx
movzx ecx, byte [edi]
shr ecx, 2
mov al, byte [ecx + 0x597cc0]
mov byte [esi], al
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
and ecx, ebx
shr eax, 4
add ecx, ecx
mov al, byte [eax + ecx*8 + 0x597cc0]
mov byte [esi + 1], al
movzx ecx, byte [edi + 1]
movzx eax, byte [edi + 2]
and ecx, 0xf
shr eax, 6
mov al, byte [eax + ecx*4 + 0x597cc0]
mov byte [esi + 2], al
movzx eax, byte [edi + 2]
add edi, ebx
and eax, 0x3f
mov al, byte [eax + 0x597cc0]
mov byte [esi + 3], al
add esi, 4
dec edx
jne 0x45aaec
mov ebx, dword [ebp - 4]
push 3
pop ecx
test ebx, ebx
je 0x45aba9
movzx eax, byte [edi]
shr eax, 2
mov al, byte [eax + 0x597cc0]
mov byte [esi], al
cmp ebx, 1
jle 0x45ab8f
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
and ecx, 3
shr eax, 4
add ecx, ecx
mov al, byte [eax + ecx*8 + 0x597cc0]
mov byte [esi + 1], al
movzx eax, byte [edi + 1]
and eax, 0xf
mov al, byte [eax*4 + 0x597cc0]
mov byte [esi + 2], al
mov byte [esi + 3], 0x3d
jmp 0x45aba6
movzx eax, byte [edi]
and eax, ecx
shl eax, 4
mov al, byte [eax + 0x597cc0]
mov byte [esi + 1], al
mov word [esi + 2], 0x3d3d
add esi, 4
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x45abb7
mov eax, esi
sub eax, dword [ebp + 8]
mov dword [ecx], eax
mov byte [esi], 0
xor eax, eax
pop esi
jmp 0x45abc2
or eax, 0xffffffff
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461aff
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x461b11
push 0xd
pop eax
jmp 0x461b43
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x461b1a
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x461d0d
Capabilities:
Get file version info

Disassembly:
push 0xc
mov eax, 0x57564a
call fcn.0053fc6d
mov ebx, ecx
mov dword [ebp - 0x18], ebx
lea esi, [ebx + 0x34]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push 0x34
push eax
mov dword [ebp - 4], eax
push ebx
mov byte [ebx + 0x40], al
call fcn.00538910
add esp, 0xc
push 0
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x461d93
push edi
mov ecx, esi
call fcn.00409018
push dword [esi]
push edi
push 0
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x461d93
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x594350
push dword [esi]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x461d93
mov esi, dword [ebp - 0x14]
mov edi, ebx
push 0xd
pop ecx
rep movsd dword es:[edi], dword [esi]
mov byte [ebx + 0x40], 1
mov eax, ebx
call fcn.0053fc3b
ret 4

Function at 0x46238f
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov ebx, edx
mov eax, ecx
xor esi, esi
mov dword [ebp - 8], eax
test ebx, ebx
jne 0x4623b2
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x46244e
push edi
push eax
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4623e9
push 0x104
push ebx
push edi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x4623e0
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x46244b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x46244b
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
call fcn.0045c08d
test eax, eax
jne 0x46244b
mov edi, dword [ebp - 4]
test edi, edi
je 0x46244b
mov edx, dword [ebp - 8]
mov ecx, edi
cmp dword [ecx + 0x44], edx
jne 0x46241f
cmp dword [ecx + 0x3c], esi
je 0x46241f
cmp word [ecx + 0x38], si
ja 0x462431
mov eax, dword [ecx]
test eax, eax
je 0x462429
add ecx, eax
jmp 0x46242b
mov ecx, esi
test ecx, ecx
jne 0x46240f
jmp 0x462444
movzx eax, word [ecx + 0x38]
shr eax, 1
push eax
push dword [ecx + 0x3c]
mov ecx, ebx
call fcn.00462209
mov esi, ebx
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4641dc
Capabilities:
Get session user name
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc18
mov eax, dword [0x5c8910]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x5d0830], 0
push ebx
mov ebx, 0x200
push esi
mov esi, ecx
mov dword [ebp - 0xc10], ebx
je 0x46421e
push 0x5d0830
push ebx
push esi
call fcn.0053e7e6
add esp, 0xc
xor eax, eax
inc eax
jmp 0x46434d
push edi
xor eax, eax
mov edi, 0x3fe
push edi
push eax
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x402]
push eax
call fcn.00538910
xor eax, eax
push edi
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
call fcn.00538910
xor eax, eax
push edi
push eax
mov word [ebp - 0xc04], ax
lea eax, [ebp - 0xc02]
push eax
call fcn.00538910
add esp, 0x24
mov byte [esi], 0
lea eax, [ebp - 0xc08]
mov dword [ebp - 0xc08], ebx
mov dword [ebp - 0xc0c], ebx
mov dword [ebp - 0xc14], ebx
push eax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
pop edi
test eax, eax
jne 0x4642a9
mov dword [0x5d0828], 0x6c
jmp 0x46434b
lea eax, [ebp - 0x404]
push str.SYSTEM
push eax
call fcn.005394fe
pop ecx
pop ecx
test eax, eax
jne 0x4642cc
mov dword [0x5d0828], 0x6b
jmp 0x46434b
lea ecx, [ebp - 0x404]
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4642d7
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 0xc08], eax
lea eax, [ebp - 0xc18]
push eax
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc04]
push eax
lea eax, [ebp - 0xc0c]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x404]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x464341
lea eax, [ebp - 0xc10]
mov edx, esi
push eax
lea ecx, [ebp - 0x804]
call fcn.00464076
pop ecx
test eax, eax
jne 0x464216
mov dword [0x5d0828], 0x6d
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0053bd6c
mov esp, ebp
pop ebp
ret
Function at 0x464382
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
push edi
push 3
mov edi, ecx
lea eax, [ebx + 2]
cdq
pop ecx
idiv ecx
cmp eax, 0x40000000
jl 0x4643a4
or eax, 0xffffffff
jmp 0x464499
mov edx, dword [ebp + 0xc]
shl eax, 2
cmp dword [edx], eax
jl 0x46439c
push esi
mov esi, dword [ebp + 8]
cmp ebx, 2
jle 0x46442b
lea eax, [ebx - 3]
xor edx, edx
div ecx
push 3
lea edx, [eax + 1]
imul ecx, edx, 0xfffffffd
add ebx, ecx
mov dword [ebp - 4], ebx
pop ebx
movzx ecx, byte [edi]
shr ecx, 2
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], al
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
and ecx, ebx
shr eax, 4
add ecx, ecx
mov al, byte [eax + ecx*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], al
movzx ecx, byte [edi + 1]
movzx eax, byte [edi + 2]
and ecx, 0xf
shr eax, 6
mov al, byte [eax + ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 2], al
movzx eax, byte [edi + 2]
add edi, ebx
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 3], al
add esi, 4
dec edx
jne 0x4643cc
mov ebx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
push 3
pop ecx
test ebx, ebx
je 0x46448c
movzx eax, byte [edi]
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], al
cmp ebx, 1
jle 0x464472
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
and ecx, 3
shr eax, 4
add ecx, ecx
mov al, byte [eax + ecx*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], al
movzx eax, byte [edi + 1]
and eax, 0xf
mov al, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 2], al
mov byte [esi + 3], 0x3d
jmp 0x464489
movzx eax, byte [edi]
and eax, ecx
shl eax, 4
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], al
mov word [esi + 2], 0x3d3d
add esi, 4
mov eax, esi
sub eax, dword [ebp + 8]
mov dword [edx], eax
xor eax, eax
mov byte [esi], 0
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46ee52
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, ecx
xor eax, eax
push esi
mov esi, edx
mov dword [ebp - 4], eax
push edi
mov edx, dword [ebx + 0x3c]
mov dword [ebp - 8], esi
cmp dword [edx], eax
jne 0x46ee82
push dword [ebx + 0x78]
call fcn.0046ea25
mov dword [ebp - 4], eax
pop ecx
test eax, eax
jne 0x46ef66
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [ebx + 0x24]
jbe 0x46eeb9
mov eax, dword [ebx + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.00542cd0
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x18]
push edx
push 5
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [ebx + 0x18]
add esp, 0xc
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 4]
test esi, esi
je 0x46ef66
mov edi, dword [esi + 0x14]
mov dword [ebp - 0x14], edi
cmp edi, dword [ebx + 0x18]
ja 0x46ef58
test byte [esi + 0x18], 0x20
jne 0x46ef58
mov eax, dword [ebx + 0x80]
lea ecx, [edi - 1]
cdq
push edx
push eax
push 0
push ecx
call fcn.00542cd0
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
cmp edi, 1
jne 0x46eeff
mov ecx, esi
call fcn.0046e4c7
push dword [ebp - 4]
mov eax, dword [esi + 4]
mov edx, eax
push dword [ebp - 0xc]
mov ecx, dword [ebx + 0x3c]
push dword [ebx + 0x80]
mov dword [ebp - 0x10], eax
call fcn.004660f1
add esp, 0xc
mov dword [ebp - 4], eax
cmp edi, 1
jne 0x46ef39
mov esi, dword [ebp - 0x10]
lea edi, [ebx + 0x64]
add esi, 0x18
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x14]
cmp edi, dword [ebx + 0x20]
jbe 0x46ef41
mov dword [ebx + 0x20], edi
inc dword [ebx + 0xa8]
mov edx, edi
push dword [esi + 4]
mov ecx, dword [ebx + 0x58]
call fcn.00479b06
mov eax, dword [ebp - 4]
pop ecx
mov esi, dword [esi + 0xc]
mov dword [ebp - 8], esi
test eax, eax
je 0x46eebc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4aaf16
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
xor edx, edx
mov esi, edx
test edi, edi
jle 0x4aaf0e
movzx ecx, byte [esi + ebx]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x59cf60]
inc esi
cmp esi, edi
jl 0x4aaef6
pop edi
not edx
pop esi
mov eax, edx
pop ebx
ret
mov edx, ecx
push esi
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4aaf1c
sub edx, esi
sar edx, 1
add edx, edx
pop esi
jmp 0x4aaee7

Function at 0x4ad67f
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5c8910]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
test eax, eax
je 0x4ad7d0
push ebx
push edi
xor ecx, ecx
xor ebx, ebx
push ecx
push ecx
push 3
push ecx
inc ebx
push ebx
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4ad6c2
inc byte [esi + 0x19]
jmp 0x4ad6f8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
and dword [ebp - 0x14], 0
push 0x2000
mov dword [ebp - 0x18], eax
call fcn.0053b140
mov dword [ebp - 0x10], eax
pop ecx
test eax, eax
jne 0x4ad6ff
inc byte [esi + 0x19]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x5d0828], 9
xor eax, eax
jmp 0x4ad7ce
push 0x2000
push 0
push eax
call fcn.00538910
add esp, 0xc
push 2
push 0
push 0xffffe000
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x14]
push eax
push 0x2000
push dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4ad745
inc byte [esi + 0x19]
mov dword [0x5d0828], 8
cmp dword [ebp - 0x14], 7
mov dword [ebp - 0xc], 0x636e6554
mov word [ebp - 8], 0x6e65
mov byte [ebp - 6], 0x74
jl 0x4ad76f
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x14]
call fcn.004ad626
test eax, eax
jne 0x4ad772
push 2
pop ebx
cmp dword [ebp - 0x18], 0x300000
mov esi, dword [ebp + 0xc]
jbe 0x4ad78b
test esi, esi
jne 0x4ad78b
mov al, byte [0x5d0b87]
add al, 2
jmp 0x4ad790
mov al, byte [0x5d0b87]
add al, 3
push edi
mov byte [0x5d0b87], al
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
call fcn.005363a4
pop ecx
test ebx, ebx
je 0x4ad7bf
test esi, esi
je 0x4ad7b7
inc byte [0x5d0b84]
jmp 0x4ad7cc
inc byte [0x5d0b85]
jmp 0x4ad7cc
neg esi
sbb esi, esi
add esi, 0xb
mov dword [0x5d0828], esi
mov eax, ebx
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0053bd6c
mov esp, ebp
pop ebp
ret 8