joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455a50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6015
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x514080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
movzx eax, word [ebp + 0xc]
xor edi, edi
mov esi, dword [0x515d44]
push 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x455abc
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x455abc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x455abc
push ebx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
jmp 0x455abe
xor ebx, ebx
test edi, edi
je 0x455bf0
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
push 0x5a
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 4], 0xffffffff
test eax, eax
jle 0x455b51
imul eax, eax, 0x64
cmp eax, 0x25e0
jl 0x455b51
cmp eax, 0x38a0
jge 0x455b04
mov esi, 0x20
jmp 0x455b56
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
push 0x5a
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x60
je 0x455b51
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4f5000]
divsd xmm0, qword [0x4f5008]
addsd xmm0, qword [0x4f4fe8]
cvttsd2si esi, xmm0
jmp 0x455b56
mov esi, 0x18
push 0
push esi
push esi
push 1
push edi
call dword [sym.imp.USER32.dll_LookupIconIdFromDirectoryEx]
test eax, eax
je 0x455bf0
push 0
push esi
push esi
push 0x30000
push 1
push ebx
add eax, edi
push eax
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
mov edi, eax
test edi, edi
je 0x455bf0
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 1
mov esi, eax
push 0xf7
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.0040a5e0
mov dword [ebp - 4], 2
push dword [ebp - 0x10]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x455bf0
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4561a0
Capabilities:
Hide graphical window

Disassembly:
push ecx
cmp dword [esp + 0x1c], 0
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x45639b
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
cmp ebp, 0x110
jne 0x456267
sub esp, 8
mov dword [esi + 0x104], 1
call fcn.00457160
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
cmp dword [esi + 0x104], 0
jne 0x45638b
cmp byte [esi + 0x75], 0
mov edi, dword [esi + 0x70]
mov dword [esi + 0x70], 1
je 0x45620f
push 1
push str.IsExterior
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetPropW]
cmp byte [esi + 0x74], 0
je 0x456231
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x2000000
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
sub esp, 0xc
lea ecx, [esi + 0x50]
call fcn.00458160
mov eax, dword [esp + 0x28]
mov dword [esi + 0x70], 0
mov dword [eax], 0
cmp dword [esi + 0x70], 0
je 0x4562fc
mov dword [esi + 0x70], edi
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18
mov edi, dword [esi + 0x70]
cmp ebp, 2
jne 0x4562a9
push str.IsExterior
push dword [esi + 4]
mov dword [esi + 0x70], 1
call dword [sym.imp.USER32.dll_RemovePropW]
mov eax, dword [esp + 0x28]
mov dword [esi + 0x70], 0
mov dword [eax], 0
cmp dword [esi + 0x70], 0
je 0x4562fc
mov dword [esi + 0x70], edi
lea eax, [ebp - 1]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18
cmp ebp, 0x4e
jne 0x456300
cmp dword [ebx + 8], 0xffffff38
jne 0x4562d3
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push ebx
push dword [esp + 0x24]
push ebp
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 1
push eax
push ebx
sub esp, 8
mov ecx, esi
call fcn.00457f90
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
jne 0x456388
mov edx, dword [esp + 0x20]
lea ecx, [esi + 0x50]
cmp ebp, 5
jne 0x456361
xor eax, eax
mov ebp, esi
test ecx, ecx
cmove ebp, eax
cmp byte [ecx + 0x1c], al
je 0x456347
push 0xe801
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esp + 0x20]
cmp edx, 2
jne 0x456338
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45634c
test edx, edx
jne 0x456347
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45634c
cmp edx, 1
je 0x45637e
mov eax, ebx
lea ecx, [ebp + 0x50]
shr eax, 0x10
cwde
push eax
movsx eax, bx
push eax
call fcn.00453fa0
jmp 0x45637e
cmp ebp, 0x24
jne 0x456398
cmp dword [ecx + 0x14], 0xffffffff
je 0x45637e
cmp dword [ecx + 0x18], 0xffffffff
je 0x45637e
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ecx
mov eax, dword [esp + 0x28]
mov dword [eax], 0
mov dword [esi + 0x70], edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x18
mov dword [esi + 0x70], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0x18
Function at 0x459ac0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 1
push dword [edi + 0xb4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x8040
push 0
mov edx, 0x7f01
xor ecx, ecx
call fcn.0040e300
add esp, 8
push 0
push eax
push 0x170
push dword [edi + 0xb4]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 0xcc]
push dword [edi + 0xb0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [edi + 0x98]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x459b32
mov eax, dword [ebx]
push dword [edi + 0xcc]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4e1514]
mov ecx, ebx
call esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x459b78
mov eax, dword [edi + 0x98]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x459b78
mov eax, dword [edi + 0xa8]
mov esi, dword [ebx]
push 0x4e20
push dword [eax + 0x34]
mov esi, dword [esi + 0xc]
mov ecx, esi
push dword [edi + 0xcc]
call dword [0x4e1514]
mov ecx, ebx
call esi
call fcn.00421b10
test al, al
je 0x459bf8
push 0x8040
push 0
mov edx, 0x7f01
lea esi, [edi + 0x88]
xor ecx, ecx
call fcn.0040e300
add esp, 8
mov ecx, esi
push eax
call fcn.00459c00
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x459bf8
mov eax, dword [ebx]
push ebp
mov ebp, dword [eax + 0x28]
xor eax, eax
test esi, esi
cmove edi, eax
mov esi, dword [edi + 4]
nop dword [eax]
push 0xfffffffffffffff0
push esi
mov edi, esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x459bdb
push esi
call dword [sym.imp.USER32.dll_GetParent]
jmp 0x459be4
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x459bc0
push eax
push edi
push ebx
mov ecx, ebp
call dword [0x4e1514]
call ebp
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x45c4f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6f46
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x514080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 0xc]
mov byte [edi], 1
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 0x14], eax
call fcn.004046f0
mov ebx, eax
test ebx, ebx
je 0x45c5e0
mov ecx, dword [ebx]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [edi + 0xc], eax
mov dword [ebp - 4], 1
lea eax, [edi + 0x18]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [ebp - 0x14], eax
call fcn.004046f0
mov ebx, eax
test ebx, ebx
je 0x45c5e0
mov ecx, dword [ebx]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [edi + 0x18], eax
mov byte [ebp - 4], 3
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402720
int3

Function at 0x45c760
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
add eax, 4
push eax
push 0
push esi
push 0x45cdc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x20], eax
mov ecx, dword [ecx + 4]
mov dword [esi + 0x24], ecx
test eax, eax
je 0x45c7c0
nop dword [eax]
mov esi, dword [esi + 4]
test esi, esi
je 0x45c7c7
mov eax, dword [esi + 0x14]
add eax, 4
push eax
push 0
push esi
push 0x45cdc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x24], ecx
test eax, eax
jne 0x45c790
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop esi
ret
Function at 0x463820
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d86fd
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x514080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push SysReAllocString
call fcn.00408b70
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x4638a8
cmp dword [ebp - 0x10], eax
jne 0x4638a4
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
sete bl
jmp 0x4638aa
mov bl, 1
jmp 0x4638aa
xor bl, bl
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4638bf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4638fa
mov edi, dword [ecx]
push ecx
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x466260
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d906d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x514080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x160]
sub ecx, 0x10
call fcn.00402750
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
push 5
push str..part
call fcn.004025b0
lea ecx, [ebp - 0x10]
call fcn.0040f040
test al, al
je 0x466388
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x18], 0x4ec614
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
cmp esi, 0xffffffff
jne 0x46630a
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x18], 0x4ec614
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x46632b
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0x4ec614
test esi, esi
je 0x466332
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
cmp ebx, dword [edi + 0x80]
jb 0x466341
mov ecx, edi
call fcn.0046a870
mov ebx, 1
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x466374
mov edi, dword [ecx]
push ecx
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0x160]
call fcn.0040f040
test al, al
je 0x466341
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [edi + 0x160]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x18], 0x4ec614
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
cmp esi, 0xffffffff
jne 0x4663e0
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x18], 0x4ec614
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x466401
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0x4ec614
test esi, esi
je 0x466408
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
cmp ebx, dword [edi + 0x80]
jne 0x46633a
mov ebx, 2
jmp 0x466346
Function at 0x46a870
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d23dd
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x514080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ecx + 0x160]
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.00402750
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
push 5
push str..part
call fcn.004025b0
lea ecx, [ebp - 0x10]
call fcn.0040f040
test al, al
je 0x46a8d9
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.0040f040
test al, al
je 0x46a8ec
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x5c
push dword [esi]
call fcn.004a2b4b
add esp, 8
or ebx, 0xffffffff
test eax, eax
je 0x46a94a
sub eax, dword [esi]
sar eax, 1
cmp eax, ebx
je 0x46a94a
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0040af80
mov byte [ebp - 4], 2
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 1
mov eax, ebx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x46a94a
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x46a975
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x470e40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4daf25
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x514080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00471070
mov ecx, dword [edi + 0x10]
mov ebx, eax
cmp dword [ecx - 0xc], 0
je 0x470ee4
mov eax, dword [edi + 4]
cmp eax, 6
je 0x470e96
cmp eax, 7
je 0x470e96
cmp eax, 8
je 0x470e96
cmp eax, 9
je 0x470e96
cmp eax, 0x12
jne 0x470ee4
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
lea eax, [ebp - 0x58]
movlpd qword [ebp - 0x44], xmm0
push eax
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x58], 0x3c
mov dword [ebp - 0x54], 0x8400
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x4c], str.open
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
call fcn.0042b190
cmp byte [eax + 0x1c], 0
je 0x471013
call fcn.0042b190
test byte [eax + 0x20], 8
je 0x471013
call fcn.0042b190
mov dword [ebp - 0x1c], eax
call fcn.004046f0
mov dword [ebp - 0x10], eax
test eax, eax
je 0x471061
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x10]
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x14]
push 0x18
push 0x4f3a90
call fcn.004025b0
push dword [edi + 4]
lea ecx, [ebp - 0x14]
call fcn.0042aba0
mov esi, eax
push 0xf
push str.._Return_code:
mov ecx, esi
call fcn.004025b0
push ebx
mov ecx, esi
call fcn.0042aba0
mov dword [ebp - 0x18], eax
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x471061
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
push 0
push 0x4ec684
call fcn.004025b0
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.0042b520
mov byte [ebp - 4], 2
or edx, 0xffffffff
mov ecx, dword [ebp - 0x10]
mov eax, edx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x470fe8
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
or edx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], edx
dec edx
test edx, edx
jg 0x471013
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
test ebx, ebx
je 0x47104d
cmp ebx, 0xe0000011
je 0x47104d
cmp ebx, 0xe0000027
je 0x47104d
cmp ebx, 0xe0000008
je 0x47104d
cmp ebx, 0x4c7
je 0x47104d
cmp ebx, 0x642
je 0x47104d
cmp ebx, 0xe0000029
je 0x47104d
push ebx
call fcn.00478da0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402720
int3
Function at 0x472d00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db444
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x514080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 2
lea eax, [ebx + 0x30]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
add eax, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
mov ecx, dword [eax]
or eax, 0xffffffff
sub ecx, 0x10
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x472d6e
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x1c]
call fcn.00479340
mov byte [ebp - 4], 0
lea ecx, [ebx + 0x10]
call fcn.00409280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 4]
call fcn.00409280
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x473310
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db545
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x514080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.purgenotifseen
push dword [edi + 0x184]
call fcn.004ab1d3
add esp, 8
test eax, eax
jne 0x47349e
push SysReAllocString
lea ecx, [ebp - 0x20]
call fcn.00441460
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0x4f18d8
mov dword [ebp - 4], 1
lea eax, [edi + 0x188]
push eax
lea ecx, [ebp - 0x18]
call fcn.00409950
call fcn.004046f0
mov ebx, eax
test ebx, ebx
je 0x4734b4
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
push eax
push 5
lea ecx, [ebp - 0x20]
call fcn.004432d0
test al, al
jne 0x4733cb
mov byte [ebp - 4], 1
or ebx, 0xffffffff
jmp 0x473440
push ecx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.00408b70
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4733f3
push dword [edi + 0x18c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x473405
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 3
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
or ebx, 0xffffffff
mov ecx, dword [ebp - 0x24]
mov eax, ebx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x47343c
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
mov eax, ebx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x473466
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x47349e
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00402720
int3
Function at 0x47c3a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x4dcedd
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x514080]
xor eax, ebp
mov dword [ebp + 0x200], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x20c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
mov edi, dword [ebx + 4]
push ecx
or edi, 0x2001f
mov dword [ebp - 0x20], 0
push edi
push 0
push eax
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [ebp - 0x18]
test esi, esi
jne 0x47c4df
test eax, eax
je 0x47c441
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x20]
and edi, 0x300
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
test esi, esi
jne 0x47c4df
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0x100
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp]
push ecx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x47c4b7
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
call fcn.0047c3a0
mov esi, eax
test esi, esi
jne 0x47c4df
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
push esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x47c481
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x47c4cc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], 0
push dword [ebp - 0x24]
mov ecx, ebx
mov dword [ebp - 0x14], 0
call fcn.0047c530
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x47c4fb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], 0
mov eax, esi
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.004a1550
lea esp, [ebp + 0x204]
pop ebp
ret 4