joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412440
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55ccf6
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x5ab3e8]
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, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x24c], edi
push 0x208
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0048e2e0
add esp, 0xc
mov dword [ebp - 0x250], 0
mov ecx, esi
push 0xffffffffffffffff
push 0x56c180
call fcn.00416380
mov ebx, eax
mov dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
cmp dword [esi + 0x10], ebx
mov ecx, ebx
mov word [ebp - 0x248], ax
mov eax, esi
cmovb ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 8
jb 0x4124e3
mov eax, dword [esi]
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00407de0
mov ecx, dword [esi + 0x10]
xor edx, edx
mov eax, ecx
mov dword [ebp - 4], 0
sub eax, ebx
mov dword [ebp - 0x220], 0
inc ebx
mov dword [ebp - 0x21c], 7
dec eax
mov word [ebp - 0x230], dx
cmp ecx, ebx
jb 0x4126b5
sub ecx, ebx
cmp ecx, eax
cmovb eax, ecx
cmp dword [esi + 0x14], 8
jb 0x412534
mov esi, dword [esi]
push eax
lea eax, [esi + ebx*2]
push eax
lea ecx, [ebp - 0x230]
call fcn.00407de0
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x250]
push ecx
push 0x20019
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x248]
push 0
push eax
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4125c4
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x24c], 0x208
push ecx
push 0
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x218]
mov dword [edi + 0x14], 7
mov word [edi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4125e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00407de0
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x41263e
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412634
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4126ba
push edx
push ecx
call fcn.0048bb0b
add esp, 8
mov edx, dword [ebp - 0x234]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp edx, 8
jb 0x412697
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41268d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4126ba
push edx
push ecx
call fcn.0048bb0b
add esp, 8
mov eax, edi
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.0048bb19
mov esp, ebp
pop ebp
ret
call fcn.00404500
call fcn.00497439
int3
Function at 0x4140b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5ab3e8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x41416a
cmp byte [esi + 0x3d], 0
je 0x41416a
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x414158
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x414120
sub eax, 1
je 0x414124
sub eax, 2
jne 0x414158
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bb19
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x414141
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0049d05c
add esp, 0x10
cmp edi, eax
jne 0x414158
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bb19
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bb19
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0048bb19
mov esp, ebp
pop ebp
ret
Function at 0x415640
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55cfb8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5ab3e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x28]
mov edi, dword [ebp + 8]
push esi
push eax
call fcn.00411ef0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.00415710
add esp, 0xc
test eax, eax
jne 0x415695
xor esi, esi
jmp 0x4156b2
cmp dword [esi + 0x14], 8
jb 0x41569d
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x4156a5
mov edi, dword [edi]
push dword [ebp + 0x10]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4156e8
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4156de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415705
push edx
push ecx
call fcn.0048bb0b
add esp, 8
mov eax, esi
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.0048bb19
mov esp, ebp
pop ebp
ret
call fcn.00497439
int3

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55cfe8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5ab3e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x415746
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4157ca
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41575c
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4157ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4157ca
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00411ef0
add esp, 8
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
je 0x4157e9
lea eax, [ebp - 0x28]
push eax
call fcn.00415710
add esp, 4
test eax, eax
je 0x4157e9
cmp dword [esi + 0x14], 8
jb 0x4157a8
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4157c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4157e9
lea ecx, [ebp - 0x28]
call fcn.004025b0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048bb19
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x28]
call fcn.004025b0
xor eax, eax
jmp 0x4157cf
Function at 0x4193b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5ab3e8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x4193e0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bb19
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x41941c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x41941c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bb19
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x419501
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x419444
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x419477
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.0049c6e5
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bb19
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x419501
cmp eax, 1
jle 0x4194d4
cmp eax, 3
jne 0x419501
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.0040d3a0
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bb19
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4194f1
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0049d05c
add esp, 0x10
cmp edi, eax
jne 0x419501
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x419407
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048bb19
mov esp, ebp
pop ebp
ret 4
Function at 0x41bc40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d688
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5ab3e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041ceb0
push 0x56e130
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.00401f60
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x41bc93
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x14]
test eax, eax
sete bl
cmp edx, 8
jb 0x41bcd5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41bccb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bd3b
push edx
push ecx
call fcn.0048bb0b
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x41bd1f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41bd15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bd3b
push edx
push ecx
call fcn.0048bb0b
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048bb19
mov esp, ebp
pop ebp
ret
call fcn.00497439
int3

Function at 0x41bea0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41bef9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41bef9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x41beea
cmp esi, edx
jae 0x41bef9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x41bed8
cmp esi, edx
jae 0x41bef9
cmp word [esi], 0
je 0x41bef9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x41dbc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d9d8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x5ab3e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x10], 0
je 0x41dce6
mov esi, dword [ebp + 0x10]
cmp dword [esi + 0x10], 0
je 0x41dce6
cmp dword [eax + 0x14], 8
jb 0x41dc09
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041ad90
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], 0
jb 0x41dc21
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x10]
call fcn.0041ad90
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
push 0x2001f
push 0
push dword [ebp - 0x14]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41dc94
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x10]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41dc7e
cmp dword [ebp - 0x1c], 4
mov ecx, 0xd
cmovne eax, ecx
mov esi, dword [ebp + 0x14]
test eax, eax
cmove esi, dword [ebp - 0x20]
test edi, edi
je 0x41dc97
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41dc97
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp - 0x10]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41dcb4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x41dcd3
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41e8a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x5ab3e8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push edi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41e908
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x130], 0x103
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bb19
mov esp, ebp
pop ebp
ret
push 0x124
lea eax, [ebp - 0x128]
mov dword [ebp - 0x12c], pe_nt_image_headers32
push 0
push eax
call fcn.0048e2e0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x41e94a
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bb19
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x12c]
xor bl, bl
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x41e97d
mov edi, edi
cmp dword [ebp - 0x124], edi
je 0x41e97b
lea eax, [ebp - 0x12c]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x41e960
jmp 0x41e97d
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0048bb19
mov esp, ebp
pop ebp
ret
Function at 0x427710
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp + 0xc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test esi, esi
je 0x427741
cmp esi, 0xffffffff
je 0x427741
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
ret 8

Function at 0x427780
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5ab3e8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x42785e
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push 0x56f1f8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42785e
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x42781d
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
sub ecx, 0xd53e8000
push 0
push 0x2710
sbb eax, 0x19db1de
push eax
push ecx
call fcn.0048bf10
jmp 0x427821
xor eax, eax
xor edx, edx
push 8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 0xb
push 0
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x24], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop esi
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bb19
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0048bb19
mov esp, ebp
pop ebp
ret 8

Function at 0x42bc90
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [0x5b2c24]
test al, 1
jne 0x42bd48
or eax, 1
mov dword [0x5b2c24], eax
mov dword [0x5b2c10], 0
mov dword [0x5b2c14], 0
mov dword [0x5b2c18], 0
mov dword [0x5b2c1c], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x56f334
push eax
call fcn.0048e88f
add esp, 8
test eax, eax
setne byte [0x5b2c20]
test eax, eax
je 0x42bd3b
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x5b2c10], eax
test eax, eax
je 0x42bd3b
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EventRegister
push eax
call esi
push str.EventWrite
push dword [0x5b2c10]
mov dword [0x5b2c14], eax
call esi
push str.EventUnregister
push dword [0x5b2c10]
mov dword [0x5b2c1c], eax
call esi
mov dword [0x5b2c18], eax
pop esi
push 0x567940
call fcn.0048beac
add esp, 4
mov eax, 0x5b2c10
ret
Function at 0x42dc80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SoftwareKingsoftOffice6.0Common
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42dd29
mov eax, dword [ebp - 4]
test eax, eax
je 0x42dd29
push esi
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], 0
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push ecx
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], 0x104
push ecx
push 0
push str.bOpenDEP
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x42dd0a
cmp dword [ebp - 8], 0
je 0x42dd0a
cmp dword [ebp - 0xc], 4
jne 0x42dd0a
cmp dword [ebp - 0x10], 0
setne al
test al, al
je 0x42dd29
push str.SetProcessDEPPolicy
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42dd29
push 3
call eax
mov esp, ebp
pop ebp
ret
Function at 0x4323c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f778
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5ab3e8]
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 ebx, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
lea eax, [edi + 4]
push eax
call fcn.00402b20
cmp dword [ebp - 0x18], 0
je 0x43240f
cmp dword [edi + 0x34], 0xffffffff
je 0x43240f
mov esi, 1
jmp 0x432411
xor esi, esi
lea ecx, [ebp - 0x28]
call fcn.004025b0
test esi, esi
jne 0x432454
test edi, edi
je 0x432514
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x432435
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
lea ecx, [edi + 4]
mov dword [edi + 0x4c], 0
call fcn.00405660
push 0x50
push edi
call fcn.0048bb0b
add esp, 8
jmp 0x432514
lea esi, [ebx + 8]
push esi
mov dword [ebp - 0x38], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 4], 0x15555555
mov eax, dword [ebx]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], eax
je 0x432532
mov dword [ebp - 0x34], ebx
push 0xc
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], 0
call fcn.0048badb
mov edx, dword [ebp - 0x2c]
add esp, 4
mov byte [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [eax + 8], edi
inc dword [ebx + 4]
mov ecx, dword [edx + 4]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [edx + 4], eax
mov dword [ecx], eax
lea eax, [ebp - 0x2c]
push eax
push 0
push edi
push 0x432bb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x43250d
mov edi, dword [ebx + 0x20]
add ebx, 0x20
cmp dword [ebx + 4], 0x15555555
je 0x43253c
mov dword [ebp - 0x40], ebx
push 0xc
mov byte [ebp - 4], 2
mov dword [ebp - 0x3c], 0
call fcn.0048badb
mov ecx, dword [ebp - 0x30]
add esp, 4
mov dword [eax + 8], ecx
inc dword [ebx + 4]
mov ecx, dword [edi + 4]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [edi + 4], eax
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.0048bb19
mov esp, ebp
pop ebp
ret 4
push str.list_too_long
call fcn.00489289
push str.list_too_long
call fcn.00489289
int3