joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4051c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00405670
mov byte [esp], al
cmp byte [esp], 0
jne 0x405349
test edi, edi
je 0x405349
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405289
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x405264
cmp edi, 0xffffffff
je 0x405225
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405225
mov byte [esp], 0
jmp 0x405349
cmp dword [esi], 1
jg 0x405264
cmp dword [esi], 0
jne 0x405256
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x405256
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x405349
lea eax, [esp + 0xc]
call fcn.00404e58
dec ebp
test ebp, ebp
jg 0x40520a
cmp edi, 0xffffffff
je 0x405289
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405287
mov byte [esp], 0
jmp 0x405349
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x4051ce
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405289
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.004053c4
mov edx, eax
mov ebx, dword [0x40c8e4]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x4052ed
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x4052eb
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x4052ed
xor edi, edi
cmp byte [esp], 0
je 0x405313
mov ebx, dword [esi]
test bl, 1
jne 0x405329
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4052f3
mov byte [esp + 1], 1
jmp 0x405329
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405313
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4052a0
cmp byte [esp], 0
je 0x405349
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x405e9c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40c040], 0
je 0x405f03
cmp word [0x40c330], 0xd7b2
jne 0x405ec5
cmp dword [0x40c338], 0
jbe 0x405ec5
mov eax, 0x40c32c
call dword [0x40c348]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x405f30
call fcn.004062d0
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x40b01e], 0
jne 0x405f1f
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x408674
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x557a60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x4d7015
lea edi, [esi - 0xd6015]
push edi
or ebp, 0xffffffff
jmp 0x557a82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x557a89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x557a78
mov eax, 1
add ebx, ebx
jne 0x557a9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x557aac
jne 0x557acb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x557acb
dec eax
add ebx, ebx
jne 0x557ab8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x557a90
add ebx, ebx
jne 0x557ac7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x557b1d
xor ecx, ecx
sub eax, 3
jb 0x557ae3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x557b52
sar eax, 1
mov ebp, eax
jmp 0x557aee
add ebx, ebx
jne 0x557aee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x557abc
inc ecx
add ebx, ebx
jne 0x557afc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x557abc
add ebx, ebx
jne 0x557b09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x557afe
jne 0x557b1a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x557afe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x557b3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x557b2e
jmp 0x557a7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x557b3c
add edi, ecx
jmp 0x557a7e
pop esi
mov edi, esi
mov ecx, 0x3b81
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x557b5a
cmp byte [edi], 0xe
jne 0x557b5a
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 0x557b5f
lea edi, [esi + 0x152000]
mov eax, dword [edi]
or eax, eax
je 0x557bce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x157000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x157028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x557b8c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x157030]
or eax, eax
je 0x557bc8
mov dword [ebx], eax
add ebx, 4
jmp 0x557ba9
call dword [esi + 0x15702c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x557bff
cmp al, 0xef
ja 0x557bf2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x557bd4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x557be1
mov ebp, dword [esi + 0x157034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x557c33
sub esp, 0xffffff80
jmp 0x45e740
Function at 0x406340
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x80ffab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x404604
call fcn.00406fa1
push 4
mov dword [esp + 0x18], 0
call fcn.00407c9f
mov edi, eax
add esp, 4
test edi, edi
je 0x4063b4
push ebx
call fcn.00406e79
mov dword [edi], eax
call fcn.00406c38
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406f62
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4063a8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406f8a
pop ebx
jmp 0x4063b6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408711
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x8133d8]
jne 0x40871b
repz ret
jmp fcn.0040c8fc
Function at 0x80e9b0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0xb9a558], 0x37
jne 0x80ea56
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualUnlock]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0
lea eax, [esp + 0x410]
push eax
push 0
push 0x404128
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0x404168
push 0x404144
push 0x4041c0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0xb9a55c]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x81a5bc]
mov byte [ecx + esi], al
add esp, 0xc0c
ret
Function at 0x80ec60
Capabilities:
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0xb9a558]
sub esp, 0x47c
push ebx
push ebp
push esi
shr eax, 3
xor ebx, ebx
push edi
mov edi, dword [0x81a5bc]
cmp eax, ebx
jbe 0x80ee56
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x80ec96
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0xb9a558], 0x1c
jne 0x80ecad
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ecx, dword [edi + 4]
mov edx, dword [0x814700]
mov eax, dword [0x814704]
mov esi, dword [edi]
mov ebp, dword [0x814708]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x81470c]
mov edi, 0xc6ef3720
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0x20
jmp 0x80ecea
xor ebx, ebx
mov eax, esi
mov edx, esi
shl eax, 4
shr edx, 5
add edx, dword [esp + 0x28]
add eax, ebp
lea ecx, [edi + esi]
xor eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [0xb994dc], ebx
mov eax, dword [esp + 0x18]
add dword [0xb994dc], eax
mov edx, dword [0xb994dc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp dword [0xb9a558], 0x1be
mov eax, dword [esp + 0x14]
lea ebx, [edi + eax]
jne 0x80ed84
lea edx, [esp + 0x34]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x30]
cmp dword [0xb9a558], 0x979
mov dword [0xb994e0], 0xff6b3619
mov dword [0xb994e4], 0xffffffff
mov dword [esp + 0x18], eax
jne 0x80edd8
mov eax, dword [esp + 0x34]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
lea ecx, [esp + 0x8c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
xor dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
sub esi, dword [esp + 0x10]
add edi, 0x61c88647
dec dword [esp + 0x20]
jne 0x80ece8
cmp dword [0xb9a558], 0x8d4
jne 0x80ee0f
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], eax
cmp dword [0xb9a558], 0x17
jne 0x80ee45
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea ecx, [esp + 0x88]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add edi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], edi
jne 0x80ec90
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x47c
ret
Function at 0x407010
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 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40ed73
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x40eae0
sub ebx, ebx
call fcn.0040ed9a
add ebx, 0xe361ee86
xor dword [edi], edx
dec ebx
add ebx, 0x5f80a03c
inc edi
cmp edi, esi
jne fcn.0040ed73
ret
Function at 0x9b8058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009b81a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9b807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9b806a
add dl, dl
jne 0x9b8089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9b80dc
xor eax, eax
add dl, dl
jne 0x9b8096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9b817d
add dl, dl
jne 0x9b80a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9b80b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9b80bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9b80c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9b80d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9b8075
mov eax, 1
add dl, dl
jne 0x9b80ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9b80f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9b80e1
sub eax, ebx
mov ebx, 1
jne 0x9b8128
mov ecx, 1
add dl, dl
jne 0x9b810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9b8119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9b8105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9b8075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9b813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9b814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9b8136
cmp eax, 0x7d00
jae 0x9b816d
cmp eax, 0x500
jb 0x9b8168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9b8075
cmp eax, 0x7f
ja 0x9b8170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9b8075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9b819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x9b8075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1d9a2a4
Capabilities:
Encode data using xor

Disassembly:
sbb edx, dword [ebx + edi + 0x2b806abd]
test eax, 0x951b8c5a
dec edx
mov eax, 0x92813509
pop ebp
pop ebp
cmp edx, dword [ebx - 0x14ff4f0e]
jmp 0x1d9a2ae
add byte [eax], ah
inc esp
add byte [eax], al
add byte [eax], al
add byte [eax - 0x18], ah
add byte [eax], al
add byte [eax], al
jmp 0x1d9a2ae
pushal
call 0x1d9a2b4
pop ebp
sub ebp, 0x10
sub ebp, 0x199a2a4
jmp 0x1d9a2ca
mov eax, 0x199a2a4
add eax, ebp
add eax, 0x4c
mov ecx, 0x579
mov edx, 0x2490468b
xor byte [eax], dl
inc eax
dec ecx
jne 0x1d9a2e1
jmp 0x1d9a2f4
add byte [esi], al
add dh, byte [edi + 0xa8b8b8b]
dec edx
jae 0x1d9a28b
mov ecx, dword [ebx - 0x7cccb978]
mov ecx, dword [ebx - 0x745cce75]
mov ecx, dword [ebx + 0x4388697c]
add byte [edx], cl
xchg dword [ebx + 0x4e888b8b], ecx
fcmovnu st(0), st(3)
jecxz 0x1d9a331
mov ss, word [ebx + ecx*4 - 0xee97f1d]
mov cl, byte [edx + 0x30e3afa7]
sbb byte [ecx + 0x3b], bh
arpl word [esi + 0x628b8b8b], cx
mov dword [0xde8b8b8b], eax
mov ecx, dword [ebx - 0x74745c9e]
mov ebx, esi
invalid

Function at 0x43d0b2
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x43ce2e
and ebx, eax
call fcn.0043d0de
or eax, ebx
add ebx, 0x2a73c20a
xor dword [edi], edx
and eax, eax
dec ebx
add edi, 1
or ebx, eax
or ebx, ebx
cmp edi, ecx
jne fcn.0043d0b2
mov ebx, ebx
ret
Function at 0x406176
Capabilities:
Create pipe
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0xc750d4]
mov ecx, dword [0xc4e274]
sub esp, 0xe84
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x406279
mov ebx, ecx
mov dword [ebp - 8], eax
cmp dword [0xc750d4], 0x959
jne 0x406267
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
xor eax, eax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
push esi
push esi
lea eax, [ebp - 0x680]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
lea eax, [ebp - 0x280]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 0x405940
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x405960
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0xe80]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
call fcn.00405f8f
add ebx, 8
dec dword [ebp - 8]
jne 0x40619f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408d8b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x811718]
jne 0x408d95
repz ret
jmp fcn.0041125c

Function at 0x412fd7
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.0040a50d
and dword [ebp - 4], 0
cmp dword [0x813b28], 0
mov ebx, eax
jne 0x413088
push 0x40394c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413139
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403940
push edi
call esi
test eax, eax
je 0x413139
push eax
call fcn.0040a49b
mov dword [esp], 0x403930
push edi
mov dword [0x813b28], eax
call esi
push eax
call fcn.0040a49b
mov dword [esp], 0x40391c
push edi
mov dword [0x813b2c], eax
call esi
push eax
call fcn.0040a49b
mov dword [esp], 0x403900
push edi
mov dword [0x813b30], eax
call esi
push eax
call fcn.0040a49b
pop ecx
mov dword [0x813b38], eax
test eax, eax
je 0x413088
push 0x4038e8
push edi
call esi
push eax
call fcn.0040a49b
pop ecx
mov dword [0x813b34], eax
mov eax, dword [0x813b34]
cmp eax, ebx
je 0x4130e0
cmp dword [0x813b38], ebx
je 0x4130e0
push eax
call fcn.0040a516
push dword [0x813b38]
mov esi, eax
call fcn.0040a516
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4130e0
test edi, edi
je 0x4130e0
call esi
test eax, eax
je 0x4130d7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4130d7
test byte [ebp - 0xc], 1
jne 0x4130e0
or dword [ebp + 0x10], 0x200000
jmp 0x413119
mov eax, dword [0x813b2c]
cmp eax, ebx
je 0x413119
push eax
call fcn.0040a516
pop ecx
test eax, eax
je 0x413119
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413119
mov eax, dword [0x813b30]
cmp eax, ebx
je 0x413119
push eax
call fcn.0040a516
pop ecx
test eax, eax
je 0x413119
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x813b28]
call fcn.0040a516
pop ecx
test eax, eax
je 0x413139
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41313b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x438cac
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x438a14
sub ebx, 0xc041bead
mov edx, edx
inc edx
call fcn.00438ce9
mov edx, ebx
or ebx, ebx
add ebx, ebx
xor dword [esi], eax
or edx, edx
sub ebx, 0x249ac98c
mov edx, 0x78e38337
inc esi
dec edx
sub ebx, 0x6a35b740
and edx, ebx
cmp esi, ecx
jne fcn.00438cac
mov ebx, ebx
add edx, edx
ret
Function at 0x406320
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4a997b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4045dc
call fcn.00406f81
push 4
mov dword [esp + 0x18], 0
call fcn.00407c7f
mov edi, eax
add esp, 4
test edi, edi
je 0x406394
push ebx
call fcn.00406e59
mov dword [edi], eax
call fcn.00406c18
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406f42
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406388
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406f6a
pop ebx
jmp 0x406396
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4086f1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ad3d8]
jne 0x4086fb
repz ret
jmp fcn.0040c8dc