joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f69c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.0044d7a0
mov eax, dword [0x556008]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
push ebx
push ebp
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
shl ebx, 0x18
push esi
push edi
mov edi, dword [esp + 0x54]
movzx eax, byte [edx]
movzx ecx, byte [edx + 3]
shl eax, 0x10
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
mov esi, dword [edi]
movzx eax, byte [edx + 2]
or ebx, eax
mov dword [esp + 0x1c], edi
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [esp + 0x24], ebp
movzx eax, byte [edx + 6]
mov dword [esp + 0x14], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [esp + 0x14]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x14], ebx
mov eax, ebx
mov byte [esp + 0x2f], bl
shr eax, 0x18
or edx, ecx
mov byte [esp + 0x2c], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], edx
mov byte [esp + 0x33], dl
test eax, eax
je 0x4f6b85
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x40]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
nop dword [eax]
dec eax
mov dword [esp + 0x48], eax
test esi, esi
jne 0x4f6b15
push dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
call fcn.00413000
mov ebx, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x18]
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, ebx
mov ecx, dword [esp + 0x10]
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
inc ebp
mov byte [esp + 0x2f], bl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
mov al, byte [esp + esi + 0x2c]
inc esi
xor al, byte [edi]
and esi, 7
mov byte [ecx + edi], al
inc edi
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x4f6ab0
test ebp, ebp
mov ebp, dword [esp + 0x24]
je 0x4f6b6c
mov ecx, dword [esp + 0x28]
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp], al
mov eax, ebx
shr eax, 8
mov byte [ebp + 1], al
mov eax, edx
shr eax, 0x18
mov byte [ebp + 2], bl
mov byte [ebp + 3], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 4], al
mov eax, edx
shr eax, 8
mov byte [ebp + 5], al
mov byte [ebp + 6], dl
mov eax, dword [esp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0041ea4f
add esp, 0x2c
ret
mov ecx, dword [esp + 0x38]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041ea4f
add esp, 0x2c
ret
Function at 0x41135e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x10
pop ecx
xor eax, eax
push 0x100
push eax
mov byte [ebp - 0x44], 0
lea edi, [ebp - 0x43]
push ebx
rep stosd dword es:[edi], eax
call fcn.00421540
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 8]
call fcn.0041a1a2
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.00416e03
push 0x40
lea eax, [ebp - 0x44]
push eax
lea eax, [ebx + 0x20]
push eax
call fcn.00421200
add esp, 0x28
push 0x40
lea edi, [ebx + 0x60]
lea esi, [ebx + 0x5a]
pop ecx
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov cl, byte [eax + ebx + 0x9f]
xor cl, byte [eax + ebx]
inc eax
cmp eax, 0x20
mov byte [eax + ebx + 0x9f], cl
jl 0x4113b9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
xor ecx, ecx
test esi, esi
jle 0x4113f7
mov al, byte [ecx + ebx + 0xbd]
xor al, byte [ecx + ebx]
inc ecx
cmp ecx, esi
mov byte [ecx + ebx + 0xbf], al
jl 0x4113e1
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x413332
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
push 0x458d98
inc esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
movzx eax, al
xor ecx, ecx
test eax, eax
jbe 0x413361
push edi
movzx edx, byte [ecx + 0x458d98]
mov edi, edx
imul edi, esi
xor edi, edx
inc ecx
cmp ecx, eax
mov esi, edi
jb 0x41334b
pop edi
mov eax, esi
pop esi
ret

Function at 0x419b4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
and dword [ebp + 8], 0
push ebx
push esi
push edi
mov edi, 0x10000
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + edx*4]
mov edx, ecx
and ecx, 0xffff
shr edx, 0x10
mov esi, ecx
mov dword [ebp - 8], ecx
mov ecx, edx
imul ecx, edx
mov dword [eax + 4], ecx
mov ecx, esi
imul ecx, esi
mov dword [eax], ecx
mov ebx, edx
sub ebx, esi
sub esi, edx
mov ecx, esi
imul ecx, ebx
xor esi, ebx
mov ebx, dword [eax + 4]
and esi, edi
neg esi
mov dword [ebp - 4], edx
mov edx, ecx
neg edx
sbb edx, edx
and edx, esi
add ecx, ebx
cmp ecx, ebx
sbb esi, esi
and esi, edi
add edx, esi
mov esi, dword [eax]
add ecx, esi
cmp ecx, esi
sbb esi, esi
and esi, edi
add edx, esi
mov esi, ecx
shl esi, 0x10
add dword [eax], esi
cmp dword [eax], esi
sbb esi, esi
neg esi
shr ecx, 0x10
add esi, ebx
add ecx, esi
add ecx, edx
mov dword [eax + 4], ecx
add eax, 8
inc dword [ebp + 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp + 0x10]
jl 0x419b5e
pop edi
pop esi
pop ebx
leave
ret
Function at 0x419beb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x14]
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x14], eax
shr dword [ebp + 0x14], 0x10
and eax, 0xffff
push esi
mov dword [ebp + 0xc], eax
push edi
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + edx*4]
mov ecx, dword [ebp + 0x14]
mov esi, edi
and edi, 0xffff
shr esi, 0x10
mov edx, edi
imul edx, dword [ebp + 0xc]
mov dword [ebp - 8], esi
imul esi, ecx
sub edi, dword [ebp - 8]
sub ecx, dword [ebp + 0xc]
mov eax, edi
imul eax, ecx
mov dword [ebp - 0xc], ecx
xor edi, dword [ebp - 0xc]
mov ecx, eax
and edi, 0x10000
neg edi
neg ecx
sbb ecx, ecx
and ecx, edi
add eax, esi
cmp eax, esi
sbb edi, edi
add eax, edx
and edi, 0x10000
add ecx, edi
cmp eax, edx
sbb edi, edi
and edi, 0x10000
add ecx, edi
mov edi, eax
shl edi, 0x10
add edx, edi
cmp edx, edi
sbb edi, edi
shr eax, 0x10
neg edi
add edi, ecx
add eax, edi
add esi, eax
mov eax, dword [ebx]
lea ecx, [edx + edx]
add eax, ecx
cmp eax, ecx
sbb edi, edi
neg edi
cmp ecx, edx
sbb ecx, ecx
neg ecx
add ecx, dword [ebp - 4]
mov dword [ebx], eax
add ebx, 4
mov eax, dword [ebx]
lea edx, [ecx + edi]
lea edi, [esi + esi]
add eax, edi
cmp eax, edi
sbb ecx, ecx
neg ecx
cmp edi, esi
sbb esi, esi
add edx, eax
neg esi
add ecx, esi
cmp edx, eax
sbb eax, eax
neg eax
add eax, ecx
inc dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x18]
mov dword [ebx], edx
jl 0x419c13
add ebx, 4
cmp dword [ebp - 4], 0
pop edi
pop esi
je 0x419d0b
mov edx, dword [ebp + 0x18]
add edx, edx
cmp dword [ebp + 8], edx
jge 0x419d0b
mov eax, dword [ebx]
mov ecx, dword [ebp - 4]
add ecx, eax
cmp ecx, eax
sbb eax, eax
neg eax
mov dword [ebx], ecx
add ebx, 4
inc dword [ebp + 8]
test eax, eax
mov dword [ebp - 4], eax
jne 0x419cea
pop ebx
leave
ret
Function at 0x41af04
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, dword [ebp + 0x14]
xor edx, edx
cmp edi, edx
je 0x41b01e
mov eax, dword [ebp + 0xc]
mov ecx, eax
and ecx, 7
push ebx
push esi
mov dword [ebp - 4], edx
je 0x41af42
mov ebx, dword [ebp + 8]
mov edx, ecx
mov esi, eax
shr esi, 3
mov bl, byte [esi + ebx]
mov cl, 8
sub cl, dl
shr bl, cl
movzx cx, bl
mov word [ebp - 4], cx
add edi, 7
shr eax, 3
shr edi, 3
xor esi, esi
test edi, edi
mov dword [ebp - 0xc], eax
jle 0x41b01c
lea eax, [edi - 1]
cmp esi, eax
je 0x41af73
mov eax, dword [ebp + 0x10]
movzx ax, byte [esi + eax]
xor ecx, ecx
mov ch, byte [ebp - 4]
xor eax, ecx
add edx, 8
jmp 0x41afa3
mov eax, dword [ebp + 0x14]
and eax, 7
mov dword [ebp - 8], 8
je 0x41af85
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
movzx eax, byte [esi + eax]
mov ebx, dword [ebp - 4]
mov cl, 8
sub cl, byte [ebp - 8]
shr al, cl
mov ecx, dword [ebp - 8]
shl ebx, cl
movzx ax, al
or eax, ebx
add edx, ecx
mov dword [ebp - 4], eax
xor ecx, ecx
lea eax, [edi - 1]
cmp esi, eax
setne cl
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
xor eax, eax
cmp edx, 8
setge al
test ecx, eax
jne 0x41afd7
xor ecx, ecx
lea eax, [edi - 1]
cmp esi, eax
sete cl
xor ebx, ebx
test edx, edx
setg bl
test ebx, ecx
je 0x41b013
push 8
pop eax
cmp edx, eax
mov dword [ebp - 8], eax
jg 0x41afe4
mov dword [ebp - 8], edx
mov ebx, dword [ebp - 4]
mov cl, dl
sub cl, byte [ebp - 8]
shr bx, cl
mov ecx, eax
sub ecx, dword [ebp - 8]
mov eax, 0xff00
shl bl, cl
mov ecx, dword [ebp - 8]
sar eax, cl
mov ecx, dword [ebp - 0xc]
and bl, al
mov eax, dword [ebp + 8]
inc dword [ebp - 0xc]
sub edx, dword [ebp - 8]
mov byte [ecx + eax], bl
jmp 0x41afb3
inc esi
cmp esi, edi
jl 0x41af5b
pop esi
pop ebx
pop edi
leave
ret
Function at 0x42247a
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x42b7f0
call fcn.00421c1c
mov edi, 0x94
mov eax, edi
call fcn.004216d0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x463a70], ecx
mov eax, dword [esi + 4]
mov dword [0x463a7c], eax
mov edx, dword [esi + 8]
mov dword [0x463a80], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x463a74], esi
cmp ecx, 2
je 0x4224da
or esi, 0x8000
mov dword [0x463a74], esi
shl eax, 8
add eax, edx
mov dword [0x463a78], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x422515
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x422515
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x42252d
cmp eax, 0x20b
je 0x42251a
mov dword [ebp - 0x1c], esi
jmp 0x422541
cmp dword [ecx + 0x84], 0xe
jbe 0x422515
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x42253b
cmp dword [ecx + 0x74], 0xe
jbe 0x422515
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.0042547d
pop ecx
test eax, eax
jne 0x42256d
cmp dword [0x463a50], 1
jne 0x42255a
call fcn.00424c32
push 0x1c
call fcn.00424abb
push 0xff
call fcn.00422ca5
pop ecx
pop ecx
call fcn.004253db
mov dword [ebp - 4], esi
call fcn.00425230
test eax, eax
jge 0x422586
push 0x1b
call fcn.00422455
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x465050], eax
call fcn.0042510e
mov dword [0x463a48], eax
call fcn.0042506c
test eax, eax
jge 0x4225ac
push 8
call fcn.00422455
pop ecx
call fcn.00424e39
test eax, eax
jge 0x4225bd
push 9
call fcn.00422455
pop ecx
push 1
call fcn.00422cd5
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x4225d3
push eax
call fcn.00422455
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00424ddc
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x4225f4
movzx eax, word [ebp - 0x40]
jmp 0x4225f7
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0040d7ce
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x422615
push edi
call fcn.00422e00
call fcn.00422e22
jmp 0x422647
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00421c57
ret
Function at 0x423192
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 0x4231c0
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 0x4231c7
cmp ebx, dword [eax + 4]
jae 0x4231c7
xor eax, eax
jmp 0x4233b7
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x4231d8
xor eax, eax
inc eax
jmp 0x4233b6
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4231ee
cmp ecx, edx
jae 0x423333
cmp dword [eax + 4], 0
je 0x4231f7
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x4231df
cmp dword [ebp + 8], 0
je 0x423219
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x423333
cmp eax, esi
jae 0x423333
mov eax, dword [0x463ab8]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x42323e
cmp dword [esi*4 + 0x463ac0], edi
je 0x423337
inc esi
cmp esi, eax
jl 0x42322c
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4233b3
cmp dword [ebp - 8], 0x1000000
jne 0x4233b3
test byte [ebp - 0xc], 0xcc
je 0x4232bc
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x4233b3
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4233b3
cmp word [eax + 0x18], 0x10b
jne 0x4233b3
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x4233b3
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x4232bc
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x4232bc
test byte [ecx + 0x27], 0x80
jne 0x423333
push 1
push 0x463b00
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x4231d0
mov ecx, dword [0x463ab8]
test ecx, ecx
mov edx, ecx
jle 0x4232f0
lea eax, [ecx*4 + 0x463abc]
cmp dword [eax], edi
je 0x4232f0
dec edx
sub eax, 4
test edx, edx
jg 0x4232e4
test edx, edx
jne 0x423321
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4232fd
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x423315
lea eax, [edx*4 + 0x463ac0]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x423303
cmp ecx, 0x10
jge 0x423321
inc ecx
mov dword [0x463ab8], ecx
push 0
push 0x463b00
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x4231d0
xor eax, eax
jmp 0x4233b6
test esi, esi
jle 0x4231d0
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x463b00
call ebx
test eax, eax
jne 0x4231d0
cmp dword [esi*4 + 0x463ac0], edi
je 0x42338d
mov eax, dword [0x463ab8]
lea esi, [eax - 1]
test esi, esi
jl 0x42337b
cmp dword [esi*4 + 0x463ac0], edi
je 0x423377
dec esi
jns 0x42336b
test esi, esi
jge 0x42338b
cmp eax, 0x10
jge 0x423386
inc eax
mov dword [0x463ab8], eax
lea esi, [eax - 1]
jmp 0x42338d
je 0x4233a5
xor ecx, ecx
test esi, esi
jl 0x4233a5
lea eax, [ecx*4 + 0x463ac0]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x423393
push 0
push 0x463b00
call ebx
jmp 0x4231d0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x435789
Capabilities:
Terminate process

Disassembly:
jmp fcn.00449b40
jmp 0x447a60
cmp ecx, dword [0x4b50d0]
jne 0x447a6a
repz ret
jmp 0x434695
Function at 0x43c0a0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
push ebx
push esi
push edi
lea edi, [ebp - 0x1fc]
mov ecx, 0x7f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4b50d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov esi, esp
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [0x8f3c30]
or ecx, 8
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp esi, esp
call fcn.00434f64
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x43c1f3
mov esi, esp
push 0x105
lea eax, [ebp - 0x128]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp esi, esp
call fcn.00434f64
test eax, eax
jne 0x43c163
cmp dword [ebp + 0x10], 0
je 0x43c144
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.00434f64
mov eax, 1
jmp 0x43c1f6
push 0
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0043c0a0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43c161
jmp 0x43c163
jmp 0x43c0fc
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.00434f64
push 2
call fcn.00434e01
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x43c1b0
mov esi, esp
push 0
mov eax, dword [0x8f3c30]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0x134]
cmp esi, esp
call fcn.00434f64
mov dword [ebp - 0x18], eax
jmp 0x43c1f3
cmp dword [0x8f3c30], 0
jne 0x43c1e0
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp esi, esp
call fcn.00434f64
test eax, eax
jne 0x43c1e0
mov dword [ebp - 0x1fc], 0
jmp 0x43c1ea
mov dword [ebp - 0x1fc], 1
mov edx, dword [ebp - 0x1fc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push edx
mov ecx, ebp
push eax
lea edx, [0x43c228]
call fcn.00434609
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435789
add esp, 0x1fc
cmp ebp, esp
call fcn.00434f64
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10002f20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10039d38
push 0x10011560
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1003c050]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x28], edx
mov edi, ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
push 0x40
mov esi, dword [ebp + 8]
push esi
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x10002fb3
lea eax, [ebp - 0x20]
push eax
push esi
push dword [ebp - 0x28]
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
push esi
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov dword [ebp - 4], 0xfffffffe
jmp 0x10002fcf
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10002fde
cmp eax, esi
jne 0x10002fde
mov al, 1
jmp 0x10002fe0
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10010210
mov esp, ebp
pop ebp
ret
Function at 0x100060a0
Capabilities:
Create thread

Disassembly:
cmp byte [0x1003deb8], 0
jne 0x100060c5
push 0
push 0
push 0
push 0x10006090
push 0
push 0
mov byte [0x1003deb8], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
ret 0xc

Function at 0x10006460
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x10006547
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x10006536
jg 0x100064a0
test edx, edx
je 0x10006536
nop dword [eax]
call fcn.100086f0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x100064f3
jg 0x100064b7
test esi, esi
je 0x100064f3
cmp ebx, eax
jg 0x100064c7
jl 0x100064c1
cmp edi, esi
jae 0x100064c7
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
push esi
push dword [esp + 0x14]
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.10011a40
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x1000651a
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x10006530
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x100064a0
jl 0x10006530
test edi, edi
jne 0x100064a0
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x10006569
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x1000656b
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x100065e9
jg 0x1000657e
test esi, esi
je 0x100065e9
test eax, eax
jl 0x100065cd
jg 0x10006588
test ebx, ebx
je 0x100065cd
cmp edi, eax
jg 0x10006598
jl 0x10006592
cmp esi, ebx
jae 0x10006598
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.10011a40
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
sub esi, ebx
sbb edi, dword [esp + 0x14]
add edx, ebx
mov eax, dword [ecx + 0x30]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
test edi, edi
jl 0x100065e9
jg 0x100065d0
test esi, esi
je 0x100065e9
jmp 0x100065d0
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x100065e9
push eax
push esi
push 1
push edx
call fcn.10018576
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc