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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101dc354]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0x14]
xor esi, esi
and dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
lea eax, [ebp - 8]
push eax
push edi
push ebx
push dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
push ecx
mov ecx, ebx
call fcn.10125942
mov edi, eax
test edi, edi
jns 0x10125837
push 0x100549d4
push 1
push edi
push 0x4000000
call fcn.100ab973
add esp, 0x10
xor ebx, ebx
jmp 0x10125908
mov edi, 0x240
push edi
call fcn.100b84d0
mov esi, eax
pop ecx
test esi, esi
je 0x10125864
push edi
push 0
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov ecx, esi
push 1
call fcn.101249a8
mov esi, eax
xor eax, eax
jmp 0x10125868
xor eax, eax
mov esi, eax
test esi, esi
jne 0x1012588a
push 0x10020ea4
push 1
mov edi, 0x8007000e
push edi
push 0x4000000
call fcn.100ab973
add esp, 0x10
mov ebx, esi
jmp 0x10125908
push eax
push eax
push eax
push eax
push eax
push dword [ebx + 0x194]
mov ecx, esi
push dword [ebp - 8]
push ebx
call fcn.10148872
mov edi, eax
test edi, edi
jns 0x101258ad
push 0x10020ecc
jmp 0x101258e2
mov edx, esi
xor ecx, ecx
call fcn.101174cd
mov edi, eax
test edi, edi
jns 0x101258c3
push 0x10054b30
jmp 0x101258e2
push dword [ebp - 0x14]
mov ecx, esi
mov dword [ebx + 0x134], 1
call fcn.101480d1
mov edi, eax
test edi, edi
jns 0x101258f2
push 0x10054b58
push 1
push edi
push 0x4000000
call fcn.100ab973
add esp, 0x10
cmp byte [esi + 0x10], 0
mov ebx, esi
je 0x10125908
mov ecx, 0x101dd3d0
call fcn.10117652
mov byte [esi + 0x10], 0
lea ecx, [ebp - 8]
call fcn.100b6264
test ebx, ebx
je 0x1012592f
mov eax, dword [esi + 4]
add esi, 4
mov eax, dword [eax + 4]
add eax, esi
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x101e07c0]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b88c0
leave
ret 0x14
Function at 0x10126ec4
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x101dc354]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
inc ebx
mov dword [ebp - 0xc], eax
push ebx
mov esi, ecx
mov dword [ebp - 8], eax
push 0x101dd068
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], eax
call fcn.100ad791
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.10129ce2
mov edi, eax
test edi, edi
jns 0x10126f1e
push 0x1003ab14
push ebx
push edi
push 0x4000000
call fcn.100ab973
add esp, 0x10
test edi, edi
jne 0x10126f61
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push 0x1003b1a4
push eax
call fcn.100a6b40
add esp, 0xc
test eax, eax
jns 0x10126f4c
push 0x1003ab50
push ebx
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x10
mov ecx, dword [ebp - 8]
call fcn.100b7fb2
cmp eax, ebx
jne 0x10126f61
push dword [ebp - 8]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
push 0
mov edx, 0x100205d8
mov ecx, esi
call fcn.100fe52e
mov edi, 0x4000000
test eax, eax
jns 0x10126f88
push 0x10021394
push ebx
push eax
push edi
call fcn.100ab973
add esp, 0x10
lea eax, [ebp - 0x10]
mov edx, 0x1005278c
push eax
mov ecx, esi
call fcn.100b063a
test eax, eax
js 0x10126fa2
cmp dword [ebp - 0x10], 0
jne 0x10126fbf
push 0
mov ecx, esi
call fcn.101335fc
test eax, eax
jns 0x10126fbf
push 0x100551bc
push ebx
push eax
push edi
call fcn.100ab973
add esp, 0x10
lea eax, [esi + 0x328]
xor dl, dl
push eax
mov ecx, esi
call fcn.100f9a39
test eax, eax
jns 0x10126fe3
push 0x100551dc
push ebx
push eax
push edi
call fcn.100ab973
add esp, 0x10
mov ecx, esi
call fcn.100f8bf0
test eax, eax
jns 0x10126ffe
push 0x10055210
push ebx
push eax
push edi
call fcn.100ab973
add esp, 0x10
lea ecx, [ebp - 0x1c]
call fcn.100aa570
lea ecx, [ebp - 8]
call fcn.100b61be
lea ecx, [ebp - 0xc]
call fcn.100b61be
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b88c0
leave
ret
Function at 0x101508e0
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
xor esi, esi
push edi
mov ecx, dword [ebx + 0x30]
mov edi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call fcn.100b3e5c
test eax, eax
je 0x10150916
mov ecx, dword [ebx + 0x30]
call fcn.1012b12d
test al, al
je 0x10150abd
mov ecx, dword [ebx + 0x30]
test byte [ecx + 0x31c], 0x10
je 0x10150abd
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebx + 0x34]
call fcn.10129c93
mov edi, eax
test edi, edi
jns 0x10150965
mov ecx, dword [ebx + 0x34]
mov eax, dword [ecx + 0x48]
test eax, eax
jne 0x1015094a
mov eax, 0x100082e8
push eax
push 0x1005c82c
push 1
push edi
push 0x4000000
call fcn.100ab973
add esp, 0x14
jmp 0x10150abd
mov edx, dword [ebp - 4]
cmp dword [edx + 4], esi
jne 0x10150abd
mov eax, dword [ebx + 0x34]
mov edx, dword [eax + 0x48]
test edx, edx
jne 0x10150980
mov edx, 0x100082e8
push 0x10008980
lea ecx, [ebp - 0x10]
call fcn.100a9500
mov edi, eax
test edi, edi
jns 0x101509a0
push 0x1005b764
push 1
push edi
jmp 0x10150ab0
mov ecx, dword [ebx + 0x30]
lea eax, [ebp - 8]
push eax
push 0x1005b7e8
call fcn.100b7330
mov edi, eax
test edi, edi
jns 0x101509be
push 0x1005b850
jmp 0x10150998
mov ecx, dword [ebp - 8]
call fcn.100ec268
mov edi, eax
test edi, edi
jns 0x101509d9
push dword [ebp - 8]
push 0x1005c7f4
jmp 0x10150950
push dword [ebp - 0x10]
mov edx, dword [ebp - 8]
lea ecx, [ebp - 0xc]
call fcn.100a9500
mov edi, eax
test edi, edi
jns 0x101509f4
push 0x1005b81c
jmp 0x10150998
mov esi, dword [ebp - 0xc]
xor edx, edx
mov ecx, esi
call fcn.100eb60e
test al, al
je 0x10150a0b
mov edx, esi
call fcn.100ebf9e
mov eax, dword [ebp - 4]
push 8
push esi
push dword [eax + 0xc]
call dword [sym.imp.api_ms_win_core_file_l2_1_0.dll_MoveFileExW]
test eax, eax
jne 0x10150aa7
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x10150a37
movzx edi, di
or edi, 0x80070000
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x10150a49
movzx eax, ax
or eax, 0x80070000
push eax
mov eax, dword [ebp - 4]
push esi
push dword [eax + 0xc]
push 0x1005c8b0
push 1
push edi
push 0x4000000
call fcn.100ab973
add esp, 0x1c
mov ecx, esi
call fcn.100ec268
mov edi, eax
test edi, edi
jns 0x10150a79
push esi
jmp 0x101509cf
mov ecx, dword [ebx + 0x30]
call fcn.100b3e5c
mov edx, dword [ebp - 4]
dec eax
neg eax
push esi
sbb al, al
mov edx, dword [edx + 0xc]
inc al
mov cl, al
call fcn.100ee901
mov edi, eax
test edi, edi
jns 0x10150aa7
push esi
push 0x1005c868
jmp 0x10150950
push 0x1005c98c
push 0
push 0
push 0x4000000
call fcn.100ab973
add esp, 0x10
lea ecx, [ebp - 0xc]
call fcn.100b61be
lea ecx, [ebp - 8]
call fcn.100b61be
lea ecx, [ebp - 0x10]
call fcn.100b61be
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101534f9
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x101dc354]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor ebx, ebx
mov dword [ebp - 0x210], ecx
lea eax, [ebp - 0x20c]
push ebx
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
and dword [ebp - 0x214], ebx
lea eax, [ebp - 0x20c]
add esp, 0xc
push 0x104
push eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetWindowsDirectoryW]
mov edi, 0x4000000
test eax, eax
jne 0x10153589
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x10153566
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x1015356d
mov esi, 0x80004005
push 0x10063c90
push 1
push esi
push edi
call fcn.100ab973
add esp, 0x10
mov ecx, dword [ebp - 0x210]
jmp 0x1015366b
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.100a7590
mov esi, eax
test esi, esi
jns 0x101535bc
lea eax, [ebp - 0x20c]
push eax
push 0x10063c50
push 1
push esi
push edi
call fcn.100ab973
add esp, 0x14
jmp 0x1015357e
lea ecx, [ebp - 0x214]
call fcn.100b15f5
mov esi, eax
test esi, esi
jns 0x101535d4
push 0x10063ce4
jmp 0x10153572
push 0x10063cc8
mov edx, 0x10008b10
lea ecx, [ebp - 0x214]
call fcn.100a9500
mov esi, eax
test esi, esi
jns 0x101535f9
push 0x10063d4c
jmp 0x10153572
push dword [ebp - 0x214]
call dword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
jne 0x1015362b
push 0x10063d20
mov ecx, 0x80004005
push 1
push ecx
push edi
mov esi, ecx
call fcn.100ab973
mov ecx, dword [ebp - 0x210]
add esp, 0x10
jmp 0x1015366f
push 0x10063db0
push ebx
call dword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_GetProcAddress]
mov dword [ebp - 0x218], eax
mov dword [0x101deb50], eax
test eax, eax
jne 0x1015364d
push 0x10063d7c
jmp 0x10153610
mov ecx, eax
call dword [0x101e07c0]
call dword [ebp - 0x218]
mov ecx, dword [ebp - 0x210]
sub eax, 2
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
test esi, esi
jns 0x1015368a
or dword [ecx], 0xffffffff
and dword [0x101deb50], 0
push 0x10063dcc
push 1
push esi
push edi
call fcn.100ab973
add esp, 0x10
test ebx, ebx
je 0x10153695
push ebx
call dword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_FreeLibrary]
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x101536a9
add eax, 0xfffffffc
push eax
call fcn.100b84f9
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b88c0
leave
ret
Function at 0x101598d1
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x101dc354]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
xor ebx, ebx
lea eax, [esp + 0x1c]
push edi
push eax
mov edi, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceFrequency]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
xor eax, eax
cmp dword [edi + 0x78], ebx
sete al
push eax
xor eax, eax
cmp dword [edi + 0x1c], ebx
sete al
push eax
call fcn.100ea86e
mov ecx, edi
call fcn.10157ccc
mov esi, eax
test esi, esi
jns 0x10159947
push 0x10067ae8
jmp 0x101599af
push 0x10067b74
push ebx
push ebx
push 0x4000000
mov dword [edi + 0x74], 1
call fcn.100ab973
add esp, 0x10
mov ecx, edi
call fcn.10157efe
mov esi, eax
test esi, esi
jns 0x10159976
push 0x10067b58
jmp 0x101599af
push 0x10067bac
push ebx
push ebx
push 0x4000000
call fcn.100ab973
add esp, 0x10
mov dword [edi + 0x74], 2
cmp dword [edi + 0x1c], ebx
je 0x101599bf
mov ecx, edi
call fcn.1015c66f
mov esi, eax
mov dword [edi + 0x74], 6
test esi, esi
jns 0x101599bf
push 0x10067b94
push 1
push esi
push 0x4000000
call fcn.100ab973
add esp, 0x10
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sbb eax, dword [esp + 0x1c]
push ebx
mov ebx, 0x3e8
push ebx
push eax
push ecx
call fcn.100ba850
push dword [esp + 0x24]
push dword [esp + 0x24]
push edx
push eax
call fcn.100ba7a0
push 0
push ebx
push edx
push eax
call fcn.100ba7a0
push eax
push esi
mov ecx, edi
call fcn.10159a1e
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100b88c0
mov esp, ebp
pop ebp
ret
Function at 0x1016be79
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov eax, ecx
mov dword [ebp - 0x1c], edx
xor ecx, ecx
mov dword [ebp - 0x10], eax
push ecx
push 0x8000080
push 3
push ecx
push 5
push SysReAllocString
mov edi, ecx
mov dword [ebp - 8], ecx
push eax
mov ebx, ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], ecx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, 0xffffffff
je 0x1016bf9e
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileSizeEx]
test eax, eax
je 0x1016bf9e
cmp dword [ebp - 0x24], ebx
jne 0x1016bf81
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1016bf81
push edi
push edi
push edi
push 2
push edi
push esi
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_CreateFileMappingW]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1016bf9e
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_MapViewOfFile]
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x1016bf9e
mov ebx, dword [ebp - 0x10]
push 0x5c
push ebx
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsrchr]
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1016bf33
mov esi, ebx
jmp 0x1016bf36
add esi, 2
push 0
push 5
push dword [ebp - 0x14]
push edi
push 0x10001
push 3
call dword [sym.imp.CRYPT32.dll_CertCreateContext]
mov ebx, eax
test ebx, ebx
je 0x1016bf9e
push esi
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea edx, [ebp - 4]
lea ecx, [ebp - 0x18]
call fcn.1016c313
mov edi, dword [ebp - 4]
mov esi, eax
test esi, esi
js 0x1016bf86
mov edx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebx + 0xc]
push edi
call fcn.1016bfff
mov esi, eax
jmp 0x1016bf86
mov esi, 0xc000011e
test edi, edi
je 0x1016bfc0
mov eax, dword fs:[0x30]
push edi
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x1016bfc0
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x1016bfb3
movzx esi, si
or esi, 0x80070000
and esi, 0xefffffff
jl 0x1016bfc0
mov esi, 0xc0000001
test ebx, ebx
je 0x1016bfcb
push ebx
call dword [sym.imp.CRYPT32.dll_CertFreeCTLContext]
mov eax, dword [ebp - 8]
test eax, eax
je 0x1016bfd9
push eax
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1016bfe7
push eax
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1016bff6
push eax
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x1016df78
Capabilities:
Encode data using base64

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x101dc354]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ecx]
xor eax, eax
push esi
mov esi, dword [ecx + 8]
add ebx, esi
push edi
mov edi, edx
mov dword [ebp - 0x20c], eax
lea edx, [ebp - 0x208]
mov dword [ebp - 0x214], edi
xor ecx, ecx
mov dword [ebp - 0x21c], 0x200
mov dword [ebp - 0x220], ecx
mov eax, edx
mov dword [ebp - 0x218], eax
cmp esi, ebx
jae 0x1016e15a
lea eax, [ebp - 8]
mov dword [ebp - 0x224], esi
sub eax, edx
and eax, 0xfffffffe
cmp eax, 8
jl 0x1016e0ee
mov al, byte [esi]
inc esi
mov byte [ebp - 0x20d], cl
mov byte [ebp - 0x20e], cl
mov byte [ebp - 0x20f], al
cmp esi, ebx
je 0x1016e00e
mov al, byte [esi]
mov byte [ebp - 0x20d], al
mov eax, ecx
push 2
pop ecx
jmp 0x1016e014
push 0x3d
xor ecx, ecx
pop eax
inc ecx
mov esi, dword [ebp - 0x224]
add esi, ecx
mov word [edx + 4], ax
cmp esi, ebx
je 0x1016e031
mov al, byte [esi]
inc esi
mov byte [ebp - 0x20e], al
xor eax, eax
jmp 0x1016e034
push 0x3d
pop eax
movzx ecx, byte [ebp - 0x20f]
movzx edi, byte [ebp - 0x20d]
mov word [edx + 6], ax
mov eax, ecx
shr eax, 2
and ecx, 3
shl ecx, 4
movzx eax, byte [eax + 0x100706e0]
mov word [edx], ax
mov eax, edi
shr eax, 4
or eax, ecx
movzx ecx, byte [ebp - 0x20e]
movzx eax, byte [eax + 0x100706e0]
mov word [edx + 2], ax
xor eax, eax
cmp word [edx + 4], ax
jne 0x1016e096
and edi, 0xf
mov eax, ecx
shr eax, 6
shl edi, 2
or edi, eax
movzx eax, byte [edi + 0x100706e0]
mov word [edx + 4], ax
xor eax, eax
cmp word [edx + 6], ax
jne 0x1016e0aa
and ecx, 0x3f
movzx eax, byte [ecx + 0x100706e0]
mov word [edx + 6], ax
mov edi, dword [ebp - 0x214]
lea eax, [ebp - 8]
add edx, 8
cmp edx, eax
jne 0x1016e0e3
push edi
push fcn.10170f80
lea edx, [ebp - 0x220]
mov dword [ebp - 0x220], 0x200
call fcn.1017170a
test eax, eax
js 0x1016e160
lea edx, [ebp - 0x208]
cmp esi, ebx
jae 0x1016e0ee
xor ecx, ecx
jmp 0x1016dfcf
lea eax, [ebp - 0x208]
cmp edx, eax
je 0x1016e15a
sub edx, eax
mov dword [ebp - 0x220], edx
cmp edx, dword [ebp - 0x21c]
jbe 0x1016e145
mov esi, 0xc000042b
mov dword [ebp - 0x234], 0x1006fc6c
push esi
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x230], 0x1007001c
mov dword [ebp - 0x22c], 0x4f5
mov dword [ebp - 0x228], 0x10070034
call fcn.1016dbec
mov eax, esi
jmp 0x1016e160
push edi
push fcn.10170f80
lea edx, [ebp - 0x220]
call fcn.1017170a
test eax, eax
js 0x1016e160
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b88c0
leave
ret
Function at 0x10175bcc
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 0x14], esi
push edi
test ebx, ebx
jne 0x10175bf6
push 0x10021140
mov edx, 0x508
mov ecx, 0x100750ec
call fcn.100e970f
test esi, esi
jne 0x10175c0e
push 0x100209c0
mov edx, 0x509
mov ecx, 0x100750ec
call fcn.100e970f
mov edi, dword [ebp + 8]
test edi, edi
jne 0x10175c29
push 0x10075b4c
mov edx, 0x50a
mov ecx, 0x100750ec
call fcn.100e970f
xor eax, eax
and dword [ebp - 0x18], eax
mov word [ebp - 0xc], ax
mov byte [ebp - 5], al
mov word [ebp - 0x10], ax
push 1
lea eax, [ebp - 0xc]
mov edx, ebx
push eax
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
lea eax, [ebp - 5]
push eax
push 0x101dbf10
call fcn.10099583
mov esi, eax
test esi, esi
js 0x10175da5
cmp byte [ebp - 5], 0
jne 0x10175d7a
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
lea edx, [ebp - 0x48]
call fcn.1009d710
mov esi, eax
test esi, esi
js 0x10175d73
movzx eax, word [ebp - 0xc]
sub eax, 1
je 0x10175cd9
sub eax, 1
je 0x10175ca5
push 0x10075be0
mov edx, 0x539
mov ecx, 0x100750ec
call fcn.100e970f
jmp 0x10175d20
cmp dword [edi], 0
jne 0x10175d2f
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 1
push 1
push eax
push dword [ebp - 0x2c]
mov edx, ebx
push dword [ebp - 0x30]
push 0x101dbea0
call fcn.1009a480
mov esi, eax
test esi, esi
js 0x10175d28
movzx eax, word [ebp - 0x10]
mov dword [edi], eax
jmp 0x10175d20
cmp dword [ebp - 0x18], 0
jne 0x10175d6c
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
add eax, 0x20
mov edx, ebx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.100a1360
mov esi, eax
test esi, esi
js 0x10175d65
xor ecx, ecx
lea eax, [edi + 0x24]
push ecx
push ecx
push eax
mov dword [eax], 0x20
lea eax, [edi + 4]
push eax
push 1
push ecx
push dword [ebp - 0x18]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
je 0x10175d40
mov esi, dword [ebp - 0x14]
jmp 0x10175c39
push 0x10075bf8
jmp 0x10175daa
push 0x10075b94
mov eax, 0x800f080e
push 1
mov esi, eax
push eax
jmp 0x10175dad
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x10175d57
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x10175d5e
mov esi, 0x80004005
push 0x10075bb4
jmp 0x10175daa
push 0x10075b5c
jmp 0x10175daa
push 0x10075b78
jmp 0x10175d34
push 0x10072c70
jmp 0x10175daa
mov ecx, dword [ebp - 0x14]
mov edx, ebx
call fcn.100a4f80
mov esi, eax
test esi, esi
jns 0x10175d91
push 0x10075c34
jmp 0x10175daa
mov ecx, edi
call fcn.1017621d
mov esi, eax
test esi, esi
jns 0x10175dba
push 0x10075c20
jmp 0x10175daa
push 0x10075b1c
push 1
push esi
push 0x4000000
call fcn.100ab973
add esp, 0x10
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x10177a68
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101dc354]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x34], ebx
push esi
push edi
test ebx, ebx
jne 0x10177a9a
push 0x100778dc
mov edx, 0xae
mov ecx, 0x1007772c
call fcn.100e970f
mov ecx, ebx
call fcn.100eee97
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
xor ebx, ebx
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemInfo]
cmp dword [ebp - 0x2c], 0x40
ja 0x10177adf
mov ebx, 0x8000ffff
push 0x10077910
push 1
push ebx
push 0x4000000
call fcn.100e8059
add esp, 0x10
jmp 0x10177b3a
push dword [ebp - 0x2c]
lea ecx, [ebp - 0xc]
call fcn.1010c297
test eax, eax
jne 0x10177afa
mov ebx, 0x8007000e
push 0x1004240c
jmp 0x10177acd
push dword [ebp - 0x2c]
mov esi, dword [ebp - 0xc]
push ebx
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov edi, dword [ebp - 0x34]
add esp, 0xc
mov ecx, dword [ebp - 8]
mov dword [esi], 0x20
mov eax, dword [ebp - 0x2c]
mov dword [esi + 4], eax
mov dword [esi + 8], 0x5588ff
mov dword [esi + 0xc], 0xff00ee11
mov eax, dword [edi]
mov dword [edi], esi
mov edx, dword [edi + 4]
mov dword [ebp - 0xc], eax
mov dword [edi + 4], ecx
mov dword [ebp - 8], edx
lea ecx, [ebp - 0xc]
call fcn.100eee97
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b88c0
leave
ret
Function at 0x10178658
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov edi, 0x7ffe0030
mov ecx, edi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1017866c
sub ecx, esi
mov dword [ebp - 4], edi
sar ecx, 1
lea esi, [ebp - 0xc]
lea edi, [ebp - 0x18]
lea eax, [ecx + ecx]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x18]
add eax, 2
mov dword [ebp - 8], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1017052f
pop edi
pop esi
test eax, eax
js 0x101786a3
xor eax, eax
leave
ret

Function at 0x1017c229
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
inc ebp
cmpsb byte [esi], byte es:[edi]
inc ecx

Function at 0x1017c25a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
cmpsb byte [esi], byte es:[edi]
inc ecx
call fcn.1017be66
push eax
push esi
push dword [ebp + 8]
call fcn.1017be1b
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1017be66
push eax
push esi
push dword [ebp + 8]
call fcn.1017be1b
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1017be56
dec eax
stosd dword es:[edi], eax
inc ebp
xchg ebx, eax
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
invalid