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

Disassembly:
push 0xf4
mov eax, 0x643d3f
call fcn.0063ea16
mov dword [ebp - 0x68], ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 2
pop ecx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], esi
call fcn.00489118
mov ebx, dword [ebp + 0x10]
test al, al
je 0x46af43
push ecx
lea ecx, [ebp - 0x100]
call fcn.0044ffbd
and dword [ebp - 4], 0
lea ecx, [ebp - 0x100]
mov edx, str.file_handle:
call fcn.00450e00
push edi
mov ecx, eax
call fcn.0046b070
mov edx, str.begin:
mov ecx, eax
call fcn.00450e00
push esi
mov ecx, eax
call fcn.00455a05
mov edx, str.end:
mov ecx, eax
call fcn.00450e00
push ebx
mov ecx, eax
call fcn.00455a05
lea eax, [ebp - 0x40]
mov ecx, 0x6d6930
push eax
call fcn.0045ab40
mov edi, eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x6d68fc
call fcn.00466f7b
mov esi, eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xfc]
call fcn.004507c5
push edi
push esi
push 0x5d
push 2
pop edx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004890e0
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.004508bd
lea ecx, [ebp - 0x58]
call fcn.004508bd
lea ecx, [ebp - 0x40]
call fcn.004508bd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.0044ea33
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x5c]
cmp edi, 0xffffffff
je 0x46afea
cmp esi, ebx
jae 0x46afea
sub ebx, esi
cmp ebx, 0x2800
ja 0x46afea
lea esi, [ebx + 1]
push esi
lfence
call fcn.005f7090
pop ecx
push 0
push 0
push dword [ebp - 0x60]
mov edi, eax
push dword [ebp - 0x5c]
lfence
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov eax, edi
test esi, esi
je 0x46af93
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x46af8a
and dword [ebp - 0x64], 0
lea eax, [ebp - 0x64]
push 0
push eax
push ebx
push edi
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push edi
lea ecx, [ebp - 0x28]
call fcn.0044e841
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.0048ba74
mov ecx, dword [ebp - 0x68]
push eax
add ecx, 0x18
call fcn.0045ac5b
lea ecx, [ebp - 0x40]
call fcn.0045088f
lea ecx, [ebp - 0x28]
call fcn.004508bd
push edi
call fcn.005f6c0a
pop ecx
mov al, 1
jmp 0x46afec
xor al, al
call fcn.0063e9c5
ret 0xc
Function at 0x474158
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [esp + 0x10], esi
push edi
test eax, eax
jg 0x474183
jl 0x47417a
test ebx, ebx
jne 0x474183
xor eax, eax
xor edx, edx
jmp 0x474244
cmp dword [esi + 0x38], 0
je 0x474198
push eax
push ebx
push dword [ebp + 8]
call fcn.004501e4
jmp 0x474244
mov eax, dword [esi + 0x1c]
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x4741dc
mov eax, dword [esi + 0x2c]
cmp dword [eax], 0
jbe 0x4741dc
cmp dword [eax], ebx
mov esi, ebx
cmovb esi, dword [eax]
push esi
push ecx
push dword [ebp + 8]
call fcn.0060b270
mov ecx, dword [esp + 0x20]
sub edi, esi
mov eax, dword [ebp + 8]
add esp, 0xc
add eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, ecx
jmp 0x4741e3
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x4c], 0
je 0x47423a
mov ecx, esi
call fcn.00475445
mov ecx, dword [esp + 0x10]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x474225
push dword [esi + 0x4c]
push eax
push 1
push ecx
call fcn.0061bbe8
mov ecx, dword [esp + 0x20]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [esp + 0x10], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x47423a
jmp 0x4741f6
test edx, edx
je 0x47423a
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.0061bbe8
add esp, 0x10
sub edi, eax
mov edx, dword [ebp + 0x10]
sub ebx, edi
mov eax, ebx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47f6a2
Capabilities:
Get file version info

Disassembly:
push 0xc4
mov eax, 0x646d6f
call fcn.0063e9e3
mov edi, edx
mov dword [ebp - 0x18], ecx
xor ebx, ebx
push ebx
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
xor ecx, ecx
mov dword [ebp - 0x14], ebx
push 2
pop edx
mov esi, eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005f7090
lea ecx, [ebp - 0xd0]
mov ebx, eax
call fcn.0046e784
and dword [ebp - 4], 0
push ebx
push esi
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x47f781
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x6d73b8
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x47f781
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x12]
push eax
call fcn.00479863
mov esi, 0x6d555c
mov ecx, eax
mov edx, esi
call fcn.00450e00
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x10]
push eax
call fcn.00479863
mov edx, esi
mov ecx, eax
call fcn.00450e00
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x16]
push eax
call fcn.00479863
mov edx, esi
mov ecx, eax
call fcn.00450e00
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x14]
push eax
call fcn.00479863
push ebx
call fcn.005f6c0a
mov esi, dword [ebp - 0x18]
pop ecx
push esi
lea ecx, [ebp - 0xb8]
call fcn.004507c5
lea ecx, [ebp - 0xd0]
call fcn.0046e1a5
mov eax, esi
call fcn.0063e9b1
ret

Function at 0x47f822
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
xor edi, edi
cmp dword [edx + 0x14], 8
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
jb 0x47f83d
mov edx, dword [edx]
sub esp, 0x14
lea ecx, [ebp - 0x10]
push edx
push SysReAllocStringLen
call fcn.0044c0fe
test eax, eax
jne 0x47f878
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
jb 0x47f85d
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push edi
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
cmp dword [ebp - 0x10], edi
je 0x47f889
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, bl
pop ebx
leave
ret
Function at 0x487b8e
Capabilities:
Create directory
Get common file path

Disassembly:
push 0x34
mov eax, 0x648759
call fcn.0063ea16
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], esi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
push ebx
push 0x4000
push edx
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], ebx
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x487c33
cmp dword [ebp - 0x30], ebx
je 0x487c42
push ebx
push dword [ebp - 0x30]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp eax, 0xb7
je 0x487bfd
cmp eax, 0x50
je 0x487bfd
test eax, eax
jne 0x487c33
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ecx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x487c06
sub ecx, edx
lea edx, [ebp - 0x3c]
sar ecx, 1
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x2c]
call fcn.0048b8b2
push eax
mov ecx, esi
call fcn.00450386
lea ecx, [ebp - 0x2c]
call fcn.004508bd
cmp dword [ebp - 0x30], 0
je 0x487c42
push dword [ebp - 0x30]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
call fcn.0063e9c5
ret

Function at 0x487cf9
Capabilities:
Get common file path

Disassembly:
push 0x1c
mov eax, 0x64878d
call fcn.0063e9e3
mov ebx, ecx
mov dword [ebp - 0x10], ebx
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov edi, 0x104
mov dword [ebp - 4], eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00487d90
mov esi, dword [ebp - 0x28]
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x487d5d
mov ecx, esi
mov dword [ebp - 0x1c], esi
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x487d3f
sub ecx, edx
lea edx, [ebp - 0x1c]
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov ecx, ebx
call fcn.0048b8b2
jmp 0x487d73
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0xf
mov byte [ebx], al
test esi, esi
je 0x487d88
mov eax, dword [ebp - 0x20]
sub eax, esi
and eax, 0xfffffffe
push eax
push esi
call fcn.00451201
pop ecx
pop ecx
mov eax, ebx
call fcn.0063e9b1
ret
Function at 0x48a2e8
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x734f34]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
push edi
mov edi, 0x208
lea eax, [esp + 0x1c]
push edi
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [esp + 0x18], esi
push eax
mov dword [esp + 0x1c], esi
call fcn.0060b7f0
add esp, 0xc
mov dword [esp + 0x14], 0x104
lea eax, [esp + 0x14]
mov ebp, 0xffff
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push ebp
push str.OriginalInstallPath
push str.SoftwareCisco_Spark_Native
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
lea eax, [esp + 0x1c]
jne 0x48a361
mov dword [esi], 1
jmp 0x48a42f
push edi
push ebx
push eax
call fcn.0060b7f0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push ebp
push str.OriginalInstallPath
push str.SoftwareCisco_Spark_Native
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x48a429
push edi
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.0060b7f0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push ebp
push str.OriginalInstallPath
push str.SoftwareWOW6432NodeCisco_Spark_Native
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x48a429
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
push 0x20119
push ebx
push str.SoftwareCisco_Spark_Native
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48a459
push edi
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.0060b7f0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push ebp
push str.OriginalInstallPath
push 0x6cf8d0
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
push dword [esp + 0x10]
test eax, eax
jne 0x48a453
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x1c]
mov dword [esi], ebx
push eax
lea ecx, [esi + 4]
call fcn.0044e92e
mov ecx, dword [esp + 0x224]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005f665c
add esp, 0x218
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], 2
lea edi, [esi + 4]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
jmp 0x48a438
Function at 0x490fa4
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor al, al
mov ecx, dword [esi + 0x4c]
cmp ecx, 0xffffffff
je 0x4910fb
mov edx, 0x10000000
cmp ecx, 0x7c
je 0x4910fb
cmp ecx, 0x29
jne 0x490fe4
cmp dword [esi + 0x10], 0
jne 0x4910fb
lea edi, [esi + 0x50]
test dword [edi], edx
je 0x4910ff
jmp 0x4910b9
lea edi, [esi + 0x50]
cmp ecx, 0x2e
jne 0x491002
push 5
lea ecx, [esi + 0x24]
call fcn.004637fc
mov ecx, esi
call fcn.00490f7c
jmp 0x4910e9
cmp ecx, 0x5c
jne 0x491053
mov ecx, esi
call fcn.00490f7c
test byte [edi], 0x80
je 0x491047
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x491030
push 4
lea ecx, [esi + 0x24]
call fcn.004637fc
mov ecx, esi
call fcn.00490f7c
jmp 0x4910f0
cmp al, 0x42
jne 0x491047
push 4
lea ecx, [esi + 0x24]
call fcn.004637fc
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x491024
mov ecx, esi
call fcn.00491a1b
jmp 0x4910e9
cmp ecx, 0x5b
jne 0x491073
mov ecx, esi
call fcn.00490f7c
mov ecx, esi
call fcn.004919cf
cmp dword [esi + 0x4c], 0x5d
je 0x490ff6
push 4
jmp 0x491101
cmp ecx, 0x28
jne 0x491090
mov ecx, esi
call fcn.00490f7c
mov ecx, esi
call fcn.00491af3
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x4910ff
jmp 0x4910de
cmp ecx, 0x5e
jne 0x491099
push 2
jmp 0x49101c
cmp ecx, 0x24
jne 0x4910a5
push 3
jmp 0x49101c
cmp ecx, 0x2a
je 0x4910f7
cmp ecx, 0x2b
je 0x4910f7
cmp ecx, 0x3f
je 0x4910f7
cmp ecx, 0x7b
je 0x4910f7
cmp ecx, 0x7d
jne 0x4910c6
test dword [edi], edx
jne 0x4910cf
push 6
jmp 0x491101
cmp ecx, 0x5d
jne 0x4910cf
test dword [edi], edx
je 0x49106c
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00491c3e
mov bl, 1
mov ecx, esi
call fcn.00490f7c
test bl, bl
je 0x4910f0
mov ecx, esi
call fcn.00491b78
mov al, 1
jmp 0x490fab
push 0xa
jmp 0x491101
pop edi
pop esi
pop ebx
ret
push 5
call fcn.004627d6
int3
Function at 0x496895
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x6448e5
call fcn.0063ea16
mov esi, ecx
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x34], esi
cmp dword [eax + 0x14], 8
jb 0x4968b9
mov eax, dword [eax]
lea ecx, [ebp - 0x30]
push ecx
push 0x20019
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4968d7
mov byte [esi + 0x18], bl
jmp 0x496995
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4968e1
mov eax, dword [edi]
lea ecx, [ebp - 0x38]
push ecx
push ebx
lea ecx, [ebp - 0x34]
push ecx
push ebx
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x496904
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4968cf
cmp dword [ebp - 0x34], 1
jne 0x4968f9
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x2c]
push ebx
shr eax, 1
push eax
call fcn.0048c3c9
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
cmp dword [edi + 0x14], 8
jb 0x49692f
mov edi, dword [edi]
lea ecx, [ebp - 0x38]
push ecx
push eax
push ebx
push ebx
push edi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x30]
test eax, eax
je 0x496952
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esi + 0x18], bl
jmp 0x49698d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
push ebx
push ebx
call fcn.00479e08
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x49697e
push ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00461dec
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.00455b1e
mov byte [esi + 0x18], 1
lea ecx, [ebp - 0x2c]
call fcn.0045088f
mov eax, esi
call fcn.0063e9c5
ret
Function at 0x49699d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
cmp dword [eax + 0x14], 8
push ebx
push esi
mov esi, ecx
jb 0x4969b2
mov eax, dword [eax]
lea ecx, [ebp - 4]
xor ebx, ebx
push ecx
push 0x20019
push ebx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4969d3
mov byte [esi + 4], bl
jmp 0x496a46
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x4969e1
mov eax, dword [edi]
lea ecx, [ebp - 0xc]
push ecx
push ebx
lea ecx, [ebp - 8]
push ecx
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x496a07
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esi + 4], bl
jmp 0x496a45
cmp dword [ebp - 8], 4
je 0x496a13
cmp dword [ebp - 8], 0xb
jne 0x4969f9
cmp dword [edi + 0x14], 8
jb 0x496a1b
mov edi, dword [edi]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
test eax, eax
jne 0x4969fc
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
mov byte [esi + 4], 1
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x496a4c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf4
mov eax, dword [0x734f34]
xor eax, esp
mov dword [esp + 0xf0], eax
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
cmp dword [eax + 0x14], 8
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
mov edi, edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], edx
jb 0x496a99
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push edx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x496b5a
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x496ac2
mov eax, dword [ebx]
lea ecx, [esp + 0xc]
push ecx
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push eax
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x496b5a
push dword [esp + 0xc]
call fcn.005f7090
cmp dword [ebx + 0x14], 8
mov edi, eax
pop ecx
mov dword [esp + 0x18], edi
mov eax, ebx
jb 0x496af9
mov eax, dword [ebx]
lea ecx, [esp + 0xc]
push ecx
push edi
lea ecx, [esp + 0x1c]
push ecx
push 0
push eax
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x496b5a
mov esi, dword [esp + 0x14]
sub esp, 0x18
mov edi, dword [esp + 0x24]
mov ecx, esp
push ebx
call fcn.00455b56
push esi
push edi
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0xd8]
mov edx, edi
call fcn.00496665
add esp, 0x20
lea ecx, [esp + 0x28]
push eax
call fcn.00497942
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x28]
mov byte [esp + 0x68], 1
push 0xb
jmp 0x496b68
mov byte [esp + 0xb0], 0
lea eax, [esp + 0x70]
push 0xc
cmp byte [eax + 0x40], 0
pop ebx
mov byte [esi + 0x40], 0
je 0x496b7f
push eax
mov ecx, esi
call fcn.00497942
mov byte [esi + 0x40], 1
test bl, 4
je 0x496ba6
and ebx, 0xfffffffb
cmp byte [esp + 0xb0], 0
je 0x496ba6
lea ecx, [esp + 0x88]
call fcn.0048797f
lea ecx, [esp + 0x70]
call fcn.0045088f
test bl, 2
je 0x496bc7
and ebx, 0xfffffffd
cmp byte [esp + 0x68], 0
je 0x496bc7
lea ecx, [esp + 0x40]
call fcn.0048797f
lea ecx, [esp + 0x28]
call fcn.0045088f
test bl, 1
je 0x496be4
lea ecx, [esp + 0xd0]
call fcn.0048797f
lea ecx, [esp + 0xb8]
call fcn.0045088f
push edi
call fcn.005f6c0a
pop ecx
mov ecx, dword [esp + 0xfc]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005f665c
mov esp, ebp
pop ebp
ret

Function at 0x49b817
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x64b2fb
call fcn.0063e9e3
mov esi, ecx
push 8
xor ebx, ebx
call fcn.005f6e0c
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov edx, dword [edx]
mov dword [eax], edx
mov ecx, dword [ecx]
mov dword [eax + 4], ecx
lea edi, [esi + 4]
mov dword [ebp - 4], ebx
push edi
push ebx
push eax
push 0x49bb24
push ebx
push ebx
call fcn.00625390
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x49b868
mov eax, esi
call fcn.0063e9b1
ret 8
push 6
mov dword [edi], ebx
call fcn.005f9c0a
int3
Function at 0x4a667d
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
or dword [ecx + 0x1384], 0xffffffff
mov edx, dword [esp + 4]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jb 0x4a6699
pop edi
pop esi
mov dword [ecx], ebx
mov eax, ecx
pop ebx
ret 0xc

Function at 0x4a681d
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0x270
cmp dword [esi], edi
jne 0x4a6865
lea edx, [esi + 8]
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x4a682d
jmp 0x4a6872
cmp dword [esi], 0x4e0
jb 0x4a6872
call fcn.004a68ac
mov eax, dword [esi]
pop edi
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
pop esi
ret

Function at 0x4a68ac
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
mov ebp, ADsGetObject
lea edi, [esi + 0x9c4]
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, ebp
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x4a68c4
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, ebp
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd4c]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x4a6905
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, ebp
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [esi], 0
and eax, 0x9908b0df
shr ecx, 1
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
pop esi
pop ebp
pop ebx
ret