joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403a07
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x41b424]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x114], eax
call fcn.00403765
test eax, eax
je 0x403a4b
cmp byte [ebp + 8], 0
jne 0x403a4b
call fcn.004021e9
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040588a
leave
ret
mov ebx, str.NoNoItsNotHere
mov esi, ebx
lea edi, [ebp - 0x110]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push 0xf5
xor esi, esi
lea eax, [ebp - 0x101]
push esi
push eax
call fcn.0040ff00
mov ecx, dword [ebp - 0x114]
add esp, 0xc
lea edi, [ebp - 0x110]
call fcn.0040179e
test al, al
jne 0x403a98
mov eax, edi
push eax
push esi
push esi
push 0x1c
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push 0xf
mov edi, ebx
lea esi, [ebp - 0x110]
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x403aae
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x403a3a
lea eax, [ebp - 0x110]
push eax
push str._sGoogleChromeUser_DataDefaultPreferences
push 0x104
push eax
call fcn.00405899
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x403b16
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x403b16
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x110]
push eax
call fcn.00403815
pop ecx
jmp 0x403a3a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x403a3c
Function at 0x403b24
Capabilities:
Delete directory
Move file
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74c
mov eax, dword [0x41b424]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.004035f5
pop ecx
lea eax, [ebp - 0x530]
push eax
call fcn.004035f5
pop ecx
lea eax, [ebp - 0x428]
push eax
call fcn.004035f5
mov dword [esp], 0x418094
mov esi, 0x104
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.00405995
add esp, 0xc
mov ebx, str.PSText.dll
push ebx
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.00405995
add esp, 0xc
push str.icon.ico
lea eax, [ebp - 0x428]
push esi
push eax
call fcn.00405995
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
add esp, 0xc
push 5
push 0
lea eax, [ebp - 0x428]
push eax
call edi
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.DllUnregisterServer
push eax
mov dword [ebp - 0x744], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x403bdf
call eax
push dword [ebp - 0x744]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 5
push 0
lea eax, [ebp - 0x110]
push eax
call edi
push esi
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 5
push 0
lea eax, [ebp - 0x110]
push eax
call edi
lea eax, [ebp - 0x530]
push eax
lea eax, [ebp - 0x320]
push esi
push eax
call fcn.004058d8
add esp, 0xc
lea eax, [ebp - 0x530]
push eax
lea eax, [ebp - 0x638]
push esi
push eax
call fcn.004058d8
add esp, 0xc
push 0x418094
lea eax, [ebp - 0x320]
push esi
push eax
call fcn.00405995
add esp, 0xc
push 0x418af8
lea eax, [ebp - 0x320]
push esi
push eax
call fcn.00405995
add esp, 0xc
push ebx
push str._s.tmp
lea eax, [ebp - 0x638]
push esi
push eax
call fcn.00405899
add esp, 0x10
push 5
xor ebx, ebx
push ebx
lea eax, [ebp - 0x320]
push eax
call edi
push 5
push ebx
lea eax, [ebp - 0x638]
push eax
call edi
lea eax, [ebp - 0x740]
push eax
call fcn.004035f5
pop ecx
lea eax, [ebp - 0x740]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 5
push ebx
lea eax, [ebp - 0x740]
push eax
call edi
call fcn.00402eef
xor ecx, ecx
call fcn.00402cd9
lea eax, [ebp - 0x748]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallPlaysushi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x403d56
push 0x103
lea eax, [ebp - 0x217]
push ebx
push eax
mov byte [ebp - 0x218], bl
call fcn.0040ff00
add esp, 0xc
lea eax, [ebp - 0x744]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push str.RecordedProfilePath
push dword [ebp - 0x748]
mov dword [ebp - 0x744], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x403d4a
lea ecx, [ebp - 0x218]
call fcn.00402cd9
lea eax, [ebp - 0x218]
push eax
push ebx
call fcn.00403a07
pop ecx
pop ecx
push dword [ebp - 0x748]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040588a
leave
ret
Function at 0x403d65
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x41b424]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push dword [ebp + 8]
call fcn.00403a07
pop ecx
pop ecx
cmp byte [ebp + 8], bl
jne 0x403d9c
call fcn.00403b24
call fcn.004036a8
jmp 0x403e1c
mov esi, 0x104
push esi
lea eax, [ebp - 0x114]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x44
lea eax, [ebp - 0x274]
push ebx
push eax
call fcn.0040ff00
xor eax, eax
lea edi, [ebp - 0x22c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
lea eax, [ebp - 0x114]
push eax
push str.cmd.exe__c__ping_127.0.0.1__n_6__del___s___F__Q__
lea eax, [ebp - 0x21c]
push esi
push eax
mov dword [ebp - 0x274], 0x44
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x10
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x274]
push eax
push ebx
push ebx
push 0x8000000
push 1
push ebx
push ebx
lea eax, [ebp - 0x21c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040588a
leave
ret

Function at 0x40588a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41b424]
jne 0x405894
repz ret
jmp fcn.004074da
Function at 0x4109fd
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00408a0c
and dword [ebp - 4], 0
cmp dword [0x41cff4], 0
mov ebx, eax
jne 0x410aae
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x410b5f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x417610
push edi
call esi
test eax, eax
je 0x410b5f
push eax
call fcn.0040899a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41cff4], eax
call esi
push eax
call fcn.0040899a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41cff8], eax
call esi
push eax
call fcn.0040899a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41cffc], eax
call esi
push eax
call fcn.0040899a
pop ecx
mov dword [0x41d004], eax
test eax, eax
je 0x410aae
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040899a
pop ecx
mov dword [0x41d000], eax
mov eax, dword [0x41d000]
cmp eax, ebx
je 0x410b06
cmp dword [0x41d004], ebx
je 0x410b06
push eax
call fcn.00408a15
push dword [0x41d004]
mov esi, eax
call fcn.00408a15
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x410b06
test edi, edi
je 0x410b06
call esi
test eax, eax
je 0x410afd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x410afd
test byte [ebp - 0xc], 1
jne 0x410b06
or dword [ebp + 0x10], 0x200000
jmp 0x410b3f
mov eax, dword [0x41cff8]
cmp eax, ebx
je 0x410b3f
push eax
call fcn.00408a15
pop ecx
test eax, eax
je 0x410b3f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x410b3f
mov eax, dword [0x41cffc]
cmp eax, ebx
je 0x410b3f
push eax
call fcn.00408a15
pop ecx
test eax, eax
je 0x410b3f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41cff4]
call fcn.00408a15
pop ecx
test eax, eax
je 0x410b5f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x410b61
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430000
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
nop
pushal
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42ffd9
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4afbf0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7d000]
push edi
jmp 0x4afc0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4afc11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4afc00
mov eax, 1
add ebx, ebx
jne 0x4afc23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4afc34
jne 0x4afc53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4afc53
dec eax
add ebx, ebx
jne 0x4afc40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4afc18
add ebx, ebx
jne 0x4afc4f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4afca5
xor ecx, ecx
sub eax, 3
jb 0x4afc6b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4afcda
sar eax, 1
mov ebp, eax
jmp 0x4afc76
add ebx, ebx
jne 0x4afc76
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4afc44
inc ecx
add ebx, ebx
jne 0x4afc84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4afc44
add ebx, ebx
jne 0x4afc91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4afc86
jne 0x4afca2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4afc86
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4afcc4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4afcb6
jmp 0x4afc06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4afcc4
add edi, ecx
jmp 0x4afc06
pop esi
mov edi, esi
mov ecx, 0x1076
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4afce2
cmp byte [edi], 0x12
jne 0x4afce2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4afce7
lea edi, [esi + 0xab000]
mov eax, dword [edi]
or eax, eax
je 0x4afd5f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb52e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb53ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4afd14
mov ecx, edi
jns 0x4afd43
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb53b0]
or eax, eax
je 0x4afd59
mov dword [ebx], eax
add ebx, 4
jmp 0x4afd31
call dword [esi + 0xb53c0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4afd90
cmp al, 0xef
ja 0x4afd83
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4afd65
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4afd72
mov ebp, dword [esi + 0xb53b4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4afdc4
sub esp, 0xffffff80
jmp 0x41d75a
Function at 0x10001560
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movzx eax, byte [edx]
push ebx
push esi
mov esi, ecx
mov byte [esi], al
movzx eax, byte [edx + 1]
mov byte [esi + 1], al
movzx eax, byte [edx + 2]
mov byte [esi + 2], al
movzx eax, byte [edx + 3]
mov byte [esi + 3], al
movzx eax, byte [edx + 4]
mov byte [esi + 4], al
movzx eax, byte [edx + 5]
mov byte [esi + 5], al
movzx eax, byte [edx + 6]
mov byte [esi + 6], al
movzx eax, byte [edx + 7]
mov byte [esi + 7], al
movzx eax, byte [edx + 8]
mov byte [esi + 8], al
movzx eax, byte [edx + 9]
mov byte [esi + 9], al
movzx eax, byte [edx + 0xa]
mov byte [esi + 0xa], al
movzx eax, byte [edx + 0xb]
mov byte [esi + 0xb], al
movzx eax, byte [edx + 0xc]
mov byte [esi + 0xc], al
lea eax, [esi + 0xd]
mov bl, byte [edx + 0xd]
mov byte [eax], bl
mov cl, byte [edx + 0xe]
mov byte [esi + 0xe], cl
mov cl, byte [edx + 0xf]
mov byte [esi + 0xf], cl
mov ecx, 4
mov dword [ebp - 8], ecx
nop
mov dh, byte [eax + 2]
mov dl, bl
mov bl, byte [eax + 1]
mov bh, byte [eax - 1]
mov byte [ebp - 2], bl
mov byte [ebp - 1], dh
test cl, 3
jne 0x10001633
movzx ecx, bl
movzx edx, dl
mov cl, byte [ecx + str.cw]
mov byte [ebp - 3], cl
movzx ecx, byte [ebp - 1]
mov cl, byte [ecx + str.cw]
mov byte [ebp - 2], cl
movzx ecx, bh
mov cl, byte [ecx + str.cw]
mov byte [ebp - 1], cl
mov ecx, dword [ebp - 8]
shr ecx, 2
mov bh, byte [ecx + 0x1003d818]
xor bh, byte [edx + str.cw]
mov dl, byte [ebp - 3]
mov cl, byte [eax - 0xd]
xor cl, bh
mov byte [eax + 3], cl
mov bl, byte [eax - 0xc]
xor bl, dl
lea edx, [eax + 4]
mov byte [edx], bl
mov cl, byte [eax - 0xb]
xor cl, byte [ebp - 2]
mov byte [eax + 5], cl
mov cl, byte [eax - 0xa]
xor cl, byte [ebp - 1]
mov byte [eax + 6], cl
mov eax, edx
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, 0x2c
jb 0x100015e0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001670
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, edx
mov esi, ecx
push edi
mov edi, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esi
sub edi, esi
mov ebx, 4
nop dword [eax]
mov edx, 4
mov al, byte [edi + ecx]
xor byte [ecx], al
inc ecx
sub edx, 1
jne 0x10001695
sub ebx, 1
jne 0x10001690
mov byte [ebp - 1], 1
nop dword [eax]
mov edi, esi
mov ebx, 4
nop word [eax + eax]
mov ecx, edi
mov edx, 4
nop word [eax + eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 4]
mov al, byte [eax + str.cw]
mov byte [ecx - 4], al
sub edx, 1
jne 0x100016d0
inc edi
sub ebx, 1
jne 0x100016c0
cmp byte [ebp - 1], 0xa
movzx eax, byte [esi + 5]
mov cl, byte [esi + 1]
mov byte [esi + 1], al
movzx eax, byte [esi + 9]
mov byte [esi + 5], al
movzx eax, byte [esi + 0xd]
mov byte [esi + 9], al
movzx eax, byte [esi + 0xa]
mov byte [esi + 0xd], cl
mov cl, byte [esi + 2]
mov byte [esi + 2], al
movzx eax, byte [esi + 0xe]
mov byte [esi + 0xa], cl
mov cl, byte [esi + 6]
mov byte [esi + 6], al
movzx eax, byte [esi + 0xf]
mov byte [esi + 0xe], cl
mov cl, byte [esi + 3]
mov byte [esi + 3], al
movzx eax, byte [esi + 0xb]
mov byte [esi + 0xf], al
movzx eax, byte [esi + 7]
mov byte [esi + 0xb], al
mov byte [esi + 7], cl
je 0x10001810
lea edi, [esi + 2]
lea esi, [edx + 4]
nop word [eax + eax]
mov bh, byte [edi + 1]
lea edi, [edi + 4]
mov al, byte [edi - 6]
mov bl, bh
mov ch, byte [edi - 4]
mov cl, al
mov dl, byte [edi - 5]
xor bl, ch
mov byte [ebp - 2], al
xor cl, dl
mov dh, bl
xor dh, al
mov al, cl
shr al, 7
add cl, cl
movzx eax, al
xor dh, dl
imul eax, eax, 0x1b
xor al, cl
mov cl, dl
xor al, byte [ebp - 2]
xor cl, ch
xor al, dh
mov byte [edi - 6], al
mov al, cl
shr al, 7
add cl, cl
movzx eax, al
imul eax, eax, 0x1b
xor al, cl
mov cl, byte [ebp - 2]
xor al, dl
xor cl, bh
xor al, dh
mov byte [edi - 5], al
mov al, bl
shr al, 7
add bl, bl
movzx eax, al
imul eax, eax, 0x1b
xor al, bl
xor al, ch
xor al, dh
mov byte [edi - 4], al
mov al, cl
shr al, 7
add cl, cl
movzx eax, al
imul eax, eax, 0x1b
xor al, cl
xor al, bh
xor al, dh
mov byte [edi - 3], al
sub esi, 1
jne 0x10001750
mov ch, byte [ebp - 1]
mov ebx, 4
mov esi, dword [ebp - 0xc]
mov eax, esi
movzx edx, ch
shl edx, 4
add edx, dword [ebp - 8]
mov edi, 4
mov cl, byte [edx]
inc edx
xor byte [eax], cl
inc eax
sub edi, 1
jne 0x100017f6
sub ebx, 1
jne 0x100017f1
inc ch
mov byte [ebp - 1], ch
jmp 0x100016b0
mov ecx, dword [ebp - 8]
mov edi, 4
add ecx, 0xa0
nop
mov edx, 4
mov al, byte [ecx]
inc ecx
xor byte [esi], al
inc esi
sub edx, 1
jne 0x10001825
sub edi, 1
jne 0x10001820
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001c10
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, edx
mov dword [ebp - 0x18], ecx
push esi
mov esi, dword [ebp + 8]
mov eax, 0xaaaaaaab
push edi
lea edi, [ebx + 2]
mov dword [ebp - 8], ebx
mul edi
xor edi, edi
mov dword [ebp - 0x10], 0
shr edx, 1
mov dword [ebp - 0x14], edi
lea ecx, [edx + edx*2]
test ecx, ecx
je 0x10001dd8
dec ecx
mov eax, 0xaaaaaaab
mul ecx
mov ecx, edx
shr ecx, 1
inc ecx
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x10]
cmp edx, ebx
sbb ebx, ebx
neg ebx
mov dword [ebp - 0x1c], ebx
cmp edi, dword [ebp - 8]
jae 0x10001c75
mov eax, dword [ebp - 0x18]
movzx ecx, byte [edi + eax]
inc edi
mov dword [ebp - 0x14], edi
jmp 0x10001c77
xor ecx, ecx
lea eax, [edx + 1]
add edx, 2
mov dword [ebp - 0x10], edx
cmp eax, dword [ebp - 8]
jae 0x10001c89
inc ebx
mov dword [ebp - 0x1c], ebx
cmp edi, dword [ebp - 8]
jae 0x10001ca1
mov eax, dword [ebp - 0x18]
movzx edx, byte [edi + eax]
inc edi
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
jmp 0x10001ca8
mov dword [ebp - 0xc], 0
mov eax, edx
inc edx
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 8]
cmp eax, edx
jae 0x10001cb9
inc ebx
mov dword [ebp - 0x1c], ebx
cmp edi, edx
jae 0x10001cca
mov eax, dword [ebp - 0x18]
movzx edx, byte [edi + eax]
inc edi
mov dword [ebp - 0x14], edi
jmp 0x10001ccc
xor edx, edx
cmp ebx, 1
jne 0x10001cee
shl ecx, 0x10
mov eax, 0xaaaaaaab
mov dword [ebp - 0xc], ecx
lea ecx, [ebx*4 + 2]
mul ecx
shr edx, 1
xor edi, edi
mov dword [ebp - 0x20], edx
jmp 0x10001d1f
shl ecx, 8
xor eax, eax
add ecx, dword [ebp - 0xc]
shl ecx, 8
cmp ebx, 2
cmovne eax, edx
xor edi, edi
add ecx, eax
mov eax, 0xaaaaaaab
mov dword [ebp - 0xc], ecx
lea ecx, [ebx*4 + 2]
mul ecx
mov eax, edx
shr eax, 1
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x10001d80
mov ebx, dword [ebp - 0xc]
mov edx, dword [esi + 0x14]
mov eax, 3
sub eax, edi
lea ecx, [eax + eax*2]
mov eax, ebx
add ecx, ecx
shr eax, cl
mov ecx, dword [esi + 0x10]
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 4], al
cmp ecx, edx
jae 0x10001d64
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x10001d57
mov eax, dword [esi]
mov dl, byte [ebp - 4]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x10001d77
push dword [ebp - 4]
mov byte [ebp - 0x28], 0
mov ecx, esi
push dword [ebp - 0x28]
push 1
call fcn.10002060
inc edi
cmp edi, dword [ebp - 0x20]
jl 0x10001d22
mov ebx, dword [ebp - 0x1c]
mov edi, 3
sub edi, ebx
test edi, edi
jle 0x10001dc8
nop dword [eax + eax]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x10001db1
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x10001da9
mov eax, dword [esi]
mov word [eax + ecx], 0x3d
jmp 0x10001dc3
push 0x3d
mov byte [ebp - 0x2c], 0
mov ecx, esi
push dword [ebp - 0x2c]
push 1
call fcn.10002060
sub edi, 1
jne 0x10001d90
sub dword [ebp - 0x24], 1
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 8]
jne 0x10001c57
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002300
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10002341
push 0
push 0
push 0
mov dword [ebp + 0xc], 5
mov eax, dword [ebp + 0xc]
xor eax, dword [ebp + 0xc]
push 0x100110a0
push 0x1000
push 0
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 0xc], 5
mov eax, dword [ebp + 0xc]
xor eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov eax, 1
pop ebp
ret 0xc
Function at 0x1000b840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031080
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1004300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100114aa
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.10013856
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000dbc0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 8
xorps xmm1, xmm1
movsd xmm0, qword [eax]
ucomisd xmm0, xmm1
push ebx
push esi
lahf
test ah, 0x44
jp 0x1000dbe7
movsd qword [esp + 8], xmm1
jmp 0x1000dbed
movsd qword [esp + 8], xmm0
mov ebx, dword [esp + 8]
mov ecx, ebx
movzx eax, bl
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
mov eax, dword [esp + 0xc]
shrd ecx, eax, 8
pop esi
movzx eax, cl
mov ecx, ebx
xor edx, eax
mov eax, dword [esp + 8]
shrd ecx, eax, 0x10
imul edx, edx, 0x1000193
movzx eax, cl
xor edx, eax
imul ecx, edx, 0x1000193
mov edx, dword [esp + 8]
mov eax, edx
shrd ebx, eax, 0x18
movzx eax, bl
xor ecx, eax
movzx eax, dl
imul ecx, ecx, 0x1000193
pop ebx
xor ecx, eax
movzx eax, dh
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esp + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esp + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov esp, ebp
pop ebp
ret 4