joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405fb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4230a8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x42b740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov ecx, 0x5b
xor eax, eax
mov dl, byte [eax + 0x424808]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x7c], dl
jns 0x406000
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x3e
jl 0x405fe3
push 0x522354
push 0xf003f
push ebx
lea eax, [ebp - 0x7c]
push eax
push 0x80000002
mov byte [ebp - 0x3e], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 1
push 0x424804
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00401600
push 5
mov dword [ebp - 4], ebx
call fcn.00402100
mov ecx, eax
add esp, 4
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x406051
sub ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404b40
push 1
push 0x424800
lea ecx, [ebp - 0x2c]
call fcn.00404b40
push 5
call fcn.00402100
mov ecx, eax
add esp, 4
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x406082
sub ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404b40
push 1
push 0x424800
lea ecx, [ebp - 0x2c]
call fcn.00404b40
push 5
call fcn.00402100
mov ecx, eax
add esp, 4
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x4060b3
sub ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404b40
push 1
push 0x424800
lea ecx, [ebp - 0x2c]
call fcn.00404b40
push 5
call fcn.00402100
mov ecx, eax
add esp, 4
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x4060e4
sub ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404b40
push 1
push 0x424800
lea ecx, [ebp - 0x2c]
call fcn.00404b40
push 5
call fcn.00402100
mov ecx, eax
add esp, 4
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x406115
sub ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404b40
push 1
push 0x4247fc
lea ecx, [ebp - 0x2c]
call fcn.00404b40
mov ecx, 0x5b
xor eax, eax
mov edi, edi
mov dl, byte [eax + 0x4247ec]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x3c], dl
jns 0x40615d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xd
jl 0x406140
mov eax, dword [ebp - 0x2c]
mov esi, 0x10
mov byte [ebp - 0x2f], bl
cmp dword [ebp - 0x18], esi
jae 0x406176
lea eax, [ebp - 0x2c]
mov ecx, dword [0x522354]
push 0x1f
push eax
push 1
push ebx
lea eax, [ebp - 0x3c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [0x522354]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], esi
jb 0x4061ab
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0040b6af
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040c604
mov esp, ebp
pop ebp
ret
Function at 0x407710
Capabilities:
Create process on windows
Delete file
Get disk information
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4233eb
mov eax, dword fs:[0]
push eax
sub esp, 0x618
mov eax, dword [0x42b740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.C:HWID.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 0xff
mov dword [ebp - 0x618], eax
mov dword [ebp - 0x61c], eax
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x40788b
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x620]
push edx
push 0
push 0
push 0x42436c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x40788b
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x40788b
lea edx, [ebp - 0x110]
push edx
call fcn.00401f30
mov esi, eax
lea eax, [ebp - 0x210]
push eax
call fcn.00401f30
mov ecx, dword [ebp - 0x620]
add eax, esi
lea eax, [eax + ecx + 0x1f3a7]
push eax
lea edx, [ebp - 0x5f8]
push 0x424b08
push edx
call fcn.0040caba
sub esp, 8
mov ecx, esp
lea eax, [ebp - 0x5f8]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov dword [ebp - 0x624], esp
mov byte [ecx], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407816
sub eax, esi
push eax
lea eax, [ebp - 0x5f8]
push eax
call fcn.00401600
lea ecx, [ebp - 0x614]
push ecx
call fcn.004091e0
add esp, 0x20
mov esi, 0x10
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], esi
jb 0x40784e
mov eax, dword [eax]
push eax
push str.Connection_Failure..._nTelah_terjadi_kesalahan___Mungkin_:_n___Server_down_n___Cheat_disuspend_n___Anda_belum_terdaftar._n___Durasi_Anda_telah_habis._n___Hubungi_Seller_Anda_untuk_info_lebih_lanjut___n___Terima_Kasih____n_n_nYour_HWID_:__s
call fcn.004069d0
add esp, 8
cmp dword [ebp - 0x600], esi
jb 0x407873
mov edx, dword [ebp - 0x614]
push edx
call fcn.0040b6af
add esp, 4
push 1
push 0
push 0
push str.C:HWID.txt
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040c604
mov esp, ebp
pop ebp
ret
Function at 0x4091e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423668
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x42b740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x80], eax
cmp dword [ebp + 0x20], 0x10
mov dword [ebp - 4], eax
mov byte [ebp - 0x7c], al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
jae 0x409245
lea eax, [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00408fa0
lea ecx, [ebp - 0x7c]
call fcn.00409050
push esi
lea ecx, [ebp - 0x7c]
call fcn.00409130
cmp dword [ebp + 0x20], 0x10
jb 0x409275
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040b6af
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040c604
mov esp, ebp
pop ebp
ret

Function at 0x40c604
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b740]
jne 0x40c60e
repz ret
jmp fcn.0041259c

Function at 0x417883
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4178aa
call fcn.0040f324
mov dword [eax], esi
call fcn.0040f311
push 0x16
pop esi
mov dword [eax], esi
call fcn.00412c08
mov eax, esi
jmp 0x4178ff
test dword [ebp + 0xc], 0xfffffff9
jne 0x417890
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4178d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040f337
pop ecx
call fcn.0040f311
mov eax, dword [eax]
jmp 0x4178ff
test al, 0x10
jne 0x4178fd
test al, 1
je 0x4178fd
test byte [ebp + 0xc], 2
je 0x4178fd
call fcn.0040f324
mov dword [eax], 5
call fcn.0040f311
mov dword [eax], 0xd
jmp 0x4178ce
xor eax, eax
pop esi
pop ebp
ret
Function at 0x417c0c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b740]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00411f52
and dword [ebp - 0x14], 0
cmp dword [0x523484], 0
mov dword [ebp - 0x18], eax
jne 0x417cbf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x417d67
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x417d67
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x523484], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x523488], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x52348c], eax
call edi
push eax
call esi
mov dword [0x523494], eax
test eax, eax
je 0x417cbf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x523490], eax
mov eax, dword [0x523490]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x417d18
cmp dword [0x523494], ecx
je 0x417d18
push eax
call esi
push dword [0x523494]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x417d18
test ebx, ebx
je 0x417d18
call edi
test eax, eax
je 0x417d0f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x417d0f
test byte [ebp - 8], 1
jne 0x417d18
or dword [ebp + 0x10], 0x200000
jmp 0x417d4b
mov eax, dword [0x523488]
cmp eax, dword [ebp - 0x18]
je 0x417d4b
push eax
call esi
test eax, eax
je 0x417d4b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x417d4b
mov eax, dword [0x52348c]
cmp eax, dword [ebp - 0x18]
je 0x417d4b
push eax
call esi
test eax, eax
je 0x417d4b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x523484]
call esi
test eax, eax
je 0x417d67
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x417d69
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c604
leave
ret
Function at 0x3660c31e
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x3663a578], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
jne 0x3660c362
call ebx
test eax, eax
jns 0x3660c358
push 0x3660195c
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x36601950
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x3663a574], eax
mov dword [0x3663a578], 1
mov eax, dword [0x3663a574]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x3660c37e
push dword [ebp + 0x10]
push eax
call esi
test eax, eax
mov dword [ebp - 4], eax
jne 0x3660c3ae
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x3660c3a4
call ebx
test eax, eax
mov eax, dword [ebp + 8]
jns 0x3660c398
push dword [eax + 8]
call dword [eax]
jmp 0x3660c39e
push dword [eax + 0xc]
call dword [eax + 4]
test eax, eax
je 0x3660c3ad
mov dword [edi], eax
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc

Function at 0x3660c596
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
lea ebp, [esp - 0x378]
sub esp, 0x3f8
mov eax, dword [0x3663a11c]
and dword [ebp - 0x78], 0
cmp dword [0x3663a024], 0xffffffff
mov dword [ebp + 0x374], eax
jne 0x3660c690
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push edi
mov edi, 0xf0000000
push edi
push 1
push 0x366019d4
push 0
lea eax, [ebp - 0x78]
push eax
call esi
test eax, eax
je 0x3660c5f0
mov dword [0x3663a024], 0x80
jmp 0x3660c67d
push edi
push 1
push 0x366019a8
push 0
lea eax, [ebp - 0x78]
push eax
mov dword [0x3663a024], 0x28
call esi
test eax, eax
je 0x3660c67d
and dword [ebp - 0x80], 0
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetProvParam]
mov edi, 0x3e8
push 1
jmp 0x3660c64c
mov eax, dword [ebp - 0x74]
and eax, 0xe000
cmp eax, 0x6000
jne 0x3660c642
push 0x38
pop eax
cmp dword [ebp - 0x70], eax
jae 0x3660c678
mov dword [0x3663a024], 0x28
inc dword [ebp - 0x80]
push 0
pop eax
sete al
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
push 1
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], edi
call esi
test eax, eax
jne 0x3660c621
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x103
je 0x3660c67d
and dword [0x3663a024], 0
jmp 0x3660c67d
mov dword [0x3663a024], eax
cmp dword [ebp - 0x78], 0
pop edi
pop esi
je 0x3660c690
push 0
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp + 0x374]
mov eax, dword [0x3663a024]
call fcn.3662acac
add ebp, 0x378
leave
ret
Function at 0x3660de46
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x3660de7e
push 0x8009001e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x3660deb7
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
cmp edi, 0xffffffff
je 0x3660deae
push esi
call ebx
push edi
push dword [ebp + 8]
or esi, 0xffffffff
call fcn.3660db45
test eax, eax
je 0x3660deb6
mov dword [ebp - 4], 1
cmp esi, 0xffffffff
je 0x3660deb6
push esi
call ebx
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 4
Function at 0x3660eb8d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x3663a11c]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
sub eax, ebx
push esi
push edi
mov dword [ebp - 0x354], ebx
je 0x3660ed41
dec eax
jne 0x3660edca
mov eax, dword [ebp + 8]
push 0x104
lea ecx, [ebp - 0x148]
push ecx
push eax
mov dword [0x3663a598], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x3660ece3
lea eax, [ebp - 0x148]
push eax
call fcn.3660de46
test eax, eax
je 0x3660ece3
push 0x36601b86
call fcn.3660c447
test eax, eax
je 0x3660ece3
call fcn.366108ab
mov eax, dword [0x3663a598]
xor edi, edi
cmp dword [0x366024e0], ebx
mov dword [0x3663a5a8], eax
mov dword [0x3663a598], ebx
mov dword [0x3663a594], 1
mov esi, 0x20000000
jbe 0x3660ec94
push dword [edi*4 + 0x3663a060]
call fcn.36617293
cmp eax, ebx
mov dword [ebp - 0x354], eax
je 0x3660ec83
push eax
lea eax, [ebp - 0x350]
push 0x36601fc0
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0xc
push 0x36602050
push 0x36601fe8
push 0x80000002
push esi
lea eax, [ebp - 0x350]
push eax
call fcn.36616d82
cmp eax, ebx
mov dword [0x3663a598], eax
jne 0x3660ecea
inc edi
cmp edi, dword [0x366024e0]
jb 0x3660ec32
cmp dword [0x3663a598], ebx
jne 0x3660ecea
lea eax, [ebp - 0x354]
push eax
push 0xffffffffffffffff
push 0x36601fa8
push 0x36601b38
push esi
mov esi, 0x36601f8c
push esi
call fcn.36617423
mov dword [0x3663a598], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x3663a598], ebx
jne 0x3660ecea
cmp eax, 0x424
je 0x3660ecd4
cmp eax, 0x647
jne 0x3660ece3
push esi
call fcn.3661ccc9
cmp eax, ebx
mov dword [0x3663a598], eax
jne 0x3660ecea
xor eax, eax
jmp 0x3660edcd
cmp dword [0x3663a5a0], ebx
jne 0x3660edca
push 0x10
xor eax, eax
cmp dword [ebp - 0x354], ebx
pop ecx
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
je 0x3660ed1f
push 0x40
lea eax, [ebp - 0x44]
push eax
push 0x1004
push dword [ebp - 0x354]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
cmp byte [ebp - 0x44], bl
je 0x3660ed39
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
mov dword [0x3663a5a0], eax
jmp 0x3660edca
call dword [sym.imp.KERNEL32.dll_GetACP]
jmp 0x3660ed2f
cmp dword [0x3663a594], ebx
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
je 0x3660ed57
push dword [0x3663a598]
call edi
call fcn.366108b7
call fcn.3661a2b7
cmp dword [0x3663a5ac], ebx
je 0x3660ed9f
mov esi, dword [0x3663a560]
jmp 0x3660ed7e
mov eax, esi
mov esi, dword [esi + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
cmp esi, ebx
jne 0x3660ed71
mov ecx, dword [0x3663a5a4]
cmp ecx, ebx
mov dword [0x3663a560], ebx
je 0x3660ed9f
mov eax, dword [ecx]
push 1
call dword [eax + 8]
mov dword [0x3663a5a4], ebx
mov eax, dword [0x3663a564]
cmp eax, ebx
je 0x3660edab
push eax
call edi
call fcn.3660eb68
call fcn.3660c877
call fcn.3661638c
mov ecx, dword [0x3663a59c]
cmp ecx, ebx
je 0x3660edca
mov eax, dword [ecx]
push 1
call dword [eax]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.3662acac
leave
ret 0xc
Function at 0x36617293
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
xor eax, eax
push 0x366024b0
push ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
call esi
test eax, eax
jne 0x366172c9
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 4], eax
jmp 0x366173fe
push 0x366024c0
push ebx
call esi
test eax, eax
jne 0x366172dd
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
jmp 0x366172c1
push 0x366024d0
push ebx
call esi
test eax, eax
jne 0x366172f5
mov dword [ebp - 4], 0x409
jmp 0x366173fe
push edi
mov edi, 0x36602484
push edi
push ebx
call esi
test eax, eax
lea eax, [ebp - 0xc]
push eax
jne 0x36617363
push 0x20019
xor ebx, ebx
push ebx
push 0x3660245c
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x366173fd
push 4
pop esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push edi
push dword [ebp - 0xc]
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x3661735b
cmp dword [ebp - 8], esi
je 0x366173fd
cmp dword [ebp - 8], 3
je 0x366173fd
mov dword [ebp - 4], ebx
jmp 0x366173fd
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, 0x20019
push ebx
push 0
push 0x366023e0
mov edi, 0x80000001
push edi
call esi
test eax, eax
jne 0x366173b7
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
mov dword [ebp - 0x10], 4
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x366173b3
cmp dword [ebp - 8], 4
je 0x366173fd
cmp dword [ebp - 8], 3
je 0x366173fd
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push 0x36602424
push edi
call esi
test eax, eax
jne 0x366173fd
push 4
pop esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x366173f9
cmp dword [ebp - 8], esi
je 0x366173fd
cmp dword [ebp - 8], 3
je 0x366173fd
and dword [ebp - 4], 0
pop edi
cmp dword [ebp - 0x14], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x3661740f
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0xc], 0
je 0x3661741a
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 4
Function at 0x3661b336
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 8]
push ebx
push esi
mov esi, dword [ecx]
push edi
xor edx, edx
push 3
pop ecx
div ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], edx
neg edx
sbb edx, edx
mov edi, eax
and edx, 4
lea ebx, [edx + edi*4]
call fcn.3661b211
cmp ebx, 0xffffffff
ja 0x3661b42f
mov ecx, dword [ebp + 8]
push ebx
call fcn.3661b9bc
test edi, edi
je 0x3661b3cf
movzx ecx, byte [esi]
shr ecx, 2
mov cl, byte [ecx + 0x366025b8]
mov byte [eax], cl
mov cl, byte [esi]
movzx edx, byte [esi + 1]
shr edx, 4
inc eax
add esi, 3
and ecx, 3
shl ecx, 4
or ecx, edx
mov cl, byte [ecx + 0x366025b8]
mov byte [eax], cl
mov cl, byte [esi - 2]
movzx edx, byte [esi - 1]
shr edx, 6
inc eax
and ecx, 0xf
shl ecx, 2
or ecx, edx
mov cl, byte [ecx + 0x366025b8]
mov byte [eax], cl
mov cl, byte [esi - 1]
inc eax
and ecx, 0x3f
mov cl, byte [ecx + 0x366025b8]
mov byte [eax], cl
inc eax
dec edi
jne 0x3661b376
cmp dword [ebp - 4], 0
je 0x3661b425
movzx ecx, byte [esi]
shr ecx, 2
mov cl, byte [ecx + 0x366025b8]
mov byte [eax], cl
mov cl, byte [esi]
inc eax
and ecx, 3
shl ecx, 4
cmp dword [ebp - 4], 1
jne 0x3661b400
mov cl, byte [ecx + 0x366025b8]
mov byte [eax], cl
inc eax
mov byte [eax], 0x3d
jmp 0x3661b421
movzx edx, byte [esi + 1]
shr edx, 4
or edx, ecx
mov cl, byte [edx + 0x366025b8]
mov byte [eax], cl
mov cl, byte [esi + 1]
inc eax
and ecx, 0xf
mov cl, byte [ecx*4 + 0x366025b8]
mov byte [eax], cl
mov byte [eax + 1], 0x3d
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
call fcn.3661b53b
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x3661bb23
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, 3
je 0x3661bb57
cmp byte [eax], 0
je 0x3661bb9b
lea eax, [eax + 1]
test eax, 3
je 0x3661bb57
cmp byte [eax], 0
je 0x3661bb9b
lea eax, [eax + 1]
test eax, 3
je 0x3661bb57
cmp byte [eax], 0
je 0x3661bb9b
lea eax, [eax + 1]
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x1010101
xor edx, ecx
and edx, 0x80808080
je 0x3661bb57
test cl, cl
lea eax, [eax - 4]
je 0x3661bb9b
test ecx, 0xff00
lea eax, [eax + 1]
je 0x3661bb9b
test ecx, 0xff0000
lea eax, [eax + 1]
je 0x3661bb9b
test ecx, 0xff000000
lea eax, [eax + 1]
je 0x3661bb9b
lea eax, [eax + 1]
jmp 0x3661bb57
sub eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x3661bba8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, 3
je 0x3661bbcf
cmp word [eax], 0
je 0x3661bbc8
lea eax, [eax + 2]
test eax, 3
je 0x3661bbcf
jmp 0x3661bbb6
sub eax, dword [ebp + 8]
shr eax, 1
jmp 0x3661bc0a
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x10001
xor edx, ecx
and edx, 0x80008000
je 0x3661bbcf
sub eax, dword [ebp + 8]
shr eax, 1
test cx, cx
lea eax, [eax - 2]
je 0x3661bc0a
test ecx, 0xffff0000
lea eax, [eax + 1]
je 0x3661bc0a
lea eax, [eax*2 + 2]
add eax, dword [ebp + 8]
jmp 0x3661bbcf
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret 4
Function at 0x3661cb80
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x3663a11c]
mov dword [ebp - 4], eax
call fcn.3661e8f7
test eax, eax
je 0x3661cba5
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x3661cbeb
push esi
lea eax, [ebp - 0x10c]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push 0x104
push eax
or esi, 0xffffffff
call fcn.3661e9ea
test eax, eax
je 0x3661cbd6
push dword [ebp - 0x10c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
push dword [ebp - 0x10c]
lea eax, [ebp - 0x108]
push eax
call fcn.3661ea08
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
call fcn.3662acac
leave
ret 4

Function at 0x36620c1e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov dx, word [eax]
and dword [ebp + 0xc], 0
push ebx
push esi
mov bl, 1
mov al, byte [ebp + 0xc]
and al, bl
neg al
mov cx, word [ebp + 0xc]
mov esi, dword [ebp + 0xc]
sbb eax, eax
shr cx, 1
and eax, edx
xor eax, ecx
mov cl, al
and cl, bl
neg cl
sbb ecx, ecx
shr ax, 1
and ecx, edx
xor ecx, eax
mov al, cl
and al, bl
neg al
sbb eax, eax
shr cx, 1
and eax, edx
xor eax, ecx
mov cl, al
and cl, bl
neg cl
sbb ecx, ecx
shr ax, 1
and ecx, edx
xor ecx, eax
mov al, cl
and al, bl
neg al
sbb eax, eax
shr cx, 1
and eax, edx
xor eax, ecx
mov cl, al
and cl, bl
neg cl
sbb ecx, ecx
shr ax, 1
and ecx, edx
xor ecx, eax
mov al, cl
and al, bl
neg al
sbb eax, eax
shr cx, 1
and eax, edx
xor eax, ecx
mov cl, al
and cl, bl
neg cl
sbb ecx, ecx
shr ax, 1
and ecx, edx
xor ecx, eax
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 0x100
mov eax, dword [ebp + 8]
mov word [eax + esi*2], cx
jl 0x36620c2f
pop esi
pop ebx
pop ebp
ret 8

Function at 0x36620ccc
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ax, word [edx]
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x36620d01
push ebx
push edi
movzx ebx, byte [ecx]
mov edi, eax
and edi, 0xff
xor edi, ebx
mov ebx, dword [esp + 0x10]
movzx ax, ah
xor ax, word [ebx + edi*2]
inc ecx
dec esi
jne 0x36620ce2
pop edi
pop ebx
mov word [edx], ax
pop esi
ret 0x10