joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404db0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x45c23b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
lea eax, [esp]
push esi
mov esi, ecx
push eax
push 0
push esi
push 0x404b40
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x404df5
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esi + 0x138]
test eax, eax
jne 0x404e32
push 0xc
call fcn.0044f2f1
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x404e22
mov ecx, eax
call fcn.00408e40
jmp 0x404e24
xor eax, eax
mov dword [esp + 0x14], 0xffffffff
mov dword [esi + 0x138], eax
mov ecx, dword [esi + 0x138]
push 0
call fcn.00408ed0
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x405000
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45c2a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 8], edi
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
mov eax, dword [0x4790e8]
mov dword [esp + 0x14], edi
mov dword [esi + 0x18], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x28], ecx
mov edx, dword [0x4790e8]
mov dword [esi + 0x2c], edx
push edi
push edi
push edi
lea ecx, [esi + 0x3c]
mov byte [esp + 0x20], 2
call fcn.00424376
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x20], eax
mov dword [esi + 0x38], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], edi
mov dword [esi], 0x461b50
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x408650
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x28
push ebx
push ebp
push esi
push edi
push eax
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x4086cc
lea ecx, [esp + 0x10]
push 0xa
push ecx
call fcn.004086e0
mov edi, eax
add esp, 8
cmp edi, 0xa
jge 0x40869f
push str.220.189.211.2
call sub.WSOCK32.dll_inet_addr
mov dword [esp + edi*4 + 0x10], eax
inc edi
cmp edi, 0xa
jge 0x40869f
push str.210.51.244.162
call sub.WSOCK32.dll_inet_addr
mov dword [esp + edi*4 + 0x10], eax
inc edi
xor ebx, ebx
test edi, edi
jle 0x4086ca
mov ebp, dword [esp + 0x40]
lea esi, [esp + 0x10]
mov edx, dword [esi]
mov eax, dword [esp + 0x3c]
push ebp
push edx
push eax
call fcn.00408a00
add esp, 0xc
test eax, eax
jne 0x4086cc
inc ebx
add esi, 4
cmp ebx, edi
jl 0x4086ad
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x408ed0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x408f1b
mov eax, dword [esp + 8]
test eax, eax
je 0x408ef9
mov dword [esi + 8], 1
call fcn.00408f50
mov dword [esi + 8], 0
pop esi
ret 4
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x408f20
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x408f1b
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
ret 4

Function at 0x409120
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
push esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.0044eb76
mov ecx, 0x11
xor eax, eax
lea edi, [ebp - 0x64]
push ebx
rep stosd dword es:[edi], eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
mov dword [ebp - 0x64], 0x44
call fcn.0044f1bd
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x64]
push ecx
push edx
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x409199
mov eax, dword [ebp - 0x20]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0044ee01
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40b1b0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x40b235
push 1
mov dword [esi + 0x40], 1
call fcn.0040b110
mov ecx, esi
call fcn.0040b0c0
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x18]
push ecx
lea ecx, [esi + 0x20]
mov dword [esi + 0x10], eax
call fcn.0044ef3a
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0xc]
test eax, eax
mov dword [esi + 4], edx
mov dword [esi + 0x18], 0
je 0x40b214
push esi
call fcn.0040b240
add esp, 4
mov dword [esi + 0x40], 0
pop esi
ret 0x14
lea ecx, [esp + 0x18]
push ecx
push 0
push esi
push fcn.0040b240
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x40], 0
pop esi
ret 0x14
Function at 0x40ba40
Capabilities:
Access peb ldr_data
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45cb7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push 0x47f914
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.0044ee6f
mov ebx, 1
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], ebx
call fcn.0044f1bd
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0044f20c
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0040b830
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call fcn.0044ef3a
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], bl
call fcn.0044ee01
mov edx, dword [esp + 8]
mov eax, dword [edx - 8]
test eax, eax
jne 0x40bae6
push 0x478770
lea ecx, [esp + 0xc]
call fcn.0044ef8a
mov eax, dword [0x4790e8]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 8]
push ecx
push edx
lea eax, [esp + 0x14]
push str._s_TMP_DL__d__
push eax
mov byte [esp + 0x30], 3
call fcn.0044c0b3
mov esi, dword [esp + 0x38]
add esp, 0x10
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0044eb76
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], bl
call fcn.0044ee01
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.0044ee01
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8

Function at 0x40c940
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push esi
mov esi, ecx
push eax
push 0
push esi
push 0x40c9d0
push 0
push 0
mov dword [esi + 0x90], 1
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 0x94], eax
pop esi
pop ecx
ret
Function at 0x40cdb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push 0xffffffffffffffff
push 0x45cdd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
mov dword [esp + 0xc], ecx
call fcn.0040d2f0
mov dword [esp + 0x10], 0x46254c
xor ebp, ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], ebp
call fcn.0044caa5
mov ebx, 1
push 0x4786b4
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], bl
call fcn.0044ee6f
mov eax, dword [esp + 0x50]
push ebp
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x2c]
push ecx
push edx
push 0x40cd80
push eax
mov byte [esp + 0x58], 2
call fcn.00409690
add esp, 0x18
lea ecx, [esp + 8]
mov byte [esp + 0x40], bl
call fcn.0044ee01
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov dword [esp + 0x48], eax
jne 0x40ce67
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 0
call fcn.0044cad8
pop ebp
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0xc
jle 0x40cf8f
push esi
push edi
lea ecx, [esp + 0x1c]
call fcn.00452e59
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x48], 3
lea edx, [ecx + ebp*4]
lea ecx, [esp + 0x58]
push edx
call fcn.0044eb76
mov eax, dword [esp + 0x58]
push 0
push 0x8040
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 4
call fcn.00452f6b
test eax, eax
je 0x40cf65
lea ecx, [esp + 0x1c]
call fcn.00453265
mov edi, eax
cmp edi, 0x1c
jbe 0x40cf5c
push edi
call fcn.0044f2f1
add esp, 4
mov esi, eax
lea ecx, [esp + 0x1c]
push edi
push esi
call fcn.00453088
mov ecx, 0x478784
mov edx, dword [ecx]
mov ecx, dword [esi]
cmp edx, ecx
jne 0x40cf53
cmp word [esi + 4], bx
jne 0x40cf53
cmp word [esi + 6], 0x1c
jne 0x40cf53
mov ecx, dword [esp + 0x54]
mov edx, dword [esi + 0x10]
cmp ecx, edx
jne 0x40cf53
lea edi, [eax - 0x1c]
mov eax, dword [esi + 8]
cmp edi, eax
lea ecx, [esi + 0x1c]
jne 0x40cf53
or eax, 0xffffffff
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x462148]
xor eax, edx
inc ecx
dec edi
jne 0x40cf0f
mov ecx, dword [esi + 0xc]
not eax
cmp eax, ecx
jne 0x40cf4e
mov eax, dword [esp + 0x14]
push esi
lea ecx, [eax + 4]
mov eax, dword [eax + 0xc]
push eax
call fcn.0044d15f
mov ebx, 1
jmp 0x40cf5c
mov ebx, 1
push esi
call fcn.0044f31a
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.00453186
lea ecx, [esp + 0x58]
mov byte [esp + 0x48], 3
call fcn.0044ee01
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], bl
call fcn.00452eae
mov eax, dword [esp + 0x50]
inc ebp
cmp ebp, eax
jl 0x40ce6f
pop edi
pop esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 0
call fcn.0044cad8
mov ecx, dword [esp + 0x38]
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 0xc
Function at 0x40cff0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45ce00
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, ecx
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40d031
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
lea ecx, [esp + 0x18]
call fcn.0044cfe6
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0
push ecx
mov ecx, edi
call fcn.0040d150
test eax, eax
jne 0x40d07b
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0xffffffff
call fcn.0044d019
pop edi
mov eax, 4
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
mov ecx, edi
call fcn.0040d330
lea ecx, [esp + 8]
call fcn.00452e59
mov eax, dword [esi]
push 0
push 0x9011
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 1
call fcn.00452f6b
test eax, eax
jne 0x40d0dd
lea ecx, [esp + 8]
mov byte [esp + 0x34], al
call fcn.00452eae
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0xffffffff
call fcn.0044d019
pop edi
mov eax, 5
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
push ebp
mov ebp, dword [edi + 0xc]
xor esi, esi
test ebp, ebp
jle 0x40d108
mov edx, dword [edi + 8]
xor ecx, ecx
mov eax, dword [edx + esi*4]
mov cx, word [eax + 6]
add ecx, eax
mov eax, dword [eax + 8]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.004530c2
inc esi
cmp esi, ebp
jl 0x40d0e7
lea ecx, [esp + 0xc]
call fcn.00453186
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0
call fcn.00452eae
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0044d019
mov ecx, dword [esp + 0x30]
pop ebp
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4

Function at 0x40d9dd
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45cec0
push eax
mov dword fs:[0], esp
sub esp, 0x44
lea eax, [esp + 0x58]
push ebx
push esi
mov esi, ecx
push eax
call fcn.0040d830
xor ebx, ebx
cmp eax, ebx
je 0x40da89
cmp dword [esi + 0x5c], eax
jne 0x40da89
mov ecx, dword [0x4790e8]
mov dword [esp + 8], ecx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x5c], ebx
call fcn.0044c75c
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0044c785
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x58], 1
call fcn.0044ef3a
lea ecx, [esp + 0xc]
mov byte [esp + 0x54], bl
call fcn.0044ee01
lea edx, [esp + 0x10]
mov ecx, esi
push edx
mov dword [esp + 0x18], 0x40000000
call fcn.0044c827
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov dword [esp + 0x28], 0x840084
call fcn.0044c7eb
mov ecx, dword [esp + 8]
push 5
push ebx
push ebx
push ecx
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 8]
mov dword [esp + 0x54], 0xffffffff
call fcn.0044ee01
jmp 0x40da90
mov ecx, esi
call fcn.0044f7c5
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x5c], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0xc
Function at 0x40e620
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45cf98
push eax
mov eax, dword [0x481fc8]
mov dword fs:[0], esp
sub esp, 0x58
cmp eax, 3
jge 0x40e653
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret
mov eax, dword [0x4790e8]
push esi
push edi
mov dword [esp + 8], eax
mov ecx, dword [0x481fcc]
lea eax, [esp + 8]
mov dword [esp + 0x68], 0
mov edx, dword [ecx + 8]
push edx
push 0x4787ac
push eax
call fcn.0044c0b3
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x28]
add esp, 0xc
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
lea edx, [esp + 0x1c]
push ecx
push edx
push eax
push eax
push 0x20
push eax
push eax
push eax
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 0x44
call fcn.0044f1bd
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x68], 0xffffffff
call fcn.0044ee01
mov ecx, dword [esp + 0x60]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x64
ret
Function at 0x40f8e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
push eax
mov eax, dword [esp + 8]
push edx
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
ret 0xc

Function at 0x40f900
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 0x10

Function at 0x40fe60
Capabilities:
Set socket configuration

Disassembly:
push esi
push edi
mov edi, ecx
push 0x400000
call fcn.0040fc20
test eax, eax
jne 0x40feb6
mov eax, dword [edi + 4]
lea esi, [edi + 4]
push eax
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x40fea5
mov eax, dword [esi]
push 5
push eax
call fcn.00408650
add esp, 8
test eax, eax
jne 0x40fe97
pop edi
pop esi
ret
push eax
call sub.WSOCK32.dll_inet_ntoa
push eax
mov ecx, esi
call fcn.0044ef8a
push 0x400000
push 0x400000
mov ecx, edi
call fcn.0040fc40
pop edi
mov eax, 1
pop esi
ret
Function at 0x412d10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x45d5dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x4790e8]
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], eax
mov cl, byte [esp + 0xb]
xor edi, edi
mov dword [esp + 0x18], edi
mov byte [esi + 8], cl
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dl, byte [esp + 0xb]
push 0xc
mov byte [esp + 0x1c], 1
mov byte [esi + 0x20], dl
call fcn.0044f2f1
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edi
mov eax, dword [0x4790e8]
mov dword [esi + 0x2c], eax
push edi
mov byte [esp + 0x20], 3
mov dword [esi], 0x462950
mov dword [esi + 0x30], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
call fcn.0042c5d4
push eax
call fcn.0042c5a5
add esp, 0xc
mov ecx, esi
call fcn.00412f10
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x412fd0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45d698
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push edi
mov edi, ecx
call fcn.00412f10
test eax, eax
jne 0x413006
pop edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0x10
push ebx
mov ebx, dword [esp + 0x34]
push esi
mov eax, dword [ebx]
test eax, eax
je 0x41301a
push eax
mov ecx, edi
call fcn.004130e0
lea ecx, [esp + 0xc]
call fcn.0040fb50
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x34], 0
call fcn.0040fbc0
mov esi, dword [esp + 0x3c]
push 0xff000000
push esi
lea ecx, [esp + 0x14]
call fcn.0040fc40
push 0xf0000
push esi
lea ecx, [esp + 0x14]
call fcn.0040fc40
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0xc]
push ecx
push edx
push ebx
mov ecx, edi
call fcn.004131f0
mov esi, eax
neg esi
sbb esi, esi
neg esi
lea ecx, [esp + 0x22]
mov dword [esp + 0x30], 4
call fcn.0044ee01
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 3
call fcn.0044ee01
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 2
call fcn.0044ee01
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.0044ee01
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0044ee01
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
pop ebx
pop edi
mov dword fs:[0], ecx
add esp, 0x28
ret 0x10
Function at 0x416ad0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x45dc20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
lea eax, [esp + 4]
push esi
push eax
mov ecx, 0x47f818
call fcn.004019c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0
call fcn.0042450f
lea ecx, [esp + 8]
push 0x4788e0
lea edx, [esp + 0x10]
mov bl, 1
push ecx
push edx
mov byte [esp + 0x44], bl
call fcn.0044f096
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 2
call fcn.004245d2
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x38], bl
call fcn.0044ee01
test esi, esi
je 0x416bbd
mov esi, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push edi
lea ecx, [esp + 0x18]
call fcn.004247f2
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.004247b9
test eax, eax
jne 0x416bb8
mov eax, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [eax + 0x38]
test eax, eax
je 0x416bb8
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004248c1
push str.CodeToBlock.ini
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x48], 3
call fcn.0044f096
mov eax, dword [eax]
push eax
call esi
lea ecx, [esp + 0x10]
call fcn.0044ee01
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], bl
call fcn.0044ee01
test edi, edi
jne 0x416b51
pop edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0042454c
lea ecx, [esp + 8]
mov dword [esp + 0x38], 0xffffffff
call fcn.0044ee01
mov ecx, dword [esp + 0x30]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x416e40
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x45dc70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
push eax
push 0
mov edi, ecx
push 0x100001
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x416fa8
mov ecx, dword [0x4790e8]
push ebx
push ebp
mov dword [esp + 0x24], ecx
mov edx, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
push edx
mov dword [esp + 0x20], 0
call ebx
mov ebp, dword [esp + 0x28]
test eax, eax
mov eax, dword [ebp]
push eax
je 0x416ec8
lea ecx, [esp + 0x28]
push 0x6e
push ecx
call fcn.0044c0c6
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, edi
push edx
call fcn.00416c20
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
jmp 0x416ee3
lea ecx, [esp + 0x28]
push 0x6f
push ecx
call fcn.0044c0c6
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, edi
push edx
call fcn.00416c20
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [0x4790e8]
mov dword [esp + 0x10], eax
mov esi, dword [ebp]
push 0x104
push 0x104
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call fcn.0044f1bd
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetShortPathNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.0044f20c
mov ecx, dword [edi + 0x1c]
push ecx
call ebx
test eax, eax
je 0x416f6f
lea edx, [esp + 0x28]
mov ecx, 0x47f818
push edx
call fcn.00401b20
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.0042bed4
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
sete bl
call fcn.0044ee01
test bl, bl
je 0x416f6f
mov dword [edi + 0xc4], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call fcn.0044ee01
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0044ee01
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
mov ecx, dword [esp + 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4172f0
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x45dcd3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebp
push str.kernel32.dll
mov dword [esp + 0x140], 0
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov ebp, eax
test ebp, ebp
je 0x417444
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push edi
push str.CreateToolhelp32Snapshot
push ebp
call esi
push str.Process32First
push ebp
mov edi, eax
call esi
push str.Process32Next
push ebp
mov ebx, eax
call esi
push str.Module32First
push ebp
mov dword [esp + 0x1c], eax
call esi
push str.Module32Next
push ebp
call esi
push 0
push 2
call edi
mov esi, eax
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x128
push eax
push esi
call ebx
test eax, eax
je 0x417433
mov ebx, dword [sym.imp.KERNEL32.DLL_GetShortPathNameA]
mov edi, dword [esp + 0x20]
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
cmp edi, eax
je 0x417421
mov ecx, dword [0x4790e8]
mov dword [esp + 0x10], ecx
push 0x104
push 0x104
lea ecx, [esp + 0x18]
mov byte [esp + 0x150], 1
call fcn.0044f1bd
lea edx, [esp + 0x40]
push eax
push edx
call ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.0044f20c
lea ecx, [esp + 0x10]
call fcn.0044f28f
mov eax, dword [esp + 0x154]
lea ecx, [esp + 0x10]
push eax
call fcn.0044bd2d
cmp eax, 0xffffffff
je 0x417410
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x154]
call fcn.0044d80e
mov dword [eax], edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], 0
call fcn.0044ee01
lea edx, [esp + 0x18]
push edx
push esi
call dword [esp + 0x1c]
test eax, eax
jne 0x417398
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebp
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
pop edi
pop esi
pop ebx
lea ecx, [esp + 0x148]
mov dword [esp + 0x13c], 0xffffffff
call fcn.0044ee01
mov ecx, dword [esp + 0x134]
pop ebp
mov dword fs:[0], ecx
add esp, 0x13c
ret