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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d56d5
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 0x45565c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45565c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x45565c
push ebx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
jmp 0x45565e
xor ebx, ebx
test edi, edi
je 0x455790
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 0x4556f1
imul eax, eax, 0x64
cmp eax, 0x25e0
jl 0x4556f1
cmp eax, 0x38a0
jge 0x4556a4
mov esi, 0x20
jmp 0x4556f6
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 0x4556f1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4f4ff8]
divsd xmm0, qword [0x4f5000]
addsd xmm0, qword [0x4f4fe0]
cvttsd2si esi, xmm0
jmp 0x4556f6
mov esi, 0x18
push 0
push esi
push esi
push 1
push edi
call dword [sym.imp.USER32.dll_LookupIconIdFromDirectoryEx]
test eax, eax
je 0x455790
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 0x455790
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.0040a5f0
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 0x455790
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 0x455d40
Capabilities:
Hide graphical window

Disassembly:
push ecx
cmp dword [esp + 0x1c], 0
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x455f3b
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
cmp ebp, 0x110
jne 0x455e07
sub esp, 8
mov dword [esi + 0x104], 1
call fcn.00456c90
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
cmp dword [esi + 0x104], 0
jne 0x455f2b
cmp byte [esi + 0x75], 0
mov edi, dword [esi + 0x70]
mov dword [esi + 0x70], 1
je 0x455daf
push 1
push str.IsExterior
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetPropW]
cmp byte [esi + 0x74], 0
je 0x455dd1
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.00457c00
mov eax, dword [esp + 0x28]
mov dword [esi + 0x70], 0
mov dword [eax], 0
cmp dword [esi + 0x70], 0
je 0x455e9c
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 0x455e49
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 0x455e9c
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 0x455ea0
cmp dword [ebx + 8], 0xffffff38
jne 0x455e73
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.00457a30
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
jne 0x455f28
mov edx, dword [esp + 0x20]
lea ecx, [esi + 0x50]
cmp ebp, 5
jne 0x455f01
xor eax, eax
mov ebp, esi
test ecx, ecx
cmove ebp, eax
cmp byte [ecx + 0x1c], al
je 0x455ee7
push 0xe801
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esp + 0x20]
cmp edx, 2
jne 0x455ed8
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x455eec
test edx, edx
jne 0x455ee7
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x455eec
cmp edx, 1
je 0x455f1e
mov eax, ebx
lea ecx, [ebp + 0x50]
shr eax, 0x10
cwde
push eax
movsx eax, bx
push eax
call fcn.00453b40
jmp 0x455f1e
cmp ebp, 0x24
jne 0x455f38
cmp dword [ecx + 0x14], 0xffffffff
je 0x455f1e
cmp dword [ecx + 0x18], 0xffffffff
je 0x455f1e
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 0x459560
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.0040e310
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 0x4595d2
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 0x459618
mov eax, dword [edi + 0x98]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x459618
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.00421730
test al, al
je 0x459698
push 0x8040
push 0
mov edx, 0x7f01
lea esi, [edi + 0x88]
xor ecx, ecx
call fcn.0040e310
add esp, 8
mov ecx, esi
push eax
call fcn.004596a0
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x459698
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 0x45967b
push esi
call dword [sym.imp.USER32.dll_GetParent]
jmp 0x459684
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x459660
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 0x45bf90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d65b6
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.00404710
mov ebx, eax
test ebx, ebx
je 0x45c080
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.00404710
mov ebx, eax
test ebx, ebx
je 0x45c080
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.00402740
int3

Function at 0x45c200
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
add eax, 4
push eax
push 0
push esi
push 0x45c860
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 0x45c260
nop dword [eax]
mov esi, dword [esi + 4]
test esi, esi
je 0x45c267
mov eax, dword [esi + 0x14]
add eax, 4
push eax
push 0
push esi
push 0x45c860
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 0x45c230
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop esi
ret
Function at 0x4632d0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7d6d
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.00408b90
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 0x463358
cmp dword [ebp - 0x10], eax
jne 0x463354
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
sete bl
jmp 0x46335a
mov bl, 1
jmp 0x46335a
xor bl, bl
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x46336f
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 0x4633aa
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 0x465d10
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d86dd
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.00402770
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
push 5
push str..part
call fcn.004025d0
lea ecx, [ebp - 0x10]
call fcn.0040f050
test al, al
je 0x465e38
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 0x465dba
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x18], 0x4ec614
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x465ddb
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 0x465de2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
cmp ebx, dword [edi + 0x80]
jb 0x465df1
mov ecx, edi
call fcn.0046a320
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 0x465e24
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.0040f050
test al, al
je 0x465df1
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 0x465e90
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x18], 0x4ec614
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x465eb1
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 0x465eb8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
cmp ebx, dword [edi + 0x80]
jne 0x465dea
mov ebx, 2
jmp 0x465df6
Function at 0x46a320
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1acd
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.00402770
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
push 5
push str..part
call fcn.004025d0
lea ecx, [ebp - 0x10]
call fcn.0040f050
test al, al
je 0x46a389
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.0040f050
test al, al
je 0x46a39c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x5c
push dword [esi]
call fcn.004a222b
add esp, 8
or ebx, 0xffffffff
test eax, eax
je 0x46a3fa
sub eax, dword [esi]
sar eax, 1
cmp eax, ebx
je 0x46a3fa
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0040af90
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 0x46a3fa
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 0x46a425
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 0x4708f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da595
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.00470b20
mov ecx, dword [edi + 0x10]
mov ebx, eax
cmp dword [ecx - 0xc], 0
je 0x470994
mov eax, dword [edi + 4]
cmp eax, 6
je 0x470946
cmp eax, 7
je 0x470946
cmp eax, 8
je 0x470946
cmp eax, 9
je 0x470946
cmp eax, 0x12
jne 0x470994
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.0042ad70
cmp byte [eax + 0x1c], 0
je 0x470ac3
call fcn.0042ad70
test byte [eax + 0x20], 8
je 0x470ac3
call fcn.0042ad70
mov dword [ebp - 0x1c], eax
call fcn.00404710
mov dword [ebp - 0x10], eax
test eax, eax
je 0x470b11
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.004025d0
push dword [edi + 4]
lea ecx, [ebp - 0x14]
call fcn.0042a780
mov esi, eax
push 0xf
push str.._Return_code:
mov ecx, esi
call fcn.004025d0
push ebx
mov ecx, esi
call fcn.0042a780
mov dword [ebp - 0x18], eax
call fcn.00404710
mov edi, eax
test edi, edi
je 0x470b11
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.004025d0
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.0042b100
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 0x470a98
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 0x470ac3
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 0x470afd
cmp ebx, 0xe0000011
je 0x470afd
cmp ebx, 0xe0000027
je 0x470afd
cmp ebx, 0xe0000008
je 0x470afd
cmp ebx, 0x4c7
je 0x470afd
cmp ebx, 0x642
je 0x470afd
cmp ebx, 0xe0000029
je 0x470afd
push ebx
call fcn.00478830
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.00402740
int3
Function at 0x4727b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4daab4
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 0x47281e
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.00478dd0
mov byte [ebp - 4], 0
lea ecx, [ebx + 0x10]
call fcn.004092a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 4]
call fcn.004092a0
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 0x472dc0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dabb5
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.004aa8b3
add esp, 8
test eax, eax
jne 0x472f4e
push SysReAllocString
lea ecx, [ebp - 0x20]
call fcn.00441010
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.00409970
call fcn.00404710
mov ebx, eax
test ebx, ebx
je 0x472f64
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.00442e80
test al, al
jne 0x472e7b
mov byte [ebp - 4], 1
or ebx, 0xffffffff
jmp 0x472ef0
push ecx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.00408b90
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x472ea3
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 0x472eb5
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 0x472eec
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 0x472f16
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 0x472f4e
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.00402740
int3
Function at 0x47be30
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x4dc54d
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 0x47bf6f
test eax, eax
je 0x47bed1
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 0x47bf6f
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 0x47bf47
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
call fcn.0047be30
mov esi, eax
test esi, esi
jne 0x47bf6f
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 0x47bf11
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x47bf5c
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.0047bfc0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x47bf8b
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.004a0c30
lea esp, [ebp + 0x204]
pop ebp
ret 4