joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a7d4
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x1004a300]
xor eax, ebp
mov dword [ebp + 0x19c], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], ebx
test edi, edi
je 0x1000a8ab
test ebx, ebx
je 0x1000a8ab
mov esi, str.deviceMup_
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp eax, edi
jne 0x1000a830
push ebx
push 0x1004094c
push esi
mov eax, edi
call fcn.1000b662
xor eax, eax
inc eax
jmp 0x1000a8ad
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x80], eax
xor ebx, ebx
xor eax, eax
inc eax
mov ecx, ebx
shl eax, cl
mov ecx, dword [ebp - 0x80]
test ecx, eax
je 0x1000a8a5
push 0x3a
lea eax, [ebx + 0x61]
mov word [ebp + 0x194], ax
pop eax
mov word [ebp + 0x196], ax
xor eax, eax
push 0x206
lea edi, [ebp + 0x198]
push eax
stosd dword es:[edi], eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.10025220
add esp, 0xc
push 0x104
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jbe 0x1000a8a5
push dword [ebp - 0x78]
lea esi, [ebp - 0x74]
call fcn.1000b75e
test eax, eax
jne 0x1000a8c5
inc ebx
cmp ebx, 0x1a
jl 0x1000a83b
xor eax, eax
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10022b9f
add ebp, 0x1a0
leave
ret
push dword [ebp - 0x7c]
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x78]
jmp 0x1000a826

Function at 0x1000ae44
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x1004a300]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.1000b2ad
push esi
test eax, eax
je 0x1000aed1
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.10025220
add esp, 0xc
push dword [ebp + 8]
mov dword [esp + 0xc], 0x428
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x1000aec8
cmp esi, 0xffffffff
je 0x1000aec8
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x1000aec4
push edi
lea eax, [esp + 0xc]
push eax
call fcn.1000b2ad
test eax, eax
je 0x1000aec8
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1000aeaa
lea eax, [esp + 4]
call fcn.10004ba5
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.10022b9f
mov esp, ebp
pop ebp
ret 4
Function at 0x1000aee6
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x1004a300]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 4
mov eax, 0x100393bd
call fcn.10023b51
mov eax, fcn.1000b15e
test eax, eax
je 0x1000af78
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
test esi, esi
je 0x1000af70
cmp esi, 0xffffffff
je 0x1000af70
push 0x228
lea eax, [ebp + 4]
push 0
push eax
mov dword [ebp], 0x22c
call fcn.10025220
add esp, 0xc
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x1000af6c
push ebx
lea eax, [ebp]
push eax
call fcn.1000b15e
test eax, eax
je 0x1000af70
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1000af54
lea eax, [ebp - 0x10]
call fcn.10004ba5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.10022b9f
add ebp, 0x230
leave
ret

Function at 0x1000af9b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x1000afad
xor eax, eax
jmp 0x1000b017
push edi
push 0x40
lea eax, [ebp - 0x50]
push esi
push eax
mov dword [ebp - 0x54], 0x44
call fcn.10025220
xor eax, eax
mov dword [ebp - 0x10], esi
mov word [ebp - 0x24], ax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x28], 1
call fcn.100099ee
mov edi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push 0x8000000
push esi
push esi
push esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1000b00e
push dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.10009a1b
mov eax, esi
pop edi
pop esi
leave
ret 4

Function at 0x1000b191
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1004a300]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x1000b1b8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10022b9f
leave
ret 4
push esi
push dword [ebp + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x210], esi
test esi, esi
je 0x1000b1da
cmp esi, 0xffffffff
jne 0x1000b1ec
xor esi, esi
lea eax, [ebp - 0x210]
call fcn.10004ba5
mov eax, esi
pop esi
jmp 0x1000b1aa
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.10025220
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jbe 0x1000b1da
mov edx, edi
lea ecx, [ebp - 0x20c]
call fcn.1000a7d4
xor esi, esi
inc esi
jmp 0x1000b1dc
Function at 0x10019f7f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, esi
je 0x10019fb5
push dword [ebp + 0xc]
push dword [ebp - 4]
push str.thread__d_created:__s
call fcn.10019b3e
add esp, 0xc
mov eax, edi
pop edi
pop esi
leave
ret 8

Function at 0x1001b1a1
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x1004a300]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.10025220
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logsignored
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.100017d1
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10022b9f
add ebp, 0x190
leave
ret

Function at 0x1001b672
Capabilities:
Create thread

Disassembly:
push 0x24
mov eax, 0x1003b1cd
call fcn.10023b51
mov ebx, ecx
xor edi, edi
push ebx
push str.SetInterval:_d
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
call fcn.1001bfbe
mov esi, dword [ebp + 8]
pop ecx
pop ecx
mov dword [esi + 0x18], ebx
mov dword [esi + 8], edi
cmp dword [esi + 4], edi
jne 0x1001b735
push edi
push edi
push edi
push edi
mov dword [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ebx, [ebp - 0x14]
lea edi, [ebp - 0x10]
mov dword [esi + 0x1c], eax
call fcn.1001bb62
mov eax, dword [ebp - 0x10]
xor edi, edi
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
inc edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], eax
call fcn.1001bb52
push eax
lea ecx, [ebp - 0x30]
mov dword [esi + 0x40], eax
call fcn.1001bae8
and dword [ebp - 4], 0
push 0xffffffffffffffff
add esi, 0x24
push esi
xor ebx, ebx
call fcn.10001a8c
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea esi, [ebp - 0x30]
call fcn.10001b39
mov esi, dword [ebp + 8]
xor edi, edi
cmp dword [esi + 0x40], edi
je 0x1001b740
cmp dword [esi + 0x38], edi
je 0x1001b740
call fcn.1001ba4c
mov eax, dword [ebp + 0xc]
push edi
push edi
push esi
push 0x1001bd76
push edi
push edi
mov dword [esi + 0x5c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x20], eax
xor eax, eax
inc eax
call fcn.10023c29
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.get_input_desktop_err:_d
call fcn.1001bfbe
pop ecx
pop ecx
xor eax, eax
jmp 0x1001b738
Function at 0x1001b929
Capabilities:
Create thread

Disassembly:
push 0x68
mov eax, 0x1003b56f
call fcn.10023bba
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov dword [ebp - 0x54], eax
xor edi, edi
mov dword [ebp - 4], edi
cmp eax, edi
jne 0x1001b960
xor eax, eax
call fcn.10023c3d
ret 4
call fcn.1001bb52
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.USER32.dll_CloseDesktop]
cmp eax, edi
jne 0x1001b97f
push dword [ebp - 0x54]
call ebx
mov eax, edi
jmp 0x1001b958
push eax
lea ecx, [ebp - 0x48]
call fcn.1001bae8
mov byte [ebp - 4], 2
push dword [ebp - 0x54]
lea ecx, [ebp - 0x2c]
call fcn.1001bae8
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.1001bec1
test al, al
je 0x1001b9da
push esi
push 0x100043c2
push edi
push edi
call fcn.1001b757
push edi
push 1
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
call fcn.10001b39
push edi
push 1
lea esi, [ebp - 0x48]
call fcn.10001b39
push dword [ebp - 0x50]
call ebx
mov edi, dword [ebp - 0x4c]
jmp 0x1001b976
mov eax, dword [ebp - 0x50]
push edi
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x4c]
push edi
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x74]
push eax
push 0x1001b902
push edi
push edi
mov dword [ebp - 0x70], 0x100043c2
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1388
push eax
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x4c]
call fcn.10004ba5
push edi
push 1
lea esi, [ebp - 0x2c]
call fcn.10001b39
push edi
push 1
lea esi, [ebp - 0x48]
call fcn.10001b39
push dword [ebp - 0x50]
call ebx
mov edi, dword [ebp - 0x58]
jmp 0x1001b976

Function at 0x1001bbeb
Capabilities:
Create thread

Disassembly:
push 0x24
mov eax, 0x1003ab26
call fcn.10023bba
mov esi, ecx
call fcn.1001bb52
mov ebx, eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.1001bae8
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1001bc1a
lea eax, [ebp - 0x28]
push ebx
push eax
push str.cur_desktop:_ls__handle:_p
call fcn.1001bfbe
add esp, 0xc
cmp ebx, edi
je 0x1001bc84
cmp dword [ebp - 0x18], edi
je 0x1001bc84
mov eax, dword [esi + 0x40]
cmp eax, edi
je 0x1001bc40
push eax
call dword [sym.imp.USER32.dll_CloseDesktop]
push 0xffffffffffffffff
lea eax, [esi + 0x24]
mov dword [esi + 0x40], ebx
push eax
xor ebx, ebx
lea eax, [ebp - 0x2c]
call fcn.10001a8c
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x1001bc61
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push edi
push esi
push 0x1001bd76
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
mov dword [esi + 0x20], eax
push 1
lea esi, [ebp - 0x2c]
call fcn.10001b39
xor eax, eax
inc eax
jmp 0x1001bc91
push edi
push 1
lea esi, [ebp - 0x2c]
call fcn.10001b39
xor eax, eax
call fcn.10023c3d
ret
Function at 0x1001bfbe
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2028
call fcn.10035830
mov eax, dword [0x1004a300]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
call fcn.1001c0a1
test al, al
je 0x1001c094
xor eax, eax
mov word [ebp - 0x80c], ax
mov word [ebp - 0x100c], ax
push str.__ls__ls
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x10041f20
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [ebp - 0x2028]
push eax
call fcn.1001bee3
cmp dword [eax + 0x18], 8
pop ecx
jb 0x1001c02f
mov eax, dword [eax + 4]
jmp 0x1001c032
add eax, 4
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x100c]
push 0x400
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
push 0
push 1
lea esi, [ebp - 0x2028]
call fcn.10001b39
xor eax, eax
mov word [ebp - 0x200c], ax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x100c]
push eax
push 0x800
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.10022b9f
leave
ret
Function at 0x1001c900
Capabilities:
Read file on windows

Disassembly:
push 0x2c
mov eax, 0x100393ed
call fcn.10023bba
mov eax, dword [ebp + 8]
or dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 7
xor ebx, ebx
mov dword [ebp - 4], ebx
xor edi, edi
push ebx
push 0x8000000
push 3
push ebx
push dword [ebp + edi*4 - 0x38]
push 0x80000000
push dword [ebp - 0x28]
call dword [0x1004db2c]
push eax
lea esi, [ebp - 0x20]
call fcn.1001c8c4
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x1001c969
cmp ecx, 0xffffffff
jne 0x1001c96f
inc edi
cmp edi, 4
jb 0x1001c939
cmp ecx, ebx
je 0x1001c97a
or eax, 0xffffffff
cmp ecx, eax
jne 0x1001c98a
lea eax, [ebp - 0x20]
call fcn.10004ba5
xor eax, eax
call fcn.10023c3d
ret
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push 0xc
lea eax, [ebp - 0x1c]
push eax
push ecx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x1c], 0x70bfbbef
jne 0x1001c9b7
cmp dword [ebp - 0x18], 0x706c646f
je 0x1001c9c3
lea eax, [ebp - 0x20]
call fcn.10004ba5
mov eax, ebx
jmp 0x1001c984
mov eax, dword [ebp - 0x14]
dec eax
dec eax
je 0x1001c9d2
dec eax
jne 0x1001c9b7
push 3
pop ebx
jmp 0x1001c9b7
push 2
jmp 0x1001c9cf

Function at 0x1001ca1b
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x190
mov eax, dword [esp + 8]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
add eax, ecx
shr edx, 0x10
xor byte [eax], dl
inc ecx
cmp ecx, 0x1000
jl 0x1001ca20
ret
Function at 0x1001cacc
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x10], ebx
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
mov edi, 0x1000
cmp dword [ebp - 0xc], ebx
ja 0x1001cb09
jb 0x1001cc08
cmp eax, edi
jb 0x1001cc08
push 1
lea eax, [ebp - 0x14]
push eax
push ebx
mov dword [ebp - 0x20], esi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
call esi
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
call esi
push ebx
lea eax, [ebp - 4]
push eax
push edi
mov edi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001cbef
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [edi], 0x70bfbbef
jne 0x1001cbef
cmp dword [edi + 4], 0x706c646f
jne 0x1001cbef
mov eax, dword [edi + 8]
cmp eax, 2
je 0x1001cb78
cmp eax, 3
jne 0x1001cbef
push dword [edi + 0x18c]
push edi
call fcn.1001ca1b
pop ecx
pop ecx
cmp byte [edi + 0x4a3], bl
jne 0x1001cbd0
cmp dword [edi + 0x1a0], 0x40
ja 0x1001cbd0
mov eax, 0x270f
cmp word [edi + 0x190], ax
ja 0x1001cbd0
movzx eax, word [edi + 0x192]
cmp ax, 1
jb 0x1001cbd0
cmp ax, 0xc
ja 0x1001cbd0
movzx eax, word [edi + 0x196]
cmp ax, 1
jb 0x1001cbd0
cmp ax, 0x1f
ja 0x1001cbd0
xor edi, edi
inc edi
jmp 0x1001cbd2
xor edi, edi
cmp dword [ebp - 0x1c], ebx
jne 0x1001cbeb
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x20]
call esi
mov eax, edi
jmp 0x1001cc0a
cmp dword [ebp - 0x1c], ebx
jne 0x1001cc08
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x20]
call esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001f37e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
test edx, edx
je 0x1001f3a2
push esi
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x1004b5c8]
dec edx
inc ecx
test edx, edx
jne 0x1001f386
pop esi
not eax
ret

Function at 0x1001f482
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x130
mov eax, dword [0x1004a300]
xor eax, ebp
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x74]
and dword [ebp - 0xc4], 0
push esi
push edi
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x78]
push 0x3f
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x3f]
push 0
push eax
mov byte [ebp - 0x40], 0
call fcn.10025220
mov esi, 0x10041cec
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov al, byte [ebp + ecx - 0x40]
mov dl, al
xor dl, 0x36
xor al, 0x5c
mov byte [ebp + ecx - 0x9c], dl
mov byte [ebp + ecx], al
inc ecx
cmp ecx, 0x40
jb 0x1001f4d2
lea eax, [ebp - 0x5c]
call fcn.10022558
lea eax, [ebp - 0x9c]
push eax
push 0x40
pop eax
lea esi, [ebp - 0x5c]
call fcn.10022583
push dword [ebp - 0xc0]
mov eax, dword [ebp + 0x7c]
call fcn.10022583
lea eax, [ebp + 0x54]
push eax
mov ecx, esi
call fcn.1002261b
lea eax, [ebp - 0xb8]
call fcn.10022558
lea eax, [ebp]
push eax
push 0x40
pop eax
lea esi, [ebp - 0xb8]
call fcn.10022583
lea eax, [ebp + 0x54]
push eax
push 0x14
pop eax
call fcn.10022583
lea eax, [ebp + 0x40]
push eax
mov ecx, esi
call fcn.1002261b
mov esi, dword [ebp - 0xbc]
add esp, 0x18
push 0x14
lea eax, [ebp + 0x40]
push eax
call fcn.1000b9ec
mov ecx, dword [ebp + 0x68]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10022b9f
add ebp, 0x6c
leave
ret
Function at 0x1001f57c
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x1004a300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x144], 0
push esi
push edi
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0xc]
push 0x3f
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0xa7]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0xa8], 0
call fcn.10025220
add esp, 0xc
cmp dword [ebp + 0x14], 0x40
ja 0x1001f5e1
push dword [ebp + 0x14]
lea eax, [ebp - 0xa8]
push esi
push eax
call fcn.10025c20
add esp, 0xc
jmp 0x1001f61a
lea eax, [ebp - 0x138]
call fcn.100226dc
mov eax, dword [ebp + 0x14]
push esi
lea ecx, [ebp - 0x138]
call fcn.1002271c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x138]
call fcn.100227a8
pop ecx
pop ecx
push 0x10
pop ecx
lea esi, [ebp - 0x28]
lea edi, [ebp - 0xa8]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov al, byte [ebp + ecx - 0xa8]
mov dl, al
xor dl, 0x36
xor al, 0x5c
mov byte [ebp + ecx - 0x48], dl
mov byte [ebp + ecx - 0x110], al
inc ecx
cmp ecx, 0x40
jb 0x1001f61c
lea eax, [ebp - 0xd0]
call fcn.100226dc
lea eax, [ebp - 0x48]
push eax
push 0x40
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002271c
push dword [ebp - 0x13c]
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xd0]
call fcn.1002271c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xd0]
call fcn.100227a8
lea eax, [ebp - 0xd0]
call fcn.100226dc
lea eax, [ebp - 0x110]
push eax
push 0x40
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002271c
lea eax, [ebp - 0x28]
push eax
push 0x20
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002271c
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xd0]
call fcn.100227a8
mov esi, dword [ebp - 0x140]
add esp, 0x18
push 0x20
lea eax, [ebp - 0x68]
push eax
call fcn.1000b9ec
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10022b9f
leave
ret
Function at 0x100200f1
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 2]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 3]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 4]
push ebx
push esi
movzx esi, byte [eax + 5]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 6]
movzx ebx, byte [eax + 0xd]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 7]
push edi
movzx edi, byte [eax + 9]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 8]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xa]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xb]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xc]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl edi, 8
or edi, ebx
shl edi, 8
or edi, eax
xor ecx, 0xa3b1bac6
xor edx, 0x56aa3350
xor esi, 0x677d9197
xor edi, 0xb27022dc
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
xor ecx, ecx
mov eax, dword [ecx + 0x10041140]
xor eax, dword [ebp + ecx - 0x20]
xor eax, dword [ebp + ecx - 0x18]
xor eax, dword [ebp + ecx - 0x1c]
mov edx, eax
shr edx, 0x18
mov ebx, eax
movzx edx, dl
mov dl, byte [edx + 0x10041030]
shr ebx, 0x10
mov byte [ebp + 0x70], dl
mov byte [ebp + 0x6d], bl
movzx edx, byte [ebp + 0x6d]
mov dl, byte [edx + 0x10041030]
mov ebx, eax
movzx eax, al
mov al, byte [eax + 0x10041030]
mov byte [ebp + 0x73], al
movzx eax, byte [ebp + 0x70]
shr ebx, 8
movzx edx, dl
shl eax, 8
or eax, edx
movzx esi, bl
mov bl, byte [esi + 0x10041030]
shl eax, 8
movzx edx, bl
or eax, edx
movzx edx, byte [ebp + 0x73]
shl eax, 8
or eax, edx
mov edx, eax
rol edx, 0xd
mov esi, eax
ror esi, 9
xor edx, esi
xor edx, dword [ebp + ecx - 0x24]
xor edx, eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp + ecx - 0x14], edx
mov dword [ecx + eax], edx
add ecx, 4
cmp ecx, 0x80
jb 0x100201a0
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret
Function at 0x10020882
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push 0x2c
mov eax, 0x10039676
call fcn.10023bba
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor esi, esi
mov eax, edi
mov dword [ebp - 0x30], esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100208a1
sub eax, ecx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0xf
call fcn.10001d18
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x30], 0
mov dword [ebp - 4], esi
jbe 0x100209a6
jmp 0x100208d2
mov edi, dword [ebp + 0xc]
movsx eax, byte [esi + edi]
mov al, byte [eax + 0x10040fb0]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x100208e6
cmp al, 0xff
je 0x100208d2
cmp al, 0xff
je 0x100209a6
movsx ecx, byte [esi + edi]
mov cl, byte [ecx + 0x10040fb0]
inc esi
mov byte [ebp - 0x32], cl
cmp esi, dword [ebp - 0x30]
jae 0x10020906
cmp cl, 0xff
je 0x100208ee
cmp cl, 0xff
je 0x100209a6
sar cl, 4
shl al, 2
and cl, 3
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.1000beeb
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x100209a6
movsx eax, al
mov al, byte [eax + 0x10040fb0]
mov byte [ebp - 0x31], al
cmp esi, dword [ebp - 0x30]
jae 0x10020946
cmp al, 0xff
je 0x10020926
cmp al, 0xff
je 0x100209a6
mov cl, al
mov al, byte [ebp - 0x32]
sar cl, 2
shl al, 4
and cl, 0xf
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.1000beeb
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x100209a6
movsx eax, al
mov cl, byte [eax + 0x10040fb0]
cmp esi, dword [ebp - 0x30]
jae 0x10020984
cmp cl, 0xff
je 0x10020966
cmp cl, 0xff
je 0x100209a6
mov al, byte [ebp - 0x31]
shl al, 6
or al, cl
movzx eax, al
push eax
lea edi, [ebp - 0x2c]
call fcn.1000beeb
cmp esi, dword [ebp - 0x30]
jb 0x100208cf
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.100017ab
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10001a41
mov eax, dword [ebp - 0x38]
call fcn.10023c3d
ret

Function at 0x10020c16
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
shl eax, 4
pop edx
mov esi, ecx
lea edi, [eax + ecx + 0x3c]
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, edi
mov bl, byte [ecx]
xor byte [esi + eax], bl
inc eax
add ecx, edx
cmp eax, edx
jl 0x10020c30
inc edi
add esi, edx
dec dword [ebp - 4]
jne 0x10020c2c
pop edi
pop esi
pop ebx
leave
ret