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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x2c
push ebx
mov dword [ebp - 8], ebx
lea esi, [edi + 0xa0]
push esi
call fcn.004169c0
add esp, 0xc
lea eax, [edi + 0x8c]
push eax
lea eax, [ebp - 8]
push eax
push 0x2c
push esi
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne al
mov byte [ebp - 1], al
test al, al
jne 0x40f77a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov al, byte [ebp - 1]
test al, al
jne 0x40f77a
cmp ebx, 0x3e5
je 0x40f77a
push 0xa
mov ecx, edi
call fcn.0040f9b3
jmp 0x40f784
mov dword [edi + 0x84], 5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411287
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push eax
push 0x41134d
mov edi, ecx
call dword [sym.imp.USER32.dll_EnumWindows]
call fcn.004013c2
push eax
lea ecx, [esp + 0x18]
call fcn.004016ad
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
push dword [ebp + 8]
push str._s_s.dmp
push eax
call fcn.0040770b
lea ecx, [esp + 0x24]
call fcn.004082a6
mov bl, byte [esp + 0x23]
lea eax, [esp + 0x24]
mov dl, byte [edi]
mov cl, bl
push 0
push eax
call fcn.00411cc1
add esp, 0x18
cmp byte [edi + 1], 0
je 0x411338
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
push dword [ebp + 8]
push str._s_s_full.dmp
push eax
call fcn.0040770b
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.004082a6
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00407b8a
test al, al
je 0x41133c
mov dl, byte [edi]
lea eax, [esp + 0x14]
push 0
push eax
mov cl, bl
call fcn.00411cc1
pop ecx
pop ecx
jmp 0x41133c
mov esi, dword [esp + 0x14]
lea ecx, [esi - 0x10]
call fcn.004019cb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41165c
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x14], edx
push edi
mov byte [ebp - 1], cl
mov dword [ebp - 0x10], ebx
call fcn.00412022
call fcn.004013c2
push eax
cmp byte [ebp - 1], bl
je 0x4116bf
lea ecx, [ebp - 0x10]
call fcn.004016ad
lea eax, [ebp - 0x10]
push eax
xor eax, eax
lea ecx, [ebp - 8]
inc eax
push eax
push str.bookingDesktopAppCrashReports
mov dword [ebp - 0xc], eax
call fcn.004047ee
push 0x26
mov edx, eax
pop ecx
call fcn.00411f81
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004019cb
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
jmp 0x4116fc
lea ecx, [ebp - 8]
call fcn.004016ad
lea eax, [ebp - 8]
push eax
push 1
push str.bookingDesktopAppCrashReports
lea ecx, [ebp - 0x10]
call fcn.004047ee
push 0x1c
mov edx, eax
pop ecx
call fcn.00411f81
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004019cb
mov edi, dword [ebp - 8]
push 2
pop eax
mov dword [ebp - 0xc], eax
mov eax, edi
lea ecx, [eax - 0x10]
call fcn.0040160c
lea esi, [eax + 0x10]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], esi
test al, 2
je 0x411722
and eax, 0xfffffffd
lea ecx, [edi - 0x10]
mov dword [ebp - 0xc], eax
call fcn.004019cb
mov eax, dword [ebp - 0xc]
test al, 1
je 0x411731
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004019cb
cmp byte [ebp - 1], bl
je 0x411751
cmp dword [esi - 0xc], ebx
je 0x411756
lea ecx, [ebp - 8]
call fcn.004114dc
mov esi, dword [ebp - 8]
test eax, eax
jns 0x411751
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [esi - 0xc], ebx
jne 0x411781
lea ecx, [ebp - 0x10]
call fcn.00404a16
push eax
lea ecx, [ebp - 8]
call fcn.0040165f
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004019cb
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], ebx
jne 0x411781
mov ebx, 0x8004fffc
jmp 0x411793
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x411793
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.0040165f
lea ecx, [esi - 0x10]
call fcn.004019cb
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411b64
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
mov ebx, ecx
movzx ecx, byte [0x440d98]
neg ecx
mov dword [ebp - 0xc], ebx
push esi
sbb ecx, ecx
push edi
and ecx, 0x441080
je 0x411bb4
push 0xffffffffffffffff
push ecx
mov dword [ebp - 0x24], ecx
call fcn.00405732
push dword [ebx]
or dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push str._StartProcessWithNoExceptionHandler___s_
push eax
mov dword [ebp - 0x18], 8
call fcn.004019ed
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.004082ff
push 0x43ae64
lea ecx, [ebp - 8]
call fcn.004047ee
push str.GOOGLE_UPDATE_NO_CRASH_HANDLER
lea ecx, [ebp - 4]
call fcn.004047ee
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040e832
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004019cb
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004019cb
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x411c88
lea eax, [ebp - 0x20]
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.0040e8e3
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov esi, dword [ebp - 0x20]
cmp esi, dword [ebp - 0x1c]
je 0x411c88
push 0x40
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0x44
push ebx
push eax
call fcn.004169c0
xor eax, eax
mov dword [ebp - 0x34], ebx
mov ecx, dword [ebp - 0xc]
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push esi
push 0x400
push ebx
push ebx
push ebx
call fcn.00407618
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x411c88
push dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
jmp 0x411c8f
call fcn.00407b4d
mov ebx, eax
lea ecx, [ebp - 0x20]
call fcn.0040a829
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
push eax
push dword [eax]
lea eax, [ebp - 0xc]
push eax
call fcn.0040a9de
push 0x18
push 1
push dword [ebp - 0x14]
call fcn.00402bd0
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412299
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x43f014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x200
xor ebx, ebx
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.004169c0
add esp, 0xc
mov dword [ebp - 0x20c], 0x100
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x412302
push ecx
mov edx, 0x43ae68
lea ecx, [ebp - 0x204]
call fcn.0040719b
pop ecx
test al, al
je 0x412302
mov al, 1
jmp 0x412347
push esi
lea eax, [ebp - 0x208]
mov dword [ebp - 0x208], ebx
push eax
push 0x64
push ebx
call dword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
mov esi, dword [ebp - 0x208]
test eax, eax
jne 0x41233d
cmp dword [esi + 8], ebx
je 0x41233d
push str.bookingdesktopapp
push dword [esi + 8]
call fcn.0041fb51
pop ecx
pop ecx
test eax, eax
jne 0x41233d
mov bl, 1
push esi
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov al, bl
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0041687e
mov esp, ebp
pop ebp
ret

Function at 0x4124d2
Capabilities:
Identify system language via api

Disassembly:
push esi
mov esi, ecx
push edi
test dl, dl
je 0x4124e2
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x4124e8
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
xor edx, edx
movzx edi, ax
mov ecx, 0x409
push ebx
mov ebx, edx
mov eax, ecx
cmp di, ax
je 0x412510
inc ebx
imul eax, ebx, 0x1a
movzx eax, word [eax + 0x4383a0]
test ax, ax
jne 0x4124f7
mov edi, ecx
jmp 0x412513
movzx edi, di
pop ebx
cmp cx, di
je 0x412530
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x4383a0]
test cx, cx
jne 0x412514
push 0x436ed8
jmp 0x412539
imul eax, edx, 0x1a
add eax, 0x4383a2
push eax
mov ecx, esi
call fcn.004047ee
pop edi
mov eax, esi
pop esi
ret

Function at 0x4125e4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
call fcn.004013c2
push eax
lea ecx, [ebp - 4]
call fcn.004016ad
push dword [esi]
lea eax, [ebp - 4]
push str.__s__r_n
push eax
call fcn.00407735
mov esi, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [esi]
mov eax, dword [ecx]
mov dword [ebp + 8], eax
cmp eax, ecx
je 0x412645
push dword [eax + 0x14]
push dword [eax + 0x10]
lea eax, [ebp - 4]
push str._s_s_r_n
push eax
call fcn.00407735
add esp, 0x10
lea ecx, [ebp + 8]
call fcn.00402389
mov eax, dword [ebp + 8]
cmp eax, dword [esi]
jne 0x41261f
mov esi, dword [ebp - 4]
lea ecx, [ebp - 8]
xor edi, edi
push edi
mov dword [ebp - 8], edi
mov eax, dword [esi - 0xc]
push ecx
add eax, eax
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41266b
call fcn.00407b4d
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.004019cb
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412ab4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
mov byte [ebp - 1], cl
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call fcn.0041267c
test eax, eax
js 0x412bcf
mov ebx, dword [ebp - 0x20]
cmp dword [ebp - 0x24], ebx
je 0x412bcf
call fcn.00412022
cmp byte [ebp - 1], 0
mov eax, str.HKLMSoftware_bookingDesktopAppUpdate_
jne 0x412afc
mov eax, str.HKCUSoftware_bookingDesktopAppUpdate_
push eax
lea ecx, [ebp - 8]
call fcn.004047ee
push 0x43b2b8
lea ecx, [ebp - 0xc]
call fcn.004047ee
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 8]
lea ecx, [ebp - 0x10]
call fcn.0040216f
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.0040165f
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004019cb
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.004019cb
mov esi, dword [ebp - 8]
mov ecx, esi
call fcn.00406c3a
test al, al
jne 0x412b5d
mov cl, byte [ebp - 1]
mov dl, 1
call fcn.00412be3
mov edi, eax
jmp 0x412bc1
push 1
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x438b38
mov dword [ebp - 0x14], edi
call fcn.004067c2
mov edi, eax
test edi, edi
js 0x412bb2
mov eax, dword [ebp - 0x24]
xor edi, edi
sub ebx, eax
sar ebx, 2
test ebx, ebx
je 0x412ba6
push 0
push 0
push 0
push 0
push dword [eax + edi*4]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x412bcb
mov eax, dword [ebp - 0x24]
inc edi
cmp edi, ebx
jb 0x412b86
mov cl, byte [ebp - 1]
xor dl, dl
call fcn.00412be3
mov edi, eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x438b38
call fcn.004066ae
lea ecx, [esi - 0x10]
call fcn.004019cb
jmp 0x412bd2
xor edi, edi
jmp 0x412bb2
xor edi, edi
inc edi
lea ecx, [ebp - 0x24]
call fcn.00407d43
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412d7e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x43f014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, cl
push esi
push edi
test bl, bl
je 0x412daa
call fcn.00413c36
test al, al
je 0x412daa
mov eax, 0x80004005
jmp 0x412f05
xor esi, esi
mov dword [ebp - 0x24], 0x439468
lea edx, [ebp - 0x24]
mov dword [ebp - 0x20], esi
mov cl, bl
call fcn.00412936
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
call dword [eax + 4]
mov dword [ebp - 0x1c], 0x438b38
mov dword [ebp - 0x18], esi
call fcn.00412022
mov eax, str.HKLMSoftware_bookingDesktopAppUpdate_
test bl, bl
jne 0x412de6
mov eax, str.HKCUSoftware_bookingDesktopAppUpdate_
push esi
push ecx
push 0xf003f
push ecx
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406732
mov edi, eax
test edi, edi
js 0x412ee3
push esi
push esi
push esi
push esi
push 0x43b2b8
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x412e1f
mov edi, esi
jmp 0x412ee3
call fcn.004013c2
push eax
lea ecx, [ebp - 0x28]
call fcn.004016ad
xor eax, eax
mov dword [ebp - 0x14], esi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x412e69
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x2c]
call fcn.004020f3
push eax
lea ecx, [ebp - 0x28]
call fcn.0040165f
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.004019cb
mov eax, esi
test eax, eax
mov esi, dword [ebp - 0x28]
js 0x412ed9
xor edi, edi
lea ecx, [ebp - 0x1c]
inc edi
push edi
push esi
push 0x43b2b8
call fcn.00406bd4
test eax, eax
js 0x412ed9
mov ecx, 0x43fbb8
call fcn.0040908a
lea ecx, [ebp - 0x1c]
call fcn.00412d25
xor eax, eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call fcn.0041267c
test eax, eax
js 0x412ecf
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x412ecf
sub esp, 0xc
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.0041307a
mov cl, bl
call fcn.00412999
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x10]
call fcn.00407d43
jmp 0x412edb
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.004019cb
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x438b38
call fcn.004066ae
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
call dword [eax + 8]
lea ecx, [ebp - 0x24]
call fcn.00406513
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041687e
mov esp, ebp
pop ebp
ret
Function at 0x413dfa
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x4412ac
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
push 0x4412ac
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
and dword [esi + 0x18], 0
and dword [esi + 0x1c], 0
mov dword [ebp + 8], eax
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 8], 0
jne 0x413e3c
test ebx, ebx
je 0x413e9a
lea ebx, [edi + 0x1c]
mov ecx, edi
push ebx
push str.Counts
call fcn.00413dd1
test al, al
je 0x413e9a
push dword [esi + 4]
lea ecx, [ebp - 4]
call fcn.00407585
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x10]
xor edi, edi
mov edx, esi
push eax
mov ecx, ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call fcn.004140c9
mov eax, dword [ebp + 8]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
adc dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
pop ecx
push 8
push eax
push 3
push edi
push esi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esi - 0x10]
call fcn.004019cb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x413ea3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x43f014]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x4412ac
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 8
pop ecx
lea eax, [esi + 0x18]
push 0x20
mov esi, eax
lea edi, [esp + 0x34]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004169c0
add esp, 0xc
push 0x4412ac
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x30], 0
je 0x413fd4
lea edi, [ebx + 0x28]
mov ecx, ebx
push edi
push str.Timings
call fcn.00413dd1
test al, al
je 0x413fd4
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push dword [eax + 4]
call fcn.00407585
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov edx, esi
mov ecx, edi
call fcn.00414117
pop ecx
test al, al
jne 0x413f54
push 0x20
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00429530
add esp, 0xc
jmp 0x413fb8
mov eax, dword [esp + 0x30]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
adc dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x44]
cmp ecx, dword [esp + 0x24]
jg 0x413f82
mov eax, dword [esp + 0x40]
jl 0x413f8a
cmp eax, dword [esp + 0x20]
jb 0x413f8a
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x2c], ecx
jg 0x413fa8
mov eax, dword [esp + 0x48]
jl 0x413fb0
cmp dword [esp + 0x28], eax
jb 0x413fb0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
push 0x20
lea eax, [esp + 0x14]
push eax
push 3
push 0
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esi - 0x10]
call fcn.004019cb
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041687e
mov esp, ebp
pop ebp
ret 4

Function at 0x4140c9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 8
pop esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414102
cmp dword [ebp - 8], 3
jne 0x414102
test eax, eax
jne 0x414102
cmp dword [ebp - 4], esi
jne 0x414102
mov al, 1
jmp 0x414112
push esi
push 0
push dword [ebp + 8]
call fcn.004169c0
add esp, 0xc
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x414117
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 0x20
pop esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414150
cmp dword [ebp - 8], 3
jne 0x414150
test eax, eax
jne 0x414150
cmp dword [ebp - 4], esi
jne 0x414150
mov al, 1
jmp 0x414160
push esi
push 0
push dword [ebp + 8]
call fcn.004169c0
add esp, 0xc
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x415516
Capabilities:
Read pipe
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push esi
mov esi, ecx
sub esp, 0xc
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 0x40]
push eax
lea eax, [esi + 0x3c]
push eax
lea eax, [esi + 0x38]
push eax
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.004153d3
lea ecx, [ebp - 0x30]
call fcn.0040f313
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push 0x2c
mov eax, ecx
push eax
push 0x2c
lea eax, [ebp - 0x88]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x4155d9
cmp dword [ebp - 0x30], 2
jne 0x4155d9
cmp dword [ebp - 0x2c], 0
je 0x4155d9
cmp dword [ebp - 0x10], 0
je 0x4155d9
cmp dword [ebp - 0xc], 0
je 0x4155d9
cmp dword [ebp - 8], 0
je 0x4155d9
lea ecx, [ebp - 0x5c]
call fcn.0040f313
push 0
lea eax, [ebp - 4]
mov dword [ebp - 0x5c], 3
push eax
push 0x2c
mov eax, ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4155d9
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x34], eax
mov al, 1
jmp 0x4155db
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x415680
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x43f014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x124], edi
mov esi, ebx
lea edx, [edi + 0x10]
movzx ecx, byte [edx]
lea edx, [edx + 4]
movzx eax, byte [edx - 3]
shl eax, 0x10
shl ecx, 0x18
or ecx, eax
movzx eax, byte [edx - 2]
shl eax, 8
or ecx, eax
movzx eax, byte [edx - 1]
or ecx, eax
mov dword [ebp + esi*4 - 0x104], ecx
inc esi
cmp esi, 0x10
jl 0x4156a5
push 0x40
pop eax
cmp esi, eax
jge 0x41572d
sub eax, esi
lea ebx, [ebp + esi*4 - 0x10c]
mov dword [ebp - 0x108], eax
mov edi, eax
mov ecx, dword [ebx]
mov esi, ecx
mov edx, dword [ebx - 0x34]
lea ebx, [ebx + 4]
mov eax, ecx
rol esi, 0xf
rol eax, 0xd
xor esi, eax
shr ecx, 0xa
xor esi, ecx
mov eax, edx
mov ecx, edx
ror eax, 7
rol ecx, 0xe
xor ecx, eax
shr edx, 3
xor ecx, edx
add esi, ecx
add esi, dword [ebx - 0x3c]
add esi, dword [ebx - 0x18]
mov dword [ebx + 4], esi
sub edi, 1
jne 0x4156eb
mov edi, dword [ebp - 0x124]
xor ebx, ebx
mov eax, dword [edi + 0x50]
mov edx, dword [edi + 0x54]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x12c], eax
mov eax, dword [edi + 0x58]
mov dword [ebp - 0x114], eax
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x120], eax
mov eax, dword [edi + 0x60]
mov dword [ebp - 0x10c], eax
mov eax, dword [edi + 0x64]
mov dword [ebp - 0x118], eax
mov eax, dword [edi + 0x68]
mov dword [ebp - 0x11c], eax
mov eax, dword [edi + 0x6c]
mov edi, dword [ebp - 0x128]
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x108], eax
mov ecx, edx
mov esi, edi
xor ecx, edi
ror esi, 0xd
and ecx, dword [ebp - 0x114]
and edx, edi
xor ecx, edx
mov eax, edi
rol eax, 0xa
xor esi, eax
mov eax, edi
ror eax, 2
xor esi, eax
add esi, ecx
mov ecx, dword [ebp - 0x10c]
mov edx, ecx
mov eax, ecx
rol eax, 7
ror edx, 0xb
xor edx, eax
mov eax, ecx
ror eax, 6
not ecx
and ecx, dword [ebp - 0x11c]
xor edx, eax
mov eax, dword [ebp - 0x118]
and eax, dword [ebp - 0x10c]
xor ecx, eax
mov eax, dword [ebp - 0x11c]
add edx, ecx
mov ecx, dword [ebp - 0x120]
add edx, dword [ebx + 0x438800]
add edx, dword [ebp + ebx - 0x104]
add ebx, 4
add edx, dword [ebp - 0x108]
mov dword [ebp - 0x108], eax
add ecx, edx
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x110], edi
lea edi, [edx + esi]
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x114], eax
cmp ebx, 0x100
jl 0x415781
mov eax, dword [ebp - 0x12c]
add eax, edi
mov edi, dword [ebp - 0x124]
add dword [edi + 0x60], ecx
add dword [edi + 0x54], edx
mov ecx, dword [ebp - 0x118]
add dword [edi + 0x64], ecx
mov edx, dword [ebp - 0x114]
add dword [edi + 0x58], edx
mov ecx, dword [ebp - 0x11c]
add dword [edi + 0x68], ecx
mov ecx, dword [ebp - 0x108]
add dword [edi + 0x6c], ecx
mov edx, dword [ebp - 0x120]
add dword [edi + 0x5c], edx
mov ecx, dword [ebp - 4]
mov dword [edi + 0x50], eax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041687e
mov esp, ebp
pop ebp
ret