joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443930
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x476608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0046effc
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004432d0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046ef2a
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0046b7ee
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0046b7ee
push 1
push 0
push 0
mov ecx, esi
call fcn.0046b796
push 1
push 0
push 1
mov ecx, esi
call fcn.0046b796
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046f06e
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x443ab0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x476628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0046effc
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004432d0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046ef2a
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x443b74
cmp dword [esp + 0x40], 1
jne 0x443b72
cmp ecx, eax
jge 0x443b74
mov eax, ecx
cmp eax, 0xc8
jge 0x443b80
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00443930
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046f06e
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4442f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x476693
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00469c0c
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046f2a4
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004707c0
test eax, eax
je 0x44440c
mov ecx, dword [esp + 0x3c]
call fcn.0046f2d1
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4443d0
push edi
mov ecx, esi
call fcn.0046c93c
mov ecx, esi
call fcn.00444570
cmp dword [esp + 0x38], 1
jne 0x444405
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046ca77
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x446e20
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x446e53
push esi
call fcn.00449f20
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x446e4c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x446ed9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x446ec2
mov eax, dword [esi + 8]
test eax, eax
je 0x446e77
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x446ebe
cmp eax, 2
je 0x446ec2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x446e6a
cmp eax, 3
je 0x446e9d
cmp eax, 1
jne 0x446e6a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x446e6a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x446e6a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00446f00
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x446ee8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00446f00
add esp, 4
pop esi
ret

Function at 0x452fa0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x453043
test eax, eax
jbe 0x453043
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x453043
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x452fee
xor esi, esi
jmp 0x452ff4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45301f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00456990
add esi, eax
push esi
mov ebx, esi
call fcn.00456990
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x453000
pop ebp
test edi, edi
pop edi
jne 0x453043
test ebx, ebx
je 0x453043
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00459030
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x453185
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45329d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45329d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046a05e
mov esi, eax
test esi, esi
je 0x45329d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45329d
mov ecx, esi
call fcn.004530f0
cmp edi, eax
jge 0x45329d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x453223
mov dword [esp + 0x34], 1
jmp 0x45327e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45329d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00452660
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x46aa01
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46aa39
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00468a8e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00468a66
jmp 0x46aa45
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46c0f6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46c138
call fcn.00471bcf
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46c138
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46c12f
xor eax, eax
jmp 0x46c140
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046c146
pop edi
pop esi
pop ebx
ret 4
Function at 0x4720ff
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47212d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47214b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00472065
jmp 0x47214b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47214b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00472065
test edi, edi
mov eax, edi
jne 0x472135
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x42af54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x42af63
pop dword [ebp - 0x40]
mov eax, 0x4b1b1f5d
add eax, 0xb5279006
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x55cec
push 0
mov eax, 0x9f4270be
sub eax, 0x9efdbe16
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0xe074dea4
sub ecx, 0xe0747ec3
xor edi, edi
add edi, eax
mov ebx, 0x165c040d
add ebx, 0xe9eb69f3
add ebx, dword [ebp - 0x40]
mov esi, 0x2d14fd16
xor dword [ebp - 0x28], 0x405b6de2
mov edx, dword [ebx]
xor dword [ebp - 0x30], 0x354b4c17
sub edx, esi
mov dword [ebp - 8], 0x26e2f898
mov dword [edi], edx
sub dword [ebp - 8], esi
add edi, 4
add ebx, 4
loop 0x42afbe
add eax, 0x1d2434cf
sub eax, 0x1d22c278
mov ebx, eax
add eax, 0xee3d35e1
add eax, 0x11c2ca24
mov ecx, 0xa59f3e4f
add ecx, 0x5aa0c1b1
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x43fbad
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5e8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fbf0
push str.SystemFunction040
push dword [0x46b5e8]
call edi
push str.SystemFunction041
push dword [0x46b5e8]
mov dword [0x46b5f0], eax
call edi
mov dword [0x46b5f4], eax
jmp 0x43fbf5
mov eax, dword [0x46b5f4]
cmp dword [0x46b5f0], 0
je 0x43fc06
test eax, eax
jne 0x43fcad
push 0x46b5ec
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fcb7
push str.CryptProtectMemory
push dword [0x46b5ec]
call edi
cmp dword [0x46b5f0], 0
mov dword [0x46b5f8], eax
jne 0x43fc6b
test eax, eax
jne 0x43fc6b
call dword [sym.imp.kernel32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x28
push str.cryputil.cpp
call fcn.004037d3
jmp 0x43fcb7
push str.CryptUnprotectMemory
push dword [0x46b5ec]
call edi
cmp dword [0x46b5f4], 0
mov dword [0x46b5fc], eax
jne 0x43fcad
test eax, eax
jne 0x43fcad
call dword [sym.imp.kernel32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x2d
jmp 0x43fc5f
mov dword [0x46b600], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x40130c
Capabilities:
Encode data using xor

Disassembly:
popal
insd dword es:[edi], dx
in al, 0x78
cmp eax, ebp
in al, dx
add al, 0x89
add eax, 0x6f4e7186
in al, dx
xor esp, dword [eax + 3]
sbb byte [edx + 0x68], bl
jne 0x401367
invalid
aaa
inc esi
adc byte [edi + 0x7f], dl
push cs
xor byte [ecx], cl
push cs
adc eax, dword [0x8a4017bc]
or al, 0x46
outsd dx, dword [esi]
jb 0x40137c
insd dword es:[edi], dx
inc ecx
arpl word [ecx + ebp*2 + 0x76], si
popal
shl byte [ebp + 0x11], 1
mov al, byte [0x26ca18ab]
or cl, byte [esi - 0x49]
and byte [ecx + ebp*2 + 0x63], ch
imul eax, esp, 0x22
enter 0x5419, 0x12
sub byte [ebp + 0x66], al
loopne 0x401417
inc ebp
push edi
hlt
daa
inc edi
adc byte [ebx + 0x15], dl
mov cl, byte [ecx]
push esp
or edx, 0x5f
push ds
mov es, word [0x98c57004]
invalid
push es
push ebp
loope 0x4013d2
out dx, al
sbb al, 0x69
jae 0x40147d
cmp byte [esp + edx + 0x69], cl
xchg dword [edx], ebp
adc edi, ebp
dec dword [edx - 0x7658b7ad]
push esp
test dword [edx + edx*4], eax
mov ch, 0x84
jl 0x401436
sub byte [edx - 0x20], ch
lea esp, [ebx + ecx - 0x6f46ceb0]
sub dword [edx - 0x5ef47660], edi
sub byte [eax], dl
scasd eax, dword es:[edi]
mov ebx, dword [eax]
push dword [ebx + edx + 0x50]
xchg ebp, eax
adc edx, dword [eax - 0x6b]
or eax, 0x9fc840c8
mov ecx, 0x4b43a2e6
jge 0x40144a
sub byte [eax - 0x6b], ah
or byte [esi + 1], dh
inc ebp
xchg ebx, eax
add dword [ebp - 0x6d], eax
mov cl, 0x64
call 0x14458143
and dword [ebx - 0x4c], eax
clc
test dword [esi + 0x2e], ebp
or dh, ch
and ch, byte [ecx - 0x7e]
arpl word [ebx - 0x429af6f9], dx
inc edi
or dword [esi], eax
xchg esp, eax
or al, 0xc1
dec ecx
and al, 0x17
add ecx, ebp
pop esi
pop es
add eax, 0xd88a5806
jne 0x4013ff
invalid
inc eax
mov dword [edi], eax
clc
invalid

Function at 0x405b18
Capabilities:
Encode data using xor

Disassembly:
inc edi
sbb al, 0x51
mov dl, 0x4a
adc al, 0x88
dec edx
mov ecx, dword [edi]
je 0x405b39
cld
or ecx, dword [ebx + 0x441350a4]
dec ecx
add byte [edi + 0x26], 0x8a
sbb byte [ecx + 0x3a4a1314], dl
adc al, 0x13
dec edx
cmp ah, byte [ebp - 0x46]
pop ss
push esi
nop
sbb dword [ecx - 0x1bbb6892], ebp
adc al, 0x13
dec edx
cmp ah, byte [ebp - 0x46]
pop ss
push esi
nop
sbb dword [ecx - 0x1bbb6892], ebp
sbb bh, byte [0x1202650]
adc byte [ebp + ebp*8 + 0x1bce4046], 0xa
or eax, 0x63418723
sbb dword [eax + esi*2], esp
arpl word [ecx], bx
and al, 0x70
stosd dword es:[edi], eax
inc ebp
pop ds
jb 0x405afc
pop ds
Function at 0x100dd6b3
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.100dd732
jae 0x100dd6bf
xor ecx, ecx
call fcn.100dd732
jae 0x100dd6e9
xor eax, eax
call fcn.100dd732
jae 0x100dd6fa
mov al, 0x10
call fcn.100dd732
adc al, al
jae 0x100dd6db
jne 0x100dd727
stosb byte es:[edi], al
jmp 0x100dd6c0
call fcn.100dd73e
dec ecx
loop 0x100dd706
mov eax, ebp
call fcn.100dd73c
jmp 0x100dd728
lodsb al, byte [esi]
shr eax, 1
je 0x100dd74e
adc ecx, 2
mov ebp, eax
jmp 0x100dd728
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.100dd73c
cmp eax, 0x7d00
jae 0x100dd726
cmp eax, 0x500
jae 0x100dd727
cmp eax, 0x7f
ja 0x100dd728
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x100dd6c0
pop ebp
ret 8
Function at 0x403c60
Capabilities:
Encode data using xor

Disassembly:
pop edi
mov ebp, esp
sub esp, 0x710000a0
push ebx
mov ebx, dword [ebp + 8]
push esi
lea eax, [ebp - 4]
mov edi, dword [esi + 4]
push edi
push eax
jbe 0x403c98
sbb byte [esi + 0x45c7b800], ah
cld
add byte [eax], ah
add byte [eax], al
xchg ebp, eax
mov eax, 0x8bb3002b
invalid
add byte [edi], cl
test al, bh
add eax, 0xfe810000
fld dword [ebp + 0xa]
in eax, dx
mov esp, cr5
add eax, 0xfe810000
push edi
mov edi, 0x140f000a
loopne 0x403cba
add byte [eax], al
cmp esi, 0x9b0afd24
je 0x4041e7
std
or bl, byte [ebx + 0x524840f]
add byte [eax], al
cmpsb byte [esi], byte es:[edi]
invalid
jg 0x4041f3
or al, byte [ebx + edi]
iretd
mov dword [ecx + 0xc468908], ebx
mov ecx, dword [0x40d014]
cmp ecx, edi
je 0x40423a
mov esi, dword [0x4102ac]
mov eax, esi
sub edi, esi
stc
test edx, edx
jne 0x40423a
mov esi, ebx
enter 0xffffffffffffeec0, 0
enter 0xffffffffffffeec0, 0
push esi
stosb byte es:[edi], al
ret 0x6840
in al, 0xbb
and al, 0xa7
add byte [eax], al
mov dword [ebx + 0x1c], edi
aam 0xbb
sub byte [ebx], al
mov edx, 0x820bb89
dec ecx
add byte [ecx + 0x7b89107b], cl
or al, 0xe8
mov bl, 0x27
sub eax, dword [eax]
call 0x6b6a0d
lcall 0x1589, 0x130ba0
jbe 0x404213
inc ecx
add byte [ecx + 0x83883], cl
xor al, 0x8b
or eax, 0x410ba4
xor eax, 0x853c8b
add byte [ebx + 0x410ba017], cl
add byte [ecx + 0x2d083093], cl
mov ebx, esi
movsb byte es:[edi], byte [esi]
or eax, dword [ecx]
push ebx
mov dword [esi + 0x5d00d634], edx
insd dword es:[edi], dx
or al, 0xdc
jae 0x404255
add esp, 0x67
pop edi
pop esi
mov ebp, dword [ecx + ebx - 0x5e6f6f3d]
mov byte [edx], al
inc ecx
add byte [esi - 0x75], dl
xor eax, 0x1811c164
test dword [0xd89b3275], ebp
ljmp 0x40ea
Function at 0x4010ea
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x401189
Capabilities:
Query or enumerate registry key
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xfb8]
mov eax, 0x1038
call fcn.00406be0
mov eax, dword [0x40c148]
xor eax, ebp
mov dword [ebp + 0xfb4], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x20019
push esi
push 0x4083e0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x50], edi
call fcn.004077a1
mov ebx, eax
cmp ebx, edi
jne 0x401310
push esi
push 0x4083f4
push dword [ebp - 0x74]
lea ecx, [ebp - 0x80]
call fcn.004077a1
mov ebx, eax
cmp ebx, edi
jne 0x401310
push esi
push 0x408408
push dword [ebp - 0x80]
lea ecx, [ebp - 0x5c]
call fcn.004077a1
mov esi, eax
cmp esi, edi
je 0x40124f
lea ecx, [ebp - 0x68]
call fcn.00401080
lea ecx, [ebp - 0x5c]
call fcn.00401080
lea ecx, [ebp - 0x80]
call fcn.00401080
lea ecx, [ebp - 0x74]
call fcn.00401080
mov eax, esi
jmp 0x401332
mov esi, 0x800
push esi
lea eax, [ebp - 0x4c]
push edi
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x4c]
push eax
push edi
jmp 0x4012ba
inc dword [ebp - 0x50]
mov ecx, 0x408424
lea eax, [ebp - 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40129b
cmp dx, di
je 0x401297
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40129b
add eax, 4
add ecx, 4
cmp dx, di
jne 0x401275
xor eax, eax
jmp 0x4012a0
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
lea eax, [ebp - 0x4c]
je 0x4012cb
push esi
push edi
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x50]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, eax
cmp ebx, edi
je 0x40126a
jmp 0x401310
push 0x2001f
push eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x68]
call fcn.004077a1
mov esi, eax
cmp esi, edi
jne 0x401228
mov eax, dword [ebp + 0xfc0]
push 4
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
push 4
push edi
push 0x408438
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x68]
mov ebx, eax
call fcn.00401080
lea ecx, [ebp - 0x68]
call fcn.00401080
lea ecx, [ebp - 0x5c]
call fcn.00401080
lea ecx, [ebp - 0x80]
call fcn.00401080
lea ecx, [ebp - 0x74]
call fcn.00401080
mov eax, ebx
mov ecx, dword [ebp + 0xfb4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406b00
add ebp, 0xfb8
leave
ret
Function at 0x40295e
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x40c148]
xor eax, ebp
mov dword [ebp + 0x19c], eax
mov eax, dword [ebp + 0x1a8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.004077a1
mov ebx, eax
cmp ebx, esi
je 0x4029d1
lea ecx, [ebp - 0x74]
call fcn.00401080
mov eax, ebx
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406b00
add ebp, 0x1a0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x4029e9
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.0040295e
cmp eax, esi
jne 0x402a1b
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x4029d9
lea ecx, [ebp - 0x74]
call fcn.00401080
push dword [ebp - 0x78]
mov ecx, edi
call fcn.00402302
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.00401080
mov eax, esi
jmp 0x4029b7