joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a5004]
jne 0x401010
repz ret
jmp fcn.00401601

Function at 0x4076e5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404bff
and dword [ebp - 4], 0
cmp dword [0x4a7c9c], 0
mov ebx, eax
jne 0x407796
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407847
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407847
push eax
call fcn.00404b8d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4a7c9c], eax
call esi
push eax
call fcn.00404b8d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4a7ca0], eax
call esi
push eax
call fcn.00404b8d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4a7ca4], eax
call esi
push eax
call fcn.00404b8d
pop ecx
mov dword [0x4a7cac], eax
test eax, eax
je 0x407796
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404b8d
pop ecx
mov dword [0x4a7ca8], eax
mov eax, dword [0x4a7ca8]
cmp eax, ebx
je 0x4077ee
cmp dword [0x4a7cac], ebx
je 0x4077ee
push eax
call fcn.00404c08
push dword [0x4a7cac]
mov esi, eax
call fcn.00404c08
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4077ee
test edi, edi
je 0x4077ee
call esi
test eax, eax
je 0x4077e5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4077e5
test byte [ebp - 0xc], 1
jne 0x4077ee
or dword [ebp + 0x10], 0x200000
jmp 0x407827
mov eax, dword [0x4a7ca0]
cmp eax, ebx
je 0x407827
push eax
call fcn.00404c08
pop ecx
test eax, eax
je 0x407827
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407827
mov eax, dword [0x4a7ca4]
cmp eax, ebx
je 0x407827
push eax
call fcn.00404c08
pop ecx
test eax, eax
je 0x407827
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a7c9c]
call fcn.00404c08
pop ecx
test eax, eax
je 0x407847
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407849
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x409a80
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x4a5004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x23bf3b4], 0x930
jne 0x409aaa
push str.sobugo
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x23bf3b4], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x23bf1f8], eax
jne 0x409add
push 0
lea ecx, [ebp - 0x804]
push ecx
push 0
call sub.KERNEL32.dll_VerLanguageNameW
lea edx, [ebp - 0x820]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401006
mov esp, ebp
pop ebp
ret
Function at 0x40e630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42b3b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x160
mov eax, dword [0x4321a0]
push ebx
push ebp
xor ebx, ebx
mov dword [esp + 0xc], ebx
push esi
mov ebp, 0xf
mov dword [esp + 0x168], eax
push edi
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
mov dword [esp + 0x178], 1
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x6c], bl
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x6d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x10]
mov byte [esp + 0x178], 2
stosb byte es:[edi], al
call fcn.0040eeb0
lea eax, [esp + 0x6c]
push 0x100
push eax
mov byte [esp + 0x180], 3
call fcn.004106a0
add esp, 8
lea ecx, [esp + 0x6c]
push ecx
call dword [0x42d0f4]
push eax
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040fb10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x184], 4
call fcn.00405590
mov eax, dword [esp + 0x30]
mov edi, 0x10
cmp eax, edi
mov byte [esp + 0x178], 3
jb 0x40e71e
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004118ad
add esp, 4
cmp dword [esp + 0x68], edi
mov eax, dword [esp + 0x54]
jae 0x40e72c
lea eax, [esp + 0x54]
mov edx, dword [esp + 0x64]
push edx
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040fb10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x184], 5
call fcn.00405590
cmp dword [esp + 0x30], edi
mov byte [esp + 0x178], 3
jb 0x40e770
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004118ad
add esp, 4
mov esi, dword [esp + 0x180]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x3c]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00405590
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 1
mov byte [esp + 0x178], 2
call fcn.0040eec0
cmp dword [esp + 0x4c], edi
jb 0x40e7bb
mov eax, dword [esp + 0x38]
push eax
call fcn.004118ad
add esp, 4
cmp dword [esp + 0x68], edi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
jb 0x40e7da
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004118ad
add esp, 4
mov ecx, dword [esp + 0x170]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x160]
pop ebx
call fcn.00410d6c
add esp, 0x16c
ret 4
Function at 0x40f8b0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0xc
mov eax, dword [0x4321a0]
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
mov al, byte [esi + 0x5c]
test al, al
jne 0x40fa08
mov ecx, dword [esi + 0x58]
push ebp
push edi
mov edi, dword [esi + 0x10]
lea eax, [ecx*8]
add edi, eax
mov eax, edi
shl ecx, 3
cmp eax, ecx
mov dword [esi + 0x10], edi
jae 0x40f8ea
inc dword [esi + 0x14]
mov cl, byte [esi + 0x11]
mov dl, byte [esi + 0x10]
mov byte [esp + 0xd], cl
mov cl, byte [esi + 0x13]
mov byte [esp + 0xc], dl
mov dl, byte [esi + 0x12]
mov byte [esp + 0xf], cl
mov cl, byte [esi + 0x15]
mov byte [esp + 0xe], dl
mov dl, byte [esi + 0x14]
shr eax, 3
mov byte [esp + 0x11], cl
mov cl, byte [esi + 0x17]
mov byte [esp + 0x10], dl
mov dl, byte [esi + 0x16]
and eax, 0x3f
cmp eax, 0x38
mov byte [esp + 0x13], cl
mov byte [esp + 0x12], dl
mov ecx, 0x38
jb 0x40f937
mov ecx, 0x78
sub ecx, eax
test ecx, ecx
je 0x40f94a
push ecx
push 0x432158
mov ecx, esi
call fcn.0040f850
lea edi, [esp + 0xc]
mov ebp, 8
mov al, byte [edi]
mov edx, dword [esi + 0x58]
mov byte [esi + edx + 0x18], al
mov eax, dword [esi + 0x58]
inc eax
inc edi
cmp eax, 0x40
mov dword [esi + 0x58], eax
jb 0x40f970
mov ecx, esi
call fcn.0040eed0
dec ebp
jne 0x40f953
mov cl, byte [esi]
mov dl, byte [esi + 1]
mov al, byte [esi + 2]
mov byte [esi + 0x5d], cl
mov cl, byte [esi + 3]
mov byte [esi + 0x5e], dl
mov dl, byte [esi + 4]
mov byte [esi + 0x5f], al
mov al, byte [esi + 5]
mov byte [esi + 0x60], cl
mov cl, byte [esi + 6]
mov byte [esi + 0x61], dl
mov dl, byte [esi + 7]
mov byte [esi + 0x62], al
mov al, byte [esi + 8]
mov byte [esi + 0x63], cl
mov cl, byte [esi + 9]
mov byte [esi + 0x64], dl
mov dl, byte [esi + 0xa]
mov byte [esi + 0x65], al
mov al, byte [esi + 0xb]
mov byte [esi + 0x66], cl
mov cl, byte [esi + 0xc]
mov byte [esi + 0x67], dl
mov dl, byte [esi + 0xd]
mov byte [esi + 0x68], al
mov al, byte [esi + 0xe]
mov byte [esi + 0x69], cl
mov cl, byte [esi + 0xf]
mov byte [esi + 0x6a], dl
mov byte [esi + 0x6b], al
mov byte [esi + 0x6c], cl
pop edi
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x58], 0
mov byte [esi + 0x5c], 1
pop ebp
mov ecx, dword [esp + 0xc]
pop esi
call fcn.00410d6c
add esp, 0xc
ret

Function at 0x40fb10
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x78
mov eax, dword [0x4321a0]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x74], eax
xor eax, eax
push esi
mov dword [esp + 4], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x60], eax
mov byte [esp + 0x64], al
mov eax, dword [esp + 0x88]
push eax
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
call fcn.0040f850
mov esi, dword [esp + 0x80]
push esi
lea ecx, [esp + 0xc]
call fcn.0040fae0
mov ecx, dword [esp + 0x78]
mov eax, esi
pop esi
call fcn.00410d6c
add esp, 0x78
ret 0xc
Function at 0x412334
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x42df10
call fcn.00412a84
mov edi, 0x94
mov eax, edi
call fcn.00411530
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x42d130]
mov ecx, dword [esi + 0x10]
mov dword [0x433fe8], ecx
mov eax, dword [esi + 4]
mov dword [0x433ff4], eax
mov edx, dword [esi + 8]
mov dword [0x433ff8], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x433fec], esi
cmp ecx, 2
je 0x412394
or esi, 0x8000
mov dword [0x433fec], esi
shl eax, 8
add eax, edx
mov dword [0x433ff0], eax
xor esi, esi
push esi
mov edi, dword [0x42d0f0]
call edi
cmp word [eax], 0x5a4d
jne 0x4123cf
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4123cf
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4123e7
cmp eax, 0x20b
je 0x4123d4
mov dword [ebp - 0x1c], esi
jmp 0x4123fb
cmp dword [ecx + 0x84], 0xe
jbe 0x4123cf
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x4123f5
cmp dword [ecx + 0x74], 0xe
jbe 0x4123cf
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00413df1
pop ecx
test eax, eax
jne 0x41240f
push 0x1c
call fcn.00412310
pop ecx
call fcn.00412cae
test eax, eax
jne 0x412420
push 0x10
call fcn.00412310
pop ecx
call fcn.004169ab
mov dword [ebp - 4], esi
call fcn.004167ad
test eax, eax
jge 0x412439
push 0x1b
call fcn.004122eb
pop ecx
call dword [0x42d0c0]
mov dword [0x436db4], eax
call fcn.0041668b
mov dword [0x433fb8], eax
call fcn.004165e9
test eax, eax
jge 0x41245f
push 8
call fcn.004122eb
pop ecx
call fcn.004163b6
test eax, eax
jge 0x412470
push 9
call fcn.004122eb
pop ecx
push 1
call fcn.004139cb
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x412486
push eax
call fcn.004122eb
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [0x42d1d0]
call fcn.00416359
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x4124a7
movzx eax, word [ebp - 0x40]
jmp 0x4124aa
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00406270
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x4124c8
push edi
call fcn.00413af8
call fcn.00413b1a
jmp 0x4124fa
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00412abf
ret
Function at 0x413bae
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 0x413bdc
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 0x413be3
cmp ebx, dword [eax + 4]
jae 0x413be3
xor eax, eax
jmp 0x413dd3
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x413bf4
xor eax, eax
inc eax
jmp 0x413dd2
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x413c0a
cmp ecx, edx
jae 0x413d4f
cmp dword [eax + 4], 0
je 0x413c13
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x413bfb
cmp dword [ebp + 8], 0
je 0x413c35
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x413d4f
cmp eax, esi
jae 0x413d4f
mov eax, dword [0x434030]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x413c5a
cmp dword [esi*4 + 0x434038], edi
je 0x413d53
inc esi
cmp esi, eax
jl 0x413c48
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x42d1c4]
test eax, eax
je 0x413dcf
cmp dword [ebp - 8], 0x1000000
jne 0x413dcf
test byte [ebp - 0xc], 0xcc
je 0x413cd8
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x413dcf
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x413dcf
cmp word [eax + 0x18], 0x10b
jne 0x413dcf
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x413dcf
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x413cd8
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x413cd8
test byte [ecx + 0x27], 0x80
jne 0x413d4f
push 1
push 0x434078
call dword [0x42d0b0]
test eax, eax
jne 0x413bec
mov ecx, dword [0x434030]
test ecx, ecx
mov edx, ecx
jle 0x413d0c
lea eax, [ecx*4 + 0x434034]
cmp dword [eax], edi
je 0x413d0c
dec edx
sub eax, 4
test edx, edx
jg 0x413d00
test edx, edx
jne 0x413d3d
push 0xf
pop ebx
cmp ecx, ebx
jg 0x413d19
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x413d31
lea eax, [edx*4 + 0x434038]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x413d1f
cmp ecx, 0x10
jge 0x413d3d
inc ecx
mov dword [0x434030], ecx
push 0
push 0x434078
call dword [0x42d0b0]
jmp 0x413bec
xor eax, eax
jmp 0x413dd2
test esi, esi
jle 0x413bec
mov ebx, dword [0x42d0b0]
push 1
push 0x434078
call ebx
test eax, eax
jne 0x413bec
cmp dword [esi*4 + 0x434038], edi
je 0x413da9
mov eax, dword [0x434030]
lea esi, [eax - 1]
test esi, esi
jl 0x413d97
cmp dword [esi*4 + 0x434038], edi
je 0x413d93
dec esi
jns 0x413d87
test esi, esi
jge 0x413da7
cmp eax, 0x10
jge 0x413da2
inc eax
mov dword [0x434030], eax
lea esi, [eax - 1]
jmp 0x413da9
je 0x413dc1
xor ecx, ecx
test esi, esi
jl 0x413dc1
lea eax, [ecx*4 + 0x434038]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x413daf
push 0
push 0x434078
call ebx
jmp 0x413bec
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422cf0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
or esi, 8
xor eax, eax
cmp esi, 1
je 0x422d26
push edi
mov edx, esi
and edx, 1
shr esi, 1
mov edi, dword [ecx + esi*4]
sub edi, edx
neg edx
xor edi, edx
shr edi, 2
and edi, 0x1ff
add eax, dword [edi*4 + 0x434dc8]
cmp esi, 1
jne 0x422d00
pop edi
pop esi
ret 4

Function at 0x422f40
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
xor eax, eax
mov esi, 1
mov ebx, 4
lea esp, [esp]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + esi*4]
mov edx, edi
and edx, 1
sub ecx, edx
mov ebp, edx
neg ebp
xor ecx, ebp
shr ecx, 2
and ecx, 0x1ff
mov ebp, dword [ecx*4 + 0x434dc8]
add esi, esi
shr edi, 1
add eax, ebp
or esi, edx
dec ebx
jne 0x422f60
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x423050
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
test edi, edi
mov edx, 1
je 0x423099
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + edx*4]
mov ecx, esi
and ecx, 1
sub ebx, ecx
mov ebp, ecx
neg ebp
xor ebx, ebp
shr ebx, 2
and ebx, 0x1ff
mov ebp, dword [ebx*4 + 0x434dc8]
add edx, edx
shr esi, 1
add eax, ebp
or edx, ecx
dec edi
jne 0x423067
pop esi
pop ebp
pop ebx
pop edi
ret

Function at 0x4248e0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov eax, ecx
mov cl, byte [esp + 0x10]
push esi
xor ebp, ebp
test cl, cl
push edi
mov dword [esp + 0x10], eax
mov edi, 1
mov ebx, 8
je 0x424968
movzx ecx, byte [esp + 0x20]
mov dword [esp + 0x18], ecx
jmp 0x424910
movzx esi, byte [esp + 0x1c]
mov edx, dword [esp + 0x18]
dec ebx
movzx ecx, bl
shr esi, cl
shr edx, cl
and esi, 1
mov ecx, esi
shl ecx, 8
add ecx, edi
mov eax, dword [eax + ecx*4 + 0x400]
and edx, 1
sub eax, edx
mov ecx, edx
neg ecx
xor eax, ecx
shr eax, 2
and eax, 0x1ff
mov ecx, dword [eax*4 + 0x434dc8]
add edi, edi
add ebp, ecx
or edi, edx
cmp esi, edx
jne 0x424960
test ebx, ebx
je 0x4249a0
mov eax, dword [esp + 0x10]
jmp 0x424910
test ebx, ebx
je 0x4249a0
mov eax, dword [esp + 0x10]
movzx edx, byte [esp + 0x20]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x18]
dec ebx
mov cl, bl
shr edx, cl
mov ecx, dword [eax + edi*4]
add edi, edi
and edx, 1
sub ecx, edx
mov esi, edx
neg esi
xor ecx, esi
shr ecx, 2
and ecx, 0x1ff
add ebp, dword [ecx*4 + 0x434dc8]
or edi, edx
test ebx, ebx
jne 0x424971
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x424b90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov ebx, dword [esp + 0x20]
mov ecx, eax
shr ecx, 2
mov edx, dword [ecx*4 + 0x434dc8]
mov ecx, 0x800
sub ecx, eax
shr ecx, 2
mov eax, dword [ecx*4 + 0x434dc8]
mov ecx, dword [edi + 4]
mov dword [esp + 0x10], edx
mov edx, ecx
shr edx, 2
mov ebp, dword [edx*4 + 0x434dc8]
mov edx, 0x800
sub edx, ecx
shr edx, 2
mov ecx, dword [edx*4 + 0x434dc8]
add ebp, eax
add ecx, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ecx
xor esi, esi
mov edi, edi
cmp esi, dword [esp + 0x24]
jae 0x424ce4
mov eax, ebx
shl eax, 5
push esi
lea ecx, [eax + edi + 8]
call fcn.00422cf0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
add eax, edx
mov dword [ecx + esi*4], eax
inc esi
cmp esi, 8
jb 0x424bf0
cmp esi, 0x10
jae 0x424c8c
lea ecx, [esi - 8]
mov dword [esp + 0x20], ecx
jmp 0x424c30
cmp esi, dword [esp + 0x24]
jae 0x424ce4
or ecx, 8
xor edx, edx
cmp ecx, 1
je 0x424c74
mov eax, ecx
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebx*8]
mov ebp, dword [edi + ebp*4 + 0x208]
sub ebp, eax
neg eax
xor ebp, eax
shr ebp, 2
and ebp, 0x1ff
add edx, dword [ebp*4 + 0x434dc8]
cmp ecx, 1
jne 0x424c44
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add edx, ebp
mov dword [eax + esi*4], edx
inc esi
inc ecx
cmp esi, 0x10
mov dword [esp + 0x20], ecx
jb 0x424c30
cmp esi, dword [esp + 0x24]
jae 0x424ce4
lea ebx, [esi - 0x10]
mov ecx, ebx
or ecx, 0x100
xor edx, edx
cmp ecx, 1
je 0x424ccd
mov eax, ecx
and eax, 1
shr ecx, 1
mov ebp, dword [edi + ecx*4 + 0x408]
sub ebp, eax
neg eax
xor ebp, eax
shr ebp, 2
and ebp, 0x1ff
add edx, dword [ebp*4 + 0x434dc8]
cmp ecx, 1
jne 0x424ca4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
add edx, ecx
mov dword [eax + esi*4], edx
mov eax, dword [esp + 0x24]
inc esi
inc ebx
cmp esi, eax
jb 0x424c95
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x4255e0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x20c
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov esi, 4
cmp esi, 0x800
jae 0x425602
movzx edx, byte [esi + 0x4345c0]
jmp 0x42562a
cmp esi, 0x200000
jae 0x42561b
mov eax, esi
shr eax, 0xa
movzx edx, byte [eax + 0x4345c0]
add edx, 0x14
jmp 0x42562a
mov ecx, esi
shr ecx, 0x14
movzx edx, byte [ecx + 0x4345c0]
add edx, 0x28
mov ecx, edx
mov eax, edx
and eax, 1
shr ecx, 1
dec ecx
or eax, 2
shl eax, cl
mov edi, esi
sub edi, eax
push edi
sub eax, edx
push ecx
lea edx, [ebx + eax*4 + 0x28b2c]
push edx
call fcn.00423050
add esp, 0xc
mov dword [esp + esi*4 + 0x1c], eax
inc esi
cmp esi, 0x80
jb 0x4255f1
lea ebp, [esp + 0x1c]
sub ebp, ebx
lea edx, [ebx + 0x3329c]
sub ebp, 0x33294
lea esi, [ebx + 0x32e94]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 4
jmp 0x425690
mov edx, dword [esp + 0x10]
lea esp, [esp]
mov eax, dword [ebx + 0x33ad8]
xor edi, edi
test eax, eax
jbe 0x4256ef
lea esp, [esp]
mov ecx, edi
or ecx, 0x40
xor edx, edx
cmp ecx, 1
je 0x4256dd
lea esp, [esp]
mov eax, ecx
and eax, 1
shr ecx, 1
mov ebp, dword [esi + ecx*4 - 0xa764]
sub ebp, eax
neg eax
xor ebp, eax
shr ebp, 2
and ebp, 0x1ff
add edx, dword [ebp*4 + 0x434dc8]
cmp ecx, 1
jne 0x4256b0
mov ebp, dword [esp + 0x14]
mov dword [esi + edi*4], edx
mov eax, dword [ebx + 0x33ad8]
inc edi
cmp edi, eax
jb 0x4256a0
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x33ad8]
mov eax, 0xe
cmp ecx, eax
jbe 0x42571d
mov edi, edi
mov edi, dword [esi + eax*4]
mov ecx, eax
shr ecx, 1
sub ecx, 5
shl ecx, 6
add edi, ecx
mov dword [esi + eax*4], edi
mov ecx, dword [ebx + 0x33ad8]
inc eax
cmp eax, ecx
jb 0x425700
mov eax, dword [esi]
mov dword [edx - 8], eax
mov ecx, dword [esi + 4]
mov dword [edx - 4], ecx
mov eax, dword [esi + 8]
mov dword [edx], eax
mov ecx, dword [esi + 0xc]
mov dword [edx + 4], ecx
mov eax, 4
add edx, 8
jmp 0x425740
cmp eax, 0x800
jae 0x425750
movzx ecx, byte [eax + 0x4345c0]
jmp 0x425775
cmp eax, 0x200000
mov ecx, eax
jae 0x425768
shr ecx, 0xa
movzx ecx, byte [ecx + 0x4345c0]
add ecx, 0x14
jmp 0x425775
shr ecx, 0x14
movzx ecx, byte [ecx + 0x4345c0]
add ecx, 0x28
mov ecx, dword [esi + ecx*4]
add ecx, dword [edx + ebp]
mov dword [edx], ecx
inc eax
add edx, 4
cmp eax, 0x80
jb 0x425740
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
sub ebp, 0x200
add ecx, 0x200
add esi, 0x100
dec eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
jne 0x425688
pop edi
pop esi
pop ebp
mov dword [ebx + 0x33af8], 0
pop ebx
add esp, 0x20c
ret
Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0

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 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 0x401497
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [0x42fcb0]
or eax, 8
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x40152c
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x4014e9
cmp dword [ebp + 0x10], ebx
jne 0x401520
push ebx
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 4]
call fcn.00401497
test eax, eax
jne 0x4014fb
push edi
lea eax, [ebp - 0x10c]
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x4014d0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.004058e0
cmp eax, ebx
je 0x401533
push ebx
push dword [0x42fcb0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x40152c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42fcb0], ebx
jne 0x401529
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x401529
jmp 0x40152c