joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464b70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c834d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x66e5c0]
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], 7
jbe 0x464ba6
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x464bba
mov al, 1
jmp 0x464c7e
mov dword [ebp - 4], 2
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 3
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00468220
test al, al
je 0x464c1f
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 0
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov byte [ebp - 0x29], 1
test eax, eax
jne 0x464c23
mov byte [ebp - 0x29], 0
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x464c60
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x464c56
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464c98
push ecx
push edx
call fcn.004c427d
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x29]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c3ed9
mov esp, ebp
pop ebp
ret
call fcn.004d85ca
int3

Function at 0x4663f0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x24
mov eax, dword [0x66e5c0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x30]
mov eax, dword [esi]
test eax, eax
je 0x466419
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
lea eax, [esp + 0x14]
mov word [esi + 4], 0
push 1
push eax
mov dword [esp + 0x10], 0xc
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
cmp dword [edi + 0x10], 0
je 0x466461
cmp dword [edi + 0x14], 7
jbe 0x466463
mov edi, dword [edi]
jmp 0x466463
xor edi, edi
push edi
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
je 0x466488
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x466488
mov byte [esi + 5], 1
cmp dword [esi], 0
mov ecx, dword [esp + 0x28]
pop edi
setne al
pop esi
xor ecx, esp
call fcn.004c3ed9
add esp, 0x24
ret 4
Function at 0x4684a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x66e5c0]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, dword [esp + 0x220]
mov eax, ecx
push ebp
push esi
mov esi, dword [esp + 0x22c]
cmp byte [eax], 0
lea ebp, [eax + 4]
push edi
mov edi, dword [esp + 0x228]
mov dword [esp + 0x10], eax
je 0x4684ec
push ebp
call fcn.00464ee0
mov ecx, dword [esp + 0x14]
add esp, 4
xor al, 1
mov byte [ecx], al
push 0x20c
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004ce740
add esp, 0xc
cmp dword [ebx + 0x14], 7
jbe 0x468508
mov ebx, dword [ebx]
cmp dword [edi + 0x14], 7
jbe 0x468510
mov edi, dword [edi]
lea eax, [esp + 0x14]
push eax
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x468574
xor eax, eax
lea ecx, [esp + 0x14]
mov word [esp + 0x21e], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468534
sub ecx, edx
lea eax, [esp + 0x14]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0044e9f0
mov bl, 1
cmp ebp, esi
je 0x46856a
cmp dword [esi + 0x14], 7
mov ecx, dword [esi + 0x10]
jbe 0x468561
mov esi, dword [esi]
push ecx
push esi
mov ecx, ebp
call fcn.0044e9f0
mov eax, dword [esp + 0x10]
mov byte [eax], bl
mov al, bl
jmp 0x468576
xor al, al
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c3ed9
add esp, 0x214
ret 0xc
Function at 0x469350
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8e3f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x66e5c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
call fcn.0048c683
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
test eax, eax
je 0x469401
push eax
push esi
call fcn.0048ccb8
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.0048c636
int3
Function at 0x46e720
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
push 0x40
mov dword [esp + 0x18], esi
call fcn.004c44f9
lea edi, [esi + 0x6c]
mov dword [edi], eax
push 0x40
call fcn.004c44f9
push 0x40
push 0
push dword [edi]
lea ebx, [esi + 0x70]
mov dword [ebx], eax
call fcn.004ce740
push 0x40
push 0
push dword [ebx]
call fcn.004ce740
mov ebp, dword [esp + 0x40]
add esp, 0x20
cmp ebp, 0x40
jbe 0x46e7c1
mov eax, dword [esi + 4]
add esi, 4
mov ecx, esi
call dword [eax + 8]
mov eax, dword [esi]
mov ecx, esi
push ebp
push dword [esp + 0x14]
call dword [eax + 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov esi, dword [edi]
mov edx, 0x40
mov ebp, dword [ebx]
mov dword [esp + 0x10], eax
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x46e7da
mov eax, edx
dec edx
test eax, eax
jle 0x46e7da
movzx eax, byte [ecx]
mov byte [esi], al
inc esi
movzx eax, byte [ecx]
inc ecx
mov byte [ebp], al
inc ebp
mov eax, dword [esp + 0x10]
cmp ecx, dword [eax + 4]
jne 0x46e7a1
jmp 0x46e7da
mov esi, dword [esp + 0x10]
push ebp
push esi
push dword [edi]
call fcn.004ce090
push ebp
push esi
push dword [ebx]
call fcn.004ce090
add esp, 0x18
mov eax, dword [edi]
xor ecx, ecx
mov edx, dword [ebx]
lea ebp, [eax + 0x3f]
lea esi, [edx + 0x3f]
cmp edx, ebp
ja 0x46e7ee
cmp esi, eax
jae 0x46e810
cmp edx, edi
ja 0x46e7f6
cmp esi, edi
jae 0x46e810
cmp edx, ebx
ja 0x46e7fe
cmp esi, ebx
jae 0x46e810
cmp eax, edi
ja 0x46e806
cmp ebp, edi
jae 0x46e810
cmp eax, ebx
ja 0x46e835
cmp ebp, ebx
jb 0x46e835
nop
mov eax, dword [edi]
xor byte [eax + ecx], 0x36
mov eax, dword [ebx]
xor byte [eax + ecx], 0x5c
inc ecx
cmp ecx, 0x40
jl 0x46e810
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
movups xmm0, xmmword [eax]
mov ecx, dword [esp + 0x14]
movaps xmm2, xmmword [0x656710]
movaps xmm3, xmmword [0x656720]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [eax], xmm1
movups xmm0, xmmword [edx]
movaps xmm1, xmm2
xorps xmm0, xmm3
movups xmmword [edx], xmm0
movups xmm0, xmmword [eax + 0x10]
xorps xmm1, xmm0
movups xmmword [eax + 0x10], xmm1
movups xmm0, xmmword [edx + 0x10]
movaps xmm1, xmm3
xorps xmm1, xmm0
movups xmmword [edx + 0x10], xmm1
movups xmm0, xmmword [eax + 0x20]
xorps xmm0, xmm2
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [edx + 0x20]
xorps xmm0, xmm3
movups xmmword [edx + 0x20], xmm0
movups xmm0, xmmword [eax + 0x30]
xorps xmm2, xmm0
movups xmmword [eax + 0x30], xmm2
movups xmm0, xmmword [edx + 0x30]
xorps xmm3, xmm0
movups xmmword [edx + 0x30], xmm3
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x470210
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x66e5c0]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, ecx
mov dword [esp + 4], 0x114
push 0x110
lea eax, [esp + 0xc]
push 0
push eax
mov byte [esi], 0
call fcn.004ce740
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x470261
cmp dword [esp + 8], 6
jb 0x470261
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.004c3ed9
add esp, 0x118
ret
Function at 0x4732b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ca54d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x66e5c0]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x38]
mov edi, dword [ebp + 0xc]
push esi
push eax
call fcn.00473c30
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x18]
call fcn.004663f0
xorps xmm0, xmm0
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x1c], 0
test eax, eax
jne 0x473334
xor bl, bl
jmp 0x473352
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x47334c
cmp eax, 0x80
je 0x47334c
xor bl, bl
jmp 0x473352
mov byte [ebp - 0x14], 1
mov bl, 1
mov byte [ebp - 0x1c], bl
mov byte [ebp - 4], 2
lea eax, [ebp - 0x39]
push eax
push edi
push esi
mov byte [ebp - 0x39], 0
call fcn.00473440
test al, al
jne 0x473380
cmp byte [ebp - 0x39], al
je 0x473380
cmp dword [esi + 0x14], 7
jbe 0x473379
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 1
test bl, bl
je 0x47339a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x473396
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4733ba
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x24]
cmp ecx, 7
jbe 0x4733fd
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4733f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x473436
push ecx
push edx
call fcn.004c427d
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov dword [ebp - 4], 0xffffffff
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.004c3ed9
mov esp, ebp
pop ebp
ret 8
call fcn.004d85ca
int3
Function at 0x475ff0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x476022
jl 0x476015
test ecx, ecx
jne 0x476022
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x4760e2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.0046eac0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x47608e
jg 0x47604d
test esi, esi
je 0x47608e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x476065
mov eax, dword [esp + 0x10]
jl 0x47605f
cmp eax, esi
jae 0x476065
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.004ce090
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x4760af
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x4760cb
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x476034
jl 0x4760cb
test ecx, ecx
jne 0x476034
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x476126
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x476126
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.004ce090
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x476197
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x47614c
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x476182
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.004e2ce0
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x476197
cmp edi, eax
ja 0x476160
test edi, edi
je 0x476197
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.004e2ce0
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x476bc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5caa50
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x66e5c0]
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 edx, ecx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
lea ebx, [edx + 4]
cmp dword [ebp + 0xc], 1
lea esi, [edx + 8]
mov dword [ebp - 0x14], eax
lea edi, [edx + 0x14]
sete al
mov dword [edx + 0xc], ebx
mov byte [edx + 0x48], al
lea ecx, [edx + 0x18]
mov eax, dword [ebp - 0x20]
mov byte [edx + 0x3d], 0
mov dword [edx + 0x10], esi
mov dword [edx + 0x1c], edi
mov dword [edx + 0x20], ecx
add edx, 0x24
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x18]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov ebx, dword [ebp - 0x14]
mov dword [edi], 0
mov dword [edx], 0
test ebx, ebx
je 0x476ca9
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
push eax
push ebx
call fcn.004e2291
mov edx, dword [ebp - 0x20]
add esp, 0x10
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
jmp 0x476cac
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x4c], ebx
mov eax, dword [0x679638]
mov ecx, dword [0x67963c]
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
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.004c3ed9
mov esp, ebp
pop ebp
ret 8
Function at 0x477c40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
nop dword [eax]
mov edx, esi
mov ecx, esi
shr edx, 4
and ecx, 0xf
movzx eax, byte [esp + edx + 4]
shl al, 4
or al, byte [esp + ecx + 0x14]
mov byte [esi + 0x6794d0], al
movzx eax, byte [esp + edx + 0x24]
shl al, 4
or al, byte [esp + ecx + 0x34]
mov byte [esi + 0x6791d0], al
movzx eax, byte [esp + edx + 0x44]
shl al, 4
or al, byte [esp + ecx + 0x54]
mov byte [esi + 0x6793d0], al
movzx eax, byte [esp + edx + 0x64]
shl al, 4
or al, byte [esp + ecx + 0x74]
mov byte [esi + 0x6792d0], al
inc esi
cmp esi, 0x100
jl 0x477d50
pop esi
add esp, 0x80
ret
Function at 0x47be90
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5caffd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x66e5c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
cmp dword [eax + 0x10], 0
je 0x47bfa1
cmp dword [esi + 0x10], 0
je 0x47bfa1
test edi, edi
je 0x47bfa1
push eax
lea ecx, [ebp - 0x38]
call fcn.0044e890
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
push 1
push 0x656438
call fcn.0044eb60
cmp dword [esi + 0x14], 7
mov eax, dword [esi + 0x10]
jbe 0x47bf09
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.0044eb60
cmp dword [ebp - 0x24], 7
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], 4
push ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 0x20], 4
cmova eax, dword [ebp - 0x38]
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47bf60
cmp dword [ebp - 0x20], 4
jne 0x47bf92
cmp dword [ebp - 0x1c], 4
jne 0x47bf92
cmp dword [ebp - 0x18], eax
je 0x47bf92
jmp 0x47bf6e
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x20], 4
cmp dword [ebp - 0x24], 7
lea ecx, [ebp - 0x18]
push 4
push ecx
push 4
lea eax, [ebp - 0x38]
mov dword [ebp - 0x18], 0
cmova eax, dword [ebp - 0x38]
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0044e770
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c3ed9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47bfc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cb03d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x66e5c0]
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 esi, ecx
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
push esi
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x14], 0
call fcn.0048c716
add esp, 4
test eax, eax
jne 0x47c0d9
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x47c0e0
mov byte [ebp - 0x14], 1
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x48]
cmp eax, 0x7530
jb 0x47c0ad
mov eax, dword [esi + 0x30]
lea ebx, [esi + 0x30]
mov ecx, dword [ebx + 4]
cmp eax, ecx
je 0x47c053
push ebx
push ecx
push eax
call fcn.0044ef60
mov eax, dword [ebx]
add esp, 0xc
mov dword [ebx + 4], eax
mov eax, dword [esi + 0x3c]
lea edi, [esi + 0x3c]
mov ecx, dword [edi + 4]
cmp eax, ecx
je 0x47c070
push edi
push ecx
push eax
call fcn.0044ef60
mov eax, dword [edi]
add esp, 0xc
mov dword [edi + 4], eax
push ebx
call fcn.0047c0f0
push edi
push 0
push 0
call fcn.0047c3c0
push edi
push 1
push 0
call fcn.0047c3c0
push edi
push 0
push 1
call fcn.0047c3c0
push edi
push 1
push 1
call fcn.0047c3c0
push edi
call fcn.0047d260
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x48], eax
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.0048c727
add esp, 4
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.004c3ed9
mov esp, ebp
pop ebp
ret
push 5
call fcn.0048c968
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.0048c968
int3
Function at 0x47c3c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cb0db
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x66e5c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [ebp + 8], 0
mov esi, 0x20019
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x444], 0
je 0x47c418
call fcn.004685a0
test al, al
je 0x47c634
mov esi, 0x20119
push str.SOFTWARERegisteredApplications
lea ecx, [ebp - 0x440]
call fcn.0044e850
mov dword [ebp - 4], 0
lea edx, [ebp - 0x444]
movzx ecx, byte [ebp + 0xc]
lea eax, [ebp - 0x440]
push edx
add ecx, 0x80000001
cmp dword [ebp - 0x42c], 7
push esi
cmova eax, dword [ebp - 0x440]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47c622
push 0x208
xor esi, esi
mov dword [ebp - 0x420], 0x103
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.004ce740
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x420]
add esp, 0xc
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 0x444]
call edi
test eax, eax
jne 0x47c60c
cmp word [ebp - 0x21c], 0
je 0x47c5d5
push 0x200
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.004ce740
add esp, 0xc
mov dword [ebp - 0x424], 0x1fe
lea eax, [ebp - 0x424]
mov dword [ebp - 0x428], 1
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47c5d5
mov eax, dword [ebp - 0x424]
cmp eax, 0x100
jae 0x47c53f
add eax, eax
cmp eax, 0x200
jae 0x47c657
xor ecx, ecx
mov word [ebp + eax - 0x41c], cx
cmp word [ebp - 0x41c], 0
je 0x47c5d5
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x45c]
call fcn.0044e850
mov byte [ebp - 4], 1
lea eax, [ebp - 0x45c]
push eax
mov ecx, ebx
call fcn.004658c0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x448]
cmp ecx, 7
jbe 0x47c5b5
mov edx, dword [ebp - 0x45c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47c5ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47c652
push ecx
push edx
call fcn.004c427d
add esp, 8
xor eax, eax
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 7
mov word [ebp - 0x45c], ax
mov byte [ebp - 4], al
xor eax, eax
mov dword [ebp - 0x420], 0x103
push eax
push eax
push eax
push eax
mov word [ebp - 0x21c], ax
inc esi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 0x444]
call edi
test eax, eax
je 0x47c4b1
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x444], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.0044e770
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c3ed9
mov esp, ebp
pop ebp
ret 0xc
call fcn.004d85ca
call fcn.004c4629
int3