joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4143b0
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x43baa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.00430a84
mov esi, dword [esp + 0x2c]
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
xor ebx, ebx
push eax
mov dword [esp + 0x2c], ebx
call edi
mov eax, dword [esi]
push ebx
push 0x1002
push eax
lea ecx, [esp + 0x18]
call fcn.00430d1c
test eax, eax
je 0x41444a
mov ecx, dword [esp + 0x10]
push ebx
lea eax, [esp + 0x30]
push eax
push ebx
push ebx
push ebx
push ebx
push 0x900c4
push ecx
mov dword [esp + 0x4c], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x41443a
push ebx
push 0x40000000
lea ecx, [esp + 0x14]
call fcn.0043094a
mov ebx, 1
lea ecx, [esp + 0xc]
call fcn.00430a22
mov esi, dword [esi]
push 6
push esi
call edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00430ac3
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x415af0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43bbb0
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 0x415bb0
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
push 4
lea ecx, [ebp + 8]
push ecx
push 4
push esi
push edx
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
test edi, edi
je 0x415b64
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 0x415b7e
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 0x415b9b
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 0x415bd8
mov edi, dword [ebp + 8]
jmp 0x415b38
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415bf2
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 0x415c0f
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 0x415c50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43bbc0
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 0x415d33
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 0x415cca
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 0x415ce4
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 0x415d01
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 0x415d1e
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 0x415d5b
mov edi, dword [ebp + 8]
jmp 0x415c9c
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415d75
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 0x415d92
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 0x415daf
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 0x416020
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x43bc08
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.00401660
mov ebp, dword [esp + 0x20]
lea eax, [esp + 0x20]
push ebp
push eax
mov dword [esp + 0x20], 0
call fcn.0041a9f0
mov eax, dword [eax]
push eax
mov byte [esp + 0x24], 1
call fcn.0041aaf0
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 0x416093
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ebp
lea ecx, [esp + 0x24]
call fcn.00406d20
lea eax, [esp + 0x20]
add esi, 0x24
push eax
mov ecx, esi
mov byte [esp + 0x1c], 2
call fcn.00405420
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 0x4160e2
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 0x4168f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43bd2b
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], 0x43f0a8
call fcn.004015d0
xor edi, edi
push 0x43d75c
lea ecx, [esi + 0x24]
mov dword [esp + 0x18], edi
call fcn.00406d20
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], 0x43f060
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 0x416e10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43bdc8
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 + 0x34]
mov ecx, ebx
mov dword [esp + 0xc], ebx
call fcn.00401660
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0
call fcn.00430a84
mov dword [esp + 0x10], 0x43d760
mov eax, dword [esp + 0x30]
push 0
push 0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.0041a230
test eax, eax
je 0x416f0c
push ebp
push edi
lea ecx, [esp + 0x18]
call fcn.0041a440
mov ebp, eax
push ebp
call fcn.00431cf3
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.0041a380
cmp ebp, eax
jne 0x416ef4
call fcn.00431cfd
push eax
push ebp
push edi
lea ecx, [esp + 0x1c]
call fcn.00403130
mov edi, dword [esp + 0x10]
push edi
mov ecx, esi
mov byte [esp + 0x34], 2
call fcn.00416b40
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 0x416ef4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
push eax
call fcn.00431cf8
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00430a22
pop edi
pop ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
mov dword [esp + 0x10], 0x43d760
call fcn.00430ac3
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 0x416f50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43be17
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], 0x43f3d4
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.00431cfd
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.00431cfd
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.00431cfd
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.00431cfd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x34]
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
call fcn.004015d0
mov ecx, esi
mov byte [esp + 0x14], 4
call fcn.00416ae0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4170e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43be58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
mov ebx, ecx
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], esi
call fcn.00430a84
mov ebp, dword [esp + 0x38]
push esi
push 0x20
push ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
call fcn.00430d1c
test eax, eax
je 0x417189
mov esi, dword [esp + 0x3c]
push edi
mov edi, dword [esi + 0x18]
lea ecx, [esp + 0x1c]
call fcn.0043097c
xor ecx, ecx
cmp edi, eax
pop edi
jne 0x417180
cmp ecx, edx
jne 0x417180
lea eax, [esp + 0x10]
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x417180
mov eax, dword [esi + 0x10]
cmp dword [esp + 0x14], eax
jne 0x417180
mov eax, dword [esi + 0xc]
cmp dword [esp + 0x10], eax
jne 0x417180
mov esi, dword [esi + 0x14]
push ebp
mov ecx, ebx
call fcn.00417020
cmp eax, esi
jne 0x417180
mov dword [esp + 0xc], 1
lea ecx, [esp + 0x18]
call fcn.00430a22
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00430ac3
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x417420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43bec8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00431cfd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x10]
push eax
push str.PkgId
push 2
lea ecx, [esp + 0x1c]
push str._d__s_d
push ecx
mov dword [esp + 0x30], 0
call fcn.004053d0
mov ebp, dword [esp + 0x24]
mov eax, dword [ebp - 0xc]
lea ebx, [eax + 1]
mov eax, dword [esi + 0xc]
add esp, 0x14
test eax, eax
je 0x41748e
push eax
call fcn.00431cf8
add esp, 4
push ebx
mov dword [esi + 8], ebx
call fcn.00431cf3
mov dword [esi + 0xc], eax
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov edi, eax
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
lea eax, [ebp - 0x10]
rep movsb byte es:[edi], byte [esi]
add esp, 4
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 0x4174d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41a230
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c2e0
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.00430d1c
test eax, eax
jne 0x41a2a1
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.00430d1c
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 0x41a460
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call edi
test eax, eax
jne 0x41a48b
mov eax, dword [esi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov esi, dword [esi]
push esi
call edi
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret
Function at 0x41aaf0
Capabilities:
Check if file exists
Create directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43c3a0
push eax
mov dword fs:[0], esp
sub esp, 0xc
push edi
mov edi, dword [esp + 0x20]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41ab2d
mov eax, 1
pop edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push ebp
call fcn.00431cfd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
lea eax, [esp + 0xc]
push edi
push eax
mov dword [esp + 0x24], 0
call fcn.0041a9f0
add esp, 8
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call fcn.00405420
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
or ebp, 0xffffffff
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ab8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x41ac1f
jl 0x41ac12
push str.._
push esi
call fcn.0042204b
add esp, 8
test eax, eax
je 0x41ac12
sub eax, esi
mov dword [esp + 0x14], eax
jne 0x41ac12
cmp dword [esi - 0xc], 4
jl 0x41abd8
lea eax, [esi + 4]
push 0x43d874
push eax
call fcn.0042204b
add esp, 8
test eax, eax
je 0x41abd8
sub eax, esi
cmp eax, ebp
jne 0x41ac12
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x20], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x41abfe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
pop ebp
mov eax, edi
pop edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push esi
call fcn.0041aaf0
add esp, 4
test eax, eax
jne 0x41abd8
lea eax, [esi - 0x10]
mov dword [esp + 0x20], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x41ac3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop esi
pop ebp
xor eax, eax
pop edi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x41b490
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43c410
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.004030d0
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], ebx
call fcn.00431cfd
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 0x41b506
cmp eax, 1
jge 0x41b500
push 0x80070057
call fcn.00401120
cmp byte [esi + 1], 0x3a
je 0x41b570
add esi, 0xfffffff0
push esi
call fcn.004030d0
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 0x41b53a
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 0x41b559
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 0x41b57e
push 0x80070057
call fcn.00401120
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.0041b290
test eax, eax
je 0x41b623
mov esi, dword [esi - 0xc]
add esi, 0xfffffffe
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.00413c90
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x30], 2
call fcn.004054d0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 3
call fcn.00405420
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 0x41b5fc
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 0x41b61f
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.004030d0
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 0x41b65a
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 0x41b679
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 0x41c3d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [esp + 0x14], eax
nop
lea eax, [esp + 0x10]
push edi
push eax
call fcn.0041c220
mov eax, dword [eax]
add esp, 8
push eax
push 0
push 0x1f0001
call ebx
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c42a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
jne 0x41c448
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
sub eax, ebp
cmp eax, ecx
ja 0x41c45c
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41c3f0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret

Function at 0x41e720
Capabilities:
Access peb ldr_data
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x43c71e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
call fcn.0041e460
xor ebx, ebx
lea esi, [edi + 0x34]
mov ecx, esi
mov dword [esp + 0x20], ebx
mov dword [edi], 0x43f858
mov dword [edi + 0x30], ebx
call fcn.0041d520
mov dword [esi + 4], eax
mov cl, 1
mov byte [eax + 0x15], cl
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
mov byte [esp + 0x20], cl
lea esi, [edi + 0x40]
push 0x43d75c
mov ecx, esi
call fcn.00406d20
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x24], 2
call fcn.00415680
push str.DataPkgDeleted.ini
push eax
lea ecx, [esp + 0x18]
mov bl, 3
push ecx
mov byte [esp + 0x30], bl
call fcn.00405580
add esp, 0x10
push eax
mov ecx, esi
mov byte [esp + 0x24], 4
call fcn.00405420
mov esi, dword [esi]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x20], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e7f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x20], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e816
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x41f7a0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
mov esi, eax
lea eax, [esp + 0xc]
push eax
push 0x28
mov edi, 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x41f7f2
push 0x26
push str.iCafe8_
call fcn.00402180
mov ecx, eax
call fcn.00406c80
call ebx
push eax
push str.OpenProcessToken_Error:__d
push 4
call fcn.00411820
add esp, 0xc
xor edi, edi
lea ecx, [esp + 0x14]
neg esi
push ecx
sbb esi, esi
push str.SeDebugPrivilege
and esi, 2
push 0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp + 0xc]
push 0
push 0
push 0x10
lea edx, [esp + 0x1c]
push edx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call ebx
test eax, eax
je 0x41f837
xor edi, edi
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x14
ret