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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4817a0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4a06b4]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x4a06b4]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebx, 0x4a5ee4
mov dword [esp + 0x14], 5
xor esi, esi
mov edi, 8
mov dword [esp + 0x10], esi
cmp dword [ebx + 0x14], edi
jb 0x40ab88
mov ecx, dword [ebx]
jmp 0x40ab8a
mov ecx, ebx
mov eax, dword [ebx - 4]
lea edx, [esp + 0x10]
push edx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x40abb9
cmp dword [ebx + 0x14], edi
jb 0x40aba7
mov ecx, dword [ebx]
jmp 0x40aba9
mov ecx, ebx
mov eax, dword [ebx - 4]
lea edx, [esp + 0x10]
push edx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push 0xffffffffffffffff
push esi
lea ecx, [ebx + 0x38]
xor eax, eax
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], esi
mov word [esp + 0x28], ax
call fcn.00401990
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], esi
call fcn.0041c030
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 1
call fcn.00412a40
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x30], edi
jae 0x40ac05
lea ecx, [esp + 0x1c]
lea esi, [ebx + 0x1c]
cmp dword [ebx + 0x30], edi
jb 0x40ac11
mov eax, dword [esi]
jmp 0x40ac13
mov eax, esi
mov edx, dword [esp + 0x2c]
add edx, edx
push edx
push ecx
push 1
push 0
push eax
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x40ac4a
cmp dword [ebx + 0x30], edi
jb 0x40ac36
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, esi
mov esi, eax
call fcn.00404b20
mov edi, 8
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 0
call fcn.0041c040
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x30], edi
jb 0x40ac7e
mov edx, dword [esp + 0x1c]
push edx
call fcn.0041cbd1
add esp, 4
add ebx, 0x60
dec dword [esp + 0x14]
jne 0x40ab74
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0041c4a1
mov esp, ebp
pop ebp
ret
Function at 0x40acb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481053
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x4a06b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, 0x4a6248
mov dword [ebp - 0x184], 2
xor ebx, ebx
cmp dword [edi + 0x1c], 1
jne 0x40ad43
push 0x114
lea eax, [ebp - 0x180]
push ebx
push eax
call fcn.00426e40
add esp, 0xc
lea ecx, [ebp - 0x180]
push ecx
mov dword [ebp - 0x180], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40ae44
cmp dword [ebp - 0x17c], 6
jb 0x40ae44
cmp dword [ebp - 0x178], 2
jb 0x40ae44
push 0xffffffffffffffff
push ebx
xor edx, edx
mov esi, 7
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
call fcn.00401990
lea ecx, [ebp - 0x188]
mov dword [ebp - 4], ebx
call fcn.0041c030
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00412a40
push 0xffffffffffffffff
push ebx
lea ecx, [edi - 0x1c]
xor eax, eax
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00401990
push 5
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1c]
push 0x49287c
push edx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004023a0
test eax, eax
jne 0x40adf0
push 0x79
lea esi, [ebp - 0x64]
call fcn.00410f30
add esp, 4
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00401910
cmp dword [ebp - 0x50], 8
jb 0x40addd
mov eax, dword [ebp - 0x64]
push eax
call fcn.0041cbd1
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
lea esi, [ecx + 7]
lea edx, [ebp - 0x2c]
push edx
lea ecx, [edi - 0x38]
lea edx, [ebp - 0x48]
call fcn.0040ae70
cmp dword [ebp - 0x18], 8
jb 0x40ae11
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0041cbd1
add esp, 4
xor ecx, ecx
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], bl
call fcn.0041c040
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], 8
jb 0x40ae44
mov edx, dword [ebp - 0x48]
push edx
call fcn.0041cbd1
add esp, 4
add edi, 0x58
dec dword [ebp - 0x184]
jne 0x40acef
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041c4a1
mov esp, ebp
pop ebp
ret
Function at 0x40ae70
Capabilities:
Check for time delay via gettickcount
Create service
Modify service
Persist via windows service
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x49c1e8
push 0x423ce0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4a06b4]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov ebx, edx
mov dword [ebp - 4], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ecx, eax
mov dword [ebp - 0x40], ecx
test ecx, ecx
jne 0x40aeda
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x3c]
jmp 0x40b020
cmp dword [edi + 0x14], 8
jb 0x40aee4
mov eax, dword [edi]
jmp 0x40aee6
mov eax, edi
push 0xf01ff
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
jne 0x40af72
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jne 0x40b020
mov eax, 8
cmp dword [ebx + 0x14], eax
jb 0x40af1b
mov edx, dword [ebx]
jmp 0x40af1d
mov edx, ebx
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0x14], eax
jb 0x40af27
mov ecx, dword [ecx]
cmp dword [edi + 0x14], eax
jb 0x40af30
mov eax, dword [edi]
jmp 0x40af32
mov eax, edi
push 0
push 0
push 0
push 0
push 0
push edx
push 1
push 2
push 0x10
push 0xf01ff
push ecx
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x40b01a
mov ecx, esi
call fcn.0040b070
test eax, eax
jne 0x40b020
jmp 0x40af8d
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x40b01a
lea edx, [ebp - 0x38]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x40b01a
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov edi, eax
mov dword [ebp - 0x48], edi
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], eax
mov edi, edi
cmp dword [ebp - 0x34], 2
jne 0x40b014
mov eax, 0xcccccccd
mul dword [ebp - 0x20]
shr edx, 3
cmp edx, 0x3e8
jae 0x40afe0
mov edx, 0x3e8
jmp 0x40afed
cmp edx, 0x2710
jbe 0x40afed
mov edx, 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x38]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x40b014
mov edx, dword [ebp - 0x44]
cmp dword [ebp - 0x24], edx
ja 0x40afb1
call ebx
sub eax, edi
cmp eax, dword [ebp - 0x20]
jbe 0x40afc0
cmp dword [ebp - 0x34], 4
je 0x40b020
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], 0xfffffffe
call fcn.0040b04d
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0041c4a1
mov esp, ebp
pop ebp
ret 4
Function at 0x40b070
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4a06b4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov edx, 1
push esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
push 2
lea eax, [ebp - 0x1c]
push ecx
xor esi, esi
mov dword [ebp - 0x24], 3
mov dword [ebp - 0x20], eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x40b0e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c4a1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041c4a1
mov esp, ebp
pop ebp
ret

Function at 0x40b190
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x4a74c0], ecx
inc edx
cmp edx, 0x100
jb 0x40b192
cmp edx, 0x800
jae 0x40b269
lea esp, [esp]
mov eax, dword [edx*4 + 0x4a70c0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4a74c0]
inc edx
mov dword [edx*4 + 0x4a74bc], eax
cmp edx, 0x800
jb 0x40b240
mov dword [0x4a5518], 0x40b290
call fcn.0040ed60
test eax, eax
jne 0x40b286
mov dword [0x4a5518], 0x40b340
ret

Function at 0x40bdb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [edi]
mov ebx, eax
test esi, esi
je 0x40be0f
mov dword [edi], 0
jmp 0x40bdd0
mov eax, 0x400000
cmp esi, 0x400000
ja 0x40bddf
mov eax, esi
mov edx, dword [ebp + 8]
push 0
lea ecx, [ebp - 4]
push ecx
push eax
mov eax, dword [edx]
push ebx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x40be17
test ecx, ecx
je 0x40be0f
test esi, esi
jne 0x40bdd0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ead0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ecx]
and esi, 7
mov dword [ebp - 4], 0
cmp eax, 5
jae 0x40eaf2
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea edx, [edx + eax - 4]
push ebx
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], edx
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
add edi, eax
cmp edi, edx
jae 0x40eb20
mov cl, byte [edi]
and cl, 0xfe
cmp cl, 0xe8
je 0x40eb20
inc edi
cmp edi, edx
jb 0x40eb11
mov ebx, edi
sub ebx, eax
mov eax, ebx
sub eax, dword [ebp - 8]
mov dword [ebp - 4], ebx
cmp edi, edx
jae 0x40ec27
cmp eax, 3
jbe 0x40eb57
xor esi, esi
mov al, byte [edi + 4]
mov dword [ebp - 8], ebx
test al, al
je 0x40eb94
cmp al, 0xff
je 0x40eb94
and esi, 3
add esi, esi
or esi, 1
inc ebx
mov dword [ebp - 4], ebx
jmp 0x40eb05
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x40eb3b
movzx eax, byte [esi + 0x492de8]
mov ecx, edi
sub ecx, eax
cmp byte [esi + 0x492de0], 0
mov al, byte [ecx + 4]
je 0x40eb80
test al, al
je 0x40eb80
cmp al, 0xff
jne 0x40eb3b
and esi, 3
add esi, esi
mov dword [ebp - 8], ebx
or esi, 1
inc ebx
mov dword [ebp - 4], ebx
jmp 0x40eb05
movzx ecx, byte [edi + 2]
movzx edx, al
movzx eax, byte [edi + 3]
shl edx, 8
or edx, eax
movzx eax, byte [edi + 1]
shl edx, 8
or edx, ecx
shl edx, 8
or edx, eax
sub edx, ebx
lea eax, [edx - 5]
test esi, esi
je 0x40ebf7
movzx edx, byte [esi + 0x492de8]
add edx, edx
add edx, edx
add edx, edx
mov ecx, 0x18
sub ecx, edx
mov ebx, eax
shr ebx, cl
mov cl, bl
test cl, cl
je 0x40ebde
cmp cl, 0xff
jne 0x40ebf4
mov ebx, dword [ebp - 4]
mov ecx, 0x20
sub ecx, edx
mov edx, 1
shl edx, cl
dec edx
xor edx, eax
jmp 0x40ebb2
mov ebx, dword [ebp - 4]
mov ecx, eax
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov edx, eax
shr edx, 0x10
mov ecx, eax
shr ecx, 8
add ebx, 5
mov byte [edi + 3], dl
mov edx, dword [ebp - 0xc]
mov byte [edi + 2], cl
mov byte [edi + 1], al
mov dword [ebp - 4], ebx
jmp 0x40eb05
cmp eax, 3
jbe 0x40ec3c
mov edx, dword [ebp + 0xc]
pop edi
xor esi, esi
mov eax, ebx
pop ebx
mov dword [edx], esi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
lea ecx, [eax - 1]
shl esi, cl
pop edi
mov eax, ebx
pop ebx
and esi, 7
mov dword [edx], esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x410870
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4a06b4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00426e40
add esp, 0xc
push 0
push 0x19
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x492a54
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041e4e7
push edi
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.0041e4e7
push str..lnk
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.0041e4e7
add esp, 0x24
lea edx, [ebp - 0x20c]
mov ecx, esi
call fcn.004109f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c4a1
mov esp, ebp
pop ebp
ret
Function at 0x410910
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4a06b4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00426e40
add esp, 0xc
push 0
push 0x17
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x492a54
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041e4e7
push esi
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.0041e4e7
add esp, 0x18
push 0
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x492a54
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041e4e7
push ebx
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.0041e4e7
push str..lnk
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.0041e4e7
add esp, 0x24
lea edx, [ebp - 0x20c]
mov ecx, edi
call fcn.004109f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c4a1
mov esp, ebp
pop ebp
ret
Function at 0x4109f0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481000
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4a06b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x50]
push eax
push 0x4865cc
push 1
xor ebx, ebx
push ebx
push 0x4865dc
mov esi, ecx
mov edi, edx
mov byte [ebp - 0x49], bl
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x410b74
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push esi
push eax
call edx
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x410a64
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00401af0
push 1
push 0xffffffffffffffff
lea ecx, [ebp - 0x58]
push ecx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x58], 0x5c
call fcn.00403430
cmp eax, 0xffffffff
je 0x410ad2
push eax
push ebx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00403330
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00401910
mov esi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], esi
jb 0x410ad7
mov eax, dword [ebp - 0x48]
push eax
call fcn.0041cbd1
add esp, 4
jmp 0x410ad7
mov esi, 8
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x410ae2
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x24]
call eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
lea edx, [ebp - 0x54]
push edx
push 0x4865fc
push eax
mov eax, dword [ecx]
call eax
test eax, eax
js 0x410b53
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push ebx
push edi
push eax
call edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x2c]
mov byte [ebp - 0x49], 1
jae 0x410b2c
lea esi, [ebp - 0x2c]
mov edi, dword [sym.imp.SHELL32.dll_SHChangeNotify]
push ebx
push esi
push 0x1005
push reloc.OLEAUT32.dll_VariantClear
call edi
push ebx
push esi
push 0x1005
push 0x80001000
call edi
mov esi, 8
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [ebp - 0x18], esi
jb 0x410b6f
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0041cbd1
add esp, 4
mov al, byte [ebp - 0x49]
jmp 0x410b76
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041c4a1
mov esp, ebp
pop ebp
ret
Function at 0x410fd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481358
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4a06b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
mov edi, ecx
xor eax, eax
xor esi, esi
push 0x492d44
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
call fcn.00401af0
push 0xffffffffffffffff
push esi
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.00402ed0
push 1
push 0x492c40
lea ecx, [ebp - 0x2c]
call fcn.00402fe0
xor ecx, ecx
mov edi, 8
push edi
mov word [ebp - 0x48], cx
push str.regsvr32
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], esi
call fcn.00401af0
push 0x38
lea edx, [ebp - 0x80]
push esi
push edx
call fcn.00426e40
add esp, 0xc
mov dword [ebp - 0x84], 0x3c
mov dword [ebp - 0x80], 0x40
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
cmp dword [ebp - 0x34], edi
jb 0x411091
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x74], eax
jmp 0x411097
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x74], ecx
cmp dword [ebp - 0x18], edi
jb 0x4110a4
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x70], edx
jmp 0x4110aa
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x84]
push ecx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edx, dword [ebp - 0x4c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x34], edi
jb 0x4110dd
mov eax, dword [ebp - 0x48]
push eax
call fcn.0041cbd1
add esp, 4
cmp dword [ebp - 0x18], edi
jb 0x4110ee
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0041cbd1
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041c4a1
mov esp, ebp
pop ebp
ret
Function at 0x411110
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481358
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4a06b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
mov edi, ecx
xor eax, eax
xor esi, esi
push 0x492e40
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
call fcn.00401af0
push 0xffffffffffffffff
push esi
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.00402ed0
push 3
push 0x492e4c
lea ecx, [ebp - 0x2c]
call fcn.00402fe0
xor ecx, ecx
mov edi, 8
push edi
mov word [ebp - 0x48], cx
push str.taskkill
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], esi
call fcn.00401af0
push 0x38
lea edx, [ebp - 0x80]
push esi
push edx
call fcn.00426e40
add esp, 0xc
mov dword [ebp - 0x84], 0x3c
mov dword [ebp - 0x80], 0x40
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
cmp dword [ebp - 0x34], edi
jb 0x4111d1
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x74], eax
jmp 0x4111d7
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x74], ecx
cmp dword [ebp - 0x18], edi
jb 0x4111e4
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x70], edx
jmp 0x4111ea
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x84]
push ecx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edx, dword [ebp - 0x4c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x34], edi
jb 0x41121d
mov eax, dword [ebp - 0x48]
push eax
call fcn.0041cbd1
add esp, 4
cmp dword [ebp - 0x18], edi
jb 0x41122e
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0041cbd1
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041c4a1
mov esp, ebp
pop ebp
ret