joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e2fe0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1314cc8]
xor edx, edx
cmp eax, edx
jne 0x5e3006
xor eax, eax
mov byte [eax + 0x1314bc8], al
inc eax
cmp eax, 0x100
jl 0x5e2fee
mov dword [0x1314cc8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1314bc8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x5e3097
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x5e306a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x5e3038
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x5e30a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x5e30f3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x5e30da
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5e9a80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62553e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.005ea3a0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x127e924
call fcn.00611263
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x5e9b13
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00611263
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x5e9b0c
push 0
mov ecx, eax
call fcn.005e0c20
mov dword [esi + 0xc], eax
jmp 0x5e9b15
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x5e9b15
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x40138c
Capabilities:
Access peb ldr_data
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42a329
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
push ebx
push edi
xor edi, edi
lea eax, [esp + 0x30]
inc edi
push edi
xor ebx, ebx
push eax
mov dword [esi], vtable.replay::real_mutex.0
mov dword [esp + 0x2c], 0xc
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push ebx
push ebx
push edi
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [esp + 0xc0]
push eax
mov dword [esp + 0xc4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0xc4], 4
push dword [ebp + 8]
lea ecx, [esp + 0xc]
jbe 0x401450
call fcn.00403cbd
mov edi, 0x42dc08
push edi
mov dword [esp + 0x168], ebx
call fcn.00411910
pop ecx
push eax
push ebx
push edi
lea ecx, [esp + 0x14]
call fcn.0040436c
cmp eax, 0xffffffff
jne 0x401480
push str.Global_
call fcn.00411910
mov ebx, eax
pop ecx
lea eax, [esp + 8]
call fcn.004042b6
xor ebx, ebx
jmp 0x401480
call fcn.00403cbd
push 0x42dc08
mov dword [esp + 0x168], edi
call fcn.00411910
pop ecx
push eax
lea edi, [esp + 0xc]
call fcn.0040448e
cmp eax, 0xffffffff
je 0x401480
inc eax
push eax
push ebx
mov ecx, edi
call fcn.00403cf0
cmp dword [esp + 0x20], 0x10
mov eax, dword [esp + 0xc]
jae 0x40148f
lea eax, [esp + 0xc]
push eax
push ebx
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x4014bf
cmp dword [esp + 0x20], 0x10
mov eax, dword [esp + 0xc]
jae 0x4014b2
lea eax, [esp + 0xc]
push eax
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [esi + 4], eax
or dword [esp + 0x164], 0xffffffff
push ebx
push 1
lea ecx, [esp + 0x10]
call fcn.0040458b
cmp dword [esi + 4], ebx
jne 0x401516
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x48]
push str.OpenMutex_returned_0x_08x
push eax
call fcn.004283d9
add esp, 0xc
push eax
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x16c], 2
call fcn.00427e42
push 0x4314fc
lea eax, [esp + 0x64]
push eax
call fcn.004132c1
mov ecx, dword [esp + 0x15c]
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40824d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x429e40
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x435398]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x435398]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x4082b0
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00411fc4
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor edi, edi
cmp ecx, edi
je 0x4082d8
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x4082d8
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
mov byte [eax], bl
mov eax, ebx
jmp 0x408290
mov eax, dword [esi + 0x4c]
cmp eax, edi
jne 0x4082e4
or eax, 0xffffffff
jmp 0x408290
cmp dword [esi + 0x3c], edi
jne 0x4082f8
push eax
push ebx
call fcn.00407f46
pop ecx
pop ecx
test al, al
je 0x4082df
jmp 0x4082d4
push edi
push 8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x18], bl
call fcn.0040892a
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x74], edi
call fcn.00403d5f
mov ecx, eax
call fcn.00406591
mov edi, dword [esp + 0x58]
mov ebx, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.00403d5f
mov ecx, eax
call fcn.00406591
lea edx, [esp + 0x18]
add edi, ebx
push edx
lea ebx, [esi + 0x44]
jmp 0x408408
cmp eax, 1
jg 0x408430
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
call fcn.00403d5f
mov ecx, eax
call fcn.00406591
mov edi, dword [esp + 0x18]
sub edi, eax
je 0x40839d
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
call fcn.00403d5f
mov ecx, eax
call fcn.00406591
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00412da3
add esp, 0x10
cmp edi, eax
jne 0x408447
lea eax, [esp + 0x10]
mov byte [esi + 0x41], 1
cmp dword [esp + 0x1c], eax
jne 0x40845e
test edi, edi
ja 0x4083cb
cmp dword [esp + 0x58], 0x20
jae 0x408447
push 0
push 8
lea ecx, [esp + 0x4c]
call fcn.00405ee0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.00403d5f
mov ecx, eax
call fcn.00406591
mov edi, dword [esp + 0x58]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.00403d5f
mov ecx, eax
call fcn.00406591
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
add edi, edx
mov ecx, dword [esi + 0x3c]
push edi
push eax
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x21]
push edx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
test eax, eax
jge 0x40834b
jmp 0x408447
cmp eax, 3
jne 0x408447
push dword [esi + 0x4c]
push dword [esp + 0x14]
call fcn.00407f46
pop ecx
pop ecx
test al, al
jne 0x40845e
or esi, 0xffffffff
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.0040458b
mov eax, esi
jmp 0x408290
mov esi, dword [ebp + 8]
jmp 0x40844a
Function at 0x408a93
Capabilities:
Write file on windows

Disassembly:
push 0x4c
mov eax, 0x429de6
call fcn.0041375c
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x3c], edi
je 0x408b9f
cmp byte [esi + 0x41], 0
je 0x408b9f
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x408ac9
xor al, al
jmp 0x408ba1
push edi
push 8
lea ecx, [ebp - 0x30]
call fcn.0040892a
mov dword [ebp - 4], edi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x30]
call fcn.00403d5f
mov ecx, eax
call fcn.00406591
mov edi, dword [ebp - 0x1c]
mov ebx, eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
call fcn.00403d5f
mov ecx, eax
call fcn.00406591
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x34]
push eax
add edi, ebx
push edi
push dword [ebp - 0x38]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x408b39
dec eax
je 0x408b3d
dec eax
dec eax
je 0x408b9b
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.0040458b
mov al, bl
jmp 0x408ba1
mov byte [esi + 0x41], 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x30]
call fcn.00403d5f
mov ecx, eax
call fcn.00406591
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x408b7d
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
call fcn.00403d5f
mov ecx, eax
call fcn.00406591
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00412da3
add esp, 0x10
cmp edi, eax
jne 0x408b27
cmp byte [esi + 0x41], 0
je 0x408b9b
test edi, edi
jne 0x408ad7
push edi
push 8
lea ecx, [ebp - 0x30]
call fcn.00405ee0
jmp 0x408ad7
mov bl, 1
jmp 0x408b29
mov al, 1
call fcn.004137df
ret
Function at 0x40f400
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x40f40f
mov eax, dword [eax + 4]
jmp 0x40f412
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40f4aa
push esi
call fcn.0040f5c0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], esi
mov dword [ecx], eax
pop esi
cmp eax, 2
je 0x40f48f
cmp eax, 3
je 0x40f48f
cmp eax, 0x7b
je 0x40f48f
cmp eax, 0xf
je 0x40f48f
cmp eax, 0x15
je 0x40f48f
cmp eax, 0x57
je 0x40f48f
cmp eax, 0xa1
je 0x40f48f
cmp eax, 0x35
je 0x40f48f
cmp eax, 0x20
jne 0x40f484
mov eax, dword [0x4379f4]
mov dword [ecx], eax
mov edx, dword [0x4379f8]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 9
ret
mov eax, dword [esp + 4]
mov dword [eax], 0
ret
mov eax, dword [0x4379f4]
mov dword [ecx], eax
mov edx, dword [0x4379f8]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 1
ret
mov edx, dword [0x4379f4]
mov ecx, dword [esp + 0xc]
mov dword [ecx], edx
mov edx, dword [0x4379f8]
test al, 0x10
mov dword [ecx + 4], edx
lea eax, [esp + 8]
mov dword [esp + 8], 3
jne 0x40f4d7
mov dword [esp + 8], 2
mov ecx, dword [eax]
mov eax, dword [esp + 4]
mov dword [eax], ecx
ret

Function at 0x411fc4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x435398]
jne 0x411fce
repz ret
jmp fcn.004189e2
Function at 0x42012c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00416f68
and dword [ebp - 4], 0
cmp dword [0x438494], 0
mov ebx, eax
jne 0x4201dd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42028e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42d438
push edi
call esi
test eax, eax
je 0x42028e
push eax
call fcn.00416ef6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x438494], eax
call esi
push eax
call fcn.00416ef6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x438498], eax
call esi
push eax
call fcn.00416ef6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43849c], eax
call esi
push eax
call fcn.00416ef6
pop ecx
mov dword [0x4384a4], eax
test eax, eax
je 0x4201dd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00416ef6
pop ecx
mov dword [0x4384a0], eax
mov eax, dword [0x4384a0]
cmp eax, ebx
je 0x420235
cmp dword [0x4384a4], ebx
je 0x420235
push eax
call fcn.00416f71
push dword [0x4384a4]
mov esi, eax
call fcn.00416f71
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x420235
test edi, edi
je 0x420235
call esi
test eax, eax
je 0x42022c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42022c
test byte [ebp - 0xc], 1
jne 0x420235
or dword [ebp + 0x10], 0x200000
jmp 0x42026e
mov eax, dword [0x438498]
cmp eax, ebx
je 0x42026e
push eax
call fcn.00416f71
pop ecx
test eax, eax
je 0x42026e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42026e
mov eax, dword [0x43849c]
cmp eax, ebx
je 0x42026e
push eax
call fcn.00416f71
pop ecx
test eax, eax
je 0x42026e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x438494]
call fcn.00416f71
pop ecx
test eax, eax
je 0x42028e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x420290
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x426558
Capabilities:
Get file size

Disassembly:
push 0xd0
mov eax, 0x429117
call fcn.004136f3
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x42ec84
lea ecx, [ebp - 0x60]
mov dword [edi], vtable.replay::log::file.0
call fcn.00403c98
push 0x42ec88
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.00403c98
push dword [ebp + 0xc]
lea ecx, [ebp - 0x60]
lea edx, [ebp - 0x7c]
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00428197
push eax
lea eax, [ebp - 0x44]
push str.log_
push eax
mov byte [ebp - 4], 3
call fcn.00405b62
add esp, 0x10
push eax
lea esi, [edi + 4]
mov byte [ebp - 4], 4
call fcn.0040138c
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x44]
call fcn.0040458b
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.0040458b
push ebx
push esi
lea ecx, [ebp - 0x7c]
call fcn.0040458b
push ebx
push esi
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 9
call fcn.0040458b
push dword [ebp + 0xc]
lea ecx, [edi + 0xc]
call fcn.00403cbd
push 0x42ec94
push dword [ebp + 0xc]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
or dword [edi + 0x28], 0xffffffff
push eax
mov dword [edi + 0x2c], ebx
call fcn.00405b14
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x42662f
mov eax, dword [eax + 4]
jmp 0x426632
add eax, 4
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push 0x80
push 4
push ebx
push 7
push 0x40000000
push eax
call esi
push ebx
push 1
lea ecx, [ebp - 0x28]
mov dword [edi + 0x30], eax
call fcn.0040458b
mov eax, dword [edi + 0x30]
cmp eax, 0xffffffff
jne 0x4266f7
push str..log.txt
push dword [ebp + 0xc]
lea eax, [ebp - 0x28]
push eax
call fcn.00405b14
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x426684
mov eax, dword [eax + 4]
jmp 0x426687
add eax, 4
push ebx
push 0x80
push 4
push ebx
push 3
push 0x40000000
push eax
call esi
push ebx
push 1
lea ecx, [ebp - 0x28]
mov dword [edi + 0x30], eax
call fcn.0040458b
mov eax, dword [edi + 0x30]
cmp eax, 0xffffffff
jne 0x4266f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edi, [ebp - 0x28]
call fcn.004284c4
push eax
lea eax, [ebp - 0x44]
push str.CreateFile_failed:
push eax
mov byte [ebp - 4], 0xb
call fcn.00405b62
add esp, 0x10
push eax
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 0xc
call fcn.004090ac
push 0x431818
lea eax, [ebp - 0xdc]
push eax
call fcn.004132c1
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x426709
push edi
call fcn.00425e70
mov eax, edi
call fcn.004137cb
ret 8
Function at 0x426860
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4291b0
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x435398]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push esi
mov eax, dword [0x435398]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
push eax
mov ebx, ecx
mov esi, edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movsx eax, byte [ebx + 0x42f224]
push eax
movzx eax, word [esp + 0x2c]
push eax
movzx eax, word [esp + 0x2e]
push eax
movzx eax, word [esp + 0x30]
push eax
movzx eax, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x34]
push eax
lea eax, [esp + 0x90]
push str._.4d__.2d__.2d__.2d:_.2d:_.2d__c
push eax
call fcn.004283d9
add esp, 0x24
and dword [esp + 0xa0], 0
push esi
lea ecx, [esp + 0x5c]
call fcn.00403ecc
mov byte [esp + 0xa0], 1
cmp ebx, 5
jne 0x426958
push 3
pop ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x28], esp
push esi
call fcn.00403ecc
lea eax, [esp + 0x58]
push eax
call fcn.00426167
add esp, 0x20
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xac], 2
call fcn.004045d6
push 0
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0xa8], 1
call fcn.004046c7
mov dword [esp + 0x34], vtable.replay::scope.0
mov dword [esp + 0x38], edi
test edi, edi
je 0x42696f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [esp + 0xa0], 3
mov ecx, dword [edi + 0x34]
mov eax, dword [ecx + 4]
jmp 0x42698d
cmp ebx, dword [eax + 0xc]
jge 0x42698a
mov ecx, eax
mov eax, dword [eax]
jmp 0x42698d
mov eax, dword [eax + 8]
cmp byte [eax + 0x15], 0
je 0x42697f
mov eax, dword [edi + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x34]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4269bc
cmp esi, dword [esp + 0x14]
je 0x4269c1
call fcn.00411bc4
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x18]
je 0x426a35
mov dword [esp + 0x2c], esi
lea esi, [esp + 0x2c]
mov dword [esp + 0x30], eax
call fcn.0040953e
mov esi, eax
call fcn.0040934e
mov esi, dword [eax + 4]
push 1
push 0xfde9
lea edx, [esp + 0x60]
lea ecx, [esp + 0x44]
call fcn.004259f7
pop ecx
pop ecx
push eax
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0xa8], 4
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 4]
push 0
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0xa8], 3
call fcn.0040458b
lea esi, [esp + 0xc]
call fcn.0040953e
jmp 0x4269ae
mov byte [esp + 0xa0], 1
test edi, edi
je 0x426a48
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
push 0
push 1
lea ecx, [esp + 0x60]
call fcn.004046c7
push 0
push 1
lea ecx, [esp + 0x7c]
call fcn.0040458b
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00411fc4
mov esp, ebp
pop ebp
ret
Function at 0x427585
Capabilities:
Hash data with md5

Disassembly:
push 4
mov eax, 0x428e77
call fcn.004136f3
mov esi, dword [ebp + 8]
and dword [esi + 0x10], 0
and dword [esi + 0x14], 0
lea eax, [esi + 0x18]
push eax
call fcn.00407427
and dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push esi
mov byte [esi + 0x30], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
call fcn.00427563
mov eax, esi
call fcn.004137cb
ret 8

Function at 0x4276af
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [eax + 0x18], 8
jb 0x4276bd
mov eax, dword [eax + 4]
jmp 0x4276c0
add eax, 4
push dword [ebp + 0xc]
push 0
push edi
push 0
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x4276dc
and dword [edi], 0
xor ecx, ecx
test eax, eax
sete cl
mov al, cl
pop ebp
ret 8

Function at 0x4276e9
Capabilities:
Set registry value

Disassembly:
push 0x98
mov eax, 0x428ecd
call fcn.004136f3
cmp dword [esi + 0x18], 8
jb 0x427703
mov eax, dword [esi + 4]
jmp 0x427706
lea eax, [esi + 4]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
push 0
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test ebx, ebx
je 0x427779
push 1
push 0
mov edx, esi
lea ecx, [ebp - 0x44]
call fcn.004259f7
pop ecx
pop ecx
and dword [ebp - 4], 0
cmp dword [eax + 0x18], 0x10
jb 0x427741
mov eax, dword [eax + 4]
jmp 0x427744
add eax, 4
push ebx
push eax
lea eax, [ebp - 0x28]
push str.RegSetValueEx___failed:_value___s____i_
push eax
call fcn.004283d9
add esp, 0x10
push eax
lea eax, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 1
call fcn.00406b89
push 0x4316e8
lea eax, [ebp - 0xa4]
push eax
call fcn.004132c1
call fcn.004137cb
ret 0xc
Function at 0x427781
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x134
mov eax, 0x428f0b
call fcn.004136f3
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x10], ebx
jb 0x42779e
mov eax, dword [esi + 4]
jmp 0x4277a1
lea eax, [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp + 0xc]
xor edi, edi
push edi
push edi
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp + 0xc], eax
cmp dword [ebp - 0x10], ebx
je 0x427818
push 1
push edi
mov edx, esi
lea ecx, [ebp - 0x80]
call fcn.004259f7
pop ecx
pop ecx
mov dword [ebp - 4], edi
cmp dword [eax + 0x18], 0x10
jb 0x4277dd
mov eax, dword [eax + 4]
jmp 0x4277e0
add eax, 4
push dword [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0x64]
push str.Size_mismatch:_value___s__expected__i_found__i
push eax
call fcn.004283d9
add esp, 0x14
push eax
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 1
call fcn.00406c66
push 0x431768
lea eax, [ebp - 0xe0]
push eax
call fcn.004132c1
cmp eax, edi
je 0x427873
push 1
push edi
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.004259f7
pop ecx
pop ecx
mov dword [ebp - 4], 2
cmp dword [eax + 0x18], 0x10
jb 0x42783d
mov eax, dword [eax + 4]
jmp 0x427840
add eax, 4
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x48]
push str.RegQueryValueEx___failed:_value___s____i_
push eax
call fcn.004283d9
add esp, 0x10
push eax
lea eax, [ebp - 0x140]
push eax
mov byte [ebp - 4], 3
call fcn.00406b89
push 0x4316e8
lea eax, [ebp - 0x140]
jmp 0x427812
call fcn.004137cb
ret 8