joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100111c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x1003ec10]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x1003ec40]
je 0x100111ed
inc eax
cmp eax, 0x12
jb 0x100111de
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x1003ec40]
jne 0x10011321
mov eax, dword [0x1003fc98]
cmp eax, 1
je 0x100112fc
cmp eax, edx
jne 0x1001121d
cmp dword [0x1003fc9c], 1
je 0x100112fc
cmp ecx, 0xfc
je 0x10011321
push 0x104
lea eax, [ebp - 0x10c]
push eax
push edx
mov byte [ebp - 8], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10011256
lea eax, [ebp - 0x10c]
push str._program_name_unknown_
push eax
call fcn.10012f70
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x10c]
call fcn.10013070
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10011298
lea eax, [ebp - 0x10c]
push eax
call fcn.10013070
mov edi, eax
lea eax, [ebp - 0x10c]
sub eax, 0x3b
push 3
add edi, eax
push 0x10019b38
push edi
call fcn.1000be40
add esp, 0x10
push edi
call fcn.10013070
push dword [esi + 0x1003ec44]
mov ebx, eax
call fcn.10013070
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.1000e730
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.10012f70
push edi
push ebx
call fcn.10012f80
push 0x10019b18
push ebx
call fcn.10012f80
push dword [esi + 0x1003ec44]
push ebx
call fcn.10012f80
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.10013dfc
add esp, 0x2c
jmp 0x10011321
push edx
lea eax, [ebp + 8]
push eax
lea esi, [esi + 0x1003ec44]
push dword [esi]
call fcn.10013070
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.100108c8
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100130fb
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.1000e730
mov eax, dword [0x1003ec10]
xor eax, dword [ebp + 4]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.100129b6
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x10013225
push 2
push esi
push dword [ebp + 8]
call fcn.100129b6
add esp, 0xc
cmp eax, ebx
je 0x10013225
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x100131c8
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x100c]
push esi
push eax
call fcn.100137b0
push 0x8000
push dword [ebp + 8]
call fcn.10014908
add esp, 0x14
mov dword [ebp - 0xc], eax
cmp edi, ebx
mov eax, ebx
jge 0x10013181
mov eax, edi
push eax
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.1000dd1c
add esp, 0xc
cmp eax, 0xffffffff
je 0x100131a1
sub edi, eax
test edi, edi
jg 0x10013179
jmp 0x100131b9
call fcn.1000df75
cmp dword [eax], 5
jne 0x100131b6
call fcn.1000df6c
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.10014908
pop ecx
pop ecx
jmp 0x10013210
jge 0x10013210
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100129b6
push dword [ebp + 8]
call fcn.1000d92c
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x10013210
call fcn.1000df6c
mov dword [eax], 0xd
call fcn.1000df75
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.100129b6
add esp, 0xc
mov eax, esi
pop edi
jmp 0x10013227
mov eax, ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
pop ebx
call fcn.100108c8
leave
ret
Function at 0x10013dfc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x10040004], ebx
push esi
push edi
jne 0x10013e7c
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10013eb7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1001a384
push edi
call esi
test eax, eax
mov dword [0x10040004], eax
je 0x10013eb7
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x10040008], eax
call esi
cmp dword [0x1003fcac], 2
mov dword [0x1004000c], eax
jne 0x10013e7c
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x10040014], eax
je 0x10013e7c
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x10040010], eax
mov eax, dword [0x10040010]
test eax, eax
je 0x10013ec1
call eax
test eax, eax
je 0x10013ea8
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x10040014]
test eax, eax
je 0x10013ea8
test byte [ebp - 8], 1
jne 0x10013ec1
cmp dword [0x1003fcb8], 4
jb 0x10013ebb
or byte [ebp + 0x12], 0x20
jmp 0x10013ee0
xor eax, eax
jmp 0x10013ef0
or byte [ebp + 0x12], 4
jmp 0x10013ee0
mov eax, dword [0x10040008]
test eax, eax
je 0x10013ee0
call eax
mov ebx, eax
test ebx, ebx
je 0x10013ee0
mov eax, dword [0x1004000c]
test eax, eax
je 0x10013ee0
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x10040004]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001410d
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.1000e730
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100141a2
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x1003fcac]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x100141a2
cmp eax, 1
je 0x100141ba
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100141a2
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x10014177
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x1001419e
xor eax, eax
inc eax
jmp 0x100141d6
cmp esi, ebx
jae 0x100141a6
xor eax, eax
jmp 0x100141d6
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x1003fcac]
jmp 0x100141bc
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100028ab
Capabilities:
Terminate process

Disassembly:
jmp 0x100c5d54
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x100c5d65
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.10001631
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x10004192
Capabilities:
Query environment variable

Disassembly:
jmp 0x100de5f8
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100de60c
xor edi, edi
jmp 0x100de643
push ebx
push esi
call fcn.100de500
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10002e0f
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100de633
push ebx
push esi
push edi
call fcn.100042d7
add esp, 0xc
push 0
call fcn.1000175d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x1002a1f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push str.SetDefaultDllDirectories
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1002a383
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 4], eax
push esi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
push 8
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
test ebx, ebx
jg 0x1002a23b
xor edi, edi
jmp 0x1002a270
push 2
push ebx
call sym.libavutil_56.dll_av_mallocz_array
mov edi, eax
add esp, 8
test edi, edi
jne 0x1002a25c
call fcn.10002a40
mov dword [eax], 0xc
jmp 0x1002a36a
push ebx
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 2
push 0x104
call sym.libavutil_56.dll_av_mallocz_array
add esp, 8
mov esi, eax
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push esi
call fcn.10001843
mov edx, eax
add esp, 8
sub edx, esi
sar edx, 1
je 0x1002a36a
mov ecx, edi
lea ebx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002a2b0
sub ecx, ebx
lea eax, [edx + 2]
sar ecx, 1
add eax, ecx
cmp eax, 0x104
ja 0x1002a36a
lea eax, [esi + edx*2]
mov ecx, 0x5c
mov word [eax], cx
sub eax, edi
mov ecx, edi
lea edx, [eax + 2]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x1002a2e1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 8
push 0
push esi
call ebx
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002a36a
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
test edx, edx
je 0x1002a36a
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002a320
sub ecx, dword [ebp - 8]
lea eax, [edx + 2]
sar ecx, 1
add eax, ecx
cmp eax, 0x104
ja 0x1002a36a
lea eax, [esi + edx*2]
mov ecx, 0x5c
mov word [eax], cx
sub eax, edi
mov ecx, edi
lea edx, [eax + 2]
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x1002a350
push 8
push 0
push esi
call ebx
mov dword [ebp - 4], eax
push esi
call sym.libavutil_56.dll_av_free
push edi
call sym.libavutil_56.dll_av_free
mov eax, dword [ebp - 4]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa00
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov esp, ebp
pop ebp
ret
Function at 0x1002b540
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push str.SetDefaultDllDirectories
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1002b6d3
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 4], eax
push esi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
push 8
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
test ebx, ebx
jg 0x1002b58b
xor edi, edi
jmp 0x1002b5c0
push 2
push ebx
call sym.libavutil_56.dll_av_mallocz_array
mov edi, eax
add esp, 8
test edi, edi
jne 0x1002b5ac
call fcn.10002a40
mov dword [eax], 0xc
jmp 0x1002b6ba
push ebx
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 2
push 0x104
call sym.libavutil_56.dll_av_mallocz_array
add esp, 8
mov esi, eax
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push esi
call fcn.10001843
mov edx, eax
add esp, 8
sub edx, esi
sar edx, 1
je 0x1002b6ba
mov ecx, edi
lea ebx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002b600
sub ecx, ebx
lea eax, [edx + 2]
sar ecx, 1
add eax, ecx
cmp eax, 0x104
ja 0x1002b6ba
lea eax, [esi + edx*2]
mov ecx, 0x5c
mov word [eax], cx
sub eax, edi
mov ecx, edi
lea edx, [eax + 2]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x1002b631
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 8
push 0
push esi
call ebx
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002b6ba
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
test edx, edx
je 0x1002b6ba
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002b670
sub ecx, dword [ebp - 8]
lea eax, [edx + 2]
sar ecx, 1
add eax, ecx
cmp eax, 0x104
ja 0x1002b6ba
lea eax, [esi + edx*2]
mov ecx, 0x5c
mov word [eax], cx
sub eax, edi
mov ecx, edi
lea edx, [eax + 2]
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x1002b6a0
push 8
push 0
push esi
call ebx
mov dword [ebp - 4], eax
push esi
call sym.libavutil_56.dll_av_free
push edi
call sym.libavutil_56.dll_av_free
mov eax, dword [ebp - 4]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa00
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov esp, ebp
pop ebp
ret
Function at 0x10055d60
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 4]
mov dword [ebp + 8], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x40]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0x10]
cdq
sub eax, edx
mov edi, eax
mov esi, dword [ecx]
mov ecx, dword [ecx + 4]
sar edi, 1
cmp dword [ebp + 0x14], 0
bswap esi
bswap ecx
je 0x10055e21
imul ebx, edi, 0x9e3779b9
test edi, edi
jle 0x10055ded
nop dword [eax]
mov edx, esi
mov eax, esi
shr edx, 5
add edx, dword [ebp - 8]
shl eax, 4
add eax, dword [ebp - 0xc]
xor edx, eax
lea eax, [ebx + esi]
xor edx, eax
sub ecx, edx
mov edx, ecx
mov eax, ecx
shr edx, 5
add edx, dword [ebp + 8]
shl eax, 4
add eax, dword [ebp - 4]
xor edx, eax
lea eax, [ebx + ecx]
xor edx, eax
lea ebx, [ebx + 0x61c88647]
sub esi, edx
sub edi, 1
jne 0x10055db0
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x10055e6d
mov eax, dword [edx]
mov edi, dword [ebp + 0x10]
bswap eax
xor esi, eax
mov eax, dword [edx + 4]
bswap eax
xor ecx, eax
mov eax, dword [edi]
mov dword [edx], eax
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
mov eax, dword [ebp + 0xc]
bswap esi
pop edi
bswap ecx
mov dword [eax], esi
pop esi
mov dword [eax + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
test edi, edi
jle 0x10055e6d
nop word [eax + eax]
mov edx, ecx
lea ebx, [ebx - 0x61c88647]
shr edx, 5
mov eax, ecx
add edx, dword [ebp + 8]
shl eax, 4
add eax, dword [ebp - 4]
xor edx, eax
lea eax, [ebx + ecx]
xor edx, eax
add esi, edx
mov edx, esi
mov eax, esi
shr edx, 5
add edx, dword [ebp - 8]
shl eax, 4
add eax, dword [ebp - 0xc]
xor edx, eax
lea eax, [ebx + esi]
xor edx, eax
add ecx, edx
sub edi, 1
jne 0x10055e30
mov eax, dword [ebp + 0xc]
bswap esi
pop edi
bswap ecx
mov dword [eax], esi
pop esi
mov dword [eax + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10057b50
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
cmp eax, 4
jne 0x10057baa
movzx eax, byte [esi]
mov edx, dword [edi + 0xc]
mov ecx, edx
shr ecx, 8
mov al, byte [eax + 0x10110518]
xor al, dl
mov byte [esi], al
movzx eax, byte [esi + 1]
xor cl, byte [eax + 0x10110418]
movzx eax, byte [esi + 2]
mov byte [esi + 1], cl
mov ecx, edx
shr ecx, 0x10
shr edx, 0x18
xor cl, byte [eax + 0x10110418]
movzx eax, byte [esi + 3]
mov byte [esi + 2], cl
xor dl, byte [eax + 0x10110518]
mov byte [esi + 3], dl
jmp 0x10057baf
cmp eax, 3
jl 0x10057bfe
movzx eax, byte [esi]
mov edx, dword [edi + 8]
mov ecx, edx
shr ecx, 8
mov bl, byte [eax + 0x10110518]
movzx eax, byte [esi + 1]
xor bl, dl
mov byte [esi], bl
mov bh, byte [eax + 0x10110518]
movzx eax, byte [esi + 2]
xor bh, cl
mov ecx, edx
mov byte [esi + 1], bh
shr ecx, 0x10
shr edx, 0x18
mov al, byte [eax + 0x10110418]
xor al, cl
mov byte [ebp + 0xb], al
mov byte [esi + 2], al
movzx eax, byte [esi + 3]
mov al, byte [eax + 0x10110418]
xor al, dl
mov byte [esi + 3], al
jmp 0x10057c0c
mov al, byte [esi + 2]
mov bl, byte [esi]
mov bh, byte [esi + 1]
mov byte [ebp + 0xb], al
mov al, byte [esi + 3]
mov edx, dword [edi + 4]
mov byte [ebp + 0x13], al
movzx eax, bl
movzx ecx, byte [eax + 0x10110418]
movzx eax, dl
xor ecx, eax
movzx eax, byte [edi]
movzx ecx, byte [ecx + 0x10110418]
xor ecx, eax
movzx eax, byte [ecx + 0x10110518]
mov byte [esi], al
movzx eax, bh
movzx ecx, byte [eax + 0x10110518]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, eax
movzx eax, byte [edi + 1]
movzx ecx, byte [ecx + 0x10110418]
xor ecx, eax
movzx eax, byte [ecx + 0x10110418]
mov byte [esi + 1], al
movzx eax, byte [ebp + 0xb]
movzx ecx, byte [eax + 0x10110418]
mov eax, edx
shr eax, 0x10
movzx eax, al
xor ecx, eax
shr edx, 0x18
movzx eax, byte [edi + 2]
movzx ecx, byte [ecx + 0x10110518]
xor ecx, eax
movzx eax, byte [ecx + 0x10110518]
mov byte [esi + 2], al
movzx eax, byte [ebp + 0x13]
movzx eax, byte [eax + 0x10110518]
xor eax, edx
movzx ecx, byte [eax + 0x10110518]
movzx eax, byte [edi + 3]
xor ecx, eax
pop edi
movzx eax, byte [ecx + 0x10110418]
mov byte [esi + 3], al
pop esi
pop ebx
pop ebp
ret
Function at 0x10057d20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push ebx
push esi
mov ecx, dword [eax + 0x18]
xor ecx, dword [edx + 8]
mov ebx, dword [eax + 0x10]
xor ebx, dword [edx]
push edi
mov edi, dword [eax + 0x14]
xor edi, dword [edx + 4]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x1c]
xor ecx, dword [edx + 0xc]
mov dword [ebp - 4], ecx
lea ecx, [eax + 0x9c]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], edi
mov dword [ebp + 8], ecx
mov dword [ebp - 0x14], 8
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov esi, dword [eax + edx*4 + 0x8b4]
xor esi, dword [eax + ecx*4 + 0x4b4]
mov ecx, ebx
shr ecx, 0x18
xor esi, dword [eax + ecx*4 + 0xcb4]
movzx ecx, bl
mov ebx, edi
rol ebx, 8
xor esi, dword [eax + ecx*4 + 0xb4]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x18], esi
mov edi, dword [eax + edx*4 + 0x8b4]
mov edx, dword [ebp + 8]
xor edi, dword [eax + ecx*4 + 0x4b4]
mov ecx, ebx
shr ecx, 0x18
xor edi, dword [eax + ecx*4 + 0xcb4]
movzx ecx, bl
mov ebx, dword [ebp - 0xc]
rol ebx, 1
xor edi, dword [eax + ecx*4 + 0xb4]
mov ecx, dword [edx - 4]
mov edx, dword [edx]
add ecx, edi
add ecx, esi
add esi, edx
xor ebx, ecx
shl esi, 0x1f
mov ecx, dword [ebp - 4]
shl ecx, 0x1f
lea edi, [edx + edi*2]
add edi, dword [ebp - 0x18]
xor esi, ecx
xor edi, dword [ebp - 4]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
shr edi, 1
or edi, esi
mov dword [ebp - 0xc], ebx
mov esi, dword [eax + edx*4 + 0x8b4]
xor esi, dword [eax + ecx*4 + 0x4b4]
mov ecx, ebx
shr ecx, 0x18
mov dword [ebp - 4], edi
xor esi, dword [eax + ecx*4 + 0xcb4]
movzx ecx, bl
mov ebx, edi
rol ebx, 8
xor esi, dword [eax + ecx*4 + 0xb4]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x18], esi
mov edi, dword [eax + edx*4 + 0x8b4]
mov edx, dword [ebp + 8]
xor edi, dword [eax + ecx*4 + 0x4b4]
mov ecx, ebx
shr ecx, 0x18
xor edi, dword [eax + ecx*4 + 0xcb4]
movzx ecx, bl
mov ebx, dword [ebp - 0x10]
xor edi, dword [eax + ecx*4 + 0xb4]
rol ebx, 1
mov ecx, dword [edx - 0xc]
mov edx, dword [edx - 8]
add ecx, edi
sub dword [ebp + 8], 0x10
add ecx, esi
xor ebx, ecx
add esi, edx
mov ecx, dword [ebp - 8]
lea edi, [edx + edi*2]
shl esi, 0x1f
add edi, dword [ebp - 0x18]
xor edi, dword [ebp - 8]
shl ecx, 0x1f
xor esi, ecx
shr edi, 1
or edi, esi
mov dword [ebp - 0x10], ebx
sub dword [ebp - 0x14], 1
mov dword [ebp - 8], edi
jne 0x10057d62
mov edi, dword [eax + 8]
mov edx, dword [eax]
xor edi, ebx
mov esi, dword [eax + 4]
mov ebx, dword [eax + 0xc]
xor edx, dword [ebp - 0xc]
xor esi, dword [ebp - 4]
xor ebx, dword [ebp - 8]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x10057ee8
mov eax, dword [ebp + 0x10]
xor edx, dword [ecx]
xor esi, dword [ecx + 4]
xor edi, dword [ecx + 8]
movups xmm0, xmmword [eax]
xor ebx, dword [ecx + 0xc]
movups xmmword [ecx], xmm0
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
pop edi
mov dword [eax + 0xc], esi
pop esi
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10057f80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov edx, dword [eax + 8]
xor edx, dword [ecx + 8]
mov ebx, dword [eax]
xor ebx, dword [ecx]
push edi
mov edi, dword [eax + 4]
xor edi, dword [ecx + 4]
mov dword [ebp + 0x10], edx
mov edx, dword [eax + 0xc]
xor edx, dword [ecx + 0xc]
lea ecx, [eax + 0x24]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edx
mov dword [ebp + 8], ecx
mov dword [ebp - 0xc], 8
nop dword [eax + eax]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov esi, dword [eax + edx*4 + 0x8b4]
xor esi, dword [eax + ecx*4 + 0x4b4]
mov ecx, ebx
shr ecx, 0x18
xor esi, dword [eax + ecx*4 + 0xcb4]
movzx ecx, bl
mov ebx, edi
rol ebx, 8
xor esi, dword [eax + ecx*4 + 0xb4]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [eax + edx*4 + 0x8b4]
xor edx, dword [eax + ecx*4 + 0x4b4]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [eax + ecx*4 + 0xcb4]
movzx ecx, bl
mov ebx, dword [ebp - 4]
rol ebx, 1
xor edx, dword [eax + ecx*4 + 0xb4]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
add ecx, edx
add ecx, esi
xor ecx, dword [ebp + 0x10]
ror ecx, 1
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
lea ecx, [ecx + edx*2]
add ecx, esi
xor ebx, ecx
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [ebp + 0x10]
shr ecx, 8
movzx ecx, cl
mov esi, dword [eax + edx*4 + 0x8b4]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
xor esi, dword [eax + ecx*4 + 0x4b4]
mov ecx, edx
shr ecx, 0x18
rol ebx, 8
xor esi, dword [eax + ecx*4 + 0xcb4]
movzx ecx, dl
xor esi, dword [eax + ecx*4 + 0xb4]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [eax + edx*4 + 0x8b4]
xor edx, dword [eax + ecx*4 + 0x4b4]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [eax + ecx*4 + 0xcb4]
movzx ecx, bl
xor edx, dword [eax + ecx*4 + 0xb4]
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
add ebx, edx
add ebx, esi
xor ebx, dword [ebp - 8]
ror ebx, 1
mov dword [ebp - 8], ebx
lea ecx, [ecx + edx*2]
rol edi, 1
add dword [ebp + 8], 0x10
add ecx, esi
xor edi, ecx
sub dword [ebp - 0xc], 1
jne 0x10057fc0
xor ebx, dword [eax + 0x18]
mov ecx, dword [ebp + 0x10]
xor ecx, dword [eax + 0x10]
mov edx, dword [ebp - 4]
xor edx, dword [eax + 0x14]
xor edi, dword [eax + 0x1c]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc], edi
pop edi
pop esi
mov dword [eax + 8], ebx
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401375
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x4551c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0x2d
push edi
call fcn.00422004
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4013fd
push edi
call fcn.0042606f
sub esi, edi
mov dword [0x456d08], eax
sar esi, 1
add edi, 2
lea eax, [edi + esi*2]
push eax
call fcn.0042606f
push 0xc8
mov dword [0x456d0c], eax
xor esi, esi
lea eax, [ebp - 0xcc]
push esi
push eax
call fcn.004221b0
push esi
push esi
push 0x64
lea eax, [ebp - 0xcc]
push eax
mov eax, 0x446210
push eax
push eax
call fcn.00404771
mov ecx, dword [ebp - 4]
add esp, 0x2c
xor ecx, ebp
xor eax, eax
pop edi
pop esi
call fcn.00420cd9
leave
ret 0x10
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]