joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44cd50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49e5e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
mov eax, dword [0x4c13e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov eax, esi
or eax, ebx
jne 0x44cda0
mov ebx, edi
call fcn.0044ce50
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
mov ecx, dword [edi + 0x30]
mov edx, dword [ecx + 4]
mov dword [esp + 0x40], edx
mov byte [esp + 0x44], 1
lea eax, [esp + 0x14]
push 0x449820
push eax
mov dword [esp + 0x40], 0
call fcn.0044a2b0
add esp, 8
push ebx
push esi
lea esi, [esp + 0x24]
call fcn.00449f30
mov edx, dword [eax]
sub esp, 8
mov ecx, esp
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
lea eax, [esp + 0x1c]
lea esi, [esp + 0x2c]
call fcn.0044a110
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
sub esp, 0x18
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi], eax
xor eax, eax
lea ecx, [esp + 0x60]
push ecx
mov edx, edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov byte [esi + 0x10], al
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebx
call fcn.0044d8e0
xor edx, edx
test al, al
setne dl
dec edx
and edx, 0x274c
mov eax, edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8

Function at 0x44cf90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49e17b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4c13e0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
push 0x34
mov dword [edi], vtable.apache::thrift::concurrency::Monitor.0
call fcn.00476efa
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
test esi, esi
je 0x44d000
push esi
call fcn.0044c750
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], eax
mov dword [edi + 4], esi
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
xor eax, eax
mov dword [edi + 4], eax
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x44dec0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x4c13e0]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
mov dword [esp + 8], 0
push eax
lea ecx, [esp + 0x16]
push ecx
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x104
mov word [esp + 0x18], ax
call fcn.0047c020
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push str.Path
push 0x4a6f78
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
mov eax, 0x4a7458
je 0x44df68
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
push edx
mov word [esi + 4], dx
call fcn.004225d0
mov eax, esi
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00476dfd
add esp, 0x214
ret
cmp dword [esp + 8], 1
mov ecx, esi
jne 0x44df75
lea eax, [esp + 0xc]
call fcn.00429b80
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00476dfd
add esp, 0x214
ret

Function at 0x44dfa0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
cmp dword [eax + 0x14], 0
push esi
je 0x44dfd2
cmp dword [eax + 0x18], 8
jb 0x44dfb2
mov esi, dword [eax + 4]
jmp 0x44dfb5
lea esi, [eax + 4]
test esi, esi
je 0x44dfd2
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44dfd6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x44dfda
xor eax, eax
pop esi
ret
test al, 0x10
je 0x44dfd2
mov eax, 1
pop esi
ret
Function at 0x44dff0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x49913b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4c13e0]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
mov eax, dword [0x4c13e0]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0xc], ebx
cmp esi, 0x23
je 0x44e04c
cmp esi, 0x1a
je 0x44e04c
mov eax, 0x4a7458
mov ecx, edi
call fcn.00429b80
jmp 0x44e14e
push 0x206
lea ecx, [esp + 0x32]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x38], ax
call fcn.0047c020
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
jge 0x44e09b
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
mov word [edi + 4], ax
push ebx
mov eax, 0x4a7458
mov esi, edi
call fcn.004225d0
jmp 0x44e14e
xor ecx, ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x44e0b5
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x30]
lea esi, [esp + 0x14]
call fcn.004225d0
push 0x11
mov eax, str.360TotalSecurity
mov ecx, esi
mov dword [esp + 0x244], ebx
call fcn.004154f0
mov eax, esi
cmp byte [esp + 0x248], bl
jne 0x44e122
push 0xffffffffffffffff
xor edx, edx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push ebx
mov ecx, edi
mov word [edi + 4], dx
call fcn.00415440
cmp dword [esp + 0x28], 8
jb 0x44e14e
mov eax, dword [esp + 0x14]
push eax
call fcn.00476df2
add esp, 4
jmp 0x44e14e
call fcn.0044dfa0
test al, al
je 0x44e139
lea ecx, [esp + 0x10]
push ecx
mov esi, edi
call fcn.00415410
jmp 0x44e145
mov eax, 0x4a7458
mov ecx, edi
call fcn.00429b80
lea esi, [esp + 0x10]
call fcn.0040bfa0
mov eax, edi
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00476dfd
add esp, 0x238
ret
Function at 0x44e3c0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x49caa2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c13e0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
xor ebp, ebp
mov dword [esp + 0x28], ebp
mov esi, ecx
push eax
mov ebx, 0x4a6f74
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ebp
call fcn.00415240
add esp, 4
mov dword [esp + 0x28], ebp
mov ebx, 1
mov dword [esp + 0x14], ebx
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x44e427
mov eax, 0x4aaecc
jmp 0x44e443
lea eax, [esp + 0x18]
push eax
call fcn.00457a80
add esp, 4
mov dword [esp + 0x28], ebx
mov eax, dword [eax]
mov ebx, 3
mov dword [esp + 0x14], ebx
mov ecx, eax
lea edi, [ecx + 2]
jmp 0x44e450
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x44e450
sub ecx, edi
sar ecx, 1
push ecx
mov ecx, esi
call fcn.004154f0
mov dword [esp + 0x28], ebp
test bl, 2
je 0x44e497
mov eax, dword [esp + 0x18]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x14], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e497
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi + 0x14], ebp
je 0x44e4c2
cmp dword [esi + 0x18], 8
jb 0x44e4a7
mov edi, dword [esi + 4]
jmp 0x44e4aa
lea edi, [esi + 4]
cmp edi, ebp
je 0x44e4c2
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44e4c2
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x44e800
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x49e1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c13e0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x4c13e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
push eax
mov ebx, str.Administrators
lea esi, [esp + 0x14]
mov dword [esp + 0x10], 0
call fcn.00415240
add esp, 4
mov dword [esp + 0x38], 0
cmp dword [esp + 0x24], 0
mov ebx, 8
je 0x44e889
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x28], ebx
jae 0x44e870
lea esi, [esp + 0x14]
test esi, esi
je 0x44e889
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44e889
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0xa
mov eax, str._virusscan
lea ecx, [esp + 0x14]
call fcn.004154f0
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x28], ebx
jae 0x44e8a7
lea ecx, [esp + 0x14]
push edi
call fcn.004038d0
cmp dword [esp + 0x28], ebx
jb 0x44e8c0
mov eax, dword [esp + 0x14]
push eax
call fcn.00476df2
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00476dfd
add esp, 0x30
ret
Function at 0x44eea0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
xor esi, esi
push esi
lea eax, [esp + 8]
push eax
push esi
push 2
push esi
push esi
push esi
push str.SOFTWARE360TotalSecurityDeepScan
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov eax, dword [esp + 4]
je 0x44eed2
cmp eax, esi
je 0x44ef07
push 4
xor ecx, ecx
cmp dword [esp + 0x14], esi
lea edx, [esp + 0xc]
push edx
push 4
setne cl
push esi
push str.DisableHRM
push eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x44eefc
lea esi, [eax + 1]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x451120
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x49841b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4c13e0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esi], reloc.OLEAUT32.dll_SysReAllocString
call fcn.00403330
add eax, 0x10
mov dword [esi + 4], eax
mov byte [esp + 0x14], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.00403330
add eax, 0x10
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 5
jne 0x45118e
xor edi, edi
jmp 0x45119e
neg edi
sbb edi, edi
and edi, 0xffffff00
add edi, 0x200
mov byte [esp + 0x14], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esi + 0xc], edi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4511c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4511ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0xc

Function at 0x451210
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
mov esi, eax
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
lea ecx, [esp + 4]
push ecx
or edx, 1
push edx
push 0
push eax
mov eax, dword [esi]
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x451272
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov esi, dword [esi + 8]
push ecx
mov ecx, dword [esp + 8]
push edx
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 4]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
xor eax, eax
pop esi
pop ecx
ret
Function at 0x451300
Capabilities:
Get file version info

Disassembly:
mov eax, 0x2010
call fcn.0048ef80
mov eax, dword [0x4c13e0]
xor eax, esp
mov dword [esp + 0x200c], eax
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [esp + 0x201c]
cmp esi, ebx
je 0x4513bc
push 0x1fff
lea eax, [esp + 0x19]
push ebx
push eax
mov byte [esp + 0x20], bl
call fcn.0047c020
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
je 0x4513bc
cmp eax, 0x1fff
ja 0x4513bc
lea edx, [esp + 0x14]
push edx
push eax
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4513a3
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0x4a6f74
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4513a3
mov eax, dword [esp + 8]
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp], edx
mov bl, 1
pop ebp
mov al, bl
pop ebx
mov ecx, dword [esp + 0x200c]
xor ecx, esp
call fcn.00476dfd
add esp, 0x2010
ret
mov ecx, dword [esp + 0x2014]
pop ebp
pop ebx
xor ecx, esp
xor al, al
call fcn.00476dfd
add esp, 0x2010
ret

Function at 0x451f50
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x49f3d2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4c13e0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
cmp byte [edi + 0x2c], 1
jne 0x451f8e
mov al, byte [edi + 0xd]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
lea eax, [edi + 0x10]
push eax
mov byte [edi + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 8], eax
call esi
push 0x4c77c0
push 0x20
mov dword [edi + 4], eax
call fcn.004776f3
add esp, 8
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0
test eax, eax
je 0x451fe4
mov esi, eax
call fcn.00452240
jmp 0x451fe6
xor eax, eax
lea ecx, [esp + 8]
push ecx
push 4
push edi
push 0x451540
push 0
push 0
mov dword [edi], eax
mov dword [esp + 0x20], 0
call fcn.00477643
add esp, 0x18
mov dword [edi + 0x28], eax
cmp eax, 0xffffffff
je 0x45204d
test eax, eax
je 0x45204d
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x45204d
test eax, eax
je 0x45204d
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x45204d
test eax, eax
je 0x45204d
cmp dword [edi], 0
je 0x45204d
mov byte [edi + 0xd], 1
mov byte [edi + 0xc], 0
mov al, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x452560
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4c13e0]
xor eax, esp
mov dword [esp + 0x208], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.0047c020
add esp, 0xc
push 0x104
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4525b9
xor eax, eax
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00476dfd
add esp, 0x20c
ret
push str.ntdll.dll
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4525a2
push str.RtlGetVersion
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00476dfd
add esp, 0x20c
ret

Function at 0x452600
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4c13e0]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
call fcn.0047c020
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 5
jne 0x45264c
mov eax, 1
cmp dword [esp + 8], eax
je 0x45264e
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00476dfd
add esp, 0x118
ret
Function at 0x452ce0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x49d466
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4c13e0]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov eax, dword [0x4c13e0]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
push 0x208
lea eax, [esp + 0x14]
push 0
push eax
mov dword [esp + 0x18], 0
call fcn.0047c020
add esp, 0xc
push 0x104
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x452d58
push esi
mov ecx, 0x4a7458
call fcn.004038d0
jmp 0x452e1f
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x14]
call fcn.004038d0
mov dword [esp + 0x224], 0
mov eax, dword [esp + 8]
mov eax, dword [eax - 0xc]
lea ecx, [esp + 8]
push ecx
dec eax
lea ecx, [esp + 0x10]
call fcn.00427d30
mov eax, dword [eax]
push 0x4a6f74
push eax
call fcn.00477ed1
add esp, 8
test eax, eax
mov byte [esp + 0x224], 0
mov eax, dword [esp + 0xc]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x452dc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x452dd4
lea ecx, [esp + 8]
push ecx
mov edx, 0x4a8a70
jmp 0x452dde
lea edx, [esp + 8]
push edx
mov edx, str.explorer.exe
call fcn.00403220
mov eax, dword [esp + 8]
add eax, 0xfffffff0
call fcn.00403330
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x224], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x452e1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00476dfd
add esp, 0x220
ret
Function at 0x452f20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49d428
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c13e0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
xor ebx, ebx
cmp eax, ebx
je 0x4530b4
cmp ebp, ebx
jne 0x452f70
cmp word [ebp], bx
jne 0x4530b4
lea ecx, [esp + 0x1c]
push ecx
push 0xf00ff
push eax
mov dword [esp + 0x28], ebx
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x45309b
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x45309b
lea edi, [esp + 0x18]
mov dword [esp + 0x18], ebx
call fcn.0042d6c0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x453094
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x453094
push 1
push eax
lea edx, [esp + 0x98]
push edx
mov dword [esp + 0x9c], ebx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x452fe5
mov esi, 0x400
jmp 0x452fec
mov dword [esp + 0x90], ebx
push 0x44
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.0047c020
xor eax, eax
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
xor ecx, ecx
mov dword [esp + 0x38], 0x44
mov dword [esp + 0x40], str.winsta0default
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call fcn.004038d0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x38]
push eax
push ebx
mov dword [esp + 0x94], ebx
mov ecx, dword [esp + 0x9c]
push ecx
push esi
push ebx
push ebx
push ebx
lea esi, [esp + 0x40]
call fcn.0041a980
mov edx, dword [esp + 0x38]
push eax
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov eax, dword [esp + 0x90]
cmp eax, ebx
je 0x453072
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
cmp esi, ebx
je 0x453084
mov eax, dword [esp + 0x28]
push eax
call edi
mov ecx, dword [esp + 0x24]
push ecx
call edi
mov edx, dword [esp + 0x18]
push edx
call edi
lea ecx, [esp + 0x20]
call fcn.00455380
mov eax, dword [esp + 0x1c]
push eax
call edi
mov eax, esi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
xor eax, eax
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret

Function at 0x4547c0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
push ebx
push esi
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
test ecx, ecx
je 0x454815
mov eax, 0x20006
mov edx, reloc.OLEAUT32.dll_SysReAllocString
lea esi, [esp + 0x10]
call fcn.0040df10
mov esi, dword [esp + 0x10]
test eax, eax
jne 0x454815
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push 0
push edx
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x454815
mov bl, 1
jmp 0x454817
xor bl, bl
test esi, esi
je 0x454822
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
add esp, 0x14
ret
Function at 0x4553a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
mov edx, dword [ecx]
push 0
push eax
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4553d8
cmp dword [esp + 0xc], 4
jne 0x4553d8
mov al, 1
pop ecx
ret 8
xor al, al
pop ecx
ret 8

Function at 0x4555e0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [eax]
test esi, esi
je 0x455614
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esp + 0xc]
lea ecx, [eax + eax + 2]
mov eax, dword [esp + 8]
push ecx
mov ecx, dword [eax]
push esi
push 1
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x455614
mov al, 1
pop esi
ret 8
xor al, al
pop esi
ret 8

Function at 0x455620
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x21c
mov eax, dword [0x4c13e0]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
xor bl, bl
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov byte [esp + 0x1f], bl
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x455740
push edi
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x26]
push edx
mov dword [esp + 0x20], eax
mov word [esp + 0x28], cx
call fcn.0047c020
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push str.svcVersion
push eax
mov dword [esp + 0x30], 0x208
call edi
mov ebx, 1
test eax, eax
jne 0x4556c3
cmp dword [esp + 0x14], ebx
je 0x4556ea
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.Version
push ecx
call edi
test eax, eax
jne 0x455719
cmp dword [esp + 0x14], ebx
jne 0x455719
xor edx, edx
lea eax, [esp + 0x1c]
mov word [esp + 0x222], dx
mov byte [esp + 0xf], bl
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x455700
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x20]
call fcn.004225d0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00476dfd
add esp, 0x21c
ret
mov ecx, dword [esp + 0x220]
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.00476dfd
add esp, 0x21c
ret