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

Disassembly:
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.1e7a38e1
push edx
or dl, byte [ebx]
out dx, eax
lea eax, [ebp - 0x72c]
push eax
call fcn.1e7a38f1
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1e7a38a6
add esp, 0xc
mov dword [ebp - 0x6e4], eax
call fcn.1e7a38e1
xchg edi, eax
mov al, 4
jo 0x1e7a4d87
test esi, ebx
clc
invalid
test eax, ebp
clc
invalid

Function at 0x1e7a5aa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sbb byte [edx + eax - 0x6a], dh
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.1e7a38e1
pop eax
aam 0x8b
xchg esi, eax
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.1e7a38e1
add dword [edx - 0x74b6222d], eax
xor al, 0x8b
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x1e7a5ace
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x1e7a5ace
call fcn.1e7a38e1
xchg ebx, eax
salc
std
sub cl, byte [ebx - 0x20fcdba6]
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.1e7a38e1
and al, 0x4a
and al, 0x4b
push dword [ebp + 8]
push dword [ebp + 4]
push dword [ebp]
call fcn.1e7a40e1
or al, 0x8b
dec eax
add al, 0x8b
push ecx
sbb byte [eax - 1], dl
rol byte [ebx - 0x17a9fb3c], cl
xor byte [ebp], bl
add byte [ebx - 0x3ca1fb3c], al
int3

Function at 0x1e7a7500
Capabilities:
Compare security identifiers

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 4], 0x1e7ba2c0
je 0x1e7a751c
mov eax, dword [sym.imp.python27.dll__Py_NotImplementedStruct]
inc dword [eax]
mov eax, dword [sym.imp.python27.dll__Py_NotImplementedStruct]
ret 8
mov eax, dword [eax + 8]
mov ecx, dword [ecx + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov ecx, dword [esp + 8]
cmp ecx, 2
jne 0x1e7a7541
test eax, eax
je 0x1e7a754a
mov eax, dword [sym.imp.python27.dll__Py_TrueStruct]
inc dword [eax]
ret 8
cmp ecx, 3
jne 0x1e7a7554
test eax, eax
je 0x1e7a7537
mov eax, dword [sym.imp.python27.dll__Py_ZeroStruct]
inc dword [eax]
ret 8
mov eax, dword [sym.imp.python27.dll__Py_NotImplementedStruct]
inc dword [eax]
ret 8
Function at 0x1e7ab3a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x1e7ba8b8]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x1e7ab3dc
cmp dword [esi + 4], edi
je 0x1e7ab3dc
mov ecx, dword [esi]
push ecx
call dword [sym.imp.python27.dll_PyThreadState_Delete]
mov edx, dword [0x1e7ba8b8]
add esp, 4
push edi
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [sym.pywintypes27.dll_struct__object__PyWinExc_ApiError]
mov dword [sym.pywintypes27.dll_struct__is__PyWin_InterpreterState], edi
cmp eax, edi
je 0x1e7ab402
dec dword [eax]
mov eax, dword [sym.pywintypes27.dll_struct__object__PyWinExc_ApiError]
cmp dword [eax], edi
jne 0x1e7ab402
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x18]
push eax
call edx
add esp, 4
mov eax, dword [sym.pywintypes27.dll_struct__object__PyWinExc_COMError]
mov dword [sym.pywintypes27.dll_struct__object__PyWinExc_ApiError], edi
cmp eax, edi
je 0x1e7ab428
dec dword [eax]
mov eax, dword [sym.pywintypes27.dll_struct__object__PyWinExc_COMError]
cmp dword [eax], edi
jne 0x1e7ab428
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x18]
push eax
call edx
add esp, 4
mov dword [sym.pywintypes27.dll_struct__object__PyWinExc_COMError], edi
pop edi
pop esi
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2a517b7d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..rsrc_1
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x12c75ef9
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x1000cd31
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1002cd97
call fcn.10017073
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x1000cdae
push 2
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x1000cdae
call fcn.10005a99
mov esi, eax
jmp 0x1000ce85
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x1000cdd1
call fcn.10005a99
jmp 0x1000ce78
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x1000cdc7
push ebx
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x1000ce01
mov esi, 0x8007000e
jmp 0x1000ce7a
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.10017ebb
jmp 0x1000ce27
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x1000cdfa
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x1000cdc7
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.10017ebb
mov esi, eax
test edi, edi
je 0x1000ce85
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000ce9e
lea ecx, [ebp - 0x418]
call fcn.1000c4af
mov eax, esi
call fcn.10016fc0
ret 0x10
Function at 0x100123e7
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x1002d2cf
call fcn.10016fd1
mov ebx, ecx
mov eax, dword [ebx]
xor edi, edi
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x1002f4d0]
mov ecx, ebx
call esi
push eax
lea ecx, [ebp - 0x10]
call fcn.10017ebb
and dword [ebp - 4], edi
lea esi, [ebx + 0x44]
cmp dword [esi], edi
je 0x10012492
push str.Excel.Application
lea ecx, [ebp - 0x10]
call fcn.10017ebb
mov ecx, dword [esi]
test al, al
je 0x10012474
push 0xb
pop eax
mov word [ebp - 0x20], ax
xor eax, eax
mov word [ebp - 0x18], ax
sub esp, 0x10
mov byte [ebp - 4], 1
mov edi, esp
lea esi, [ebp - 0x20]
push 1
movsd dword es:[edi], dword [esi]
push str.Close
push ecx
push eax
movsd dword es:[edi], dword [esi]
push 1
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10017ebb
add esp, 0x28
mov byte [ebp - 4], 0
mov edi, eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
lea esi, [ebx + 0x44]
jmp 0x1001248b
push 0
push str.Close
push ecx
push 0
push 1
push ebx
call fcn.10017ebb
add esp, 0x18
mov edi, eax
mov ecx, esi
call fcn.10009bb3
cmp dword [ebx + 0x24], 0
je 0x100124b2
push str.Excel.Application
lea ecx, [ebp - 0x10]
call fcn.10017ebb
test al, al
je 0x100124b2
push dword [ebx + 0x24]
call dword [sym.imp.kernel32.dll_DeleteFileW]
push dword [ebp - 0x10]
call dword [sym.imp.oleaut32.dll_SysStringLen]
mov eax, edi
call fcn.10016f9a
ret
Function at 0x100133d0
Capabilities:
Copy file
Set file attributes

Disassembly:
push 0x214
mov eax, 0x1002d3b0
call fcn.10017005
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x21c], eax
cmp dword [ebx + 8], 0
je 0x100133fb
mov eax, reloc.oleaut32.dll_VariantCopyInd
jmp 0x10013586
mov eax, dword [ebx - 0xc]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x1002f4d0]
lea ecx, [ebx - 0xc]
call esi
mov ecx, dword [ebx + 0x14]
test ecx, ecx
jne 0x1001341f
mov eax, 0x80004005
jmp 0x10013586
mov edx, dword [ebp + 0x10]
mov esi, reloc.oleaut32.dll_SysReAllocString
mov eax, edx
and eax, esi
cmp eax, esi
push dword [ebp - 0x21c]
sete al
mov byte [ecx + 0x31], al
lea ecx, [esi + 2]
mov eax, edx
and eax, ecx
cmp eax, ecx
mov eax, dword [ebx + 0x14]
sete cl
mov byte [eax + 0x32], cl
lea eax, [esi + 6]
and edx, eax
cmp edx, eax
mov eax, dword [ebx + 0x14]
sete cl
mov byte [eax + 0x33], cl
mov ecx, dword [ebx + 0x14]
add ecx, 0x28
call fcn.10017ebb
mov edi, dword [ebx + 0x14]
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x1002f4d0]
mov ecx, edi
call esi
push eax
lea ecx, [ebp - 0x220]
call fcn.10017ebb
xor esi, esi
lea ecx, [ebp - 0x220]
push str.Excel.Application
mov dword [ebp - 4], esi
call fcn.10017ebb
test al, al
je 0x1001355e
push 0x208
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.100194b0
mov edi, dword [ebp - 0x21c]
push 0x5c
push edi
call fcn.10017ebb
add esp, 0x14
test eax, eax
jne 0x100134d8
push 0x2f
push edi
call fcn.10017ebb
pop ecx
pop ecx
test eax, eax
je 0x100134f8
add eax, 2
push 0x2e
push eax
call fcn.10017ebb
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.10017ebb
add esp, 0x14
cmp word [ebp - 0x218], si
je 0x10013557
push esi
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.kernel32.dll_CopyFileW]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.10017ebb
pop ecx
pop ecx
mov ecx, dword [ebx + 0x14]
add ecx, 0x24
test eax, eax
jne 0x10013549
lea eax, [ebp - 0x218]
push eax
call fcn.10017ebb
push 0x80
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
jmp 0x1001354f
push edi
call fcn.10017ebb
mov eax, dword [ebx + 0x14]
add eax, 0x24
jmp 0x1001356f
mov esi, 0x80004005
jmp 0x10013578
mov ecx, dword [ebx + 0x14]
push dword [ebp - 0x21c]
add ecx, 0x24
call fcn.10017ebb
push eax
lea ecx, [ebx + 0x10]
call fcn.10017ebb
push dword [ebp - 0x220]
call dword [sym.imp.oleaut32.dll_SysStringLen]
mov eax, esi
call fcn.10016faf
ret 0xc
Function at 0x10013c40
Capabilities:
Terminate process

Disassembly:
push 0x81c
mov eax, 0x1002d483
call fcn.10017005
mov ebx, ecx
xor ecx, ecx
lea edi, [ebx + 0x40]
mov esi, ecx
mov dword [ebp - 0x818], ecx
mov dword [ebp - 0x814], ecx
cmp dword [edi], ecx
je 0x10013d7c
push 0x10
push ecx
lea eax, [ebp - 0x828]
push eax
call fcn.100194b0
add esp, 0xc
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.oleaut32.dll_VariantClear]
push esi
push str.Caption
push dword [edi]
lea eax, [ebp - 0x828]
mov dword [ebp - 4], esi
push eax
push 2
push ebx
call fcn.10017ebb
add esp, 0x18
test eax, eax
jne 0x10013ce1
push dword [ebp - 0x820]
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.10017ebb
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push esi
call dword [sym.imp.user32.dll_FindWindowW]
mov dword [ebp - 0x814], eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x818]
push ecx
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x1002f4d0]
mov ecx, ebx
call esi
mov esi, eax
test esi, esi
js 0x10013d20
cmp dword [ebp - 0x818], 0
jne 0x10013d20
push 0
push str.Quit
push dword [edi]
push 0
push 1
push ebx
call fcn.10017ebb
add esp, 0x18
mov esi, eax
mov ecx, edi
call fcn.10009bb3
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
mov eax, dword [ebp - 0x814]
test eax, eax
je 0x10013d7c
cmp dword [ebp - 0x818], 0
jne 0x10013d7c
test esi, esi
jns 0x10013d7c
and dword [ebp - 0x814], 0
lea ecx, [ebp - 0x814]
push ecx
push eax
call dword [sym.imp.user32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x814]
push 1
push 0x1fffff
call dword [sym.imp.kernel32.dll_OpenProcess]
push 1
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
mov eax, esi
call fcn.10016faf
ret
Function at 0x10015217
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x1002d711
call fcn.10017005
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10015234
xor eax, eax
jmp 0x10015311
xor edi, edi
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x1001530f
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.kernel32.dll_Process32FirstW
jmp 0x100152e5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.1000128b
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], edi
call fcn.1000128b
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.10001cc6
lea ecx, [ebp - 0x240]
call fcn.10001cc6
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.10017ebb
pop ecx
pop ecx
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
test al, al
jne 0x100152ef
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10001eb4
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x10015264
jmp 0x10015308
mov edi, dword [ebp - 0x234]
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.10001eb4
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10016faf
ret

Function at 0x10017ebb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x10017eca
pop dword [ebp - 0x1c]
mov eax, 0x47c86862
add eax, 0xc8391668
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x4133c
push 0
mov eax, 0x6cd2733e
sub eax, 0x5ccf81e2
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0x2ec34b35
sub ecx, 0x2ec2ff67
mov esi, eax
mov edi, 0x86b09bab
add edi, 0x89541055
add edi, dword [ebp - 0x1c]
mov ebx, 0xc759aa6e
sub ebx, 0x823b9a0a
mov dword [ebp - 0xc], 0x4212961
mov edx, dword [edi]
xor dword [ebp - 8], 0xca4627df
xor edx, ebx
sub dword [ebp - 8], 0xc9b3b38e
mov dword [esi], edx
xor dword [ebp - 0x10], 0x185ce1fd
add esi, 4
add edi, 0x3d61bfa2
add edi, 0xc29e4062
loop 0x10017f29
add eax, 0x1220b
mov ebx, eax
add eax, 5
mov ecx, 0x2271a85d
sub ecx, 0x1271a85d
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x10085f60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x110]
mov esi, ecx
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x128], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10085fb0
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.100b2fb0
push 0x100fb2fc
lea ecx, [ebp - 0x128]
call fcn.100b26a0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x114]
cmp edx, 0x10
jb 0x10086041
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10086037
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086052
push edx
push ecx
call fcn.100bede4
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100be889
mov esp, ebp
pop ebp
ret
call fcn.100cb7f0
int3
Function at 0x10086a50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x110]
mov esi, ecx
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x128], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10086aa0
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.100b2fb0
push 0x100fb2fc
lea ecx, [ebp - 0x128]
call fcn.100b26a0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x114]
cmp edx, 0x10
jb 0x10086b31
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10086b27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086b42
push edx
push ecx
call fcn.100bede4
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100be889
mov esp, ebp
pop ebp
ret
call fcn.100cb7f0
int3
Function at 0x1008b050
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x20]
push esi
push edi
add eax, 0xc
mov dword [ebp - 0x10], 0
push eax
mov dword [ebp - 0xc], 0xf
mov byte [ebp - 0x20], 0
call fcn.100b5970
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov esi, dword [ebp - 0xc]
mov eax, esi
cmovae ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x18]
mov edx, dword [ebp - 0x10]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x1008b0c3
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
lea esi, [eax + edx]
push esi
call fcn.100c22c0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x1008b0d3
mov byte [ebp - 8], 0
lea ecx, [ebp - 0x20]
push dword [ebp - 8]
push edi
call fcn.100b4450
push str.logins.json
lea ecx, [ebp - 0x20]
call fcn.100b26a0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 8]
call fcn.100b2760
mov edx, dword [ebp - 0xc]
cmp edx, 0x10
jb 0x1008b120
mov ecx, dword [ebp - 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008b116
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008b214
push edx
push ecx
call fcn.100bede4
add esp, 8
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push 0x100fb36c
cmovae eax, dword [ebp + 8]
push eax
call fcn.100c897d
add esp, 8
test eax, eax
je 0x1008b1d4
push eax
call fcn.100c8a0b
push 0x186a0
call fcn.100c5243
add esp, 8
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov esi, eax
cmovae ecx, dword [ebp + 8]
push 0
push 0x80
push 4
push 0
push 7
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x1008b192
push 0
lea ecx, [ebp - 8]
push ecx
push 0x186a0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1008b1c2
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008b1b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008b219
push edx
push ecx
call fcn.100bede4
add esp, 8
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100be889
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1008b204
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008b1fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008b21e
push edx
push ecx
call fcn.100bede4
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100be889
mov esp, ebp
pop ebp
ret
call fcn.100cb7f0
call fcn.100cb7f0
call fcn.100cb7f0
int3
Function at 0x100dd1ae
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100dd024

Function at 0x40189c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x14]
mov ebx, esi
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call fcn.0040186a
cmp eax, dword [ebp + 8]
jne 0x4018c7
mov eax, dword [ebx + 0x10]
jmp 0x4018d4
mov ebx, dword [ebx]
test ebx, ebx
je 0x4018d1
cmp esi, ebx
jne 0x4018b2
or eax, 0xffffffff
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x4018db
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
xor esi, esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x3c]
mov edi, dword [ebx + eax + 0x78]
add edi, ebx
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
add eax, ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x20], eax
cmp esi, dword [edi + 0x18]
jae 0x401941
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x24], ecx
mov dword [esp + 4], eax
mov eax, dword [edx + esi*4]
add eax, ebx
mov dword [esp], eax
call fcn.00401824
cmp eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
jne 0x40193e
mov eax, dword [ebp - 0x20]
add esi, esi
add esi, eax
movzx eax, word [esi + ebx]
lea eax, [ecx + eax*4]
add ebx, dword [eax + ebx]
mov eax, ebx
jmp 0x401941
inc esi
jmp 0x401903
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x58bbaa
Capabilities:
Encode data using xor

Disassembly:
push ds
invalid
adc ch, ch
mov al, 0xbd
test dword [ecx + esi*2 + 0x50], eax
xchg byte [ebp + 0x5791cfc7], ah
enter 0x4028, 0xf
fcomp qword [ebp - 0x1f]
mov eax, dword [0x58a28225]
sub ebx, dword [esi + ebp*8]
or esi, dword [ebp + 0x219b03d]
fsubrp st(5)
push cs
inc ebx
add esp, edi
std
inc esi
dec edi
cmp eax, 0x331d726d
and byte [ecx - 0x35], al
loop 0x58bb2a
movsd dword es:[edi], dword [esi]
invalid
add edx, ebp
loop 0x58bb87
call dword [edx]
movsd dword es:[edi], dword [esi]
test al, 0x61
retf 0xfd2c
adc ah, byte [ebp - 0x35c99e58]
sub al, 0xfd
xchg esi, eax
pop ebx
pop ds
wait
outsd dx, dword [esi]
dec edx
xchg edx, eax
les esp, [edx]
sbb dl, byte [edx]
sub al, 0x46
imul ecx, dword [0x3a4f3ea6], 0xffffffcc
or dl, bl
sub bl, dl
test edi, ecx
cmp dword [ecx - 0x39618d9e], esp
loope 0x58bb57
jb 0x58bb4e
invalid
lodsd eax, dword [esi]
pop ebx
sub dword [edx + 0x1e409eef], ecx
inc edi
xor edi, dword [edi]
cmp al, byte [esi]
add ah, byte [eax]
mov edi, 0xe7c1b710
mov edi, 0xdbcbecf3
loop 0x58bbae
dec ebx
popal
sti
mov edx, 0xeaeb3aa3
call 0x62a90a23
bound edi, qword [ebx]
jnp 0x58bb9a
aas
lahf
test eax, 0x4038fc82
invalid

Function at 0x5c1364
Capabilities:
Encode data using xor

Disassembly:
inc ebx
invalid
xor dword [esi + 0x31], esi
mov esi, 0x1c42aa55
sub byte [eax + 0x3d], dl
fst qword [edi]
mov dword [esi + 0x47ed4950], 0xc300f36e
mov esi, 0xfa78f04d
inc ecx
mov dl, 0xd1
inc eax
cmp ah, byte [edi + 0x5650e9e7]
jno 0x5c1317
pop ds
cmp ecx, dword [eax]
dec eax
add cl, cl
mov byte [0xcbcdeb2e], al
cmpsb byte [esi], byte es:[edi]
inc esi
add dword [ebp - 0x36c7d5d], edx
mov ecx, 0xcbd49832
cwde
aam 0xcb
push ss
call dword [esi*2 + 0x4d770fdb]
xchg byte [edx], dh
salc
xor dl, byte [ebp + esi - 0x25cf5153]
shl ebx, 0x8e
jbe 0x5c13a3
dec eax
xor eax, 0x6532551d
test al, 0xd3
clc
dec esp
sahf
mov cl, 0x15
mov cl, 0x50
mov al, byte [0x8f7a1128]
imul ecx, edi, 0xc1474768
frstor dword [esi]
and eax, 0xa02d4d1d
fidiv word [eax - 0x20]
ret 0x9429