joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437ffb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x438045
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x437fec
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x437ffb
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x83dc9e
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x43804c
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.0041eec2
cmp eax, dword [ebp + 0xc]
pop eax
je 0x4380eb
add edi, 4
add eax, 2
dec ecx
jne 0x438031
call 0x438098
loope 0x43808e
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x4380e8
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x4380f9
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x4380ac
cmp eax, ecx
ja 0x4380ac
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x438136
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x43812c
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0041f3a1
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x270d03e7
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data_1
nop
mov ebx, 0x42f314
mov ecx, 0x189e5d1b
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x40103c
Capabilities:
Terminate process

Disassembly:
mov dword [0x402475], eax
mov edx, eax
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edi, edi
call dword [sym.imp.kernel32.dll_GetVersion]
xor esi, esi
push dword [0x403587]
call dword [sym.imp.winmm.dll_waveOutClose]
add eax, 6
test eax, 0xb
jne 0x401075
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
ret

Function at 0x4033a3
Capabilities:
Get graphical window text

Disassembly:
add esi, dword [0x56db2108]
mov ecx, dword [eax + ecx*2]
jnp 0x4033d1
call 0xf35c641c
mov esi, dword [eax]
sbb al, 0xf3
inc ebp
clc
mov esi, esp
cwde
inc ebp
clc
jmp 0x40338d
jnp 0x4033c0
jns 0x403381
jnp 0x403405
cld
mov eax, ecx
mov ecx, dword [ebx + 0x1c]
or dword [ebx + 0x84b8b0b], 0x24491d79
xor byte [eax], al
pop eax
add al, 0x23
inc eax
invalid
push 0xfffffffffffffff0
push 0xfffffffffffffff0
push 0x303303
out dx, eax
adc eax, 0x30358c
inc eax
push 0x30327f
xor byte [eax], al
inc eax
inc dword [0xf0403100]
mov dword [0x303594], eax
dec eax
push 0x3032d8
inc eax
inc dword [0xf0403100]
mov dword [0x303598], eax
mov bl, 0xf
je 0x4033e4
pcmpeqb mm3, mm4
invalid

Function at 0x403462
Capabilities:
Execute anti-debugging instructions

Disassembly:
push eax
mov edi, eax
mov esi, 0x4025b0
mov ecx, dword [0x403222]
shr ecx, 1
dec ecx
mov bl, byte [0x403226]
rdtsc
push eax
mov bh, byte [esi]
inc esi
mov byte [edi], bh
inc edi
mov al, byte [esi]
stosb byte es:[edi], al
add byte [edi - 1], bl
inc esi
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
loop 0x403482
rdtsc
pop edx
sub eax, edx
sub esp, 0x18
push 0
push dword [0x40245d]
call dword [sym.imp.Msacm32.dll_acmStreamOpen]
pop edx
sub edx, eax
push edx
push 0
push 0
push 0x4032fa
call dword [fcn.0040359c]
push 0x4032b5
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [fcn.00403590], eax
push 0
push 2
push 0x4032f8
push 0x4032c4
call dword [fcn.00403590]
pop edx
sub edx, eax
ret
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1014
push ebp
mov ebp, esp
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
or eax, 0xffffffff
mov dword [0x415c84], 9
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
mov dword [ebp - 8], eax
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
mov ecx, 0x1000
xor eax, eax
lea edx, [ebp - 0x1010]
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
mov edi, eax
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
test eax, eax
mov esi, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x541961ee
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x13ca51bf
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4a82d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4a82e9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4a8322
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4a831e
lea ebx, [ebx]
cmp esi, eax
jae 0x4a8322
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4a8310
cmp esi, eax
jb 0x4a8328
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4a9540
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x8ce6f4]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [esp + 0x218]
push 0x105
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4a9588
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0080262b
add esp, 0x210
ret
lea eax, [esp + 4]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a9590
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 2], 0x5c
je 0x4a95c2
push 0x401fc4
lea ecx, [esp + 8]
push 0x105
push ecx
call fcn.00802c47
add esp, 0xc
test eax, eax
jne 0x4a9570
push esi
lea edx, [esp + 8]
push 0x105
push edx
call fcn.00802c47
add esp, 0xc
test eax, eax
jne 0x4a9570
lea eax, [esp + 4]
push eax
call fcn.004a9380
mov ecx, dword [esp + 0x214]
add esp, 4
pop esi
xor ecx, esp
call fcn.0080262b
add esp, 0x210
ret
Function at 0x4afbc0
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
add eax, eax
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], OleUninitialize
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4afc36
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x4afc05
cmp eax, 2
jne 0x4afc21
mov eax, dword [esp + 0x14]
test esi, esi
je 0x4afc30
test eax, eax
je 0x4afc2b
test al, 1
jne 0x4afc21
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x4afc30
pop edi
mov eax, 0xd
pop esi
ret 0xc
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x4b1ed0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x8682b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.004a9b50
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
mov al, byte [edi + 0x10]
mov byte [esi + 0x10], al
mov cl, byte [edi + 0x11]
mov byte [esi + 0x11], cl
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
push 0x4b0be0
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
push 0x4b1060
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
push 0xa
push 0x10
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x38]
lea eax, [edi + 0x3c]
push eax
lea ecx, [esi + 0x3c]
push ecx
mov dword [esp + 0x30], 0
mov dword [esi + 0x38], edx
call fcn.00803b24
push 0x4b0be0
push 0x4b1060
push 0xa
push 0x10
add edi, 0xdc
push edi
lea edx, [esi + 0xdc]
push edx
call fcn.00803b24
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4c4b60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x860eae
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.007cff5d
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4c4ba5
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push 0x4b0be0
push 0x4c49f0
push 0xa
push 0x10
lea ecx, [esi + 0x3c]
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov word [esi + 0x10], bx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call fcn.00803c4e
push 0x4b0be0
push 0x4c49f0
push 0xa
push 0x10
lea edx, [esi + 0xdc]
push edx
mov byte [esp + 0x2c], 1
call fcn.00803c4e
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x4ca5a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x861349
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x2c]
push eax
xor ebx, ebx
push ebx
call fcn.005d4530
lea edi, [esi + 0x10]
mov dword [esi], 0x406b08
mov dword [esi + 0xc], 0x406ae8
mov dword [esp + 0x1c], ebx
mov dword [edi], ebx
mov byte [esp + 0x1c], 1
call fcn.007cff5d
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4ca60c
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov al, byte [esp + 0x24]
mov cl, byte [esp + 0x28]
mov byte [esi + 0x18], al
mov byte [esi + 0x19], cl
mov dword [esi + 0x1c], 0x406ad8
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], 0xa
xor edx, edx
cmp al, bl
sete dl
mov byte [esp + 0x1c], 3
mov dword [esi + 8], edx
call fcn.004ca3d0
push edi
push 0x405e48
push 0x17
push esi
push 0x40bd54
call dword [0x8d2ba8]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0xc
Function at 0x4cdf60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x861778
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x1c]
mov dword [esi], 0x407420
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0xc], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x10], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
xor edi, edi
push eax
mov dword [esp + 0x18], edi
mov dword [esi + 0x14], edx
call fcn.004a9b50
mov ecx, dword [esp + 0x2c]
add eax, 0x10
mov dword [esi + 0x18], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov eax, 0xa
mov dword [esi + 0x3c], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x6c], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x84], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esi + 0x24], ecx
add esp, 4
mov dword [esp + 0x14], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4ce04a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x10
Function at 0x4ce0d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x8617b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov edi, esp
push eax
mov dword [esp + 0x28], 1
call fcn.004a9b50
mov edx, dword [esp + 0x30]
add esp, 4
add eax, 0x10
push edx
mov ecx, esi
mov dword [edi], eax
call fcn.004cdf60
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
push eax
mov byte [esp + 0x1c], 2
mov dword [esi], 0x40742c
call fcn.004a9b50
add eax, 0x10
mov dword [esi + 0x88], eax
xor eax, eax
mov dword [esi + 0x8c], eax
mov byte [esp + 0x1c], al
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ce183
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ce1ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x14
Function at 0x4dfe20
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x4dfe60
push 0x402cf8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4dfe6d
push 0x40935c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4dfe6d
mov ecx, dword [esi]
mov edx, dword [esp + 0xc]
push 0
push ecx
mov ecx, dword [esp + 0x10]
push 0
push 0
push edx
push ecx
call eax
pop esi
ret 8
cmp dword [esi + 4], 0
je 0x4dfe6d
pop esi
jmp dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, 1
pop esi
ret 8

Function at 0x4dffb0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x4dffc4
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x4e0090
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x220
mov eax, dword [0x8ce6f4]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x224]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov edx, dword [edi]
or ecx, 0x2001f
push ecx
xor esi, esi
push eax
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.004afb40
mov ebx, eax
cmp ebx, esi
je 0x4e00f5
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x4e00ee
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x4e0191
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
push esi
push esi
push esi
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x40]
push edx
push esi
push eax
mov dword [esp + 0x3c], 0x100
call ebp
test eax, eax
jne 0x4e015c
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004e0090
mov ebx, eax
cmp ebx, esi
jne 0x4e01ab
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x14]
push esi
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ecx
push esi
push edx
mov dword [esp + 0x3c], 0x100
call ebp
test eax, eax
je 0x4e0122
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x4e0171
push eax
call ebx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x20]
push eax
mov ecx, edi
mov dword [esp + 0x18], esi
call fcn.004dfe80
mov edi, eax
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4e018e
push eax
call ebx
mov eax, edi
pop ebp
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0080262b
add esp, 0x220
ret 4
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4e01ba
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x4e0190
Function at 0x4e0f30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x874bd8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edi
push edx
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x24], 0
call fcn.004b6310
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e0f9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [edi]
test ebx, ebx
je 0x4e1018
xor eax, eax
test ebx, ebx
setne al
mov esi, ebx
test eax, eax
je 0x4e102e
mov ecx, dword [ebx + 8]
cmp dword [ecx - 0xc], 0
mov ebx, dword [ebx]
jne 0x4e1014
cmp esi, dword [edi]
jne 0x4e0fc5
mov edx, dword [esi]
mov dword [edi], edx
jmp 0x4e0fcc
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
cmp esi, dword [edi + 4]
jne 0x4e0fd9
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
jmp 0x4e0fe1
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov eax, dword [esi + 8]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e1000
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi + 0x10]
mov dword [esi], ecx
dec dword [edi + 8]
mov dword [edi + 0x10], esi
jne 0x4e1014
mov ecx, edi
call fcn.004afe70
test ebx, ebx
jne 0x4e0fa3
cmp dword [edi + 8], 0
jne 0x4e1080
call fcn.007cff5d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4e1038
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
mov dword [esp + 0x20], 0
call fcn.004b34a0
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e1080
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [edi]
test edi, edi
jne 0x4e1090
push 0x80004005
call fcn.004a8210
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
call fcn.004a9b50
lea ecx, [eax + 0x10]
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret