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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fdeb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x14]
push eax
push 0x2001f
xor esi, esi
push esi
push ebx
push edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x483ef3
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
mov eax, dword [ebp + 0x10]
push esi
push 1
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
test edi, edi
je 0x483e8a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483ea4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483ec1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483ede
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 8]
push edx
push esi
push 0x2001f
push esi
push esi
push esi
push ebx
push edi
mov dword [ebp + 8], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x483f1b
mov edi, dword [ebp + 8]
jmp 0x483e5c
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483f35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483f52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483f6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4841f7
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4fdf18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov ecx, edi
mov dword [esp + 0xc], edi
call fcn.00401300
mov ebp, dword [esp + 0x20]
lea eax, [esp + 0x20]
push ebp
push eax
mov dword [esp + 0x20], 0
call fcn.00487f60
mov eax, dword [eax]
push eax
mov byte [esp + 0x24], 1
call fcn.00487ee0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x18], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484253
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ebp
lea ecx, [esp + 0x24]
call fcn.00401fd0
lea eax, [esp + 0x20]
add esi, 0x24
push eax
mov ecx, esi
mov byte [esp + 0x1c], 2
call fcn.00403fd0
mov esi, dword [esi]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x18], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4842a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi]
mov ecx, edi
mov dword [esp + 0x18], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x484a20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4fdecb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 4]
mov dword [esp + 8], esi
mov dword [esi], 0x511730
call fcn.00401270
xor edi, edi
push 0x502a56
lea ecx, [esi + 0x24]
mov dword [esp + 0x18], edi
call fcn.00401fd0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x30], 0x53
mov dword [esi + 0x28], 0x5116e8
mov dword [esi + 0x3c], 0x3c
mov dword [esi + 0x44], 0xc8
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x485370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fe108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x4c]
mov ecx, ebx
mov dword [esp + 0xc], ebx
call fcn.00401300
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0
call fcn.004ea406
mov dword [esp + 0x10], 0x502cd0
mov eax, dword [esp + 0x30]
push 0
push 0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.00487450
test eax, eax
je 0x48546c
push ebp
push edi
lea ecx, [esp + 0x18]
call fcn.00487660
mov ebp, eax
push ebp
call fcn.004e50fe
mov edi, eax
mov ecx, ebp
mov edx, ecx
shr ecx, 2
mov dword [esp + 0x3c], edi
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x38]
push ebp
push edi
lea ecx, [esp + 0x20]
call fcn.004875a0
cmp ebp, eax
jne 0x485454
call fcn.004e5159
push eax
push ebp
push edi
lea ecx, [esp + 0x1c]
call fcn.00407b90
mov edi, dword [esp + 0x10]
push edi
mov ecx, esi
mov byte [esp + 0x34], 2
call fcn.00484ff0
lea eax, [edi - 0x10]
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x485454
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
push eax
call fcn.004e50f9
add esp, 4
lea ecx, [esp + 0x18]
call fcn.004ea3a4
pop edi
pop ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
mov dword [esp + 0x10], 0x502cd0
call fcn.004ea445
mov edx, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x28], 0xffffffff
call dword [edx + 0x14]
mov ecx, dword [esp + 0x20]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x4854b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fe162
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi], 0x5119ac
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esp + 0x14], edi
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [esp + 0x14], 1
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x14], eax
mov byte [esp + 0x14], 2
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [esp + 0x14], 3
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0x12c
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x48], eax
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 4
call fcn.00401270
mov ecx, esi
mov byte [esp + 0x14], 5
call fcn.00484f70
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x485980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fe1c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x4c]
mov ecx, edi
mov dword [esp + 8], edi
call fcn.00401300
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0
call fcn.004ea406
mov dword [esp + 0xc], 0x502cd0
mov eax, dword [esp + 0x2c]
push 0
push 0x1001
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.00487450
test eax, eax
je 0x485a30
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.004855a0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.00487600
lea ecx, [esp + 0xc]
call fcn.004ea3a4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x24], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x485a30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
mov dword [esp + 0xc], 0x502cd0
call fcn.004ea445
mov eax, dword [edi]
mov ecx, edi
mov dword [esp + 0x24], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4

Function at 0x485cc0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4fe230
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00401300
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebx
call fcn.004e3ca5
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
push 0x2c
push ecx
mov byte [esp + 0x3c], 1
call fcn.0047e170
mov eax, dword [esi + 0x44]
add esi, 0x40
add esp, 0xc
cmp eax, ebx
je 0x485d2a
push eax
call fcn.004e50f9
add esp, 4
mov dword [esi + 4], ebx
mov eax, dword [esp + 0x1c]
xor ebp, ebp
cmp eax, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
jg 0x485d70
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.004e3cf7
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x30], 0xffffffff
call dword [edx + 0x14]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
xor ebx, ebx
mov edi, edi
cmp ebp, ebx
jl 0x485db3
cmp ebp, eax
jge 0x485db3
mov edx, dword [esp + 0x18]
mov eax, dword [edx + ebp*4]
push eax
call fcn.004d4e85
mov edi, dword [esi + 8]
add esp, 4
test edi, edi
mov ebx, eax
jl 0x485db3
push 0xffffffffffffffff
lea eax, [edi + 1]
push eax
mov ecx, esi
call fcn.004390e0
mov ecx, dword [esi + 4]
mov dword [ecx + edi*4], ebx
mov eax, dword [esp + 0x1c]
inc ebp
cmp ebp, eax
jl 0x485d6c
mov edi, dword [esp + 0x10]
jmp 0x485d3a
call fcn.004e2e19
int3
Function at 0x485fd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fe286
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov ecx, edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x5119f4
call fcn.00401270
xor ebx, ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], 0x1f4
mov dword [esi + 0x34], 0x32
mov dword [esi + 0x38], 4
mov dword [esi + 0x3c], ebx
mov eax, 1
mov dword [esi + 0x2c], eax
mov dword [esp + 0x18], ebx
mov dword [esi + 0x40], 0x508830
mov dword [esi + 0x44], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ebx
mov ecx, edi
mov byte [esp + 0x18], al
call fcn.00401300
mov dword [esi + 0x24], ebx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
mov ecx, edi
call fcn.00401300
mov dword [esi + 0x28], ebx
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x14]
push 0x502a56
mov ecx, esi
call fcn.00485cc0
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x3c], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x487450
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe440
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], esp
push ebx
push eax
push edi
mov esi, ecx
mov dword [ebp - 4], 0
call fcn.004ea69e
test eax, eax
jne 0x4874c1
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp + 0xc]
push ebx
push ecx
push edi
mov ecx, esi
call fcn.004ea69e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x487750
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4fe528
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [esp + 0x1c], 0
mov ebx, 0x41
mov ebp, 0x1a
lea esp, [esp]
push ebx
lea eax, [esp + 0x14]
push 0x506644
push eax
call fcn.00401c40
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
call esi
cmp eax, 3
je 0x4877d7
mov eax, dword [esp + 0x10]
push eax
call esi
cmp eax, 5
je 0x4877e7
mov ecx, dword [esp + 0x10]
push ecx
call esi
cmp eax, 2
jne 0x4877e7
mov eax, dword [edi + 8]
lea edx, [esp + 0x10]
push edx
mov ecx, edi
push eax
call fcn.004e3ec6
inc ebx
dec ebp
jne 0x4877a0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x487815
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 4]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x487830
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x4fe4a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x34]
call fcn.004e3ca5
lea eax, [esp + 0x34]
xor ebp, ebp
push eax
mov dword [esp + 0x54], ebp
call fcn.00487750
mov ecx, dword [esp + 0x40]
add esp, 4
push ecx
mov ecx, dword [esp + 0x60]
push ebp
call fcn.004876a0
mov eax, dword [esp + 0x3c]
cmp eax, ebp
mov dword [esp + 0x10], ebp
jbe 0x4879e0
mov dword [esp + 0x14], ebp
jmp 0x487891
mov ebp, dword [esp + 0x10]
test ebp, ebp
jl 0x487a0e
cmp ebp, eax
jge 0x487a0e
mov edx, dword [esp + 0x38]
mov esi, dword [edx + ebp*4]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
sub esi, 0x10
call dword [eax + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x4878ce
cmp eax, dword [esi]
jne 0x4878ce
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x487900
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x487a09
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push ebx
mov byte [esp + 0x60], 1
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov eax, dword [esp + 0x5c]
cmp ebp, dword [eax]
jae 0x487933
mov ebp, dword [eax + 4]
add ebp, dword [esp + 0x14]
jmp 0x487935
xor ebp, ebp
cmp dword [ebx - 4], 1
mov esi, dword [ebx - 0xc]
jle 0x48794e
mov eax, esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00401430
mov ebx, dword [esp + 0x18]
mov eax, dword [ebp + 8]
xor edi, edi
inc esi
cmp eax, edi
je 0x487961
push eax
call fcn.004e50f9
add esp, 4
push esi
mov dword [ebp + 4], esi
call fcn.004e50fe
add esp, 4
cmp ebx, edi
mov dword [ebp + 8], eax
je 0x48798a
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov esi, ebx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
mov dword [ebp + 0x1c], edi
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x10], eax
mov ecx, dword [esp + 0x20]
add ebx, 0xfffffff0
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], edi
mov byte [esp + 0x50], 0
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4879c0
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
inc ecx
add esi, 0x20
cmp ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
jb 0x48788d
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], 0xffffffff
call fcn.004e3cf7
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret
jmp fcn.0041bff0
jmp fcn.004e2e19
Function at 0x488940
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fe5f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
xor ebx, ebx
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
push esi
sub eax, 0x10
push edi
push eax
mov ebp, ecx
call fcn.004013d0
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], ebx
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x30], edi
mov eax, dword [esi - 0xc]
cmp eax, 2
mov byte [esp + 0x24], 1
jle 0x4889b6
cmp eax, 1
jge 0x4889b0
push 0x80070057
call fcn.00401110
cmp byte [esi + 1], 0x3a
je 0x488a20
add esi, 0xfffffff0
push esi
call fcn.004013d0
mov ebp, dword [esp + 0x30]
add eax, 0x10
mov dword [ebp], eax
lea eax, [edi - 0x10]
add esp, 4
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4889ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x24], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x488a09
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 8
cmp eax, ebx
jge 0x488a2e
push 0x80070057
call fcn.00401110
mov al, byte [esi]
lea ecx, [esp + 0x30]
mov byte [esp + 0x14], al
mov edx, dword [esp + 0x14]
push ecx
push edx
mov ecx, ebp
call fcn.00488740
test eax, eax
je 0x488ad3
mov esi, dword [esi - 0xc]
add esi, 0xfffffffe
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.00479d20
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x30], 2
call fcn.004092f0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 3
call fcn.00403fd0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x24], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488aac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488acf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x10]
add esi, 0xfffffff0
push esi
call fcn.004013d0
mov edi, dword [esp + 0x30]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488b0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x24], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x488b29
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x489780
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x6c]
test eax, eax
jne 0x4897eb
lea eax, [esp + 4]
push 0
push eax
call fcn.00489620
mov eax, dword [eax]
add esp, 8
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 0x6c], eax
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4897c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4897eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4897eb
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
pop ecx
ret

Function at 0x48a6e0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4fe7a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x3c]
mov esi, dword [ebx]
mov eax, dword [esi - 0xc]
mov ebp, dword [esp + 0x40]
lea edi, [eax + 1]
mov eax, dword [ebp + 4]
test eax, eax
mov dword [esp + 0x30], 0
je 0x48a737
push eax
call fcn.004e50f9
add esp, 4
push edi
mov dword [ebp], edi
call fcn.004e50fe
add esp, 4
test esi, esi
mov dword [ebp + 4], eax
je 0x48a75c
mov ecx, edi
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x3c]
push eax
push str.Computer
call fcn.0047f010
lea ecx, [esp + 0x14]
call fcn.004e3ca5
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x2c
mov ebx, 1
push eax
mov byte [esp + 0x3c], bl
call fcn.0047e170
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp eax, 3
jne 0x48a7f4
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
push eax
call fcn.004d4e85
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x20]
add esp, 4
cmp eax, ebx
jg 0x48a7c0
jmp fcn.004e2e19
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
push eax
call fcn.004d4e85
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x20]
add esp, 4
cmp eax, 2
jg 0x48a7e1
jmp fcn.004e2e19
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
push eax
call fcn.004d4e85
add esp, 4
mov dword [ebp + 0x10], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.004e3cf7
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48a828
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret