joyce8/EMBER2024-capa huggingface dataset:
Function at 0x280057b1
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x280057f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xb7
cmp eax, esi
je 0x280057de
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x280057f6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x280057f3
test al, 0x10
jne 0x280057f3
push esi
jmp 0x280057d4
xor eax, eax
inc eax
pop esi
pop ebp
ret
Function at 0x28005a48
Capabilities:
Create process on windows
Get disk information
Self delete
Set file attributes
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x30
push ebx
push edi
push 0x3a
pop edx
cmp word [eax + 2], dx
jne 0x28005bca
movzx ecx, word [eax + 4]
push esi
push 0x5c
pop esi
cmp cx, si
je 0x28005a76
cmp ecx, 0x2f
jne 0x28005bc9
mov ax, word [eax]
mov word [ebp - 0xc], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 0xa], dx
mov word [ebp - 8], si
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x28005bc6
lea eax, [ebp - 0x24]
push str.7ZSfx_03x.cmd
push eax
call fcn.28003c06
pop ecx
pop ecx
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x28005bbd
lea ecx, [ebp - 0x18]
call fcn.28011390
push str.:Repeat_r_n
lea ecx, [ebp - 0x18]
call fcn.280114c2
mov ebx, str.del__
lea ecx, [ebp - 0x18]
push ebx
call fcn.28011686
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.28011648
mov esi, 0x28026c8c
lea ecx, [ebp - 0x18]
push esi
call fcn.28011686
push str.if_exist__
lea ecx, [ebp - 0x18]
call fcn.28011686
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.28011648
push str.__goto_Repeat_r_n
lea ecx, [ebp - 0x18]
call fcn.28011686
push ebx
lea ecx, [ebp - 0x18]
call fcn.28011686
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.28011648
push esi
lea ecx, [ebp - 0x18]
call fcn.28011686
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 1
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.28005841
add esp, 0xc
lea ecx, [ebp - 4]
xor ebx, ebx
push ebx
push ecx
push esi
push dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x30]
mov esi, eax
call fcn.28019859
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x28005bd5
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x14]
jne 0x28005bd5
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
push ebx
push ebx
push dword [ebp - 0x24]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 0x18]
call fcn.28019859
pop ecx
push dword [ebp - 0x24]
call fcn.28019859
pop ecx
mov eax, dword [ebp + 8]
pop esi
push eax
call fcn.28019859
pop ecx
pop edi
pop ebx
leave
ret
push dword [ebp - 0x24]
call fcn.28003dc8
push dword [ebp - 0x18]
call fcn.28019859
push dword [ebp - 0x24]
call fcn.28019859
add esp, 0xc
jmp 0x28005bc6
Function at 0x280062f1
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [0x2802ffd8], esi
jle 0x28006345
mov eax, dword [0x2802ffd4]
lea ecx, [ebp - 0xc]
mov eax, dword [eax + esi*4]
add eax, 0xc
push eax
call fcn.28011328
lea eax, [ebp - 0xc]
push eax
call fcn.28005f1c
mov eax, dword [0x2802ffd4]
pop ecx
push dword [ebp - 0xc]
mov eax, dword [eax + esi*4]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push dword [ebp - 0xc]
call fcn.28019859
inc esi
pop ecx
cmp esi, dword [0x2802ffd8]
jl 0x28006302
pop esi
leave
ret

Function at 0x2800635e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push ebx
push esi
push edi
push 0x280269dc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x2802feb8], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call fcn.2800a230
call fcn.280047b0
push 3
call fcn.28004204
push 0x28
mov dword [0x2802fe7c], eax
call fcn.28004204
push 2
mov dword [0x2802febc], eax
call fcn.28004204
push 5
mov dword [0x2802fe78], eax
call fcn.28004204
push 0x15
mov dword [0x2802fe84], eax
call fcn.28004204
push 0x16
mov dword [0x2802fe88], eax
call fcn.28004204
push 0x17
mov dword [0x2802fe8c], eax
call fcn.28004204
add esp, 0x1c
mov dword [0x2802fe94], eax
xor ebx, ebx
mov dword [0x2802fe90], ebx
mov esi, ebx
mov dword [0x2802fe80], ebx
push ebx
push esi
lea eax, [ebp - 0x268]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x28006452
push esi
lea eax, [ebp - 0x5c]
push str.SfxFolder_02d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 1
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.2800572d
add esp, 0x18
mov edi, ebx
cmp dword [edi + 0x2802f3c4], esi
jne 0x2800644a
push ebx
lea eax, [ebp - 0x268]
push eax
push dword [edi + 0x2802f3c8]
call fcn.2800572d
add esp, 0xc
add edi, 8
cmp edi, 0x28
jb 0x2800642c
inc esi
cmp esi, 0x40
jl 0x280063f1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x280075f7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call fcn.2801b6b6
mov ecx, dword [ebp + 8]
push eax
mov dword [ecx], eax
call fcn.28007522
add esp, 0x1c
leave
ret
Function at 0x28008b84
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d0
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
mov esi, 0x4b6
push eax
push esi
mov edi, ecx
call fcn.280082e0
mov eax, dword [ebp - 4]
mov ecx, edi
sub eax, dword [ebp - 0xc]
push 1
add eax, 2
push esi
mov dword [edi + 0x58], eax
call fcn.28009bb2
push 1
lea ebx, [esi + 1]
mov ecx, edi
push ebx
call fcn.28009bb2
mov esi, 0x2b4
lea eax, [ebp - 0x2c4]
push esi
push 0
push eax
call fcn.280158e0
add esp, 0xc
lea eax, [ebp - 0x4d0]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x103
push esi
lea eax, [ebp - 0x2c4]
push eax
push 0
lea eax, [ebp - 0x4d0]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2c4]
push ebx
push dword [edi + 4]
mov dword [edi + 0x50], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x28007c3c
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, edi
mov dword [edi + 0x54], eax
call fcn.28008616
mov ecx, edi
mov esi, eax
call fcn.2800968c
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x28009b63
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.280083c3
test eax, eax
jne 0x28009b81
push eax
push eax
push esi
push 0x28009d9e
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
ret
push dword [0x2802fe78]
mov ecx, esi
push dword [esi + 4]
call fcn.28009891
push 0x2d
call fcn.28004204
pop ecx
push eax
push 0x4b2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov ecx, esi
call fcn.28009891
pop esi
ret

Function at 0x2800a230
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
push esi
push 8
mov ecx, edx
pop esi
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub esi, 1
jne 0x2800a238
mov dword [edx*4 + 0x28032ce0], ecx
inc edx
cmp edx, 0x100
jb 0x2800a233
mov esi, 0x800
jmp 0x2800a280
mov ecx, dword [edx*4 + 0x280328e0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x28032ce0]
mov dword [edx*4 + 0x28032ce0], ecx
inc edx
cmp edx, esi
jb 0x2800a264
mov eax, 0x28024960
mov esi, 0x28024880
mov dword [0x28032cc0], eax
mov dword [0x28032cb8], eax
mov dword [0x28032cbc], esi
call fcn.2800fc9c
mov ecx, dword [0x28032cb8]
test eax, eax
cmove ecx, esi
mov dword [0x28032cb8], ecx
pop esi
ret
Function at 0x2800fff2
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x28010018
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x28010018
xor al, al
jmp 0x2801002c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x280132cb
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
xor esi, esi
lea ecx, [edi + 0x1c]
shr edi, 2
mov eax, edi
mov dword [ebp - 0xc], ecx
shr eax, 1
add eax, 3
mov dword [ebx], eax
add ebx, 0x10
test edi, edi
je 0x28013301
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [ebx + esi*4], eax
inc esi
cmp esi, edi
jb 0x280132f4
cmp esi, ecx
jae 0x280133e4
mov eax, esi
sub eax, edi
lea eax, [ebx + eax*4]
mov dword [ebp - 4], eax
xor edx, edx
mov ecx, dword [ebx + esi*4 - 4]
mov eax, esi
mov dword [ebp + 8], ecx
div edi
mov dword [ebp - 8], eax
test edx, edx
jne 0x2801337a
movzx ecx, cl
movzx edx, byte [ecx + str.cw]
mov ecx, dword [ebp + 8]
shr ecx, 0x18
shl edx, 8
movzx eax, byte [ecx + str.cw]
mov ecx, dword [ebp + 8]
or edx, eax
mov eax, ecx
shl edx, 8
shr eax, 0x10
movzx eax, al
shr ecx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, cl
shl edx, 8
movzx ecx, byte [eax + str.cw]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x28027310]
xor ecx, eax
or ecx, edx
jmp 0x280133ca
cmp edi, 6
jbe 0x280133ca
cmp edx, 4
jne 0x280133ca
mov edx, dword [ebp + 8]
mov eax, ecx
shr eax, 0x10
movzx eax, al
movzx ecx, byte [eax + str.cw]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or ecx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
movzx eax, dl
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
add edx, 4
xor eax, ecx
mov dword [ebp - 4], edx
mov dword [ebx + esi*4], eax
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x28013313
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x28013f10
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
pop ebp
ret

Function at 0x2801f9f0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.2801f692
Function at 0x401a22
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4330d0]
jne 0x401a2c
repz ret
jmp fcn.004028c6

Function at 0x40f8a8
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.0040344a
and dword [ebp - 4], 0
cmp dword [0x43c100], 0
mov ebx, eax
jne 0x40f959
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40fa0a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40fa0a
push eax
call fcn.004033d8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43c100], eax
call esi
push eax
call fcn.004033d8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43c104], eax
call esi
push eax
call fcn.004033d8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43c108], eax
call esi
push eax
call fcn.004033d8
pop ecx
mov dword [0x43c110], eax
test eax, eax
je 0x40f959
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004033d8
pop ecx
mov dword [0x43c10c], eax
mov eax, dword [0x43c10c]
cmp eax, ebx
je 0x40f9b1
cmp dword [0x43c110], ebx
je 0x40f9b1
push eax
call fcn.00403453
push dword [0x43c110]
mov esi, eax
call fcn.00403453
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40f9b1
test edi, edi
je 0x40f9b1
call esi
test eax, eax
je 0x40f9a8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40f9a8
test byte [ebp - 0xc], 1
jne 0x40f9b1
or dword [ebp + 0x10], 0x200000
jmp 0x40f9ea
mov eax, dword [0x43c104]
cmp eax, ebx
je 0x40f9ea
push eax
call fcn.00403453
pop ecx
test eax, eax
je 0x40f9ea
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40f9ea
mov eax, dword [0x43c108]
cmp eax, ebx
je 0x40f9ea
push eax
call fcn.00403453
pop ecx
test eax, eax
je 0x40f9ea
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43c100]
call fcn.00403453
pop ecx
test eax, eax
je 0x40fa0a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40fa0c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e527
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [0x43c5ac]
push esi
push dword [eax]
mov esi, dword [0x43c4f4]
call fcn.0042e45e
cmp dword [0x43c5ac], 0x2f
pop ecx
jne 0x42e586
push edi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov dword [ebp - 8], edi
xor eax, eax
lea edi, [ebp - 4]
stosd dword es:[edi], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
pop edi
push esi
call fcn.0042e4a0
pop ecx
pop esi
pop ebx
leave
ret
Function at 0x42e8b8
Capabilities:
Set file attributes

Disassembly:
push esi
push edi
mov edi, 0x13ba1f
xor esi, esi
cmp dword [0x43c5ac], 0xbf9
jne 0x42e8d3
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
cmp dword [0x43c5ac], 0x3dc
mov dword [0x43c5a0], 0x8e55ceaa
jne 0x42e902
push esi
push 0x431878
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push str.xafecelocixupapedahesofunezodicexegenogexepumawojuyagon
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
dec edi
jne 0x42e8c1
cmp esi, 0x8465cb
jne 0x42e91c
mov eax, dword [0x43b564]
add eax, 0xa231
mov dword [0x43c5ac], eax
cmp dword [0x43c5ac], 0x141
jne 0x42e939
or dword [0x43c274], 0xffffffff
mov dword [0x43c270], 0xec58acac
inc esi
cmp esi, 0x123c19c
jl 0x42e905
call fcn.0042e591
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x10014e70
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x10014eae
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10014ea6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10014eb0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10014e96
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10014f80
Capabilities:
Parse pe header

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

Function at 0x1001b4fd
Capabilities:
Encode data using xor

Disassembly:
call 0x1001b476
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1001b4a6
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1001b4c2
xor edx, 0
jmp 0x1001b4cd
xor edx, edx
jmp 0x1001b4e4
jmp 0x1001b4f0
xor eax, eax
push 0x8427d7c0
call 0x1001b4fd
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1001b539
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1001b512
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1001b550
add eax, 0
jno 0x1001b555
add esi, 0
ret 0x10
Function at 0x1001c2be
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1001c2e0
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1001c482
cmp edi, dword [ebp + 0x10]
jb 0x1001c482
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1001bdaa
inc edi
jmp 0x1001c369
jmp 0x1001c376
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001bdaa
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001bdaa
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1001c3ca
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1001c3ae
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1001c3f8
add dword [eax], 0x39
jle 0x1001c3d4
sub al, 0xf5
mov ch, al
call fcn.1001c40d
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1001e0e5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1001e0fb
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1001e10c
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1001e14d
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x100204b9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x10020402
add ebx, 0
push ecx
call 0x10020417
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6cd53242
sub ebx, dword [0x6cd72a81]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6cd72a71
call fcn.1001bee1
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1001b3ef
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x10020575
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x10020575
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1002052c
mov eax, 1
lock xchg dword [0x6cd72a7d], eax
push 0x3dd1fc71
call 0x100204b9
push esi
add esp, 8
cmp eax, 0
jne 0x100204a2
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100204c8
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100204dd
cmp ecx, edx
cmp eax, 0
je 0x10020502
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x100204ec
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1002051b
dec eax
loope 0x1002051e
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6cd72a7d], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x10020552
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x10020567
jmp 0x10020572
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x10020460
Function at 0x100275da
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x100278b0
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6cd5f6f5
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6cd566bb
push 0xffffffffffffffff
call fcn.1001e7da
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x10027644
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1002765c
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x100278a4
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x10027878