joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007107
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x394]
sub esp, 0x414
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0x390], eax
push esi
lea eax, [ebp - 0x78]
push eax
push 0x20019
xor esi, esi
push esi
push 0x10024484
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10007207
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x7c], esi
push esi
jmp 0x100071e9
xor ecx, ecx
xor eax, eax
cmp dword [ebp - 0x74], esi
jbe 0x100071d7
cmp byte [ebp + eax - 0x70], 0x2e
jne 0x10007179
inc ecx
cmp ecx, 1
jg 0x10007184
inc eax
cmp eax, dword [ebp - 0x74]
jb 0x1000716c
cmp ecx, 1
jle 0x100071d7
push 0x100244b0
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
js 0x100071d7
lea eax, [ebp - 0x70]
push eax
call fcn.100086c1
pop ecx
test eax, eax
je 0x100071d7
mov eax, dword [ebp - 0x74]
inc eax
push eax
call fcn.1000e6cf
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0x74]
push 0x100244b8
inc ecx
push ecx
push eax
mov dword [ebp - 0x80], eax
call fcn.1000e6cf
add esp, 0x14
lea eax, [ebp - 0x80]
push eax
mov ecx, 0x1002c65c
call fcn.10007e7d
inc dword [ebp - 0x7c]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
mov dword [ebp - 0x74], 0x400
call edi
test eax, eax
je 0x10007163
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp + 0x390]
xor ecx, ebp
pop esi
call fcn.1000c2c7
add ebp, 0x394
leave
ret

Function at 0x100085b9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x100085c6
xor eax, eax
pop ebp
ret
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
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 dword [sym.imp.kernel32.dll_CreateProcessA]
pop ebp
ret
Function at 0x100086c1
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1794]
mov eax, 0x1814
call fcn.1000c370
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0x1790], eax
push ebx
push esi
mov esi, dword [ebp + 0x179c]
push edi
xor ebx, ebx
mov edi, 0x7ff
push edi
lea eax, [ebp - 0x6f]
push ebx
push eax
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x70], bl
call fcn.1000c3a0
push esi
push 0x1002502c
push 0x10025058
lea esi, [edi + 1]
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.1000e6cf
add esp, 0x20
lea eax, [ebp - 0x78]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x70]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000881f
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x790]
push eax
push ebx
push ebx
push 0x10025060
push dword [ebp - 0x78]
mov dword [ebp - 0x80], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x78]
mov dword [ebp - 0x74], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x74], ebx
jne 0x1000881f
push edi
lea eax, [ebp + 0xf91]
push ebx
push eax
mov byte [ebp + 0xf90], bl
call fcn.1000c3a0
push str.binjava.exe
lea eax, [ebp + 0x790]
push eax
push 0x1002507c
lea eax, [ebp + 0xf90]
push esi
push eax
call fcn.1000e6cf
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esp, 0x20
lea eax, [ebp + 0xf90]
push eax
call edi
test eax, eax
je 0x1000881f
push str.binclientjvm.dll
lea eax, [ebp + 0x790]
push eax
push 0x10025098
lea eax, [ebp + 0xf90]
push esi
push eax
call fcn.1000e6cf
add esp, 0x14
lea eax, [ebp + 0xf90]
push eax
call edi
mov dword [ebp - 0x74], eax
push str.bin_serverjvm.dll
lea eax, [ebp + 0x790]
push eax
push 0x100250b4
lea eax, [ebp + 0xf90]
push esi
push eax
call fcn.1000e6cf
add esp, 0x14
lea eax, [ebp + 0xf90]
push eax
call edi
cmp dword [ebp - 0x74], ebx
jne 0x10008818
cmp eax, ebx
je 0x1000881f
mov dword [ebp - 0x7c], 1
mov ecx, dword [ebp + 0x1790]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c2c7
add ebp, 0x1794
leave
ret
Function at 0x100088c4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0x788], eax
push ebx
mov ebx, dword [ebp + 0x798]
push esi
mov esi, dword [ebp + 0x79c]
push edi
mov edi, dword [ebp + 0x794]
push 0x3ff
lea eax, [ebp + 0x389]
push 0
push eax
mov byte [ebp + 0x388], 0
call fcn.1000c3a0
push edi
push str.SOFTWAREClassesCLSID_sInprocServer32
mov edi, 0x400
lea eax, [ebp + 0x388]
push edi
push eax
call fcn.1000e6cf
add esp, 0x1c
lea eax, [ebp - 0x7c]
push eax
push 0x20019
neg esi
push 0
lea eax, [ebp + 0x388]
sbb esi, esi
push eax
add esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000895c
xor ecx, ecx
cmp eax, 2
sete cl
mov eax, ecx
jmp 0x1000899e
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x100247fa
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push dword [ebp - 0x7c]
test eax, eax
je 0x10008986
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1000899e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x78]
push eax
push ebx
call fcn.1000e6cf
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
mov ecx, dword [ebp + 0x788]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c2c7
add ebp, 0x78c
leave
ret

Function at 0x10008b93
Capabilities:
Query environment variable

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
je 0x10008bb4
push dword [esp + 0xc]
push dword [esp + 0xc]
push str.USER_JPI_PROFILE
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x10008bb4
inc esi
mov eax, esi
pop esi
ret
Function at 0x10008e86
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x3c0]
sub esp, 0x440
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0x3bc], eax
mov eax, dword [ebp + 0x3c8]
push esi
push edi
xor edi, edi
mov esi, 0x20019
push esi
push 0x10024f38
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x58], edi
call fcn.1000e6cf
test eax, eax
je 0x10008f2d
lea ecx, [ebp - 0x70]
call fcn.1000133f
lea ecx, [ebp - 0x54]
call fcn.1000133f
lea ecx, [ebp - 0x7c]
call fcn.1000133f
lea ecx, [ebp - 0x64]
call fcn.1000133f
xor eax, eax
mov ecx, dword [ebp + 0x3bc]
pop edi
xor ecx, ebp
pop esi
call fcn.1000c2c7
add ebp, 0x3c0
leave
ret
push esi
push 0x10024f44
push dword [ebp - 0x64]
lea ecx, [ebp - 0x7c]
call fcn.1000e6cf
test eax, eax
jne 0x10008ef4
push esi
push 0x10024f50
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x54]
call fcn.1000e6cf
test eax, eax
je 0x10008f7b
lea ecx, [ebp - 0x70]
call fcn.1000133f
lea ecx, [ebp - 0x54]
call fcn.1000133f
lea ecx, [ebp - 0x7c]
call fcn.1000133f
lea ecx, [ebp - 0x64]
call fcn.1000133f
mov eax, edi
jmp 0x10008f16
push ebx
mov esi, 0x400
push esi
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.1000c3a0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
add esp, 0xc
push esi
lea eax, [ebp - 0x44]
push eax
push edi
jmp 0x10008fc8
push dword [ebp - 0x80]
inc dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push eax
call fcn.1000e6cf
pop ecx
test eax, eax
pop ecx
lea eax, [ebp - 0x44]
je 0x10008fd3
push esi
push edi
push eax
call fcn.1000c3a0
add esp, 0xc
push esi
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x54]
call ebx
test eax, eax
je 0x10008f9d
jmp 0x1000900a
push 0x20019
push eax
push dword [ebp - 0x54]
lea ecx, [ebp - 0x70]
call fcn.1000e6cf
test eax, eax
jne 0x1000900a
lea eax, [ebp - 0x48]
push eax
push str.UseNewJavaPlugin
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x48], edi
call fcn.1000e6cf
test eax, eax
jne 0x1000900a
cmp dword [ebp - 0x48], 1
sete al
mov dword [ebp - 0x58], eax
mov edi, dword [ebp - 0x58]
pop ebx
jmp 0x10008f57
Function at 0x100095fd
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x1002253e
call fcn.1000cca3
mov esi, dword [ebp + 0x214]
xor ebx, ebx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x1a
push ebx
mov byte [esi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
cmp edi, ebx
jge 0x10009657
push edi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.1000bb01
pop ecx
pop ecx
push ebx
push edi
call fcn.1000e6cf
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10007afa
mov ecx, dword [eax]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x10009674
call fcn.100079eb
jmp 0x10009676
xor eax, eax
push 0x104
push eax
push dword [ebp + 0x218]
push esi
call fcn.1000e6cf
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp ecx, ebx
je 0x100096c1
call fcn.10007c8c
jmp 0x100096c1
xor eax, eax
cmp edi, ebx
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1000c2c7
add ebp, 0x20c
leave
ret

Function at 0x100096eb
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x1002256e
call fcn.1000cca3
mov esi, dword [ebp + 0x214]
xor ebx, ebx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x23
push ebx
mov byte [esi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
cmp edi, ebx
jge 0x10009745
push edi
push str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.1000bb01
pop ecx
pop ecx
push ebx
push edi
call fcn.1000e6cf
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10007afa
mov ecx, dword [eax]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x10009762
call fcn.100079eb
jmp 0x10009764
xor eax, eax
push 0x104
push eax
push dword [ebp + 0x218]
push esi
call fcn.1000e6cf
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp ecx, ebx
je 0x100097af
call fcn.10007c8c
jmp 0x100097af
xor eax, eax
cmp edi, ebx
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1000c2c7
add ebp, 0x20c
leave
ret
Function at 0x10009e9e
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x100225ce
call fcn.1000cca3
mov esi, dword [ebp + 8]
xor eax, eax
xor edi, edi
xor ebx, ebx
mov word [esi], ax
mov dword [ebp - 4], edi
call fcn.1000e6cf
test eax, eax
je 0x10009ec9
call fcn.10009e8f
mov ebx, eax
push 0x104
push esi
push ebx
push edi
push 0x10023938
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
cmp esi, edi
jge 0x10009f24
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.1000bb01
pop ecx
pop ecx
push edi
push esi
call fcn.1000e6cf
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x14], esi
call fcn.1000a299
push eax
push esi
push 0x100249ec
call fcn.1000bb01
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov eax, 0x10009f1d
ret
cmp ebx, edi
je 0x10009f2f
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x10009fe0
push dword [ebp + 8]
mov dword [ebp - 4], 2
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x10009f8c
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x10009ee8
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x10009fe0
push 1
push 0x1a
push dword [ebp + 8]
mov dword [ebp - 4], 4
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x10009fe0
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x10009ee8
mov eax, esi
call fcn.1000cd0f
ret
Function at 0x1000a7a8
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf98]
mov eax, 0x1018
call fcn.1000c370
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0xf94], eax
mov eax, dword [ebp + 0xfa4]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xfa0]
xor ebx, ebx
mov esi, 0x7ff
push esi
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x795]
push ebx
push eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x7c], 1
mov byte [ebp + 0x794], bl
call fcn.1000c3a0
push esi
lea eax, [ebp - 0x6b]
push ebx
push eax
mov byte [ebp - 0x6c], bl
call fcn.1000c3a0
push edi
call fcn.1000ecb7
add esp, 0x1c
cmp eax, ebx
je 0x1000a838
push eax
push dword [ebp + 0xfa8]
push dword [ebp - 0x78]
call fcn.1000e6cf
add esp, 0xc
neg eax
sbb eax, eax
inc eax
jmp 0x1000a99a
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x70]
push eax
push 0x20019
push ebx
push dword [0x1002b174]
push SysReAllocString
call edi
test eax, eax
je 0x1000a860
xor eax, eax
jmp 0x1000a99a
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 0xfa8]
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x7c]
push eax
push ebx
push dword [ebp - 0x80]
push dword [ebp - 0x70]
call esi
test eax, eax
je 0x1000a891
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1000a99a
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x794]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push 0x10025608
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x800
call esi
test eax, eax
je 0x1000a8bb
xor ebx, ebx
inc ebx
jmp 0x1000a881
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x70]
push eax
push 0x20019
push ebx
push str.SOFTWAREOracleJavaDeploy
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x1000a8b6
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push str.deployment.modified.timestamp
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x800
call esi
test eax, eax
jne 0x1000a8b6
lea eax, [ebp + 0x794]
push eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x74], 0x800
call fcn.1000e6cf
pop ecx
pop ecx
test eax, eax
js 0x1000a997
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x7c]
push eax
push ebx
push dword [ebp - 0x80]
push dword [ebp - 0x70]
call esi
test eax, eax
jne 0x1000a8b6
push dword [ebp - 0x70]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
call fcn.1000e6cf
test eax, eax
jne 0x1000a997
lea eax, [ebp - 0x70]
push eax
push 0x20006
push ebx
push dword [0x1002b174]
push SysReAllocString
call edi
test eax, eax
jne 0x1000a859
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push 1
push ebx
push dword [ebp - 0x80]
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1000a881
push dword [ebp - 0x70]
call esi
push dword [ebp - 0x78]
push dword [ebp - 0x80]
call fcn.1000e6cf
pop ecx
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp + 0xf94]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c2c7
add ebp, 0xf98
leave
ret
Function at 0x1000c2c7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1002b19c]
jne 0x1000c2d1
repz ret
jmp fcn.10011efc

Function at 0x1000e6cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1000e6de
pop dword [ebp - 0x14]
mov eax, 0x3903e245
add eax, 0xd6fd0499
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x3be39
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x4017
mov esi, eax
mov edi, 0x69c6bae9
sub edi, 0x59c392e9
add edi, dword [ebp - 0x14]
mov ebx, 0x4199a244
sub dword [ebp - 8], ecx
mov edx, dword [edi]
sub dword [ebp - 0xc], 0x988c18ae
sub edx, ebx
xor dword [ebp - 4], 0xa30fa512
mov dword [esi], edx
add esi, 0xb510c328
add esi, 0x4aef3cdc
add edi, 4
loop 0x1000e72c
add eax, 0x1268b34
sub eax, 0x1259805
xor ebx, ebx
add ebx, eax
add eax, 0x594c88ce
add eax, 0xa6b37737
mov ecx, 0x2e939715
add ecx, 0xe16c68eb
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x4192f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, 6
lodsd eax, dword [esi]
bswap eax
ror eax, 0xd
mov edx, eax
not edx
lodsd eax, dword [esi]
rol eax, 0xb
bswap eax
xor eax, edx
stosd dword es:[edi], eax
lodsd eax, dword [esi]
rol eax, 9
bswap eax
mov edx, eax
not edx
stosd dword es:[edi], eax
lodsd eax, dword [esi]
rol eax, 7
bswap eax
xor eax, edx
mov edx, eax
not edx
stosd dword es:[edi], eax
rol eax, 5
xor eax, edx
stosd dword es:[edi], eax
lea esi, [edi - 0x10]
dec ebx
test ebx, ebx
jne 0x419305
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x419348
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, 0xfffefdfc
mov ecx, 0x40
mov ebx, dword [ebp + 0x10]
mov dword [ebx + ecx*4 - 4], eax
sub eax, 0x4040404
dec ecx
jne 0x41935b
mov edi, dword [ebp + 0xc]
mov esi, 0x40
xor ebx, ebx
push ebp
mov ebp, dword [ebp + 0x10]
mov eax, ecx
xor edx, edx
div esi
mov al, cl
mov dl, byte [edi + edx]
add dl, byte [ebp + eax]
add dl, bl
mov bl, byte [ebp + edx]
mov dl, byte [ebp + ebx]
xchg byte [ebp + eax], dl
mov byte [ebp + ebx], dl
inc ecx
cmp ecx, 0x300
jne 0x419375
pop ebp
xor ecx, ecx
mov edi, dword [ebp + 8]
mov esi, 0x20
push ebp
mov ebp, dword [ebp + 0x10]
mov eax, ecx
xor edx, edx
div esi
mov al, cl
mov dl, byte [edi + edx]
add dl, byte [ebp + eax]
add dl, bl
mov bl, byte [ebp + edx]
mov dl, byte [ebp + ebx]
xchg byte [ebp + eax], dl
mov byte [ebp + ebx], dl
inc ecx
cmp ecx, 0x300
jne 0x4193ae
pop ebp
xor ecx, ecx
mov edi, dword [ebp + 0xc]
mov esi, 0x40
push ebp
mov ebp, dword [ebp + 0x10]
mov eax, ecx
xor edx, edx
div esi
mov al, cl
mov dl, byte [edi + edx]
add dl, byte [ebp + eax]
add dl, bl
mov bl, byte [ebp + edx]
mov dl, byte [ebp + ebx]
xchg byte [ebp + eax], dl
mov byte [ebp + ebx], dl
inc ecx
cmp ecx, 0x300
jne 0x4193e7
pop ebp
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x41941c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor eax, eax
mov ebx, dword [ebp + 0x14]
xor ecx, ecx
xor edx, edx
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test esi, esi
je 0x419468
push ebp
mov ebp, dword [ebp + 0x10]
mov dl, byte [ebp + ecx]
add dl, bl
mov bl, byte [ebp + edx]
mov dl, byte [ebp + ebx]
mov dl, byte [ebp + edx]
inc dl
mov al, byte [ebp + edx]
xor byte [edi], al
mov dl, byte [ebp + ebx]
xchg byte [ebp + ecx], dl
mov byte [ebp + ebx], dl
inc cl
inc edi
dec esi
test esi, esi
jne 0x419439
pop ebp
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x430004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x14311d51
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x701b2346
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x403160
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
xor esi, esi
cmp dword [0x890080], 0x594
mov dword [ebp - 0xc], eax
jne 0x403195
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov ecx, dword [0x470ef8]
mov edx, dword [0x470efc]
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], edx
call fcn.00403150
mov ebx, dword [ebp - 8]
mov eax, dword [0x470f00]
mov ecx, dword [0x470f04]
add ebx, 0x23f
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], 0x20
jmp 0x4031e2
xor esi, esi
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov ecx, dword [0x890080]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x403244
push esi
lea edx, [ebp - 0x42c]
push edx
push 0x4025c0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
xor eax, eax
xor ecx, ecx
mov word [ebp - 0x14], ax
mov word [ebp - 0x12], cx
mov edx, dword [ebp - 0x14]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov eax, dword [ebp - 4]
mov ecx, dword [0x890080]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x40325e
mov dword [0x88f61c], 0xedeb2e40
jmp 0x40326c
cmp ecx, 0x3eb
jne 0x40326c
mov dword [0x88efd0], esi
mov ecx, dword [ebp - 8]
mov edx, edi
shr edx, cl
lea eax, [ebx + edi]
mov dword [ebp - 0x10], eax
mov dword [0x88f618], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0x890080], 0xc
jne 0x4032bf
lea ecx, [ebp - 0x10]
push ecx
push esi
push esi
lea edx, [ebp - 0x2c]
push edx
push esi
push esi
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_BackupRead]
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 4]
lea esi, [ebx + edx]
add ebx, 0x61c88647
add eax, dword [ebp - 0x20]
xor eax, esi
xor ecx, eax
sub edi, ecx
sub dword [ebp - 0x18], 1
mov dword [ebp - 4], ecx
jne 0x4031e0
cmp dword [0x890080], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
pop ebx
jne 0x403327
push 0
push 0x4025f4
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
mov dword [esi + 4], edx
pop esi
mov esp, ebp
pop ebp
ret 4