joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405640
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
nop
jmp 0x40564d
nop
pushal
jmp 0x40565c
xor edx, edx
nop
jmp 0x405669
mov ebp, esp
nop
mov edx, dword fs:[edx + 0x30]
nop
mov edx, dword [edx + 0xc]
nop
mov edx, dword [edx + 0x14]
nop
jmp 0x405689
jmp 0x40569a
movzx ecx, word [edx + 0x26]
nop
jmp 0x4056ae
mov esi, dword [edx + 0x28]
xor edi, edi
jmp 0x4056c4
xor eax, eax
jmp 0x4056d2
lodsb al, byte [esi]
jmp 0x4056e0
cmp al, 0x61
jmp 0x4056ef
jl 0x405703
nop
jmp 0x405700
sub al, 0x20
nop
jmp 0x405710
ror edi, 0xd
add edi, eax
jmp 0x405723
dec ecx
jmp 0x405732
jne 0x4056c4
nop
nop
jmp 0x405746
push edx
nop
mov edx, dword [edx + 0x10]
nop
push edi
mov eax, dword [edx + 0x3c]
nop
jmp 0x40575c
add eax, edx
jmp 0x40576d
mov eax, dword [eax + 0x78]
test eax, eax
je 0x405969
nop
jmp 0x405787
add eax, edx
jmp 0x405799
mov ecx, dword [eax + 0x18]
jmp 0x4057aa
push eax
jmp 0x4057bc
mov ebx, dword [eax + 0x20]
nop
add ebx, edx
jmp 0x4057d3
jmp 0x4057df
test ecx, ecx
je 0x405957
jmp 0x4057f5
dec ecx
jmp 0x405802
mov esi, dword [ebx + ecx*4]
add esi, edx
nop
xor edi, edi
xor eax, eax
jmp 0x40581b
ror edi, 0xd
nop
jmp 0x40582a
lodsb al, byte [esi]
add edi, eax
jmp 0x40583e
cmp al, ah
jne 0x40580a
jmp 0x405855
add edi, dword [ebp - 8]
cmp edi, dword [ebp + 0x24]
nop
jmp 0x405869
jne 0x4057d3
jmp 0x405880
nop
pop eax
jmp 0x405891
mov ebx, dword [eax + 0x24]
nop
add ebx, edx
jmp 0x4058a5
mov cx, word [ebx + ecx*2]
jmp 0x4058b9
mov ebx, dword [eax + 0x1c]
nop
jmp 0x4058cf
add ebx, edx
jmp 0x4058df
mov eax, dword [ebx + ecx*4]
jmp 0x4058f3
add eax, edx
mov dword [esp + 0x24], eax
jmp 0x405909
pop ebx
jmp 0x40591c
pop ebx
popal
jmp 0x405930
pop ecx
jmp 0x40593e
pop edx
nop
push ecx
jmp 0x405954
jmp eax
jmp 0x405968
pop eax
pop edi
nop
pop edx
mov edx, dword [edx]
nop
jmp 0x405983
jmp 0x405689

Function at 0x405c8f
Capabilities:
Accept command line arguments

Disassembly:
mov ebx, 0x56a2b5f0
push 0
push ebx
call ebp
sahf
mov edi, dword [edi]
sbb al, 0x78
adc al, 0x81
mov eax, dword [ebp + 0x14]
pop ds
adc bh, al
inc esi
and ah, dl
in al, 0x41
add bh, bh
inc esi
or al, 0x71
push ebp
adc byte [ecx + 0x335f104e], bl
ror byte [eax - 0x3da2a1f6], 0x10
out 0x83, eax
jle 0x405d28
sub eax, 0xfefa840f
invalid
add dword [edi], ebx
add byte [ebp - 0x27af040], al
add byte [eax], al
add byte [ebx + 0x4151dc8d], al
add byte [edi + ecx], dl
mov dword [0x680079], eax
mov eax, dword [0xbb41033b]
test eax, eax
xchg byte [ebp + 0x660000e1], al
invalid
Function at 0x443960
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471103
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.00464351
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x700340
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], 0x6ff3b0
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 [0x472044]
push eax
mov ecx, edi
call fcn.004699e7
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046af03
test eax, eax
je 0x443a7c
mov ecx, dword [esp + 0x3c]
call fcn.00469a14
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x4724cc]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x443a40
push edi
mov ecx, esi
call fcn.0046707c
mov ecx, esi
call fcn.00443be0
cmp dword [esp + 0x38], 1
jne 0x443a75
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.004671b7
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 0x446490
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4464c3
push esi
call fcn.004495a0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4464bc
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 0x446549
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x446532
mov eax, dword [esi + 8]
test eax, eax
je 0x4464e7
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 0x44652e
cmp eax, 2
je 0x446532
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4464da
cmp eax, 3
je 0x44650d
cmp eax, 1
jne 0x4464da
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 0x4464da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4464da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00446570
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x446558
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00446570
add esp, 4
pop esi
ret
Function at 0x101d2f50
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x101d312e
pushal
mov esi, section.UPX1
lea edi, [esi - 0xdc000]
push edi
or ebp, 0xffffffff
jmp 0x101d2f7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x101d2f81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101d2f70
mov eax, 1
add ebx, ebx
jne 0x101d2f93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x101d2fa4
jne 0x101d2fc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101d2fc3
dec eax
add ebx, ebx
jne 0x101d2fb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x101d2f88
add ebx, ebx
jne 0x101d2fbf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x101d3015
xor ecx, ecx
sub eax, 3
jb 0x101d2fdb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x101d304a
sar eax, 1
mov ebp, eax
jmp 0x101d2fe6
add ebx, ebx
jne 0x101d2fe6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101d2fb4
inc ecx
add ebx, ebx
jne 0x101d2ff4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101d2fb4
add ebx, ebx
jne 0x101d3001
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x101d2ff6
jne 0x101d3012
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x101d2ff6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x101d3034
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x101d3026
jmp 0x101d2f76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x101d3034
add edi, ecx
jmp 0x101d2f76
pop esi
mov edi, esi
mov ecx, 0xe0cb9
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x101d306f
cmp byte [edi], 0xb3
jne 0x101d3054
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x101d3052
lea edi, [esi + 0x1ca000]
mov eax, dword [edi]
or eax, eax
je 0x101d30c0
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e4db8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e4ee4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x101d3075
mov ecx, edi
jns 0x101d30a4
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1e4ee8]
or eax, eax
je 0x101d30ba
mov dword [ebx], eax
add ebx, 4
jmp 0x101d3092
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x101d30f1
cmp al, 0xef
ja 0x101d30e4
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x101d30c6
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x101d30d3
mov ebp, dword [esi + 0x1e4eec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x257]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x101d3125
sub esp, 0xffffff80
jmp 0x100ab185
Function at 0x40d41a
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x52a3c1
call fcn.00502c80
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x3c], edi
je 0x40d52a
cmp byte [esi + 0x41], 0
je 0x40d52a
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x40d450
xor al, al
jmp 0x40d52c
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00406a85
mov dword [ebp - 4], edi
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040ce9d
mov ecx, eax
call fcn.0040932c
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040ce9d
mov ecx, eax
call fcn.0040932c
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
add edi, ebx
push edi
push dword [ebp - 0x34]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x40d4c4
dec eax
je 0x40d4c8
dec eax
dec eax
je 0x40d526
xor bl, bl
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402a66
mov al, bl
jmp 0x40d52c
mov byte [esi + 0x41], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040ce9d
mov ecx, eax
call fcn.0040932c
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x40d508
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040ce9d
mov ecx, eax
call fcn.0040932c
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.005039ee
add esp, 0x10
cmp edi, eax
jne 0x40d4ae
cmp byte [esi + 0x41], 0
je 0x40d526
test edi, edi
jne 0x40d45e
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040565b
jmp 0x40d45e
mov bl, 1
jmp 0x40d4b0
mov al, 1
call fcn.00502d03
ret
Function at 0x40ffd5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52aa65
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10ec
call fcn.005042c0
mov eax, dword [0x581094]
xor eax, esp
mov dword [esp + 0x10e8], eax
push ebx
push esi
push edi
mov eax, dword [0x581094]
xor eax, esp
push eax
lea eax, [esp + 0x1100]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
and dword [esp + 0x1c], 0
push 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10ec]
push 0
push eax
mov dword [esp + 0x2c], ecx
call fcn.00502e80
mov eax, dword [esi + 0x14]
add esp, 0xc
mov byte [esp + 0x10e8], 0x61
mov byte [esp + 0x10e9], 0x31
mov byte [esp + 0x10ea], 0x40
mov byte [esp + 0x10eb], 0x79
mov byte [esp + 0x10ec], 0x68
mov byte [esp + 0x10ed], 0x73
mov byte [esp + 0x10ee], 0x70
mov byte [esp + 0x10ef], 0x21
mov byte [esp + 0x10f0], 0x71
mov byte [esp + 0x10f1], 0x77
mov byte [esp + 0x10f2], 0x65
mov byte [esp + 0x10f3], 0x68
mov byte [esp + 0x10f4], 0x6a
mov byte [esp + 0x10f5], 0x6a
mov byte [esp + 0x10f6], 0x5f
mov byte [esp + 0x10f7], 0x32
test al, 7
jne 0x4100cc
xor ecx, ecx
jmp 0x4100d6
mov edx, eax
push 8
and edx, 7
pop ecx
sub ecx, edx
lea edi, [eax + ecx]
push edi
call fcn.004effa0
push edi
mov dword [esp + 0x18], eax
call fcn.004effa0
push edi
push 0x20
push dword [esp + 0x20]
mov dword [esp + 0x28], eax
call fcn.00502e80
mov eax, dword [esi + 0x14]
add esp, 0x14
cmp dword [esi + 0x18], 0x10
jb 0x41010a
mov esi, dword [esi + 4]
jmp 0x41010d
add esi, 4
push eax
push esi
push dword [esp + 0x18]
call fcn.00503f50
add esp, 0xc
push 0x10
lea eax, [esp + 0x10ec]
push eax
lea ecx, [esp + 0x34]
call fcn.0040fd3f
push edi
push dword [esp + 0x14]
xor ebx, ebx
push dword [esp + 0x1c]
inc ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1114], ebx
call fcn.004cd269
lea ecx, [esp + 0x24]
call fcn.00469d30
push edi
push dword [esp + 0x18]
lea eax, [esp + 0x10d4]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x1114], 2
call fcn.00469d60
push dword [esp + 0x10]
mov byte [esp + 0x110c], 3
call fcn.005031d4
push dword [esp + 0x18]
call fcn.005031d4
pop ecx
pop ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x10cc]
push eax
push dword [esp + 0x1c]
call fcn.0040f1f1
push 0
push ebx
lea ecx, [esp + 0x10d4]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x1110], 2
call fcn.00402a66
lea ecx, [esp + 0x24]
mov byte [esp + 0x1108], bl
call fcn.00469d40
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1108], 0
call fcn.0040f949
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10e8]
xor ecx, esp
call fcn.00502c08
mov esp, ebp
pop ebp
ret 8
Function at 0x41177c
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x411789
xor al, al
jmp 0x411808
push esi
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4117dc
push str.RegDeleteKeyExA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4117d5
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x18], 0x10
jb 0x4117b9
mov ecx, dword [ecx + 4]
jmp 0x4117bc
add ecx, 4
movzx edx, byte [ebp + 0x10]
neg edx
push 0
sbb edx, edx
and edx, 0x100
push edx
push ecx
push dword [ebp + 8]
call eax
jmp 0x4117f7
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0x10
jb 0x4117ea
mov eax, dword [eax + 4]
jmp 0x4117ed
add eax, 4
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x411804
cmp eax, 2
je 0x411804
xor eax, eax
jmp 0x411807
xor eax, eax
inc eax
pop esi
pop ebp
ret 0xc

Function at 0x411862
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x4118f8
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], ebx
je 0x4118f8
push 2
pop ecx
cmp byte [ebp + 0x18], bl
je 0x411886
mov ecx, 0x102
cmp dword [eax + 0x18], 0x10
mov dword [ebp + 0x18], ebx
jb 0x411894
mov eax, dword [eax + 4]
jmp 0x411897
add eax, 4
push ebx
lea edx, [ebp + 0x18]
push edx
push ebx
push ecx
push ebx
push ebx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4118f8
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x18], 0x10
mov edx, dword [eax + 0x14]
jb 0x4118c0
mov eax, dword [eax + 4]
jmp 0x4118c3
add eax, 4
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x18], 0x10
jb 0x4118d1
mov ecx, dword [ecx + 4]
jmp 0x4118d4
add ecx, 4
push edx
push eax
push 1
push ebx
push ecx
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x18]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x4118fa
xor al, al
pop ebx
pop ebp
ret 0x14

Function at 0x4118ff
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x411981
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], ebx
je 0x411981
push 2
pop ecx
cmp byte [ebp + 0x18], bl
je 0x41191f
mov ecx, 0x102
cmp dword [eax + 0x18], 0x10
mov dword [ebp + 0x18], ebx
jb 0x41192d
mov eax, dword [eax + 4]
jmp 0x411930
add eax, 4
push ebx
lea edx, [ebp + 0x18]
push edx
push ebx
push ecx
push ebx
push ebx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x411981
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x18], 0x10
jb 0x411956
mov eax, dword [eax + 4]
jmp 0x411959
add eax, 4
push 4
lea ecx, [ebp + 0x14]
push ecx
push 4
push ebx
push eax
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x18]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x411983
xor al, al
pop ebx
pop ebp
ret 0x14
Function at 0x411988
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push esi
cmp dword [ebp + 8], ecx
je 0x411a52
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], ecx
je 0x411a52
push 2
pop edx
cmp byte [ebp + 0x18], cl
je 0x4119b0
mov edx, 0x102
cmp dword [eax + 0x18], 0x10
mov dword [ebp + 0xc], ecx
jb 0x4119be
mov eax, dword [eax + 4]
jmp 0x4119c1
add eax, 4
push ecx
lea esi, [ebp + 0xc]
push esi
push ecx
push edx
push ecx
push ecx
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x411a52
push ebx
push edi
mov edi, dword [ebp + 0x14]
mov esi, dword [edi + 0x10]
sub esi, dword [edi + 0xc]
xor bl, bl
push esi
call fcn.004effa0
pop ecx
mov dword [ebp + 0x18], eax
test eax, eax
je 0x411a43
xor ebx, ebx
test esi, esi
jbe 0x411a0f
push ebx
mov ecx, edi
call fcn.0042fd02
mov al, byte [eax]
mov ecx, dword [ebp + 0x18]
mov byte [ebx + ecx], al
inc ebx
cmp ebx, esi
jb 0x4119fa
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x18], 0x10
jb 0x411a1d
mov eax, dword [eax + 4]
jmp 0x411a20
add eax, 4
push esi
push dword [ebp + 0x18]
push 3
push 0
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x18]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
call fcn.005031d4
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, bl
pop ebx
jmp 0x411a54
xor al, al
pop esi
pop ebp
ret 0x14

Function at 0x411a59
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x411ada
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], ebx
je 0x411ada
push 2
pop ecx
cmp byte [ebp + 0x14], bl
je 0x411a79
mov ecx, 0x102
cmp dword [eax + 0x18], 0x10
mov dword [ebp + 0x14], ebx
jb 0x411a87
mov eax, dword [eax + 4]
jmp 0x411a8a
add eax, 4
push esi
lea edx, [ebp + 0x14]
push edx
push ecx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, ebx
jne 0x411acb
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x18], 0x10
jb 0x411aaf
mov eax, dword [eax + 4]
jmp 0x411ab2
add eax, 4
push eax
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp + 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x411ad4
cmp esi, 2
je 0x411ad4
xor eax, eax
jmp 0x411ad7
xor eax, eax
inc eax
pop esi
jmp 0x411adc
xor al, al
pop ebx
pop ebp
ret 0x10
Function at 0x411ae1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x411b5a
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], ebx
je 0x411b5a
xor ecx, ecx
inc ecx
cmp byte [ebp + 0x14], bl
je 0x411b01
mov ecx, 0x101
cmp dword [eax + 0x18], 0x10
mov dword [ebp + 0x14], ebx
jb 0x411b0f
mov eax, dword [eax + 4]
jmp 0x411b12
add eax, 4
lea edx, [ebp + 0x14]
push edx
push ecx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411b5a
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x18], 0x10
jb 0x411b34
mov eax, dword [eax + 4]
jmp 0x411b37
add eax, 4
push ebx
push ebx
push ebx
push ebx
push eax
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0x14]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x411b5c
xor al, al
pop ebx
pop ebp
ret 0x10

Function at 0x411b61
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
push ebx
xor ebx, ebx
mov dword [eax], ebx
cmp dword [ebp + 8], ebx
je 0x411c2e
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], ebx
je 0x411c2e
xor ecx, ecx
inc ecx
mov byte [ebp + 0xf], bl
cmp byte [ebp + 0x18], bl
je 0x411b92
mov ecx, 0x101
cmp dword [eax + 0x18], 0x10
mov dword [ebp + 0x18], ebx
jb 0x411ba0
mov eax, dword [eax + 4]
jmp 0x411ba3
add eax, 4
lea edx, [ebp + 0x18]
push edx
push ecx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411c29
push esi
mov esi, dword [ebp + 0x10]
cmp dword [esi + 0x18], 0x10
push edi
mov dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 4]
jb 0x411bcf
mov eax, dword [edi]
jmp 0x411bd1
mov eax, edi
lea ecx, [ebp - 4]
push ecx
push ebx
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411c1e
cmp dword [ebp + 8], 4
jne 0x411c1e
cmp dword [esi + 0x18], 0x10
mov dword [ebp + 0x10], ebx
jb 0x411bfa
mov edi, dword [edi]
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x10]
push eax
push ebx
push ebx
push edi
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411c1e
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov byte [ebp + 0xf], 1
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, byte [ebp + 0xf]
jmp 0x411c30
xor al, al
pop ebx
leave
ret 0x14
Function at 0x411cd7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x411e4b
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], esi
je 0x411e4b
cmp byte [ebp + 0x18], 0
push 2
pop ecx
je 0x411d03
mov ecx, 0x102
cmp dword [eax + 0x18], 0x10
mov dword [ebp + 0xc], esi
jb 0x411d11
mov eax, dword [eax + 4]
jmp 0x411d14
add eax, 4
push esi
lea edx, [ebp + 0xc]
push edx
push esi
push ecx
push esi
push esi
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x411e4b
push ebx
push edi
mov dword [ebp + 0x18], esi
mov esi, dword [ebp + 0x14]
push esi
push dword [esi + 0xc]
lea ecx, [ebp - 8]
xor bl, bl
call fcn.004034bd
jmp 0x411d65
lea ecx, [ebp - 8]
call fcn.00414344
mov ecx, dword [ebp + 0x18]
mov eax, dword [eax + 0x14]
lea eax, [ecx + eax + 1]
lea ecx, [ebp - 8]
mov dword [ebp + 0x18], eax
call fcn.0040756b
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x10]
call fcn.004034bd
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.0040722f
test al, al
je 0x411d48
mov edi, dword [ebp + 0x18]
inc edi
push edi
call fcn.004effa0
pop ecx
mov dword [ebp + 8], eax
test eax, eax
je 0x411e3c
push edi
push 0
push eax
call fcn.00502e80
mov ebx, dword [ebp + 8]
add esp, 0xc
push esi
push dword [esi + 0xc]
lea ecx, [ebp - 8]
call fcn.004034bd
jmp 0x411dea
lea ecx, [ebp - 8]
call fcn.00414344
cmp dword [eax + 0x18], 0x10
jb 0x411dc7
mov eax, dword [eax + 4]
jmp 0x411dca
add eax, 4
push eax
push ebx
call fcn.005042f0
pop ecx
pop ecx
lea ecx, [ebp - 8]
call fcn.00414344
mov eax, dword [eax + 0x14]
lea ecx, [ebp - 8]
lea ebx, [ebx + eax + 1]
call fcn.0040756b
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x10]
call fcn.004034bd
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.0040722f
test al, al
je 0x411db4
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x18], 0x10
jb 0x411e14
mov eax, dword [eax + 4]
jmp 0x411e17
add eax, 4
push dword [ebp + 0x18]
push dword [ebp + 8]
push 7
push 0
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 8]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
call fcn.005031d4
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, bl
pop ebx
jmp 0x411e4d
xor al, al
pop esi
leave
ret 0x14