joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10151a14
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x10193e3c], 0
mov dword [0x10193e40], 0
mov dword [0x10193e4c], 0
mov dword [0x10193e34], 0x18c4
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x10151b77
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add edx, 1
mov edi, eax
add edi, 1
mov dword [ebp - 0x2c], eax
mov eax, edx
cdq
idiv esi
mov dword [0x10193e3c], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10193e40], edx
mov dword [0x10193e38], 0xa8e
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x10193e44], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x10193e44]
mov edx, dword [0x10193e40]
mov byte [ebx + edx], cl
mov dword [0x10193e34], 0x16e8
mov edx, dword [0x10193e3c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10193e40]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x10193e4c], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov ch, byte [edx + esi]
mov dword [0x10193e38], 0x1e0e
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [0x10193e38]
add edx, 0xfffff1cc
mov dword [0x10193e34], edx
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x34], edi
je 0x10151b77
mov eax, dword [0x10193e3c]
mov ecx, dword [0x10193e40]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x10151a77
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10151f09
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x10193e34], 0x14d0
mov dword [ebp - 0x10], eax
call fcn.10151040
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10151f4f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10193e38], 0x23c3
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x10193e34], 0x2361
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x10152084
jmp 0x10151fec
mov eax, dword [ebp - 0x34]
mov ecx, eax
mov edx, dword [ebp - 0x38]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x3d], bh
mov byte [ebp - 0x3e], cl
je 0x10152053
jmp 0x10152027
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x48]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x30], eax
jb 0x10151ffe
jmp 0x10152084
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x10193e34], 0x14d0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edx
jmp 0x10151f94
mov eax, dword [ebp - 0x3c]
add eax, 1
mov cl, byte [ebp - 0x3d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x34], eax
jne 0x10151f94
mov al, byte [ebp - 0x3e]
test al, 1
jne 0x1015205f
jmp 0x10151fc3
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x10193e34], 0x14fc
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1015208f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x88]
lea ecx, [esp + 0x30]
mov dword [0x10193e34], 0x37a
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
call fcn.10151569
lea ecx, [esp + 0x30]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x50], 0x160000
mov edx, dword [0x10193e20]
mov dword [esp + 0x60], edx
mov edx, dword [0x10193e24]
mov dword [esp + 0x30], edx
mov edx, dword [0x10193e28]
mov dword [esp + 0x54], edx
mov edx, dword [0x10193e2c]
mov dword [esp + 0x4c], edx
mov edx, dword [0x10193e30]
add ecx, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
lea eax, [0x10152402]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [ecx], edx
mov dword [0x10193e34], 0x1fc2
mov dword [esp + 0x1c], eax
jmp 0x10152195
mov dword [0x10193e34], 0x9c2
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1015181a
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0x18], eax
jmp 0x101521ef
mov eax, dword [esp + 0x14]
add eax, 0x3c
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
cmp dword [edx + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x101521b8
jmp 0x101521a4
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
je 0x1015216f
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x10152195
mov eax, dword [esp + 0x14]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x80], edx
mov dword [0x10193e38], 0x8ac
call fcn.1015227b
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
je 0x10152133
mov eax, dword [esp + 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x1015227b
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x30
mov dword [ebp - 8], 0
mov eax, dword [0x10193e34]
add eax, 0xffffd981
mov dword [0x10193e34], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10193e34], 0x20ef
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x10152312
mov eax, dword [ebp - 0x18]
mov ecx, 0x215
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
je 0x10152341
jmp 0x101523ec
mov eax, 1
mov ecx, 0x28d3
mov dword [0x10193e34], 0x47ad
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
je 0x101523f9
jmp 0x101523ec
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], edx
je 0x101522c1
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
jl 0x10152312
jmp 0x101522c1
mov eax, 0x215
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x20], eax
jne 0x101523ec
mov dword [0x10193e38], 0x7f0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff5
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x2c], ecx
mov eax, 0x215
mov ecx, dword [ebp - 0x2c]
cmp word [ecx], 0x61
mov dword [ebp - 0x20], eax
jne 0x101523ec
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff6
mov dword [ebp - 0x30], eax
mov eax, 0x215
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
cmp word [ecx + edx*2], 0x64
mov dword [ebp - 0x20], eax
jne 0x101523ec
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
sete dl
mov byte [ebp - 0x31], dl
mov eax, 0x215
mov cl, byte [ebp - 0x31]
test cl, 1
mov dword [ebp - 0x20], eax
jne 0x101523d1
jmp 0x101523ec
mov eax, 0x215
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x20], eax
je 0x101522e0
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [0x10193e34], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
add esp, 0x30
pop esi
pop ebp
ret
Function at 0x10001500
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x10012050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor edi, edi
mov eax, 0x20
mov ebx, 1
push 0x1000f4dc
mov dword [esi], vtable.CDeskBand.0
mov dword [esi + 4], vtable.CDeskBand.1.0
mov dword [esi + 8], vtable.CDeskBand.2.0
mov dword [esi + 0xc], vtable.CDeskBand.3.0
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
call fcn.10002e30
push 0x7fe
lea ecx, [ebp - 0x802]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x804], ax
call fcn.100092a0
add esp, 0x10
lea edx, [ebp - 0x808]
push edx
push 0x20119
push edi
push str.Software24x7HELP
push 0x80000001
mov dword [ebp - 0x80c], 0x3ff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100015f4
mov edx, dword [ebp - 0x808]
lea eax, [ebp - 0x80c]
push eax
lea ecx, [ebp - 0x804]
push ecx
push edi
push edi
push str.REPRESENTATIVE_ICON
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100015f4
lea eax, [ebp - 0x804]
push eax
call fcn.10003645
add esp, 4
mov dword [esi + 0x68], eax
cmp eax, ebx
jl 0x100015f4
cmp eax, 8
jle 0x100015f7
mov dword [esi + 0x68], ebx
mov ecx, dword [ebp - 0x808]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x10013c80
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0x1000f540
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
call fcn.10002e30
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
xor ecx, ebp
mov eax, esi
pop ebx
call fcn.100034f5
mov esp, ebp
pop ebp
ret
Function at 0x10001ac0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push str.CDeskBand::CloseDW_In
call fcn.10002e30
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x28]
add esp, 4
test eax, eax
je 0x10001c67
push ebx
push edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x28]
push 0
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [0x10013c84]
push ecx
push str.CDeskBand_CloseDW_:_d
call fcn.10002e30
mov edx, dword [esi + 0x48]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push edx
call edi
mov ebx, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x10001b2b
mov eax, dword [esi + 0x48]
push eax
call ebx
mov ecx, dword [esi + 0x28]
push ecx
call edi
test eax, eax
je 0x10001b3b
mov edx, dword [esi + 0x28]
push edx
call ebx
cmp dword [0x10013c84], 0
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
je 0x10001be0
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10001be0
mov ecx, dword [esi + 0x28]
push 1
push 0
push 0
push ecx
lea edx, [ebp - 0x1c]
push edx
call edi
test eax, eax
je 0x10001bb7
jmp 0x10001b80
mov eax, dword [0x10013c84]
push eax
push str.CDeskBand_m_hwnd_PeekMessage_:_d
call fcn.10002e30
add esp, 8
lea ecx, [ebp - 0x1c]
push ecx
call ebx
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [esi + 0x28]
push 1
push 0
push 0
push eax
lea ecx, [ebp - 0x1c]
push ecx
call edi
test eax, eax
jne 0x10001b80
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [0x10013c84]
push edx
push str.CDeskBand_m_hwnd_Sleep_:_d
call fcn.10002e30
add esp, 8
cmp dword [0x10013c84], 0
jne 0x10001b54
mov eax, dword [esi + 0x48]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10001c65
mov edi, edi
mov ecx, dword [esi + 0x48]
push 1
push 0
push 0
push ecx
lea edx, [ebp - 0x1c]
push edx
call edi
test eax, eax
je 0x10001c3b
mov eax, dword [0x10013c84]
push eax
push str.CDeskBand_m_tip_PeekMessage_:_d
call fcn.10002e30
add esp, 8
lea ecx, [ebp - 0x1c]
push ecx
call ebx
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [esi + 0x48]
push 1
push 0
push 0
push eax
lea ecx, [ebp - 0x1c]
push ecx
call edi
test eax, eax
jne 0x10001c04
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [0x10013c84]
push edx
push str.CDeskBand_m_tip_Sleep_:_d
call fcn.10002e30
mov eax, dword [esi + 0x48]
add esp, 8
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x10001bf0
pop edi
pop ebx
xor eax, eax
push str.CDeskBand::CloseDW_Out
mov dword [esi + 0x28], eax
mov dword [esi + 0x48], eax
call fcn.10002e30
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100031a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x10012050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0x10012f6c
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea ecx, [ebp - 0x428]
push ecx
push str.CLSID_s
mov ecx, 0x104
lea ebx, [ebp - 0x220]
call fcn.10001240
add esp, 8
test eax, eax
js 0x100033a9
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 0
lea edx, [ebp - 0x634]
push edx
push 0
push 0x20006
push 0
push 0
push 0
mov eax, ebx
push eax
push 0x80000000
mov esi, 0x80004005
call edi
test eax, eax
jne 0x100033a5
mov eax, dword [0x1000feb8]
mov ecx, dword [str.24x7_Help]
mov edx, dword [0x1000feb4]
push 0x14
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 1
mov dword [ebp - 0x18], ecx
mov ecx, dword [0x1000febc]
push 0
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x634]
mov dword [ebp - 0x14], edx
mov edx, dword [0x1000fec0]
push 0
push ecx
mov dword [ebp - 8], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x10003272
xor esi, esi
mov edx, dword [ebp - 0x634]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
js 0x100033a5
lea eax, [ebp - 0x428]
push eax
push str.CLSID_sInprocServer32
mov ecx, 0x104
lea ebx, [ebp - 0x220]
call fcn.10001240
add esp, 8
test eax, eax
js 0x100033a7
push 0
lea ecx, [ebp - 0x634]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
mov edx, ebx
push edx
push 0x80000000
call edi
test eax, eax
jle 0x100032dc
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
js 0x100033a5
mov ecx, dword [0x10013c94]
push 0x104
lea eax, [ebp - 0x630]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1000333d
lea edx, [ebp - 0x630]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0x634]
add eax, eax
push eax
lea ecx, [ebp - 0x630]
push ecx
push 1
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jle 0x1000333b
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
js 0x10003398
mov edx, dword [0x1000fefc]
mov eax, dword [str.Apartment]
mov ecx, dword [0x1000fef8]
push 0x14
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x18]
push edx
push 1
mov dword [ebp - 0x18], eax
mov eax, dword [0x1000ff00]
push 0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x634]
mov dword [ebp - 0x14], ecx
mov ecx, dword [0x1000ff04]
push str.ThreadingModel
push eax
mov dword [ebp - 8], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jle 0x10003396
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov ecx, dword [ebp - 0x634]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100034f5
mov esp, ebp
pop ebp
ret
Function at 0x10003470
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x10012050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x10012f6c
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea ecx, [ebp - 0x20c]
push ecx
push str.CLSID_s
mov ecx, 0x104
lea ebx, [ebp - 0x414]
call fcn.10001240
mov esi, eax
add esp, 8
test esi, esi
js 0x100034d8
mov edx, ebx
push edx
push 0x80000000
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
je 0x100034d8
mov esi, 0x80004005
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
setns al
pop esi
xor ecx, ebp
pop ebx
dec eax
and eax, 0x80040201
call fcn.100034f5
mov esp, ebp
pop ebp
ret

Function at 0x100034f5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10012050]
jne 0x100034ff
repz ret
jmp fcn.10003b7c
Function at 0x10009ea7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10012050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10006057
and dword [ebp - 0x14], 0
cmp dword [0x10013c5c], 0
mov dword [ebp - 0x18], eax
jne 0x10009f5a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000a002
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1000a002
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10013c5c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10013c60], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10013c64], eax
call edi
push eax
call esi
mov dword [0x10013c6c], eax
test eax, eax
je 0x10009f5a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10013c68], eax
mov eax, dword [0x10013c68]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10009fb3
cmp dword [0x10013c6c], ecx
je 0x10009fb3
push eax
call esi
push dword [0x10013c6c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10009fb3
test ebx, ebx
je 0x10009fb3
call edi
test eax, eax
je 0x10009faa
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10009faa
test byte [ebp - 8], 1
jne 0x10009fb3
or dword [ebp + 0x10], 0x200000
jmp 0x10009fe6
mov eax, dword [0x10013c60]
cmp eax, dword [ebp - 0x18]
je 0x10009fe6
push eax
call esi
test eax, eax
je 0x10009fe6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10009fe6
mov eax, dword [0x10013c64]
cmp eax, dword [ebp - 0x18]
je 0x10009fe6
push eax
call esi
test eax, eax
je 0x10009fe6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10013c5c]
call esi
test eax, eax
je 0x1000a002
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000a004
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100034f5
leave
ret
Function at 0x63205260
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
mov edi, dword fs:[0x18]
sub esp, 0x1c
mov eax, dword [eax + 8]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 4], 8
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0xc]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x632052c0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x1c
and edx, 1
mov edi, dword [ebp + 8]
je 0x632052f0
mov edx, dword [eax + 0x38]
test edx, edx
jne 0x63205348
test esi, esi
je 0x632052e6
mov dword [ebx + 0x34], esi
mov dword [ebx + 0x38], edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x63205388
test esi, esi
je 0x632052e6
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov dword [ebx + 0x3c], eax
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.ucrtbase.dll_memcpy
mov dword [ebx + 0x40], edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebx + 0x34]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
sub esp, 0xc
jmp 0x632052dc
mov edx, dword [ebx + 0x3c]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
sub esp, 0xc
test esi, esi
je 0x632052e6
jmp 0x632052ff
Function at 0x632053d0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x1c
and edx, 1
mov edi, dword [ebp + 8]
je 0x63205400
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x63205458
test esi, esi
je 0x632053f6
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [eax + 0x28]
test eax, eax
jne 0x63205498
test esi, esi
je 0x632053f6
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov dword [ebx + 0x24], eax
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.ucrtbase.dll_memcpy
mov dword [ebx + 0x28], edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebx + 0x1c]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
sub esp, 0xc
jmp 0x632053ec
mov edx, dword [ebx + 0x24]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
sub esp, 0xc
test esi, esi
je 0x632053f6
jmp 0x6320540f