joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52d133
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0053d930
mov eax, dword [0x5a6008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.005264d3
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x52d175
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x52d2d1
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0053d6b0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x5a8240]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00528461
mov ecx, dword [esi*4 + 0x5a8240]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x52d2ca
cmp eax, dword [edi + ecx + 0x24]
jne 0x52d2ca
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x52d2ca
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00528461
add esp, 0x14
test edx, edx
jl 0x52d2ca
jg 0x52d240
test eax, eax
jb 0x52d2ca
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x52d2ca
jl 0x52d25a
cmp dword [ebp - 0x1008], eax
ja 0x52d2ca
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x52d278
test ebx, ebx
je 0x52d2b1
cmp ecx, edi
jae 0x52d2b1
mov al, byte [ecx]
cmp al, 0xd
jne 0x52d292
lea eax, [edi - 1]
cmp ecx, eax
jae 0x52d29e
cmp byte [ecx + 1], 0xa
jne 0x52d29e
inc ecx
jmp 0x52d29e
movzx eax, al
movsx eax, byte [eax + 0x5a6110]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x52d278
cmp edx, ebx
jne 0x52d278
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x52d2cf
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00511339
leave
ret

Function at 0x53175e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x55dd44
push 0x55dd3c
push 0x55b710
push 0x1e
call fcn.0053158b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x531792
push dword [ebp + 8]
mov ecx, esi
call dword [0x543750]
call esi
jmp 0x531798
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x5317dc
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x55dd54
push 0x55dd4c
push 0x55b734
push 0x20
call fcn.0053158b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x531813
push dword [ebp + 8]
mov ecx, esi
call dword [0x543750]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x53494e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00534475

Function at 0x53503d
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00534fb9
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x5351b5
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x5351b5
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x535164
jg 0x535096
test eax, eax
je 0x53515a
push 1
push 0x1000
call fcn.0053327a
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x5350bc
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x535151
push 0x8000
push ebx
call fcn.0052ae17
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x5350e8
jg 0x5350e3
cmp ecx, 0x1000
jb 0x5350e8
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.005262d3
add esp, 0x10
cmp eax, 0xffffffff
je 0x53512d
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x5350e3
jl 0x535114
test ecx, ecx
jne 0x5350d5
push dword [ebp - 0xc]
push ebx
call fcn.0052ae17
push esi
call fcn.00530b37
add esp, 0xc
xor edi, edi
jmp 0x5351c6
cmp byte [edi + 0x24], 0
je 0x535144
cmp dword [edi + 0x20], 5
jne 0x535144
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x53514f
mov edi, dword [edi + 0x18]
jmp 0x535151
xor edi, edi
push esi
call fcn.00530b37
pop ecx
jmp 0x5351c6
test ecx, ecx
jg 0x535126
jl 0x535164
test eax, eax
jae 0x535126
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0052847f
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x535187
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x535126
jmp 0x5351be
push ebx
call fcn.005288e2
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x535126
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x5351c6
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x5351c3
mov edi, dword [edi + 0x18]
jmp 0x5351c6
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0052847f
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x535500
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00535371
Function at 0x536419
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x5364b6
push ebx
push esi
call fcn.005363e2
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00530dee
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x536463
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x5364b5
push edi
push eax
call fcn.0053127d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x536483
call fcn.00530b37
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x5364b4
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00530dee
add esp, 0x20
test eax, eax
jne 0x5364a2
push edi
call fcn.00530b37
jmp 0x5364aa
push ebx
call fcn.00530b37
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x5364b9
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x5364ca
pop esi
ret
push ebx
push edi
push esi
call fcn.005363e2
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0053127d
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x5364f2
push ebx
push esi
push edi
call fcn.00512db0
add esp, 0xc
push 0
call fcn.00530b37
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x10adf60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x429000]
push edi
or ebp, 0xffffffff
jmp 0x10adf82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10adf89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10adf78
mov eax, 1
add ebx, ebx
jne 0x10adf9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10adfac
jne 0x10adfcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10adfcb
dec eax
add ebx, ebx
jne 0x10adfb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x10adf90
add ebx, ebx
jne 0x10adfc7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x10ae01d
xor ecx, ecx
sub eax, 3
jb 0x10adfe3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10ae052
sar eax, 1
mov ebp, eax
jmp 0x10adfee
add ebx, ebx
jne 0x10adfee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10adfbc
inc ecx
add ebx, ebx
jne 0x10adffc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10adfbc
add ebx, ebx
jne 0x10ae009
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10adffe
jne 0x10ae01a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10adffe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10ae03c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10ae02e
jmp 0x10adf7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10ae03c
add edi, ecx
jmp 0x10adf7e
pop esi
mov edi, esi
mov ecx, 0xc430
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10ae05a
cmp byte [edi], 0x26
jne 0x10ae05a
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 al, bl
loop 0x10ae05f
lea edi, [esi + 0xc83000]
mov eax, dword [edi]
or eax, eax
je 0x10ae0ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd01738]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd01878]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10ae08c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd01880]
or eax, eax
je 0x10ae0c8
mov dword [ebx], eax
add ebx, 4
jmp 0x10ae0a9
call dword [esi + 0xd0187c]
mov ebp, dword [esi + 0xd01884]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x10ae102
sub esp, 0xffffff80
jmp 0x630758
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x1b1a3cec
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x122a330e
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40288e
pop dword [ebp - 0x3c]
mov eax, 0x1d2f380f
add eax, 0xe310f07f
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x18c56c66
add dword [ebp - 0x4c], 0x358cd8e5
mov dword [ebp - 0x48], 0xfe2eae65
add dword [ebp - 0x48], 0x34049de0
mov dword [ebp - 0x44], 0x2827e06e
sub dword [ebp - 0x44], 0xdbdb9c40
mov dword [ebp - 0x40], 0x50d42e62
sub dword [ebp - 0x40], 0x50d42e62
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xec32919f
sub eax, 0xebf21113
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xc65a4046
add dword [ebp - 0x4c], 0xae182910
mov dword [ebp - 0x48], 0xb63727c5
sub dword [ebp - 0x48], 0x74cac650
mov dword [ebp - 0x44], 0x27599819
sub dword [ebp - 0x44], 0xc3ea2bad
mov dword [ebp - 0x40], 0xcc79e633
add dword [ebp - 0x40], 0x338619cd
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x354ba
push 0
call eax
mov ecx, 0x42cc
mov edi, eax
mov esi, 0x411000
add esi, dword [ebp - 0x3c]
mov ebx, 0x6678a1c8
sub ebx, 0x3af2c530
xor dword [ebp - 0xc], 0x59d72684
mov edx, dword [esi]
xor dword [ebp - 8], edx
sub edx, ebx
xor dword [ebp - 0x2c], edi
mov dword [edi], edx
xor dword [ebp - 0xc], 0x5f34e2eb
add edi, 4
add esi, 0x8970b798
add esi, 0x768f486c
loop 0x40299f
add eax, 0xc449d56d
sub eax, 0xc448d76a
xor ebx, ebx
add ebx, eax
add eax, 0xa6af5eee
sub eax, 0xa6af5ee9
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x402c00
pop dword [ebp - 0x34]
mov eax, 0x9d1d63e5
add eax, 0x6322c81b
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xe68b3324
add dword [ebp - 0x44], 0x67c71227
mov dword [ebp - 0x40], 0x327af02
sub dword [ebp - 0x40], 0xd0f462bd
mov dword [ebp - 0x3c], 0x7221e40f
sub dword [ebp - 0x3c], 0x25d59fe1
mov dword [ebp - 0x38], 0xe302c11b
sub dword [ebp - 0x38], 0xe302c11b
lea eax, [ebp - 0x44]
push eax
mov eax, 0xc1608a17
add eax, 0x3edfe64d
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x467659d6
sub dword [ebp - 0x44], 0xd203f080
mov dword [ebp - 0x40], 0xdc43438e
sub dword [ebp - 0x40], 0x9ad6e219
mov dword [ebp - 0x3c], 0xbb40159e
add dword [ebp - 0x3c], 0xa82f56ce
mov dword [ebp - 0x38], 0x10608e47
add dword [ebp - 0x38], 0xef9f71b9
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x373b7300
add eax, 0xc904fda8
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x36a56
push 0
call eax
mov ecx, 0xa56fda85
add ecx, 0x5a906d4f
xor esi, esi
add esi, eax
mov edx, 0x502a2423
sub edx, 0x4fe92423
add edx, dword [ebp - 0x34]
mov ebx, 0x4c50ba85
xor dword [ebp - 0x10], edi
mov edi, dword [edx]
mov dword [ebp - 4], 0x5b0cdfe6
xor edi, ebx
mov dword [ebp - 0x18], 0xc15ff756
mov dword [esi], edi
mov dword [ebp - 0x10], 0x523f2a07
add esi, 4
add edx, 0x8a7c56cc
sub edx, 0x8a7c56c8
loop 0x402d1e
add eax, 0xa375296a
add eax, 0x5c8be8b9
mov ebx, eax
add eax, 0x5f076a5b
sub eax, 0x5f076a56
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x4431b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x4431c7
pop dword [ebp - 0x4c]
mov eax, 0xefa6e329
sub eax, 0xef62b162
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x36e579a5
add dword [ebp - 0x5c], 0x176ccba6
mov dword [ebp - 0x58], 0x5a467e20
add dword [ebp - 0x58], 0xd7ecce25
mov dword [ebp - 0x54], 0xf9a9335c
add dword [ebp - 0x54], 0x52a310d2
mov dword [ebp - 0x50], 0x5a1c1945
sub dword [ebp - 0x50], 0x5a1c1945
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x545f99b0
add eax, 0xabe616b4
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x6204a494
sub dword [ebp - 0x5c], 0xed923b3e
mov dword [ebp - 0x58], 0x36484043
sub dword [ebp - 0x58], 0xf4dbdece
mov dword [ebp - 0x54], 0x3fe3a615
sub dword [ebp - 0x54], 0xdc7439a9
mov dword [ebp - 0x50], 0xa7300c87
add dword [ebp - 0x50], 0x58cff379
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x50906
push 0
call eax
mov ecx, 0xb8921970
sub ecx, 0xb891c45e
xor edx, edx
add edx, eax
mov edi, 0x791a71a6
sub edi, 0x78d311a6
add edi, dword [ebp - 0x4c]
mov esi, 0xe77d1a6d
mov dword [ebp - 0x34], 0x89cb551b
mov ebx, dword [edi]
sub dword [ebp - 0x10], esi
sub ebx, esi
xor dword [ebp - 0x18], esi
mov dword [edx], ebx
add dword [ebp - 8], 0x26422fea
add edx, 4
add edi, 0x4ad9b43c
add edi, 0xb5264bc8
loop 0x4432e0
add eax, 0xab0f76e5
add eax, 0x54f1d036
xor ebx, ebx
add ebx, eax
add eax, 0x4337e33e
add eax, 0xbcc81cc7
mov ecx, 0x72aa5c27
sub ecx, 0x726a5c27
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x41bd00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x424c80], ecx
inc edx
cmp edx, 0x100
jb 0x41bd02
cmp edx, 0x800
jae 0x41bdd9
lea esp, [esp]
mov eax, dword [edx*4 + 0x424880]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x424c80]
inc edx
mov dword [edx*4 + 0x424c7c], eax
cmp edx, 0x800
jb 0x41bdb0
mov eax, 0x41c5e0
mov dword [0x424c7c], eax
mov dword [0x426c80], eax
mov dword [0x424c78], 0x41c500
call fcn.0041c010
test eax, eax
jne 0x41be05
mov dword [0x426c80], 0x41c500
ret

Function at 0x8c211e
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x8c1ea3
sub edx, edi
call fcn.008c2146
push edi
pop edi
dec edx
xor dword [eax], ecx
sub edi, edx
inc eax
and edx, edi
add edi, 1
cmp eax, esi
jne fcn.008c211e
or edx, edx
or edi, edx
inc edx
ret
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x401443
pop dword [ebp - 0x50]
mov eax, 0x9d063e3f
add eax, 0x6339d604
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x40afbba
sub dword [ebp - 0x60], 0xb5b8b66f
mov dword [ebp - 0x5c], 0x3b0a87c9
sub dword [ebp - 0x5c], 0x8d73b84
mov dword [ebp - 0x58], 0xf91ad700
sub dword [ebp - 0x58], 0xacce92d2
mov dword [ebp - 0x54], 0x70395f57
add dword [ebp - 0x54], 0x8fc6a0a9
lea eax, [ebp - 0x60]
push eax
mov eax, 0xca3a2914
sub eax, 0xc9f9a810
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xd773e6d8
sub dword [ebp - 0x60], 0x63017d82
mov dword [ebp - 0x5c], 0x16e4f9db
sub dword [ebp - 0x5c], 0xd5789866
mov dword [ebp - 0x58], 0x470d2981
sub dword [ebp - 0x58], 0xe39dbd15
mov dword [ebp - 0x54], 0x1bb4bf08
add dword [ebp - 0x54], 0xe44b40f8
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x2552ec0a
add eax, 0xdaed94f6
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3a822
push 0
call eax
mov ecx, 0x84b1e45c
add ecx, 0x7b4e6c92
mov esi, eax
mov edx, 0x450400
add edx, dword [ebp - 0x50]
mov ebx, 0x758c9b4a
add dword [ebp - 0x30], ecx
mov edi, dword [edx]
sub edi, ebx
xor dword [ebp - 0x34], eax
mov dword [esi], edi
mov dword [ebp - 0x34], 0x15c94485
add esi, 0x5624d803
add esi, 0xa9db2801
add edx, 0x71585d10
sub edx, 0x71585d0c
loop 0x401559
add eax, 0xff9a164c
add eax, 0x67203f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xb5100b69
add ecx, 0x4b2ff497
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x434f90]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004064be
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x434f90]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
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 [0x434f90], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27