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.7c355267
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 0x7c355267
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x7c355276
pop dword [ebp - 0x1c]
mov eax, 0x7c355276
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x38e46
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0x37ee
xor ebx, ebx
add ebx, eax
mov esi, 0x3eda4a20
sub esi, 0xc2a0ea20
add esi, dword [ebp - 0x1c]
mov edi, 0x67da8de3
xor dword [ebp - 0xc], 0xdec4c40d
mov edx, dword [esi]
mov dword [ebp - 0xc], 0x1947e66a
add edx, edi
mov dword [ebp - 0x14], 0x6dda31e8
mov dword [ebx], edx
mov dword [ebp - 0x10], 0xb0919163
add ebx, 4
add esi, 0x8c823f98
sub esi, 0x8c823f94
loop 0x7c3552c1
add eax, 0xf02e2bdf
sub eax, 0xf02d5954
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x16866c2e
add ecx, 0x65ad93d2
add ecx, dword [ebp - 0x1c]
call ebx
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.7c355267
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.7c355267
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 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.7c355267
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.7c355267
mov eax, dword [ebp - 4]
pop ecx
mov dword [ebp - 8], eax
lea edi, [ebp - 8]
lea eax, [edi + 4]
push eax
call fcn.7c355267
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.7c355267
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.7c355267
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.7c355267
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.7c355267
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 0x44559d
Capabilities:
Encode data using xor

Disassembly:
mov ebp, 0xcad0cd6c
mov dword [ebx], esi
mov eax, esp
pop edx
test al, 0x9a
outsd dx, dword [esi]
inc esi
sbb dword [ebp - 0x55], ebx
invalid
jle 0x44554c
and ah, byte [eax + 0x18]
test al, 0x4b
invalid

Function at 0x44561d
Capabilities:
Encode data using xor

Disassembly:
pop edi
lahf
jp 0x445600
pop eax
leave
les eax, [eax + 0x7d]
xchg ecx, eax
Function at 0x493de1
Capabilities:
Encode data using xor

Disassembly:
movsd dword es:[edi], dword [esi]
fisttp word [ecx + 0x4e256322]
sbb eax, dword gs:[ebx]
cli
enter 0xffffffffffff8d7e, 0xffffffffffffff89
or ecx, esi
or eax, 0x69015fe4
dec ebx
xor bl, byte [ebx]
or al, 0x63
mov es, word [esi]
cmp ebx, ebx
std
push esp
sal dword [ebp - 0x321e942b], 1
xor eax, 0x9ff39a8d
wait
sub dword [edi - 0x51bb756a], ebx
test eax, 0x2d853d39
or ebx, dword [edi]
mov esp, 0xc6b1dbe9
add eax, 0x3de54956
mov byte [0x3de54956], 0x17
pop ss
test eax, 0x2f5bbd93
push edi
pushfd
cmp dword [ebp + 0x7b], 0xffffffbd
add dword [ebx - 0x63], eax
xchg esp, eax
sub esp, dword [0x1d833d5b]
cmp eax, 0xbd1b84d9
inc esi
inc ebp
outsd dx, dword [esi]
cld
cmp eax, 0x258554e8
mov fs, word [esi - 0x55774440]
jb 0x493da3
xor edi, dword [ebx]
fsubr dword [ebx - 0x74b637ef]
inc esi
salc
xchg esi, eax
adc eax, 0x4df71113
pop es
js 0x493de7
mov al, byte [0x7d8f08ac]
or eax, 0x5da5957b
ljmp 0xc1f0

Function at 0x4bb321
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c3398
cmp edx, dword [eax]
je 0x4bb343
add eax, 8
inc ecx
cmp eax, 0x4c3428
jl 0x4bb334
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c3398]
jne 0x4bb471
mov eax, dword [0x4c7d24]
cmp eax, 1
je 0x4bb44b
test eax, eax
jne 0x4bb374
cmp dword [0x4c32c4], 1
je 0x4bb44b
cmp edx, 0xfc
je 0x4bb471
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bb3ab
lea eax, [ebp - 0x1a4]
push 0x4c0830
push eax
call fcn.004bbd00
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bc190
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bb3ee
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bc190
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c082c
push edi
call fcn.004be060
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c0810
push eax
call fcn.004bbd00
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bbd10
lea eax, [ebp - 0xa0]
push 0x4c080c
push eax
call fcn.004bbd10
push dword [esi + 0x4c339c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bbd10
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c07e4
push eax
call fcn.004bdfd4
add esp, 0x2c
pop edi
jmp 0x4bb471
lea eax, [ebp + 8]
lea esi, [esi + 0x4c339c]
push 0
push eax
push dword [esi]
call fcn.004bc190
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]
pop esi
leave
ret
Function at 0x404de5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x408688
cmp edx, dword [eax]
je 0x404e07
add eax, 8
inc ecx
cmp eax, 0x408718
jl 0x404df8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x408688]
jne 0x404f35
mov eax, dword [0x408a48]
cmp eax, 1
je 0x404f0f
test eax, eax
jne 0x404e38
cmp dword [0x4085d4], 1
je 0x404f0f
cmp edx, 0xfc
je 0x404f35
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x404e6f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004032f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004033f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x404eb2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004033f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4065d0
push edi
call fcn.00405720
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004032f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403300
lea eax, [ebp - 0xa0]
push 0x4065b0
push eax
call fcn.00403300
push dword [esi + 0x40868c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403300
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00405697
add esp, 0x2c
pop edi
jmp 0x404f35
lea eax, [ebp + 8]
lea esi, [esi + 0x40868c]
push 0
push eax
push dword [esi]
call fcn.004033f0
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]
pop esi
leave
ret

Function at 0x422fc1
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x422fc7
ret

Function at 0x44f7d5
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, edx
mov ecx, eax
xor eax, eax
push ebp
push 0x4469a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ecx
mov ebx, 0x64
cdq
idiv ebx
mov ebx, eax
imul eax, ebx, 0x64
mov esi, ecx
sub esi, eax
lea edx, [ebp - 4]
mov eax, esi
call fcn.0044f771
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
lea edx, [ebx + 0x30]
call fcn.0040cc6d
mov edx, dword [ebp - 8]
mov eax, edi
pop ecx
call fcn.0040cd91
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4469ad
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040cae9
ret
Function at 0x43a710
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2f000]
push edi
jmp 0x43a72a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43a731
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43a720
mov eax, 1
add ebx, ebx
jne 0x43a743
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43a738
jne 0x43a754
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43a738
xor ecx, ecx
sub eax, 3
jb 0x43a768
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43a7da
mov ebp, eax
add ebx, ebx
jne 0x43a773
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43a780
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43a7a4
inc ecx
add ebx, ebx
jne 0x43a790
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43a785
jne 0x43a7a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43a785
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43a7c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43a7b5
jmp 0x43a726
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43a7c4
add edi, ecx
jmp 0x43a726
pop esi
mov edi, esi
mov ecx, 0x89b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43a7e2
cmp byte [edi], 7
jne 0x43a7e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x43a7e7
lea edi, [esi + 0x32000]
mov eax, dword [edi]
or eax, eax
je 0x43a856
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3b5e0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3b748]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43a814
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3b74c]
or eax, eax
je 0x43a850
mov dword [ebx], eax
add ebx, 4
jmp 0x43a831
call dword [esi + 0x3b75c]
mov ebp, dword [esi + 0x3b750]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x43a88a
sub esp, 0xffffff80
jmp 0x4154bc