joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416244
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41639c
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
sub eax, dword [edx - 4]
mov edx, dword [ebp + 8]
mov dword [edx - 8], eax
mov byte [ebp - 5], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp word [eax + 0x22], 0
jne 0x41628f
mov byte [ebp - 5], 0
jmp 0x416381
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp eax, dword [ebp - 4]
jbe 0x4162c0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov byte [eax + 0x28], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, 8
mov edx, 0x4163b4
call fcn.00404420
mov byte [ebp - 5], 0
jmp 0x416381
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp word [eax + 0x22], 0
je 0x416351
mov eax, dword [ebp + 8]
push dword [eax - 8]
mov eax, dword [ebp - 4]
pop edx
sub eax, edx
mov ecx, 0x3e8
xor edx, edx
div ecx
mov edx, dword [ebp + 8]
mov dword [edx - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x10]
je 0x416351
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [ebp + 8]
mov dword [edx - 0x14], eax
mov eax, dword [ebp + 8]
mov byte [eax - 0x15], 1
push 0x4163d0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x10]
call fcn.0040a784
push dword [ebp - 0x10]
push 0x4163fc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040475c
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
xor edx, edx
mov eax, dword [ebx + 0x24]
call dword [ebx + 0x20]
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov dword [edx - 0x1c], eax
jmp 0x416371
mov eax, dword [0x424e7c]
mov eax, dword [eax]
call fcn.0040f5c4
push 1
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
sub eax, dword [edx - 0x1c]
cmp eax, 0x64
jb 0x41635e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4163a3
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004043f0
ret
Function at 0x41693c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x416a2c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x406b54]
call fcn.00407d08
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
mov dl, 1
call fcn.00414d54
xor eax, eax
push ebp
push 0x416a07
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
dec eax
test eax, eax
jl 0x4169f1
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00407d6c
mov eax, dword [ebp - 0x10]
call fcn.00414f88
test al, al
je 0x4169e9
mov eax, dword [ebp - 0x10]
call fcn.0040489c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x4169e9
lea eax, [ebp - 0x1c]
mov ecx, 0x416a44
mov edx, dword [ebp - 0x10]
call fcn.004046e8
mov eax, dword [ebp - 0x1c]
call fcn.0040b214
test al, al
je 0x4169e9
inc dword [ebp - 8]
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x41699d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x416a0e
mov eax, dword [ebp - 0xc]
call fcn.00403674
ret
Function at 0x4181b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4182ad
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [0x425660]
call fcn.0040b49c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0040b714
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00404b64
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
call fcn.00404664
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00418114
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00404b64
mov eax, dword [ebp - 4]
mov byte [eax + 0x10], 0
mov eax, dword [ebp - 4]
add eax, 0x1c
call fcn.00404a10
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.00404a10
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.00404a10
mov eax, dword [ebp - 4]
mov byte [eax + 0x3c], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], 0x7d000000
mov dword [eax + 0x2c], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 0x20000
mov eax, dword [ebp - 4]
mov dword [eax + 0x34], 2
mov eax, dword [0x4245b8]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [0x4245bc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4182b4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004043f0
lea eax, [ebp - 0xc]
call fcn.004043cc
lea eax, [ebp - 8]
call fcn.004043cc
ret

Function at 0x41884c
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
mov dword [ebp - 0x10], 4
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0x20000005
mov eax, dword [ebp - 4]
push eax
call sub.Winhttp.dll_WinHttpQueryHeaders
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [ebp - 0x10], 0x10
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0x4000000b
mov eax, dword [ebp - 4]
push eax
call sub.Winhttp.dll_WinHttpQueryHeaders
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4188d3
lea eax, [ebp - 0x28]
call fcn.0040bb28
mov eax, dword [ebp - 0xc]
fstp qword [eax]
wait
mov esp, ebp
pop ebp
ret
Function at 0x4207cc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jb 0x420828
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
and edx, 0xff
xor eax, edx
mov eax, dword [eax*4 + 0x424a4c]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
shr edx, 8
xor eax, edx
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
inc dword [ebp - 0x14]
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x4207f4
mov esp, ebp
pop ebp
ret
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x16a4120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.GVD1
lea edi, [esi - 0x1270000]
push edi
or ebp, 0xffffffff
jmp 0x16a4142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a4149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x16a4138
mov eax, 1
add ebx, ebx
jne 0x16a415d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a416e
jne 0x16a417e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a417e
dec eax
add ebx, ebx
jne 0x16a417a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a4152
xor ecx, ecx
sub eax, 3
jb 0x16a4196
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a420a
sar eax, 1
mov ebp, eax
jmp 0x16a41a1
add ebx, ebx
jne 0x16a41a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x16a41ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x16a41d2
inc ecx
add ebx, ebx
jne 0x16a41be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a41b3
jne 0x16a41cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a41b3
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x16a41f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a41e6
jmp 0x16a413e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a41f4
add edi, ecx
jmp 0x16a413e
pop esi
mov edi, esi
mov ecx, 0x346a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a4212
cmp byte [edi], 0x16
jne 0x16a4212
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x16a4217
lea edi, [esi + 0x12a1000]
mov eax, dword [edi]
or eax, eax
je 0x16a4286
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a57f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a58e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a4244
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a58ec]
or eax, eax
je 0x16a4280
mov dword [ebx], eax
add ebx, 4
jmp 0x16a4261
call dword [esi + 0x12a58f0]
popal
jmp 0x46b748
Function at 0x92ffd0
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x92ffd6
pop ebp
sub ebp, 6
sub ebp, 0x52ffd0
jmp 0x930034
add byte [ecx], bl
add byte [0x10674f00], cl
cmp al, 0x78
invalid
jmp 0x93003d
mov eax, 0x52ffd0
add eax, ebp
add eax, 0x93
mov ecx, 0x61c
mov edx, 0x5887dd42
xor byte [eax], dl
inc eax
dec ecx
jne 0x930054
jmp 0x930067
sub byte [edx], al
sub al, byte [edx + 0x52]
inc edx
inc edx
sub al, byte [edx - 0x72]
outsb dx, byte [esi]
inc edx
jno 0x92fff7
adc bh, byte [ebp + 0xb033ad7]
inc edx
adc cl, cl
invalid

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x404940
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a1d0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x463014]
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, 0x464074
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.004194f0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x463a8c
push eax
call fcn.004194f0
mov esi, dword [0x464084]
xor ebx, ebx
mov edi, dword [0x464088]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x4672d0], bl
mov eax, ebx
mov ecx, 0x464074
cmovae ecx, dword [0x464074]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x4673e0], al
inc ebx
cmp ebx, 0x100
jl 0x4049c0
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x4672d0]
movzx eax, byte [esi + 0x4673e0]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x404a14
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x4672d0]
mov byte [esi + 0x4672d0], al
inc esi
mov byte [edi + 0x4672d0], dl
cmp esi, 0x100
jl 0x4049f0
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00404590
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x404a69
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404a5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404abf
push edx
push ecx
call fcn.0041ea93
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 0x404aab
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404aa1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404abf
push edx
push ecx
call fcn.0041ea93
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.0043809a
int3
Function at 0x404ad0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
mov esi, edx
xor edx, edx
mov dword [ebp - 4], ebx
mov ecx, 3
mov dword [ebp - 8], esi
push edi
mov eax, dword [esi + 0x10]
div ecx
push 0x3d
mov ecx, eax
mov dword [ebx + 0x10], 0
xor eax, eax
mov dword [ebx + 0x14], 0xf
cmp eax, edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
sbb eax, eax
mov byte [ebx], 0
neg eax
add eax, ecx
mov ecx, ebx
shl eax, 2
push eax
call fcn.004193b0
cmp dword [esi + 0x14], 0x10
mov edi, esi
jb 0x404b29
mov edi, dword [esi]
cmp dword [ebx + 0x14], 0x10
mov esi, ebx
jb 0x404b33
mov esi, dword [ebx]
mov ecx, dword [ebp - 8]
mov eax, 0xaaaaaaab
mov ecx, dword [ecx + 0x10]
mul ecx
shr edx, 1
je 0x404bb4
mov ebx, edx
movsx ecx, byte [edi]
movsx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movsx eax, byte [edi + 2]
shl ecx, 8
add edi, 3
or ecx, eax
mov eax, esi
mov edx, ecx
shr edx, 0x12
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
mov edx, ecx
shr edx, 0xc
lea eax, [esi + 3]
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], dl
mov edx, ecx
shr edx, 6
and ecx, 0x3f
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 2], dl
add esi, 4
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
sub ebx, 1
jne 0x404b46
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
mov eax, ecx
xor edx, edx
mov ecx, 3
div ecx
sub edx, 1
je 0x404c15
sub edx, 1
jne 0x404c3a
movsx ecx, byte [edi]
movsx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
mov eax, esi
shl ecx, 8
mov edx, ecx
shr edx, 0x12
and edx, 0x3f
pop edi
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
mov edx, ecx
shr edx, 0xc
mov eax, ebx
and edx, 0x3f
shr ecx, 6
and ecx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], dl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 2], cl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx eax, byte [edi]
shl eax, 0x10
mov ecx, eax
shr eax, 0xc
shr ecx, 0x12
and ecx, 0x3f
and eax, 0x3f
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], cl
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], al
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405dc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a2e0
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x463014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x414], esi
mov dword [ebp - 0x414], esi
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.00435520
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 connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405e71
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 [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405e97
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, esi
call fcn.004194f0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x405edf
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405ed5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405f3d
push edx
push ecx
call fcn.0041ea93
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 0x405f21
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405f17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405f3d
push edx
push ecx
call fcn.0041ea93
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e421
mov esp, ebp
pop ebp
ret
call fcn.0043809a
int3
Function at 0x405f50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x463014]
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 0x405fb7
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 0x405ff4
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405fea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406086
push edx
push ecx
call fcn.0041ea93
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 0x406036
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40602c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406086
push edx
push ecx
call fcn.0041ea93
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 0x406078
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40606e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406086
push edx
push ecx
call fcn.0041ea93
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e421
mov esp, ebp
pop ebp
ret
call fcn.0043809a
int3
Function at 0x4074b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a4b8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x463014]
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 0x459dac
call fcn.0041a8a0
add esp, 8
xor edx, edx
test al, al
mov ecx, 5
cmove ecx, edx
mov edx, str.runas
push ecx
mov ecx, 0x4591ab
cmovne ecx, edx
push ecx
lea ecx, [ebp + 8]
call fcn.004194f0
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 [0x46949c], esi
cmp edx, 0x10
jb 0x407586
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40757c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40761c
push edx
push ecx
call fcn.0041ea93
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 0x4075c8
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4075be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40761c
push edx
push ecx
call fcn.0041ea93
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 0x40760a
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407600
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40761c
push edx
push ecx
call fcn.0041ea93
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.0043809a
int3
Function at 0x407790
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a4b8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x463014]
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 [0x4673d0], 0
call esi
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4695c0]
cmp eax, dword [ecx + 4]
jle 0x407861
push 0x4695c0
call fcn.0041e541
add esp, 4
cmp dword [0x4695c0], 0xffffffff
jne 0x407861
push 0x4506c0
mov dword [0x469588], 0
mov dword [0x46958c], 0xf
mov byte [0x469578], 0
mov dword [0x4695a0], 0
mov dword [0x4695a4], 0xf
mov byte [0x469590], 0
mov dword [0x4695b8], 0
mov dword [0x4695bc], 0xf
mov byte [0x4695a8], 0
call fcn.0041ea7e
push 0x4695c0
call fcn.0041e4f7
add esp, 8
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x469578
push eax
call fcn.004194f0
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
mov ecx, 0x469590
push eax
call fcn.004194f0
cmp dword [ebp + 0x4c], 0x10
lea eax, [ebp + 0x38]
push dword [ebp + 0x48]
cmovae eax, dword [ebp + 0x38]
mov ecx, 0x4695a8
push eax
call fcn.004194f0
push 0
push 0
push 0x469578
push 0x407630
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1f4
call esi
mov edx, dword [ebp + 0x1c]
mov esi, dword [0x4673d0]
cmp edx, 0x10
jb 0x407905
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4078fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40799b
push edx
push ecx
call fcn.0041ea93
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 0x407947
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40793d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40799b
push edx
push ecx
call fcn.0041ea93
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 0x407989
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40797f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40799b
push edx
push ecx
call fcn.0041ea93
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.0043809a
int3