joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009f898
Capabilities:
Check for software breakpoints

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 0xc], 0
jne 0x1009f8a5
xor al, al
pop edi
ret
push ebx
mov ebx, dword [0x10a0c444]
push esi
mov esi, 0x4c6
push esi
mov ecx, ebx
call fcn.100951e2
cmp al, 1
jne 0x1009f8cc
push esi
mov ecx, ebx
call fcn.1009c38b
mov ebx, dword [0x10a0c444]
mov edi, dword [edi + 8]
mov esi, dword [edi]
jmp 0x1009f9f3
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xec]
cmp eax, 0xca
je 0x1009f9f1
cmp eax, 0xcb
je 0x1009f9f1
cmp eax, 0xce
je 0x1009f9f1
cmp eax, 0xdb
je 0x1009f9f1
cmp eax, 0xdc
je 0x1009f9f1
cmp eax, 0x13c
je 0x1009f9f1
cmp eax, 0x13b
je 0x1009f9f1
cmp eax, 0x13e
je 0x1009f9f1
cmp eax, 0x13d
je 0x1009f9f1
cmp eax, 0xdd
je 0x1009f9f1
cmp eax, 0xe5
je 0x1009f9f1
cmp eax, 0xf3
je 0x1009f9f1
cmp eax, 0xe4
je 0x1009f9f1
cmp eax, 0xe0
je 0x1009f9f1
cmp eax, 0xdf
je 0x1009f9f1
cmp eax, 0xf7
je 0x1009f9f1
cmp eax, 0xf8
je 0x1009f9f1
cmp eax, 0xfa
je 0x1009f9f1
cmp eax, 0xe8
je 0x1009f9f1
cmp eax, 0x11a
je 0x1009f9f1
cmp eax, 0x11d
je 0x1009f9f1
cmp eax, 0x122
je 0x1009f9f1
cmp eax, 0x123
je 0x1009f9f1
cmp eax, 0xe9
je 0x1009f9f1
cmp eax, 0xe1
je 0x1009f9f1
cmp eax, 0x135
je 0x1009f9f1
cmp eax, 0x148
je 0x1009f9f1
cmp eax, 0x14f
je 0x1009f9f1
cmp eax, 0x158
je 0x1009f9f1
cmp eax, 0x3e7
jae 0x1009f9f1
push eax
mov ecx, ebx
call fcn.100951e2
cmp al, 1
je 0x1009fa01
mov esi, dword [esi]
cmp esi, edi
jne 0x1009f8d6
xor al, al
pop esi
pop ebx
pop edi
ret
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xec]
cmp eax, 0xf4
je 0x1009fb4e
cmp eax, 0xf5
je 0x1009fb4e
cmp eax, 0xee
jne 0x1009fa37
mov ecx, dword [0x10a0c474]
call fcn.100cfbd1
jmp 0x1009fb59
cmp eax, 0xcc
je 0x1009fb41
cmp eax, 0xf2
je 0x1009fb41
cmp eax, 0xd4
jne 0x1009fa64
mov ecx, dword [0x10a0c48c]
call fcn.1005db25
jmp 0x1009fb59
cmp eax, 0xed
jne 0x1009fa7d
mov ecx, dword [0x10a0c388]
push 0
call fcn.100f63bf
jmp 0x1009fb59
cmp eax, 0xeb
jne 0x1009fa94
mov ecx, dword [0x10a0c3f4]
call fcn.100ed87c
jmp 0x1009fb59
cmp eax, 0x12b
jne 0x1009faab
mov ecx, dword [0x10a0c3d8]
call fcn.10058c67
jmp 0x1009fb59
cmp eax, 0x12c
jne 0x1009fad6
mov ecx, dword [0x10a0c3d8]
call fcn.10059309
mov eax, dword [esi + 8]
push dword [eax + 0xec]
mov ecx, dword [0x10a0c444]
call fcn.1009c3ae
jmp 0x1009fb59
cmp eax, 0x12d
jne 0x1009faea
mov ecx, dword [0x10a0c3d8]
call fcn.10059ce0
jmp 0x1009fb59
cmp eax, 0xec
jne 0x1009fafe
mov ecx, dword [0x10a0c3a4]
call fcn.1009e389
jmp 0x1009fb59
mov esi, 0x14e
cmp eax, esi
jne 0x1009fb17
mov ecx, dword [0x10a0c3c4]
push 4
call fcn.1007a5c1
push esi
jmp 0x1009fac6
cmp eax, 0xef
jne 0x1009fb2b
mov ecx, dword [0x10a0c398]
call fcn.1009d41d
jmp 0x1009fb59
push eax
mov ecx, ebx
call fcn.1009c3ae
mov eax, dword [0x10a0c3b0]
mov byte [eax + 0x71d], 0
jmp 0x1009fb59
mov ecx, dword [0x10a0c38c]
call fcn.10062ab2
jmp 0x1009fb59
mov ecx, dword [0x10a0c3f0]
call fcn.100c7761
mov al, 1
jmp 0x1009f9fd
Function at 0x100a1e67
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
fld1
push ebx
fstp dword [ebp - 0x20]
push esi
fld dword [0x10182994]
push edi
fst dword [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
fld dword [0x101834cc]
mov dword [ebp - 4], 1
fst dword [ebp - 0x18]
mov dword [ebp - 0x14], 0x3f666666
fld1
mov dword [ebp - 0x24], 0x3f666666
fstp dword [ebp - 0x30]
mov dword [ebp - 8], 0x14
fld st(1)
mov ebx, 0xee
fstp dword [ebp - 0x2c]
fst dword [ebp - 0x28]
fstp st(0)
fstp st(0)
mov esi, dword [ebp - 4]
mov ecx, dword [0x10a0c444]
lea eax, [esi + 2]
push eax
push ebx
call fcn.10096960
mov ecx, dword [0x10a0c444]
push esi
push ebx
call fcn.10096d85
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 8]
push 0x13
push 0x13b
lea eax, [eax + ecx - 0x14]
push eax
push 8
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
sub esp, 0x100
movsd dword es:[edi], dword [esi]
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x10180c16
movsd dword es:[edi], dword [esi]
call fcn.10152140
mov eax, dword [ebp - 4]
mov ecx, dword [0x10a0c444]
add eax, 2
push eax
push ebx
call fcn.1009f3ef
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 8]
push 0x13
push 0x13b
push 0x5dc
push 9
push 9
lea eax, [eax + ecx - 0x14]
mov ecx, dword [0x10a0c444]
push eax
push 8
push 0
push dword [ebp - 4]
push ebx
call fcn.100a152b
push dword [ebp - 4]
mov ecx, dword [0x10a0c444]
push ebx
call fcn.10096df5
add dword [ebp - 8], 0x14
inc dword [ebp - 4]
cmp dword [ebp - 8], 0xc8
jle 0x100a1ebc
push 3
pop esi
mov ecx, dword [0x10a0c444]
push 1
lea eax, [esi - 3]
push eax
push ebx
call fcn.10096da0
inc esi
cmp esi, 0xd
jl 0x100a1f8c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100dbbed
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x10176862
call fcn.10159f04
push ecx
push esi
mov esi, ecx
lea ecx, [esi + 0x30]
mov dword [ebp - 0x10], esi
call fcn.1009b940
xor ecx, ecx
lea eax, [esi + 0x3b0]
mov dword [ebp - 4], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
lea eax, [esi + 0x3c4]
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
lea ecx, [esi + 0x3d4]
mov byte [ebp - 4], 2
call fcn.1009b940
lea ecx, [esi + 0x754]
mov byte [ebp - 4], 3
call fcn.10152120
lea ecx, [esi + 0x854]
mov byte [ebp - 4], 4
call fcn.10152120
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x1015e5ad
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x10191360
call fcn.10158e50
mov edi, 0x94
mov eax, edi
call fcn.10158fb0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x1017c0b0]
mov ecx, dword [esi + 0x10]
mov dword [0x10a5a6ac], ecx
mov eax, dword [esi + 4]
mov dword [0x10a5a6b8], eax
mov edx, dword [esi + 8]
mov dword [0x10a5a6bc], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x10a5a6b0], esi
cmp ecx, 2
je 0x1015e60d
or esi, 0x8000
mov dword [0x10a5a6b0], esi
shl eax, 8
add eax, edx
mov dword [0x10a5a6b4], eax
xor esi, esi
push esi
mov edi, dword [0x1017c174]
call edi
cmp word [eax], 0x5a4d
jne 0x1015e648
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1015e648
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1015e660
cmp eax, 0x20b
je 0x1015e64d
mov dword [ebp - 0x1c], esi
jmp 0x1015e674
cmp dword [ecx + 0x84], 0xe
jbe 0x1015e648
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x1015e66e
cmp dword [ecx + 0x74], 0xe
jbe 0x1015e648
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.1015ff97
pop ecx
test eax, eax
jne 0x1015e688
push 0x1c
call fcn.1015e589
pop ecx
call fcn.1016249a
test eax, eax
jne 0x1015e699
push 0x10
call fcn.1015e589
pop ecx
call fcn.10165f98
mov dword [ebp - 4], esi
call fcn.10167a89
test eax, eax
jge 0x1015e6b2
push 0x1b
call fcn.1015e564
pop ecx
call dword [0x1017c164]
mov dword [0x10a5be84], eax
call fcn.10169536
mov dword [0x10a5a6fc], eax
call fcn.10169494
test eax, eax
jge 0x1015e6d8
push 8
call fcn.1015e564
pop ecx
call fcn.10169261
test eax, eax
jge 0x1015e6e9
push 9
call fcn.1015e564
pop ecx
push 1
call fcn.1015c705
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x1015e6ff
push eax
call fcn.1015e564
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [0x1017c168]
call fcn.10169204
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x1015e720
movzx eax, word [ebp - 0x40]
jmp 0x1015e723
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.1003a561
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x1015e741
push edi
call fcn.1015c832
call fcn.1015c854
jmp 0x1015e773
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.10158e8b
ret
Function at 0x10160b0b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x10160b39
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x10160b40
cmp ebx, dword [eax + 4]
jae 0x10160b40
xor eax, eax
jmp 0x10160d30
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x10160b51
xor eax, eax
inc eax
jmp 0x10160d2f
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x10160b67
cmp ecx, edx
jae 0x10160cac
cmp dword [eax + 4], 0
je 0x10160b70
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x10160b58
cmp dword [ebp + 8], 0
je 0x10160b92
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x10160cac
cmp eax, esi
jae 0x10160cac
mov eax, dword [0x10a5a868]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x10160bb7
cmp dword [esi*4 + 0x10a5a870], edi
je 0x10160cb0
inc esi
cmp esi, eax
jl 0x10160ba5
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x1017c190]
test eax, eax
je 0x10160d2c
cmp dword [ebp - 8], 0x1000000
jne 0x10160d2c
test byte [ebp - 0xc], 0xcc
je 0x10160c35
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x10160d2c
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x10160d2c
cmp word [eax + 0x18], 0x10b
jne 0x10160d2c
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x10160d2c
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x10160c35
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x10160c35
test byte [ecx + 0x27], 0x80
jne 0x10160cac
push 1
push 0x10a5a8b0
call dword [0x1017c0a0]
test eax, eax
jne 0x10160b49
mov ecx, dword [0x10a5a868]
test ecx, ecx
mov edx, ecx
jle 0x10160c69
lea eax, [ecx*4 + 0x10a5a86c]
cmp dword [eax], edi
je 0x10160c69
dec edx
sub eax, 4
test edx, edx
jg 0x10160c5d
test edx, edx
jne 0x10160c9a
push 0xf
pop ebx
cmp ecx, ebx
jg 0x10160c76
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x10160c8e
lea eax, [edx*4 + 0x10a5a870]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x10160c7c
cmp ecx, 0x10
jge 0x10160c9a
inc ecx
mov dword [0x10a5a868], ecx
push 0
push 0x10a5a8b0
call dword [0x1017c0a0]
jmp 0x10160b49
xor eax, eax
jmp 0x10160d2f
test esi, esi
jle 0x10160b49
mov ebx, dword [0x1017c0a0]
push 1
push 0x10a5a8b0
call ebx
test eax, eax
jne 0x10160b49
cmp dword [esi*4 + 0x10a5a870], edi
je 0x10160d06
mov eax, dword [0x10a5a868]
lea esi, [eax - 1]
test esi, esi
jl 0x10160cf4
cmp dword [esi*4 + 0x10a5a870], edi
je 0x10160cf0
dec esi
jns 0x10160ce4
test esi, esi
jge 0x10160d04
cmp eax, 0x10
jge 0x10160cff
inc eax
mov dword [0x10a5a868], eax
lea esi, [eax - 1]
jmp 0x10160d06
je 0x10160d1e
xor ecx, ecx
test esi, esi
jl 0x10160d1e
lea eax, [ecx*4 + 0x10a5a870]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x10160d0c
push 0
push 0x10a5a8b0
call ebx
jmp 0x10160b49
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404d60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448995
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x466124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0x46732c
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.00423f50
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x466cb4
push eax
call fcn.00423f50
mov esi, dword [0x46733c]
xor ebx, ebx
mov edi, dword [0x467340]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x469ac8], bl
mov eax, ebx
mov ecx, 0x46732c
cmovae ecx, dword [0x46732c]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x469bd8], al
inc ebx
cmp ebx, 0x100
jl 0x404de0
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x469ac8]
movzx eax, byte [esi + 0x469bd8]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x404e34
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x469ac8]
mov byte [esi + 0x469ac8], al
inc esi
mov byte [edi + 0x469ac8], dl
cmp esi, 0x100
jl 0x404e10
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00404a40
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x404e89
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404e7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404edf
push edx
push ecx
call fcn.00429d36
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x404ecb
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404ec1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404edf
push edx
push ecx
call fcn.00429d36
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0042ed29
int3
Function at 0x406320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448b05
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x466124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x414], edi
mov dword [ebp - 0x414], edi
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.0042b350
add esp, 0xc
mov dword [ebp - 0x414], 0x400
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x418]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push 1
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4063d0
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x410]
push ecx
push 0
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x410]
mov dword [edi], 0
mov dword [edi + 0x10], 0
lea edx, [ecx + 1]
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406400
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, edi
call fcn.00423f50
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x406448
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40643e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4064a7
push edx
push ecx
call fcn.00429d36
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x40648a
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406480
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4064a7
push edx
push ecx
call fcn.00429d36
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004296c0
mov esp, ebp
pop ebp
ret
call fcn.0042ed29
int3
Function at 0x4064b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x466124]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 8]
push ecx
push 0xf003f
lea eax, [ebp + 8]
mov dword [ebp - 8], connect
cmovae eax, dword [ebp + 8]
push 0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406517
cmp dword [ebp + 0x4c], 0x10
lea edx, [ebp + 0x38]
mov eax, dword [ebp + 0x48]
lea ecx, [ebp + 0x20]
cmovae edx, dword [ebp + 0x38]
cmp dword [ebp + 0x34], 0x10
cmovae ecx, dword [ebp + 0x20]
inc eax
push eax
push edx
push 2
push 0
push ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x406554
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40654a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4065e6
push edx
push ecx
call fcn.00429d36
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x406596
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40658c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4065e6
push edx
push ecx
call fcn.00429d36
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x4065d8
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4065ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4065e6
push edx
push ecx
call fcn.00429d36
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004296c0
mov esp, ebp
pop ebp
ret
call fcn.0042ed29
int3
Function at 0x4065f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x466124]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x4c], 0x10
lea eax, [ebp + 0x38]
push 0
cmovae eax, dword [ebp + 0x38]
push 0
push eax
mov dword [ebp - 0xc], connect
call fcn.00431897
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0xc]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push 0xf003f
push 0
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406665
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp - 8]
push 4
push ecx
push 4
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x4066a2
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406698
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406734
push edx
push ecx
call fcn.00429d36
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x4066e4
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4066da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406734
push edx
push ecx
call fcn.00429d36
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x406726
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40671c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406734
push edx
push ecx
call fcn.00429d36
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004296c0
mov esp, ebp
pop ebp
ret
call fcn.0042ed29
int3
Function at 0x408700
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448ded
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x466124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov edx, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
push 1
push 0x45db78
call fcn.004258d0
add esp, 8
xor edx, edx
test al, al
mov ecx, 5
cmove ecx, edx
mov edx, str.runas
push ecx
mov ecx, 0x45ce7b
cmovne ecx, edx
push ecx
lea ecx, [ebp + 8]
call fcn.00423f50
cmp dword [ebp + 0x4c], 0x10
lea edx, [ebp + 0x38]
push 0
cmovae edx, dword [ebp + 0x38]
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 8]
push 0
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0x10
push edx
cmovae eax, dword [ebp + 8]
push ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, dword [ebp + 0x1c]
mov esi, eax
mov dword [0x46bc94], esi
cmp edx, 0x10
jb 0x4087d6
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4087cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40886c
push edx
push ecx
call fcn.00429d36
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x408818
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40880e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40886c
push edx
push ecx
call fcn.00429d36
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x40885a
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408850
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40886c
push edx
push ecx
call fcn.00429d36
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0042ed29
int3
Function at 0x4089e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448ded
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x466124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
mov dword [0x469bc8], 0
call esi
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x46cdc0]
cmp eax, dword [ecx + 4]
jle 0x408abe
push 0x46cdc0
call fcn.004297e2
add esp, 4
cmp dword [0x46cdc0], 0xffffffff
jne 0x408abe
push 0x44fde0
mov dword [0x46c578], 0
mov dword [0x46c588], 0
mov dword [0x46c58c], 0xf
mov dword [0x46c590], 0
mov dword [0x46c5a0], 0
mov dword [0x46c5a4], 0xf
mov dword [0x46c5a8], 0
mov dword [0x46c5b8], 0
mov dword [0x46c5bc], 0xf
call fcn.00429d21
push 0x46cdc0
call fcn.00429798
add esp, 8
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x46c578
push eax
call fcn.00423f50
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
mov ecx, 0x46c590
push eax
call fcn.00423f50
cmp dword [ebp + 0x4c], 0x10
lea eax, [ebp + 0x38]
push dword [ebp + 0x48]
cmovae eax, dword [ebp + 0x38]
mov ecx, 0x46c5a8
push eax
call fcn.00423f50
push 0
push 0
push 0x46c578
push 0x408880
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1f4
call esi
mov edx, dword [ebp + 0x1c]
mov esi, dword [0x469bc8]
cmp edx, 0x10
jb 0x408b62
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408b58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408bf8
push edx
push ecx
call fcn.00429d36
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x408ba4
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408b9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408bf8
push edx
push ecx
call fcn.00429d36
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x408be6
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408bdc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408bf8
push edx
push ecx
call fcn.00429d36
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0042ed29
int3