joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414fcf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00412592
and byte [ebp - 0xb], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x4c
mov byte [ebp - 0xf], 0x46
mov byte [ebp - 0x13], 0x6f
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0x12], 0x63
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0x10], 0x6c
call fcn.004125c1
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x415023
leave
ret
push esi
push dword [ebp + 8]
call eax
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00412592
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x415040
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00412592
and byte [ebp - 0xa], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x4c
mov byte [ebp - 0xf], 0x41
mov byte [ebp - 0x13], 0x6f
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0x12], 0x63
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xb], 0x63
call fcn.004125c1
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x415098
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00412592
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x4150b8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and byte [ebp - 4], 0
mov byte [ebp - 0x10], 0x43
mov byte [ebp - 0xd], 0x61
mov byte [ebp - 0xa], 0x4d
mov byte [ebp - 7], 0x65
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xc], 0x74
mov byte [ebp - 9], 0x75
mov byte [ebp - 6], 0x78
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 8], 0x74
mov byte [ebp - 5], 0x41
call fcn.004125c1
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x415108
leave
ret
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0xd
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00412592
add esp, 0xc
mov eax, esi
pop esi
leave
ret
Function at 0x41512b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and byte [ebp - 4], 0
mov byte [ebp - 0x20], 0x49
mov byte [ebp - 0x1f], 0x6e
mov byte [ebp - 0x1e], 0x69
mov byte [ebp - 0x1d], 0x74
mov byte [ebp - 0x1c], 0x69
mov byte [ebp - 0x1b], 0x61
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x69
mov byte [ebp - 0x18], 0x7a
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x53
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0x14], 0x63
mov byte [ebp - 0x13], 0x75
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x69
mov byte [ebp - 0x10], 0x74
mov byte [ebp - 0xf], 0x79
mov byte [ebp - 0xe], 0x44
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x73
mov byte [ebp - 0xb], 0x63
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 9], 0x69
mov byte [ebp - 8], 0x70
mov byte [ebp - 7], 0x74
mov byte [ebp - 6], 0x6f
mov byte [ebp - 5], 0x72
call fcn.004151e0
lea eax, [ebp - 0x20]
push eax
push dword [0x4222c8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4151c0
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x1d
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.00412592
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x415235
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and byte [ebp - 7], 0
mov byte [ebp - 0x20], 0x53
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x53
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x1b], 0x63
mov byte [ebp - 0x1a], 0x75
mov byte [ebp - 0x19], 0x72
mov byte [ebp - 0x18], 0x69
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x79
mov byte [ebp - 0x15], 0x44
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x63
mov byte [ebp - 0x11], 0x72
mov byte [ebp - 0x10], 0x69
mov byte [ebp - 0xf], 0x70
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x44
mov byte [ebp - 0xa], 0x61
mov byte [ebp - 9], 0x63
mov byte [ebp - 8], 0x6c
call fcn.004151e0
lea eax, [ebp - 0x20]
push eax
push dword [0x4222c8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4152be
leave
ret
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x1d
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.00412592
add esp, 0xc
mov eax, esi
pop esi
leave
ret
Function at 0x4152e4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 1
pop edi
xor ebx, ebx
cmp dword [0x4222e0], edi
mov byte [ebp - 0x14], 0x5c
mov byte [ebp - 0x13], 0x5c
mov byte [ebp - 0x12], 0x2e
mov byte [ebp - 0x11], 0x5c
mov byte [ebp - 0x10], 0x54
mov byte [ebp - 0xf], 0x44
mov byte [ebp - 0xe], 0x53
mov byte [ebp - 0xd], 0x44
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x56
mov byte [ebp - 0xa], 0x58
mov byte [ebp - 9], 0x44
mov byte [ebp - 8], bl
mov byte [ebp - 7], bl
mov byte [ebp - 6], bl
mov byte [ebp - 5], bl
jne 0x415360
push ebx
push 0x4000000
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.004145d1
add esp, 0x1c
cmp eax, 0xffffffff
mov dword [0x4222e0], eax
jne 0x415360
mov eax, 0x7532
jmp 0x415417
cmp dword [0x4222d0], ebx
jne 0x4153bd
xor esi, esi
push dword [ebp + 0x10]
push 0x4222e0
push dword [ebp + 8]
call fcn.00415479
add esp, 0xc
cmp eax, ebx
je 0x415399
cmp eax, 0x6688
jne 0x4153a5
push 0x1f4
call fcn.0041541c
inc esi
pop ecx
cmp esi, 3
jl 0x41536a
cmp esi, 3
jne 0x4153bd
mov esi, 0x4f1a
jmp 0x4153a7
mov esi, eax
push dword [0x4222e0]
call fcn.004146fa
pop ecx
mov dword [0x4222e0], edi
mov eax, esi
jmp 0x415417
push dword [ebp + 8]
push dword [ebp + 0x10]
call fcn.00412626
lea eax, [ebp - 4]
push ebx
push eax
push 0x80
push dword [ebp + 0xc]
push 0x90
push dword [ebp + 8]
push 5
push dword [0x4222e0]
call fcn.0041465c
add esp, 0x28
test eax, eax
je 0x415400
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.004148e9
pop ecx
pop ecx
jmp 0x415417
push dword [0x4222e0]
call fcn.004146fa
pop ecx
mov dword [0x4222e0], edi
call fcn.00414773
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4157ed
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4222e0]
push ebx
xor ebx, ebx
cmp eax, 1
mov byte [ebp - 0x14], 0x5c
mov byte [ebp - 0x13], 0x5c
mov byte [ebp - 0x12], 0x2e
mov byte [ebp - 0x11], 0x5c
mov byte [ebp - 0x10], 0x54
mov byte [ebp - 0xf], 0x44
mov byte [ebp - 0xe], 0x53
mov byte [ebp - 0xd], 0x44
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x56
mov byte [ebp - 0xa], 0x58
mov byte [ebp - 9], 0x44
mov byte [ebp - 8], bl
mov byte [ebp - 7], bl
mov byte [ebp - 6], bl
mov byte [ebp - 5], bl
jne 0x415863
push ebx
push 0x4000000
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.004145d1
add esp, 0x1c
cmp eax, 0xffffffff
mov dword [0x4222e0], eax
jne 0x415863
mov eax, 0x7532
jmp 0x4158b1
lea ecx, [ebp - 4]
push ebx
push ecx
push 0x80
push dword [ebp + 0xc]
push 0x90
push dword [ebp + 8]
push 5
push eax
call fcn.0041465c
add esp, 0x20
test eax, eax
je 0x415896
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.004148e9
pop ecx
pop ecx
jmp 0x4158b1
push dword [0x4222e0]
call fcn.004146fa
pop ecx
mov dword [0x4222e0], 1
call fcn.00414773
pop ebx
leave
ret
Function at 0x41631f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00412592
and byte [ebp - 0xa], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0xe], 0x46
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0x11], 0x62
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0x10], 0x61
mov byte [ebp - 0xb], 0x65
call fcn.004125c1
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x416377
leave
ret
push esi
push dword [ebp + 8]
call eax
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00412592
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x416394
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00412592
and byte [ebp - 9], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xa], 0x63
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0xe], 0x41
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 0x11], 0x62
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0x10], 0x61
mov byte [ebp - 0xb], 0x6f
call fcn.004125c1
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4163f0
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00412592
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x416410
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and byte [ebp - 4], 0
mov byte [ebp - 0x20], 0x53
mov byte [ebp - 0x12], 0x44
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x10], 0x76
mov byte [ebp - 0x1d], 0x75
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0x1c], 0x70
mov byte [ebp - 0xe], 0x63
mov byte [ebp - 0x1b], 0x44
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0x1a], 0x69
mov byte [ebp - 0xc], 0x49
mov byte [ebp - 0x19], 0x44
mov byte [ebp - 0xb], 0x6e
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0xa], 0x66
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 9], 0x6f
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 8], 0x4c
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 7], 0x69
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 6], 0x73
mov byte [ebp - 0x13], 0x79
mov byte [ebp - 5], 0x74
call fcn.004164c3
test eax, eax
je 0x4164a2
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4164a6
xor eax, eax
leave
ret
push esi
push dword [ebp + 8]
call eax
mov esi, eax
push 0x1d
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.00412592
add esp, 0xc
mov eax, esi
pop esi
leave
ret
Function at 0x4164c3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00412592
and byte [ebp - 8], 0
add esp, 0xc
cmp dword [0x4222c0], 1
mov byte [ebp - 0x14], 0x73
mov byte [ebp - 0x11], 0x75
mov byte [ebp - 0xe], 0x70
mov byte [ebp - 0xb], 0x64
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x10], 0x70
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 9], 0x6c
jne 0x416525
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4222c0], eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00412592
mov eax, dword [0x4222c0]
add esp, 0xc
leave
ret

Function at 0x41653c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and byte [ebp - 1], 0
mov byte [ebp - 0x1c], 0x53
mov byte [ebp - 0x14], 0x6e
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 4], 0x63
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x13], 0x75
mov byte [ebp - 0xb], 0x49
mov byte [ebp - 3], 0x65
mov byte [ebp - 0x1a], 0x74
mov byte [ebp - 0x12], 0x6d
mov byte [ebp - 0xa], 0x6e
mov byte [ebp - 2], 0x73
mov byte [ebp - 0x19], 0x75
mov byte [ebp - 0x11], 0x44
mov byte [ebp - 9], 0x74
mov byte [ebp - 0x18], 0x70
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 8], 0x65
mov byte [ebp - 0x17], 0x44
mov byte [ebp - 0xf], 0x76
mov byte [ebp - 7], 0x72
mov byte [ebp - 0x16], 0x69
mov byte [ebp - 0xe], 0x69
mov byte [ebp - 6], 0x66
mov byte [ebp - 0x15], 0x45
mov byte [ebp - 0xd], 0x63
mov byte [ebp - 5], 0x61
call fcn.004164c3
test eax, eax
je 0x4165ca
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4165ce
xor eax, eax
leave
ret
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x1c
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00412592
add esp, 0xc
mov eax, esi
pop esi
leave
ret
Function at 0x4165f7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and byte [ebp - 4], 0
mov byte [ebp - 0x18], 0x53
mov byte [ebp - 0x12], 0x69
mov byte [ebp - 0xc], 0x61
mov byte [ebp - 6], 0x73
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x11], 0x47
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 5], 0x41
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xa], 0x73
mov byte [ebp - 0x15], 0x75
mov byte [ebp - 0xf], 0x74
mov byte [ebp - 9], 0x44
mov byte [ebp - 0x14], 0x70
mov byte [ebp - 0xe], 0x43
mov byte [ebp - 8], 0x65
mov byte [ebp - 0x13], 0x44
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 7], 0x76
call fcn.004164c3
test eax, eax
je 0x41666e
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, fcn.004165f7
test ecx, ecx
jne 0x416672
xor eax, eax
leave
ret
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x15
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.00412592
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x41672f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and byte [ebp - 4], 0
mov byte [ebp - 0x24], 0x53
mov byte [ebp - 0x18], 0x76
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x17], 0x69
mov byte [ebp - 0xb], 0x44
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x16], 0x63
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 0x21], 0x75
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 9], 0x74
mov byte [ebp - 0x20], 0x70
mov byte [ebp - 0x14], 0x49
mov byte [ebp - 8], 0x61
mov byte [ebp - 0x1f], 0x44
mov byte [ebp - 0x13], 0x6e
mov byte [ebp - 7], 0x69
mov byte [ebp - 0x1e], 0x69
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 6], 0x6c
mov byte [ebp - 0x1d], 0x47
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 5], 0x41
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0xf], 0x66
mov byte [ebp - 0x1a], 0x44
mov byte [ebp - 0xe], 0x61
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0xd], 0x63
call fcn.004164c3
test eax, eax
je 0x4167d1
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4167d5
xor eax, eax
leave
ret
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x21
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.00412592
add esp, 0xc
mov eax, esi
pop esi
leave
ret
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401012
mov eax, dword [0x41012f]
shl eax, 2
mov dword [0x410133], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.00407490
pop edx
call fcn.00406864
call fcn.00407494
push 0
call fcn.00408138
pop ecx
push 0x4100d8
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x410137], eax
push 0
jmp fcn.0040df70
Function at 0x402058
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
call fcn.004058c8
test eax, eax
je 0x402083
test ebx, ebx
je 0x402083
cmp word [ebx], 0
je 0x402083
push ebx
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
setne al
and eax, 1
pop esi
pop ebx
ret
push esi
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
setne al
and eax, 1
pop esi
pop ebx
ret

Function at 0x402098
Capabilities:
Copy file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
mov byte [ebp - 0x400], 0
push 0x400
lea eax, [ebp - 0x400]
push eax
push str.sfxname
call sub.KERNEL32.DLL_GetEnvironmentVariableA
test eax, eax
je 0x40212a
cmp byte [ebp - 0x400], 0
je 0x40212a
lea eax, [ebp - 0x400]
call fcn.00404c00
mov ebx, eax
push str.rarreg.key
push ebx
call fcn.004076a8
add esp, 8
lea eax, [ebp - 0x400]
xor edx, edx
call fcn.00402058
test al, al
jne 0x402117
push str.rarreg.txt
push ebx
call fcn.004076a8
add esp, 8
lea eax, [ebp - 0x400]
xor edx, edx
call fcn.00402058
test al, al
je 0x40212a
push 1
push str.rarreg.key
lea ecx, [ebp - 0x400]
push ecx
call sub.KERNEL32.DLL_CopyFileA
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402130
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff664
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push edi
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x402161
xor eax, eax
jmp 0x4022b0
mov edx, esi
mov eax, 0x80000001
call fcn.004022b7
lea edx, [ebp - 0xc]
lea ecx, [ebp - 8]
push edx
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push esi
push 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
test eax, eax
je 0x4021a0
mov eax, dword [ebp - 4]
call fcn.00402455
xor eax, eax
jmp 0x4022b0
xor ebx, ebx
mov dword [ebp - 0x14], 0xc8
mov dword [ebp - 0x18], 0x3e8
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x4d4]
push eax
push edx
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0x14]
push ecx
push 0
push eax
lea edx, [ebp - 0xec]
push edx
push ebx
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegEnumValueA
test eax, eax
jne 0x4021fa
push dword [ebp - 0x18]
lea ecx, [ebp - 0x4d4]
lea eax, [ebp - 0xec]
push ecx
push dword [ebp - 0x10]
push 0
push eax
push dword [ebp - 8]
call sub.ADVAPI32.DLL_RegSetValueExA
inc ebx
jmp 0x4021a2
xor ebx, ebx
mov dword [ebp - 0x1c], 0xc8
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x1c]
push eax
push 0
push 0
push 0
push edx
lea ecx, [ebp - 0x59c]
push ecx
push ebx
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegEnumKeyExA
test eax, eax
jne 0x40229e
lea eax, [ebp - 0x59c]
push eax
push edi
push str._s_s
lea edx, [ebp - 0x79c]
push edx
call fcn.004099ac
add esp, 0x10
lea ecx, [ebp - 0x59c]
push ecx
push esi
push str._s_s
lea eax, [ebp - 0x99c]
push eax
call fcn.004099ac
add esp, 0x10
lea edx, [ebp - 0xc]
lea ecx, [ebp - 8]
lea eax, [ebp - 0x99c]
push edx
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
test eax, eax
jne 0x40229e
lea edx, [ebp - 0x99c]
lea eax, [ebp - 0x79c]
call fcn.00402130
inc ebx
jmp 0x4021fc
mov eax, dword [ebp - 4]
call fcn.00402455
mov eax, dword [ebp - 8]
call fcn.00402455
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd28
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
cmp byte [esi], 0
je 0x40238c
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push esi
push edi
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x40238c
xor ebx, ebx
mov dword [ebp - 8], 0xc8
lea eax, [ebp - 0x10]
lea edx, [ebp - 8]
push eax
push 0
push 0
push 0
push edx
lea ecx, [ebp - 0xd8]
push ecx
push ebx
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegEnumKeyExA
test eax, eax
jne 0x402373
lea eax, [ebp - 0xd8]
push eax
push esi
push str._s_s
lea edx, [ebp - 0x2d8]
push edx
call fcn.004099ac
add esp, 0x10
lea edx, [ebp - 0x2d8]
mov eax, edi
call fcn.004022ed
inc ebx
jmp 0x40231e
mov eax, dword [ebp - 4]
call fcn.00402455
push esi
push edi
call sub.ADVAPI32.DLL_RegDeleteKeyA
test eax, eax
jne 0x40238c
inc dword [0x412e78]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4024f8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00402393
mov ebx, eax
test ebx, ebx
je 0x40253b
push esi
call fcn.004076d8
pop ecx
inc eax
push eax
push esi
push 1
push 0
push dword [ebp - 8]
push ebx
call sub.ADVAPI32.DLL_RegSetValueExA
mov dword [ebp - 0xc], eax
mov eax, ebx
call fcn.00402455
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x402558
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 8]
call fcn.00402393
mov ebx, eax
test ebx, ebx
je 0x40258d
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push dword [ebp - 4]
push ebx
call sub.ADVAPI32.DLL_RegSetValueExA
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00402455
mov eax, dword [ebp - 8]
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x402598
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 8]
call fcn.00402393
mov ebx, eax
test ebx, ebx
je 0x4025cd
push dword [ebp + 8]
push dword [ebp + 0xc]
push 3
push 0
push dword [ebp - 4]
push ebx
call sub.ADVAPI32.DLL_RegSetValueExA
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00402455
mov eax, dword [ebp - 8]
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4025f4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
call fcn.00402404
mov ebx, eax
mov esi, 1
test ebx, ebx
je 0x402636
lea eax, [ebp + 8]
lea edx, [ebp - 0xc]
push eax
push edi
push edx
push 0
push dword [ebp - 8]
push ebx
call sub.ADVAPI32.DLL_RegQueryValueExA
mov esi, eax
mov eax, ebx
call fcn.00402455
test esi, esi
jne 0x402640
cmp dword [ebp + 8], 0
jne 0x402650
push dword [ebp + 0xc]
push edi
call fcn.004076a8
add esp, 8
xor eax, eax
jmp 0x402652
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40265c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
call fcn.00402404
mov ebx, eax
mov esi, 1
mov dword [ebp - 0x10], 4
test ebx, ebx
je 0x4026a5
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
push eax
push edi
push edx
push 0
push dword [ebp - 8]
push ebx
call sub.ADVAPI32.DLL_RegQueryValueExA
mov esi, eax
mov eax, ebx
call fcn.00402455
test esi, esi
jne 0x4026af
cmp dword [ebp - 0x10], 0
jne 0x4026b8
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [edi], edx
jmp 0x4026ba
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x402700
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
mov ebx, eax
push 0x100
lea ecx, [ebp - 0x100]
mov eax, ebx
call fcn.00402471
test al, al
je 0x40272f
lea edx, [ebp - 0x100]
push edx
push ebx
call sub.ADVAPI32.DLL_RegDeleteKeyA
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402734
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
mov esi, ecx
mov ebx, eax
push 0x100
lea ecx, [ebp - 0x104]
mov eax, ebx
call fcn.00402471
test al, al
je 0x402786
lea edx, [ebp - 4]
lea eax, [ebp - 0x104]
push edx
push 0x20006
push 0
push eax
push ebx
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x402786
push esi
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegDeleteValueA
mov eax, dword [ebp - 4]
call fcn.00402455
pop esi
pop ebx
mov esp, ebp
pop ebp
ret