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

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x4623d2
cmp dword [ebx + 0x64], 0
jne 0x4623d2
cmp dword [ebx + 0x6c], 0
jne 0x4623d2
mov edi, esi
jmp 0x462459
cmp edi, 0xffffffff
jne 0x4623da
dec edi
jmp 0x462459
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x462459
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004617a4
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x462427
mov cx, word [esp]
sub cx, si
jmp 0x462429
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x462410
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x46244f
mov cx, word [esp]
sub cx, si
jmp 0x462451
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x462438
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4624b6
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.00462144
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4624a1
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x4624b6
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4623b2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x46870c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4d5c1c
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x46872e
shr eax, 1
xor eax, 0xedb88320
jmp 0x468730
shr eax, 1
dec edx
jne 0x46871c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x468715
mov byte [0x4d601c], 1
pop esi
pop ebx
ret

Function at 0x46874c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4d601c], 0
jne 0x468763
call fcn.0046870c
mov eax, edi
dec eax
test eax, eax
jl 0x46878c
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4d5c1c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x46876d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x46ad28
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x46ad59
dec al
je 0x46ad95
dec al
je 0x46add9
dec al
je 0x46ae44
jmp 0x46aece
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x46aece
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x46ad69
jmp 0x46aece
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46aece
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x46ada5
jmp 0x46aece
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46aece
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x46ae07
xor ebp, ebp
jmp 0x46ae18
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x46ae21
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x46ade9
jmp 0x46aece
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x46aece
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x46ae9c
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00468794
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x46ae58
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x46ebd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x46ebfa
cmp dword [ebx + 0x64], 0
jne 0x46ebfa
cmp dword [ebx + 0x6c], 0
jne 0x46ebfa
mov esi, edi
jmp 0x46ec88
cmp esi, 0xffffffff
jne 0x46ec05
dec esi
jmp 0x46ec88
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x46ec88
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.0046e234
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x46ec50
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x46ec55
mov word [edx], 0
dec eax
test eax, eax
jne 0x46ec36
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x46ec7c
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x46ec81
mov word [edx], 0
dec eax
test eax, eax
jne 0x46ec62
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x46ece6
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.0046e958
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x46ecd1
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x46ece6
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x46ebda
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4737d8
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4d713c
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4737fa
shr eax, 1
xor eax, 0xedb88320
jmp 0x4737fc
shr eax, 1
dec edx
jne 0x4737e8
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4737e1
mov byte [0x4d753c], 1
pop esi
pop ebx
ret

Function at 0x473818
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4d753c], 0
jne 0x47382f
call fcn.004737d8
mov eax, edi
dec eax
test eax, eax
jl 0x473858
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4d713c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x473839
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x476380
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4763b1
dec al
je 0x4763ed
dec al
je 0x476431
dec al
je 0x47649c
jmp 0x476526
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x476526
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4763c1
jmp 0x476526
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x476526
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4763fd
jmp 0x476526
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x476526
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x47645f
xor ebp, ebp
jmp 0x476470
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x476479
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x476441
jmp 0x476526
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x476526
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4764f4
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00473860
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4764b0
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x48133c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x481351
add esp, 0xfffffff0
call fcn.00403740
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004046c0
xor eax, eax
push ebp
push 0x48142c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0047c518
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00418850
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00418850
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00418850
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00418850
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00418878
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x52], 0
mov byte [esi + 0x53], 0
mov byte [esi + 0x54], 0
mov byte [esi + 0x55], 0
mov byte [esi + 0x50], 0
mov byte [esi + 0x51], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481433
lea eax, [ebp - 4]
call fcn.00404210
ret
Function at 0x487288
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4873ff
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x487418
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 8]
call fcn.00404264
push 0xffffffffffffffff
mov ecx, 0x487428
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
push 0xffffffffffffffff
mov ecx, 0x487444
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x34], eax
mov ecx, 0x487464
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00491548
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x487480
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00491434
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0xd]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x487494
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00491434
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4874ac
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00491434
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov ecx, 0x4874c8
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00491548
mov byte [ebx + 0x48], al
mov ecx, 0x4874dc
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0047c064
mov byte [ebx + 0x49], al
push 0xffffffffffffffff
mov ecx, 0x4874f0
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x4c], eax
push 0xffffffffffffffff
mov ecx, 0x487510
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x50], eax
push 0
mov ecx, 0x487534
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x54], eax
push 0
mov ecx, 0x487550
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x58], eax
push 0xff
mov ecx, 0x48756c
mov edx, dword [ebx + 4]
mov eax, esi
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x5c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487406
lea eax, [ebp - 4]
call fcn.00404210
ret
Function at 0x499050
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x4990e4
push 0
mov eax, ebx
call fcn.004046d0
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x4990bf
mov eax, esi
call fcn.004044d0
inc eax
push eax
mov eax, esi
call fcn.004046d0
push eax
push 1
push 0
mov eax, edi
call fcn.004046d0
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x4990da
mov ecx, dword [0x4d3da0]
mov dl, 1
mov eax, dword [0x497e48]
call fcn.0040c764
call fcn.00403ba8
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x499138
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x416a5c]
call fcn.00404c3c
xor eax, eax
push ebp
push 0x49927c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d311c], 0
jne 0x49918b
mov ecx, dword [0x4d3b58]
mov dl, 1
mov eax, dword [0x4078f8]
call fcn.0040c764
call fcn.00403ba8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402de4
mov eax, ebx
call fcn.00404a8c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x49928c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405e40
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404a9c
test eax, eax
jle 0x499223
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x49921c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404498
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404480
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408774
test eax, eax
jne 0x49921c
mov ebx, 0x15
jmp 0x499228
mov ebx, 0x10
jmp 0x499228
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4d311c]
call fcn.00498fe0
mov eax, dword [ebp - 8]
call fcn.00498fe0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499283
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404234
lea eax, [ebp - 0x10]
mov edx, dword [0x416a5c]
call fcn.00404d0c
ret
Function at 0x4a120c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4a1244]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4a1222
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4a1231
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4a1240
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4a2554
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4d4064]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a257a
push 0
mov eax, dword [0x4d4064]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x4a26b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x2001f
push 0
push 0x4a2748
push 0
mov eax, edi
call fcn.004046d0
push eax
push ebx
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x4a2721
mov eax, esi
call fcn.004044d0
inc eax
push eax
mov eax, esi
call fcn.004046d0
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.004046d0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x4a273c
mov ecx, dword [0x4d3da0]
mov dl, 1
mov eax, dword [0x497e48]
call fcn.0040c764
call fcn.00403ba8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4a274c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004046c0
mov eax, dword [ebp - 8]
call fcn.004046c0
xor eax, eax
push ebp
push 0x4a2813
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004046d0
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x4a27ef
mov dword [ebp - 0x10], 0xfa
mov esi, 0x4a2824
lea edi, [ebp - 0x110]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004046d0
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x110]
call fcn.004096f0
mov esi, 0x4a2824
lea edi, [ebp - 0x110]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a281a
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404234
ret
Function at 0x4ab1b4
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4ab1bc
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4ab3ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4ab3c4
mov eax, esi
call fcn.004a8f44
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404264
lea ecx, [ebp - 0x10]
mov edx, 0x4ab3d8
mov eax, esi
call fcn.004a8f44
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404264
lea ecx, [ebp - 0x14]
mov edx, 0x4ab3f0
mov eax, esi
call fcn.004a8f44
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404264
lea ecx, [ebp - 0x18]
mov edx, 0x4ab40c
mov eax, esi
call fcn.004a8f44
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404264
lea ecx, [ebp - 0x1c]
mov edx, 0x4ab428
mov eax, esi
call fcn.004a8f44
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404264
lea ecx, [ebp - 0x24]
mov edx, 0x4ab440
mov eax, esi
call fcn.004a8f44
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004087e4
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408bc4
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4ab458
mov eax, esi
call fcn.004a8f44
mov eax, dword [ebp - 0x28]
call fcn.004a805c
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4ab468
mov eax, esi
call fcn.004a8f44
mov eax, dword [ebp - 0x2c]
call fcn.004a805c
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4ab480
mov eax, esi
call fcn.004a8f44
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408bc4
inc eax
je 0x4ab351
lea ecx, [ebp - 0x34]
mov edx, 0x4ab480
mov eax, esi
call fcn.004a8f44
mov eax, dword [ebp - 0x34]
call fcn.00408b88
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a4ec
fstp qword [ebp - 0x3c]
wait
call fcn.0040a87c
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4ab36c
lea ecx, [ebp - 0x40]
mov edx, 0x4ab480
mov eax, esi
call fcn.004a8f44
mov eax, dword [ebp - 0x40]
call fcn.004a805c
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4ab490
mov eax, esi
call fcn.004a8f44
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404264
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab3b5
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404234
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404234
ret