joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d440
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
push eax
call fcn.0042f6c0
mov edi, dword [esp + 0x38]
xor ebp, ebp
push edi
mov ebx, eax
mov dword [esp + 0x18], ebp
call fcn.0042ee30
add esp, 8
test ebx, ebx
je 0x42d582
test eax, eax
je 0x42d582
inc eax
push eax
call fcn.0043d6c7
mov ebp, eax
or ecx, 0xffffffff
xor eax, eax
push 0x5c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00431310
mov edi, eax
add esp, 0xc
test edi, edi
je 0x42d4b1
mov byte [edi], 0
inc edi
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x42d56f
push 0x400
mov dword [esp + 0x18], 0x400
mov dword [esp + 0x1c], 1
call fcn.0043d6c7
add esp, 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push esi
push edx
push 0
push edi
push eax
call ebx
test eax, eax
je 0x42d539
cmp eax, 0xea
jne 0x42d55b
push esi
call fcn.0043d6f0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043d6c7
mov ecx, dword [esp + 0x24]
add esp, 8
lea edx, [esp + 0x14]
mov esi, eax
push edx
lea eax, [esp + 0x1c]
push esi
push eax
push 0
push edi
push ecx
call ebx
test eax, eax
jne 0x42d504
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x42d547
cmp eax, 2
jne 0x42d55b
push esi
call fcn.0042ee30
push eax
push esi
call fcn.0042f1d0
add esp, 0xc
mov dword [esp + 0x10], eax
push esi
call fcn.0043d6f0
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.0043d6f0
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x42d5aa
mov ebp, eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x42d5b6
mov esi, dword [esp + 0x40]
test esi, esi
je 0x42d5b6
push esi
call fcn.0042ee30
push eax
push esi
call fcn.0042f1d0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x42e1c0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x42e252
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x42e244
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x42e23c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x42e205
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x42e290
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x28]
sub esp, 0x18
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
cmp eax, 0x80000301
ja 0x42e310
je 0x42e301
cmp eax, 0x80000101
ja 0x42e2fa
je 0x42e301
cmp eax, 0x80000004
je 0x42e2dc
cmp eax, 0x80000005
jne 0x42e325
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 3
test eax, eax
je 0x42e372
mov ebx, dword [eax + 4]
lea ebp, [eax + 8]
jmp 0x42e372
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 1
push eax
call fcn.0042ee30
mov ebp, dword [esp + 0x44]
mov ebx, eax
add esp, 4
inc ebx
jmp 0x42e372
cmp eax, 0x80000201
jne 0x42e325
mov ebx, 4
lea ebp, [esp + 0x40]
mov dword [esp + 8], ebx
jmp 0x42e372
cmp eax, 0x80000401
je 0x42e35d
cmp eax, 0x80000501
je 0x42e345
cmp eax, 0x80000601
je 0x42e32d
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
fld qword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
call fcn.004312dc
mov dword [esp + 0xc], eax
jmp 0x42e36e
fld dword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
call fcn.004312dc
mov dword [esp + 0xc], eax
jmp 0x42e36e
mov ecx, dword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea ebp, [esp + 0xc]
mov edx, dword [esp + 0x28]
push esi
push edx
call fcn.0042f6c0
mov esi, eax
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], 0
call fcn.0042ee30
add esp, 8
test esi, esi
je 0x42e44a
test eax, eax
je 0x42e44a
inc eax
push edi
push eax
call fcn.0043d6c7
mov edi, dword [esp + 0x40]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x2c], edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00431310
mov esi, eax
add esp, 0xc
test esi, esi
je 0x42e3ec
mov byte [esi], 0
inc esi
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x42e440
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x42e435
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.0043d6f0
add esp, 4
pop edi
mov eax, dword [esp + 0x18]
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x42e460
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebp
push esi
push edi
push eax
call fcn.0042f6c0
mov edi, dword [esp + 0x28]
mov ebp, eax
push edi
xor esi, esi
call fcn.0042ee30
add esp, 8
test ebp, ebp
je 0x42e529
test eax, eax
je 0x42e529
inc eax
push ebx
push eax
call fcn.0043d6c7
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
push 0x5c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00431310
mov esi, eax
add esp, 0xc
test esi, esi
je 0x42e4cb
mov byte [esi], 0
inc esi
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42e505
mov ecx, dword [esp + 0x10]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x10]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x42e518
mov eax, dword [esp + 0x28]
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
push ebx
call fcn.0043d6f0
add esp, 4
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ecx
ret

Function at 0x442af0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x442b1e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x442b3c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00442a56
jmp 0x442b3c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x442b3c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00442a56
test edi, edi
mov eax, edi
jne 0x442b26
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401434
Capabilities:
Copy file
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Set current directory
Set file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [0x42a248]
push 7
pop ecx
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
mov edi, section..ndata
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
xor ebx, ebx
shl ecx, 0xb
add ecx, edi
mov esi, eax
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x30]
shl esi, 0xb
mov dword [0x40ce34], ecx
lea ecx, [edx - 2]
add esi, edi
cmp ecx, 0x43
mov dword [ebp - 4], ebx
ja case.0x40148a.65
jmp dword [ecx*4 + 0x402b44]
push ebx
push eax
call fcn.004054c2
jmp 0x402364
inc dword [0x42920c]
cmp dword [ebp - 8], ebx
je 0x402364
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x402364
push eax
call fcn.0040136d
dec eax
push ebx
push eax
invalid

Function at 0x40323e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x403269
mov ecx, dword [0x42a2b8]
push esi
add eax, ecx
push esi
push eax
mov dword [0x420ed4], eax
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
call fcn.00403346
cmp eax, esi
jl 0x403340
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00405fd3
test eax, eax
je 0x403330
push dword [ebp + 8]
add dword [0x420ed4], 4
call fcn.00403346
mov ebx, eax
cmp ebx, esi
jl 0x40333e
cmp dword [ebp + 0x10], esi
jne 0x40330c
cmp dword [ebp + 8], esi
jle 0x40333e
mov esi, 0x414ed0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x4032ce
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00405fd3
test eax, eax
je 0x403330
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00406002
test eax, eax
je 0x403308
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x420ed4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4032bd
jmp 0x40333e
push 0xfffffffffffffffe
jmp 0x403332
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403317
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403335
push 0xfffffffffffffffd
pop eax
jmp 0x403340
mov ebx, dword [ebp - 4]
add dword [0x420ed4], ebx
invalid
Function at 0x40350d
Capabilities:
Check os version
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
sub esp, 0x2d4
push ebx
push esi
push edi
push 0x20
pop edi
xor ebx, ebx
push 0x8001
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], str.Error_writing_temporary_file._Make_sure_your_temp_folder_is_valid.
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xbfffffff
cmp ax, 6
mov dword [0x42a24c], eax
je 0x40355d
push ebx
call fcn.00406834
invalid

Function at 0x403553
Capabilities:
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
ret

Function at 0x403593
Capabilities:
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
ret

Function at 0x405991
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x4083f8
and byte [ebp - 0x1f], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x4083e8
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4059e2
xor eax, eax
jmp 0x405a09
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x405a09
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
jne 0x4059de
call esi
pop esi
leave
ret 4

Function at 0x405a43
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x426730], 0x44
push eax
xor eax, eax
push 0x426730
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405a82
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405a86
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x405b24
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00405f2b
mov edi, eax
cmp edi, 0xffffffff
je 0x405b65
test byte [esp + 0x10], 1
push esi
je 0x405b47
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x405b4d
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x405b56
xor eax, eax
inc eax
jmp 0x405b67
test byte [esp + 0x10], 4
jne 0x405b65
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8

Function at 0x405b6c
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
invalid

Function at 0x405b7f
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
ret
Function at 0x405bbd
Capabilities:
Enumerate files on windows

Disassembly:
ret

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

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x425f30
push esi
call fcn.0040645a
push esi
call fcn.00405dda
mov edi, eax
test edi, edi
jne 0x405e58
xor eax, eax
jmp 0x405eb0
push edi
call fcn.004066ee
test byte [0x42a25c], 0x80
je 0x405e75
mov ax, word [edi]
test ax, ax
je 0x405e54
cmp ax, 0x5c
je 0x405e54
sub edi, esi
sar edi, 1
jmp 0x405e8f
call fcn.0040679d
test eax, eax
je 0x405e89
test byte [eax], 0x10
je 0x405e54
push esi
call fcn.00405d7b
push esi
call sub.KERNEL32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405e7b
call fcn.00405d2f
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

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

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405f4a
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405f50
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc

Function at 0x405f7f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40a588]
dec edi
mov dword [ebp - 8], eax
mov eax, dword [0x40a58c]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x405fcf
test edi, edi
jne 0x405f8c
and word [esi], di
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x405fc9
Function at 0x4060a6
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
test esi, esi
mov dword [0x426dc8], 0x55004e
mov dword [0x426dcc], 0x4c
mov edi, 0x400
mov ebp, 0x426dc8
je 0x4060fc
push 1
push 0
push esi
call fcn.00405f50
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x40621b
cmp eax, edi
jg 0x40621b
mov esi, 0x4275c8
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x40621b
cmp eax, edi
jg 0x40621b
push esi
push ebp
push str._ls_ls_r_n
push 0x4269c8
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x42a254]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.0040647c
push 4
push 0xc0000000
push esi
call fcn.00405f50
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x40621b
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x406214
push edi
push esi
push ebp
call fcn.00405fd3
test eax, eax
je 0x406214
push str._Rename__r_n
push esi
call fcn.00405eb5
test eax, eax
jne 0x4061b2
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x4061e7
add eax, 0xa
push 0x40a590
push eax
call fcn.00405eb5
mov ebp, eax
test ebp, ebp
je 0x4061e3
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x4061d4
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x4061ce
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x4061e9
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x4269c8
push eax
call fcn.00405f0b
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.00406002
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx

Function at 0x406220
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x406243
push dword [esp + 8]
push dword [esp + 8]
call fcn.004060a6
pop ecx
pop ecx
inc dword [0x42a2f0]
ret 8
Function at 0x40113b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c004]
jne 0x401145
repz ret
jmp fcn.0040142f

Function at 0x40425b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40c004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004035f2
and dword [ebp - 0x14], 0
cmp dword [0x40da18], 0
mov dword [ebp - 0x18], eax
jne 0x40430e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4043b6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4043b6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40da18], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40da1c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40da20], eax
call edi
push eax
call esi
mov dword [0x40da28], eax
test eax, eax
je 0x40430e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40da24], eax
mov eax, dword [0x40da24]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404367
cmp dword [0x40da28], ecx
je 0x404367
push eax
call esi
push dword [0x40da28]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404367
test ebx, ebx
je 0x404367
call edi
test eax, eax
je 0x40435e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40435e
test byte [ebp - 8], 1
jne 0x404367
or dword [ebp + 0x10], 0x200000
jmp 0x40439a
mov eax, dword [0x40da1c]
cmp eax, dword [ebp - 0x18]
je 0x40439a
push eax
call esi
test eax, eax
je 0x40439a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40439a
mov eax, dword [0x40da20]
cmp eax, dword [ebp - 0x18]
je 0x40439a
push eax
call esi
test eax, eax
je 0x40439a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40da18]
call esi
test eax, eax
je 0x4043b6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4043b8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040113b
leave
ret
Function at 0x10001350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movaps xmm0, xmmword [0x1009b380]
xor ecx, ecx
movups xmmword [ebp - 0x1e], xmm0
mov word [ebp - 0xe], 0xc1
mov byte [ebp - 0xc], 1
nop dword [eax]
lea eax, [ecx - 0x6a]
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 0x11
jb 0x10001370
mov byte [ebp - 0xc], 0
xor ecx, ecx
mov dword [ebp - 0xb], 0xf5fce3f8
mov dword [ebp - 7], 0xf1f8b5f6
mov word [ebp - 3], 0xf2
mov byte [ebp - 1], 1
nop dword [eax + eax]
lea eax, [ecx - 0x6a]
xor byte [ebp + ecx - 0xb], al
inc ecx
cmp ecx, 9
jb 0x100013a0
lea eax, [ebp - 0x1e]
mov byte [ebp - 1], 0
push eax
lea eax, [ebp - 0xb]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001471
push 0
push 6
push fcn.10001500
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movaps xmm0, xmmword [0x1009b390]
xor ecx, ecx
movups xmmword [ebp - 0x1f], xmm0
mov dword [ebp - 0xf], 0x100c9cf
nop dword [eax]
lea eax, [ecx - 0x6a]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x12
jb 0x10001400
mov byte [ebp - 0xc], 0
xor ecx, ecx
mov dword [ebp - 0xb], 0xf5fce3f8
mov dword [ebp - 7], 0xf1f8b5f6
mov word [ebp - 3], 0xf2
mov byte [ebp - 1], 1
nop dword [eax + eax]
lea eax, [ecx - 0x6a]
xor byte [ebp + ecx - 0xb], al
inc ecx
cmp ecx, 9
jb 0x10001430
lea eax, [ebp - 0x1f]
mov byte [ebp - 1], 0
push eax
lea eax, [ebp - 0xb]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001471
push 0
push 6
push fcn.10001500
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov esp, ebp
pop ebp
ret

Function at 0x10001500
Capabilities:
Create process on windows

Disassembly:
push 0
lea eax, [ebp - 0x29]
push str.taskkill__im_Conquer.exe__f
push eax
call fcn.100011b0
add esp, 8
mov ecx, eax
call fcn.10001610
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x258
push eax
lea ecx, [ebp - 0xc]
call fcn.10001190
push eax
call fcn.100012c0
add esp, 4
mov byte [0], 0
int3