joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421e2d
Capabilities:
Check mutex on windows

Disassembly:
push 0x1c
mov eax, 0x626557
call fcn.00510562
mov esi, ecx
lea ecx, [ebp - 0x28]
call fcn.00425cec
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00425d05
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0xc
call fcn.00425d01
push dword [ebp + 8]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
lea ecx, [ebp - 0x28]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
call fcn.00425cfc
call fcn.0051052b
ret 4

Function at 0x421f17
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push edi
push str.kernel32.dll
mov esi, ecx
call ebx
mov dword [esi], eax
test eax, eax
je 0x421f98
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push eax
call edi
push str.IsWow64Process
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.Wow64RevertWow64FsRedirection
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call ebx
mov dword [esi + 4], eax
test eax, eax
je 0x421f98
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push eax
call edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
jmp 0x421f9a
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x421ff7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x6ba4f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], edi
mov edi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x21c], esi
call fcn.005291a0
add esp, 0xc
mov ebx, 0x20019
lea eax, [ebp - 0x210]
push eax
push ebx
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x4220c2
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x104
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0x218]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x4220b6
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push dword [ebp - 0x218]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 2
jne 0x4220e7
cmp edi, reloc.OLEAUT32.dll_SysReAllocString
jne 0x4220e7
cmp ebx, 0x20019
jne 0x4220e7
mov esi, dword [ebp - 0x21c]
mov ebx, 0x20119
jmp 0x42204c
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x20c]
push eax
call fcn.00402b40
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x220]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0050fa22
leave
ret
Function at 0x422a25
Capabilities:
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa38
mov eax, dword [0x6ba4f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x6a4324
mov dword [ebp - 0xa38], eax
call fcn.00402a00
push 0x20a
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005291a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x105
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x422ac9
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edi, eax
test edi, edi
je 0x422ac9
xor ecx, ecx
lea esi, [edi + 1]
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005100b0
mov ebx, eax
xor eax, eax
push esi
push eax
push ebx
call fcn.005291a0
add esp, 0x10
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x422ada
push ebx
call fcn.0050fa33
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050fa22
leave
ret
mov eax, dword [0x6a540c]
mov dword [ebp - 0xc], eax
mov ax, word [0x6a5410]
push 0x208
mov word [ebp - 8], ax
call fcn.005100b0
mov edi, eax
mov dword [ebp - 0xa34], ebx
movzx eax, word [ebx]
pop ecx
push 0x104
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x422b4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x422bee
push edi
call fcn.0050fa33
push 2
call fcn.005100b0
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 0xc]
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x422bee
mov esi, edi
xor edx, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x422b56
sub esi, ecx
lea eax, [ebp - 0x218]
sar esi, 1
push esi
push edi
push eax
call fcn.0052e86c
add esp, 0xc
test eax, eax
je 0x422b9e
mov esi, dword [ebp - 0xa34]
movzx eax, word [esi]
add esi, 2
test ax, ax
jne 0x422b80
movzx eax, word [esi]
mov dword [ebp - 0xa34], esi
test ax, ax
je 0x422bee
jmp 0x422b02
lea eax, [ebp - 0x218]
lea eax, [eax + esi*2]
push eax
lea eax, [ebp - 0xc]
push eax
push str._s_s
lea eax, [ebp - 0xa18]
push 0x400
push eax
call fcn.00401570
add esp, 0x14
lea eax, [ebp - 0xa18]
lea ecx, [ebp - 0xa30]
push eax
call fcn.00402b40
mov ecx, dword [ebp - 0xa38]
push eax
call fcn.00402ac0
lea ecx, [ebp - 0xa30]
call fcn.00402a60
push ebx
call fcn.0050fa33
push edi
call fcn.0050fa33
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x422acb
Function at 0x422c04
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1218
call fcn.005109c0
mov eax, dword [0x6ba4f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, 0x1000
mov dword [ebp - 0x1218], eax
push esi
lea eax, [ebp - 0x1210]
push 0
push eax
call fcn.005291a0
and dword [ebp - 0x1214], 0
add esp, 0xc
xor eax, eax
xor ebx, ebx
mov word [ebp - 8], ax
lea eax, [ebp - 0x1214]
push eax
push esi
lea eax, [ebp - 0x1210]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x422cdf
push edi
mov edi, dword [ebp - 0x1214]
xor esi, esi
shr edi, 2
test edi, edi
je 0x422cde
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.005291a0
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [ebp + esi*4 - 0x1210]
call fcn.00422fe5
add esp, 0x18
test eax, eax
je 0x422cd0
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.0053d789
push dword [ebp - 0x1218]
lea eax, [ebp - 0x210]
push eax
call fcn.0052747c
add esp, 0x10
test eax, eax
jne 0x422cd7
inc esi
cmp esi, edi
jb 0x422c74
jmp 0x422cde
mov ebx, dword [ebp + esi*4 - 0x1210]
pop edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.0050fa22
leave
ret

Function at 0x422e78
Capabilities:
Terminate process

Disassembly:
push 0x20
mov eax, 0x625a64
call fcn.00510596
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
push eax
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x422f03
cmp esi, 0xffffffff
je 0x422f03
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
and dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00422a25
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push edi
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00422cef
add esp, 0x10
lea ecx, [ebp - 0x28]
mov bl, al
call fcn.00402a60
test bl, bl
je 0x422f03
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x422f03
cmp byte [ebp + 0x14], 0
je 0x422f03
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp - 0x2c], 0
test esi, esi
je 0x422f21
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x422f21
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
call fcn.00510540
ret
Function at 0x422f29
Capabilities:
Check if file exists
Enumerate processes
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x6ba4f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422fd4
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x422fd4
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x422fd4
push edi
xor edi, edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push ebx
push eax
push dword [ebp - 0x228]
call fcn.00422e78
add esp, 0x10
test al, al
je 0x422f9c
inc edi
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x422f7e
test edi, edi
jle 0x422fcf
push str.Shell_TrayWnd
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, dword [sym.imp.USER32.dll_UpdateWindow]
push eax
call esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call esi
mov eax, edi
pop edi
jmp 0x422fd7
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0050fa22
leave
ret

Function at 0x422fe5
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test esi, esi
je 0x423012
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop esi
pop ebp
ret
Function at 0x42332d
Capabilities:
Get common file path
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3100
call fcn.005109c0
mov eax, dword [0x6ba4f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x3100], edi
call fcn.005291a0
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.005291a0
add esp, 0x18
lea eax, [ebp - 0x108]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movsx eax, byte [ebp - 0x108]
push eax
push str.._c:
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004190fa
add esp, 0x10
lea eax, [ebp - 0x20c]
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4233c3
mov al, 1
jmp 0x4234cc
push 0x2710
lea eax, [ebp - 0x30ec]
mov dword [ebp - 0x30fc], ebx
push ebx
push eax
call fcn.005291a0
push 0x3e8
lea eax, [ebp - 0x9dc]
push ebx
push eax
call fcn.005291a0
push 0x3e8
lea eax, [ebp - 0x5f4]
push ebx
push eax
call fcn.005291a0
add esp, 0x24
mov dword [ebp - 0x30f0], ebx
lea eax, [ebp - 0x30fc]
mov dword [ebp - 0x30f8], ebx
mov dword [ebp - 0x30f4], ebx
push ebx
push eax
push 0x2710
lea eax, [ebp - 0x30ec]
push eax
push 0xc
lea eax, [ebp - 0x30f8]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x423445
mov bl, 2
jmp 0x4234c3
lea eax, [ebp - 0x5f4]
push eax
push ebx
push dword [ebp - 0x30dc]
lea eax, [ebp - 0x30ec]
push eax
call fcn.004234db
lea eax, [ebp - 0x9dc]
push eax
push 1
push dword [ebp - 0x30d4]
lea eax, [ebp - 0x30ec]
push eax
call fcn.004234db
lea ecx, [ebp - 0x5f4]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423486
sub ecx, edx
lea eax, [ebp - 0x5f4]
push ecx
push eax
mov ecx, edi
call fcn.0041e560
lea edx, [ebp - 0x9dc]
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4234a7
mov ecx, dword [ebp - 0x3100]
lea eax, [ebp - 0x9dc]
sub edx, edi
push edx
push eax
call fcn.0041e560
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050fa22
leave
ret
Function at 0x42498f
Capabilities:
Check if file exists

Disassembly:
push 0x68
mov eax, 0x626961
call fcn.00510596
mov esi, ecx
cmp dword [esi + 0x10], 0
ja 0x424a14
lea eax, [ebp - 0x28]
push str.APPDATA_HTTP_CACHE_FOLDER
push eax
call fcn.00416db0
pop ecx
pop ecx
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x58]
push eax
call fcn.00406370
mov ecx, eax
call fcn.00413fc6
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 1
jb 0x4249d5
mov edi, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x4249dd
mov eax, dword [eax]
push edi
push eax
lea eax, [ebp - 0x40]
push 0x62cd6c
push eax
call fcn.0041e902
add esp, 0x10
mov ecx, esi
push eax
call fcn.00402ac0
lea ecx, [ebp - 0x40]
call fcn.00402a60
lea ecx, [ebp - 0x58]
call fcn.00402a60
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402a60
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x424a1e
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x424a3a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x424a33
mov eax, dword [esi]
push eax
call fcn.0041f54c
pop ecx
cmp dword [esi + 0x28], 0
ja 0x424a71
push 0
sub esp, 0x18
mov eax, esp
push str.RESPONES_DW_CBC_KEY
push eax
call fcn.00416d0e
pop ecx
pop ecx
lea eax, [ebp - 0x28]
push eax
call fcn.0041f20c
add esp, 0x20
lea ecx, [esi + 0x18]
push eax
call fcn.004067a0
lea ecx, [ebp - 0x28]
call fcn.00406750
cmp dword [esi + 0x40], 0
ja 0x424aa8
push 0
sub esp, 0x18
mov eax, esp
push str.RESPONES_DW_CBC_CHAIN
push eax
call fcn.00416d0e
pop ecx
pop ecx
lea eax, [ebp - 0x70]
push eax
call fcn.0041f20c
add esp, 0x20
lea ecx, [esi + 0x30]
push eax
call fcn.004067a0
lea ecx, [ebp - 0x70]
call fcn.00406750
call fcn.00510540
ret
Function at 0x425374
Capabilities:
Check if file exists

Disassembly:
push 0x34
mov eax, 0x626b43
call fcn.00510596
push 0x67
push 0x6f
push 0x6c
push 0x74
pop eax
push eax
push 0x6e
push 0x65
push eax
push 0x6e
push 0x6f
push 0x43
push 0x70
push eax
push eax
push 0x48
push 0x77
push 0x6f
push 0x68
push 0x53
lea eax, [ebp - 0x40]
push str._c_c_c_c_c_c_c_c_c_c_c_c_c_c_c._c_c_c
push eax
call fcn.0041e902
add esp, 0x50
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x62d21c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004065a0
push 0x62d220
lea ecx, [ebp - 0x28]
call fcn.004065a0
push 0x6a576c
lea ecx, [ebp - 0x28]
call fcn.004065a0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.00408ae0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea ecx, [ebp - 0x28]
setne bl
call fcn.00402a60
lea ecx, [ebp - 0x40]
call fcn.00402a60
mov al, bl
call fcn.00510540
ret

Function at 0x425485
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x6ba4f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x118
xor ebx, ebx
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.005291a0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.0042543a
mov eax, dword [ebp - 0x11c]
add esp, 0xc
cmp eax, 5
jne 0x425504
cmp dword [ebp - 0x118], ebx
jbe 0x42554a
cmp dword [ebp - 0x118], 1
setne bl
inc ebx
jmp 0x42554a
cmp eax, 6
jne 0x42552f
cmp byte [ebp - 6], 1
jne 0x42552a
mov eax, dword [ebp - 0x118]
sub eax, ebx
je 0x425526
sub eax, 1
je 0x425522
push 7
jmp 0x42552c
push 5
jmp 0x42552c
push 3
jmp 0x42552c
push 4
pop ebx
jmp 0x42554a
push 0xa
pop ecx
cmp eax, ecx
jne 0x425547
cmp dword [ebp - 0x114], 0x55f0
sbb ebx, ebx
add ebx, 9
jmp 0x42554a
cmova ebx, ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0050fa22
leave
ret
Function at 0x425929
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x868
mov eax, 0x626b7e
call fcn.00510596
mov esi, ecx
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x828]
mov edx, dword [ebp + 0x18]
test edx, edx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x870], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x86c], edi
mov dword [ebp - 0x86c], eax
mov eax, 0x6a4324
cmovne eax, edx
push eax
call fcn.00402b40
xor ecx, ecx
add esi, 4
mov dword [ebp - 4], ecx
mov dword [ebp - 0x85c], ecx
mov dword [ebp - 0x868], ecx
mov dword [ebp - 0x864], ecx
mov dword [ebp - 0x860], ecx
cmp dword [esi + 0x10], ecx
ja 0x4259b8
lea eax, [ebp - 0x858]
push eax
call fcn.0042285c
pop ecx
push eax
mov ecx, esi
call fcn.00402ac0
lea ecx, [ebp - 0x858]
call fcn.00402a60
xor ecx, ecx
cmp dword [esi + 0x14], 8
jb 0x4259c0
mov esi, dword [esi]
lea eax, [ebp - 0x85c]
push eax
push 0x20119
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.WS2_32.dll_closesocket
call esi
test eax, eax
je 0x425a00
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x828]
cmovae ecx, dword [ebp - 0x828]
push ecx
mov ecx, edi
call fcn.00402b40
jmp 0x425b87
lea eax, [ebp - 0x868]
push eax
push 0x20119
push 0
push 0x62dd28
push dword [ebp - 0x85c]
call esi
test eax, eax
je 0x425a42
push dword [ebp - 0x85c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
jmp 0x4259f4
lea eax, [ebp - 0x864]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x868]
call esi
test eax, eax
je 0x425a75
push dword [ebp - 0x868]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x85c]
call esi
jmp 0x425a2b
lea eax, [ebp - 0x860]
xor ebx, ebx
push eax
push 0x20119
push ebx
push dword [ebp - 0x870]
push dword [ebp - 0x864]
call esi
test eax, eax
je 0x425aac
push dword [ebp - 0x860]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x864]
jmp 0x425a69
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.005291a0
add esp, 0xc
mov dword [ebp - 0x874], 0x400
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x86c]
push dword [ebp - 0x860]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x860]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x864]
call esi
push dword [ebp - 0x868]
call esi
push dword [ebp - 0x85c]
call esi
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x425b1c
sub ecx, edx
sar ecx, 1
je 0x425a2b
xor eax, eax
mov dword [ebp - 0x830], ebx
mov word [ebp - 0x840], ax
lea ecx, [ebp - 0x840]
lea eax, [ebp - 0x810]
mov dword [ebp - 0x82c], 7
push eax
call fcn.00402a00
cmp dword [ebp - 0x82c], 8
lea eax, [ebp - 0x840]
mov ecx, edi
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x840]
push eax
call fcn.00402b40
lea ecx, [ebp - 0x840]
call fcn.00402a60
lea ecx, [ebp - 0x828]
call fcn.00402a60
mov eax, edi
call fcn.00510540
ret 0x14
Function at 0x425b9c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x6ba4f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
cmp dword [esi + 0x14], ebx
ja 0x425bf4
lea eax, [ebp - 0x1c]
push eax
call fcn.0042285c
pop ecx
lea ecx, [esi + 4]
push eax
call fcn.00402ac0
lea ecx, [ebp - 0x1c]
call fcn.00402a60
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x425bff
mov eax, dword [eax]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x20]
push ecx
push 0xf013f
push ebx
push eax
push reloc.WS2_32.dll_closesocket
call esi
test eax, eax
je 0x425c22
xor al, al
jmp 0x425cdb
lea eax, [ebp - 0x24]
push eax
push 0xf013f
push ebx
push 0x62dd28
push dword [ebp - 0x20]
call esi
test eax, eax
je 0x425c45
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x425c1b
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x2c]
push ebx
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x24]
call esi
test eax, eax
je 0x425c77
push dword [ebp - 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x20]
call esi
jmp 0x425c1b
push ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x425cca
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x425c9c
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push 1
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x28]
call esi
mov bl, 1
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x20]
call esi
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050fa22
leave
ret 0x10
Function at 0x429029
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
cmp byte [edx + 4], 0
je 0x429059
push esi
xor esi, esi
cmp dword [edx + 0x3cc], esi
jle 0x429058
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub edi, ecx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc ecx
inc esi
cmp esi, dword [edx + 0x3cc]
jl 0x429048
pop edi
pop esi
pop ebp
ret 8

Function at 0x429247
Capabilities:
Encode data using base64

Disassembly:
push 0x10
mov eax, 0x626c5c
call fcn.00510562
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebp + 8]
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0xf
mov byte [edi], bl
mov eax, dword [ebp + 0x10]
mov edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x4293ce
push 3
pop esi
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
mov byte [ebp + edi - 0x14], al
inc edi
mov dl, byte [ebp - 0x13]
inc ecx
mov dword [ebp + 0xc], ecx
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp edi, esi
jne 0x429317
mov esi, dword [ebp + 8]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
cmp dword [0x6ba128], 0x10
mov ecx, 0x6ba114
movzx eax, byte [ebp + edi - 0x18]
cmovae ecx, dword [0x6ba114]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.00408b50
inc edi
cmp edi, 4
jl 0x4292df
mov dl, byte [ebp - 0xd]
mov edi, ebx
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
push 3
pop esi
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x429281
mov dword [ebp + 0x10], edi
test edi, edi
je 0x4293ce
mov eax, edi
cmp edi, esi
jge 0x42934d
cmp eax, esi
jae 0x4293d7
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, esi
jl 0x429335
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [edi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x4293b9
mov esi, dword [ebp + 8]
mov edi, eax
cmp dword [0x6ba128], 0x10
mov ecx, 0x6ba114
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x6ba114]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.00408b50
inc ebx
cmp ebx, edi
jl 0x42938a
mov edi, dword [ebp + 0x10]
push 3
pop esi
cmp edi, esi
jge 0x4293ce
sub esi, edi
mov ecx, dword [ebp + 8]
push 0x3d
call fcn.00408b50
sub esi, 1
jne 0x4293bf
mov eax, dword [ebp + 8]
call fcn.0051052b
ret
call fcn.005101fd
int3