joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e68e
Capabilities:
Hide graphical window

Disassembly:
push dword [0x4d9a80]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41e6be
push 0
push dword [0x4d9a80]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4d9a88]
mov ecx, dword [eax + 0x298]
push 0
call fcn.0043f75b
ret

Function at 0x41e6bf
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
push edi
lea eax, [ebp - 0x2c]
push eax
push dword [0x4d9a80]
call esi
lea eax, [ebp - 0x6c]
push eax
xor ebx, ebx
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call edi
push eax
push ebx
call edi
push eax
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 4], 0x1e
mov dword [ebp - 8], eax
call fcn.00435dd2
cmp dword [eax], 1
je 0x41e729
cmp dword [eax + 4], ebx
je 0x41e77e
push ebx
push 0x4ae0f8
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41e77e
lea eax, [ebp - 0x3c]
push eax
push edi
mov dword [ebp - 4], 0x46
call esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x1c]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_SubtractRect]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
sub esi, ebx
mov eax, esi
cdq
idiv dword [ebp - 4]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
sub ecx, edi
push 5
push 0
push 0
sub ebx, eax
mov eax, ecx
cdq
idiv dword [ebp - 4]
sub ebx, dword [ebp - 8]
add ebx, esi
push ebx
sub edi, eax
sub edi, dword [ebp - 0xc]
add edi, ecx
push edi
push 0
push dword [0x4d9a80]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
Function at 0x420300
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x100c]
mov eax, 0x100c
call fcn.00465b30
push 0xffffffffffffffff
push 0x4a1167
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x202c
call fcn.00465b30
mov eax, dword [0x4d6080]
xor eax, ebp
mov dword [ebp + 0x1008], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x1018]
or dword [ebp - 0x18], 0xffffffff
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
jne 0x4203b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0x1020], bl
je 0x420394
cmp eax, 0x20
je 0x42038d
cmp eax, 0x21
jne 0x420394
xor eax, eax
jmp 0x4204bf
cmp eax, ebx
jle 0x4203a4
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x4203b7
mov dword [ebp - 0x30], eax
push 0x4c6570
lea eax, [ebp - 0x30]
push eax
call fcn.004647ea
mov esi, 0x2800
push esi
call fcn.004447d5
pop ecx
mov edi, eax
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp + 0x101c]
push dword [ebp + 0x1014]
call sub.msi.dll_MsiRecordSetStringA
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x42041e
push 0x1004
push ebx
push eax
lea ecx, [ebp - 0x203c]
call fcn.0041f8e0
push eax
lea eax, [ebp - 0x1038]
push eax
call fcn.00465b60
add esp, 0xc
push 0x4c6560
lea eax, [ebp - 0x1038]
jmp 0x4203b1
cmp dword [ebp - 0x14], ebx
je 0x420491
push ebx
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x14]
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x420461
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42044f
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x420461
mov dword [ebp - 0x24], eax
push 0x4c6570
lea eax, [ebp - 0x24]
jmp 0x4203b1
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x14]
je 0x420491
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42047f
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x420491
mov dword [ebp - 0x34], eax
push 0x4c6570
lea eax, [ebp - 0x34]
jmp 0x4203b1
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x1c], eax
cmp eax, ebx
ja 0x4203cf
mov byte [ebp - 4], bl
push edi
call fcn.00463f3b
pop ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0xffffffff
je 0x4204bc
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1008]
xor ecx, ebp
call fcn.004646d1
add ebp, 0x100c
leave
ret
Function at 0x42159e
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x4d6080]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x20
mov eax, 0x4a1545
call fcn.004646e0
xor ebx, ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
mov edi, 0x2001f
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionInstallerRunOnceEntries
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
lea ecx, [ebp - 0x28]
call fcn.004014e0
test eax, eax
je 0x421620
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401490
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.004646d1
add ebp, 0x414
leave
ret 4
xor eax, eax
push 0x40e
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
mov dword [ebp - 0x18], ebx
call fcn.00465a70
add esp, 0xc
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 0x1c], 0x208
push ebx
jmp 0x4216cc
inc dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 1
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push esi
lea ecx, [ebp - 0x14]
call fcn.004014e0
test eax, eax
jne 0x421688
mov ecx, dword [ebp - 0x20]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042111d
test eax, eax
jne 0x4216e2
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnceEx
push esi
lea ecx, [ebp - 0x14]
call fcn.004014e0
test eax, eax
jne 0x4216af
mov ecx, dword [ebp - 0x20]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042111d
test eax, eax
jne 0x4216e2
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00401490
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x421654
jmp 0x4215ed
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00401490
xor ebx, ebx
inc ebx
jmp 0x4215ed
Function at 0x42217d
Capabilities:
Delete file
Enumerate files on windows
Get common file path

Disassembly:
push ebp
sub esp, 0xab8
lea ebp, [esp - 4]
mov eax, dword [0x4d6080]
xor eax, ebp
mov dword [ebp + 0xab8], eax
push 0x3c
mov eax, 0x4a18d2
call fcn.004646e0
mov esi, dword [ebp + 0xac4]
xor eax, eax
push 0x7fe
mov word [ebp + 0x2b8], ax
xor ebx, ebx
lea eax, [ebp + 0x2ba]
push ebx
push eax
call fcn.00465a70
add esp, 0xc
lea eax, [ebp + 0x2b8]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 1
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp + 0x2b8]
push eax
lea ecx, [ebp + 0x250]
call fcn.004018b0
mov dword [ebp - 4], ebx
push 1
lea eax, [ebp - 0xd]
push eax
push 0x4ae748
lea ecx, [ebp + 0x284]
call fcn.004018b0
mov byte [ebp - 4], 1
lea eax, [ebp + 0x284]
push eax
lea ecx, [ebp + 0x250]
call fcn.00421b50
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x284]
call fcn.00401670
or dword [ebp - 0x14], 0xffffffff
mov byte [ebp - 4], 2
cmp dword [ebp + 0x26c], 8
mov eax, dword [ebp + 0x258]
jae 0x42224b
lea eax, [ebp + 0x258]
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push eax
lea ecx, [ebp - 0x14]
call fcn.00420548
cmp dword [ebp - 0x14], 0xffffffff
jmp 0x4222fe
lea eax, [ebp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jg 0x4222ef
push 1
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp + 0x2b8]
push eax
lea ecx, [ebp + 0x284]
call fcn.004018b0
mov byte [ebp - 4], 3
push 1
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x48]
call fcn.004018b0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp + 0x284]
call fcn.00421b50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00401670
cmp dword [ebp + 0x2a0], 8
mov eax, dword [ebp + 0x28c]
jae 0x4222d9
lea eax, [ebp + 0x28c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x284]
call fcn.00401670
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x422268
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.0041fd86
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x250]
call fcn.00401670
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xab8]
xor ecx, ebp
call fcn.004646d1
add ebp, 0xabc
leave
ret 4
Function at 0x425d1f
Capabilities:
Delete directory
Delete file

Disassembly:
push 0x10
mov eax, 0x4a2350
call fcn.004646e0
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 1
lea esi, [edi + 0x34]
mov eax, dword [esi + 0xc]
push esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040cf4e
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
jmp 0x425d78
lea ecx, [ebp - 0x14]
call fcn.0040ccd5
cmp dword [eax + 0x1c], 8
jb 0x425d66
mov eax, dword [eax + 8]
jmp 0x425d69
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x14]
call fcn.0040cd3a
mov eax, dword [esi + 0x10]
push esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040cf4e
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040cd01
test al, al
je 0x425d53
cmp dword [edi + 0x1c], 8
jb 0x425da0
mov eax, dword [edi + 8]
jmp 0x425da3
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.0040d1c7
or dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.004016d0
call fcn.004647b8
ret 4
Function at 0x427e8a
Capabilities:
Check os version

Disassembly:
push ebp
sub esp, 0x184
lea ebp, [esp - 4]
mov eax, dword [0x4d6080]
xor eax, ebp
mov dword [ebp + 0x184], eax
push 0x88
mov eax, 0x4a2863
call fcn.004646e0
mov esi, dword [ebp + 0x190]
lea eax, [ebp]
push eax
mov dword [ebp - 0x14], ecx
mov dword [ebp], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp + 4], 5
jne 0x42800b
push 2
pop ebx
cmp dword [ebp + 8], ebx
jne 0x42800b
cmp byte [ebp + 0x11a], 1
je 0x42800b
push 0x4ad150
push esi
call fcn.00465aea
pop ecx
pop ecx
test eax, eax
jne 0x427f05
inc eax
jmp 0x4280a3
xor edi, edi
inc edi
push edi
lea eax, [ebp - 0xd]
push eax
push esi
lea ecx, [ebp + 0x11c]
call fcn.004096ba
mov dword [ebp - 4], ebx
xor ebx, ebx
cmp dword [ebp + 0x134], ebx
je 0x427ffc
lea ecx, [ebp - 0x2c]
call fcn.0040d11c
mov byte [ebp - 4], 3
push edi
lea eax, [ebp - 0x2c]
push eax
push ebx
push 0x2c
lea ecx, [ebp + 0x11c]
call fcn.00411504
push edi
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x150]
call fcn.00401f90
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
push 0x34
cdq
pop ecx
idiv ecx
xor esi, esi
test eax, eax
jbe 0x427fe1
push edi
lea eax, [ebp - 0xd]
push eax
push str.dotnetfxsp1.exe
lea ecx, [ebp - 0x94]
call fcn.004096ba
mov byte [ebp - 4], 5
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.0041fca5
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0041c97a
add esp, 0xc
mov byte [ebp - 4], 6
push ebx
push ebx
lea ecx, [ebp + 0x150]
push ecx
mov ecx, dword [ebp - 0x14]
push eax
call fcn.00423082
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x60]
call fcn.004016d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.004016d0
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
push 0x34
cdq
pop ecx
idiv ecx
inc esi
cmp esi, eax
jb 0x427f6f
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x150]
call fcn.004016d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0040d1c7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x11c]
jmp 0x42809c
xor edi, edi
inc edi
push edi
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x150]
call fcn.00401f90
and dword [ebp - 4], 0
push 0x4ad150
push esi
call fcn.00465aea
pop ecx
pop ecx
test eax, eax
jne 0x428092
push edi
lea eax, [ebp - 0xd]
push eax
push str.dotnetfxsp1.exe
lea ecx, [ebp - 0x60]
call fcn.004096ba
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
push 0
push edi
lea eax, [ebp + 0x150]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00423082
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.004016d0
test bl, bl
je 0x428092
mov ecx, dword [ebp - 0x14]
call fcn.0041fc7f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x150]
call fcn.004016d0
xor eax, eax
jmp 0x4280a3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x150]
call fcn.004016d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x184]
xor ecx, ebp
call fcn.004646d1
add ebp, 0x188
leave
ret 4
Function at 0x432a7f
Capabilities:
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0xd4]
sub esp, 0x154
mov eax, dword [0x4d6080]
xor eax, ebp
mov dword [ebp + 0xd0], eax
and dword [ebp - 0x58], 0
push esi
push edi
mov edi, ecx
call fcn.004057df
xor esi, esi
lea eax, [ebp - 0x44]
inc esi
push eax
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x44], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
sub eax, 0
mov dword [ebp - 0x4c], ecx
je 0x432b2c
dec eax
je 0x432b21
dec eax
jne 0x432b33
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x5c], 2
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x80]
dec eax
push 4
pop ecx
je 0x432b14
dec eax
je 0x432b0b
dec eax
jne 0x432b17
mov dword [ebp - 0x5c], 5
jmp 0x432b17
mov dword [ebp - 0x5c], 3
jmp 0x432b17
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0x40], ecx
jb 0x432b33
mov dword [ebp - 0x58], esi
jmp 0x432b33
movzx eax, cx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x4c], eax
jmp 0x432b33
mov dword [ebp - 0x5c], 7
lea eax, [ebp - 0x5c]
push eax
mov ecx, edi
call fcn.004057db
mov ecx, eax
call fcn.00435dd9
mov ecx, dword [ebp + 0xd0]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004646d1
add ebp, 0xd4
leave
ret

Function at 0x432c9d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x432cd4
mov edx, dword [ecx + 0xd8]
mov ecx, dword [ebp + 8]
push esi
movzx eax, byte [ecx]
xor eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x10]
dec dword [ebp + 0xc]
and eax, 0xff
mov eax, dword [edx + eax*4]
shr esi, 8
xor esi, eax
inc ecx
cmp dword [ebp + 0xc], 0
mov dword [ebp + 0x10], esi
jne 0x432cb0
pop esi
mov eax, dword [ebp + 0x10]
pop ebp
ret 0xc

Function at 0x433be5
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x433bff
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x433c10
push 0xd
pop eax
jmp 0x433c3d
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x433c13
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8
Function at 0x434314
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x200
lea ebp, [esp - 4]
mov eax, dword [0x4d6080]
xor eax, ebp
mov dword [ebp + 0x200], eax
push 0x18
mov eax, 0x4a48e4
call fcn.004646e0
mov eax, dword [ebp + 0x20c]
xor esi, esi
mov edi, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
lea ecx, [ebp - 0x14]
call fcn.004014e0
mov ebx, eax
cmp ebx, esi
je 0x43439c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401490
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.004646d1
add ebp, 0x204
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x4343b4
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.00434314
cmp eax, esi
jne 0x4343e7
lea eax, [ebp - 0x24]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x100
call ebx
test eax, eax
je 0x4343a4
lea ecx, [ebp - 0x14]
call fcn.00401490
push dword [ebp - 0x1c]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401490
mov eax, esi
jmp 0x434377
Function at 0x4375fe
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
mov esi, ecx
cmp dword [esi + 4], 0
push edi
je 0x437643
mov eax, dword [ebp + 8]
test eax, eax
je 0x437618
and dword [eax], 0
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edi, eax
cmp edi, 0xffffffff
jne 0x437679
push 1
add esi, 0xc
push esi
lea ecx, [ebp - 0x58]
call fcn.0043737d
push 0x4caf8c
lea eax, [ebp - 0x58]
push eax
call fcn.004647ea
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x437679
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x437679
push 1
push eax
add esi, 0xc
push esi
lea ecx, [ebp - 0x54]
call fcn.0043731f
push 0x4caf7c
lea eax, [ebp - 0x54]
jmp 0x43763d
mov eax, edi
pop edi
pop esi
leave
ret 4

Function at 0x437ddc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x58
push esi
mov esi, ecx
cmp eax, 0xffffffff
jne 0x437df0
xor eax, eax
inc eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x437e24
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00459e74
test al, al
jne 0x437e53
push 1
add esi, 0xc
push esi
lea ecx, [ebp - 0x58]
call fcn.0043737d
push 0x4caf8c
lea eax, [ebp - 0x58]
push eax
call fcn.004647ea
push 0
lea ecx, [ebp + 8]
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x437e53
push 1
add esi, 0xc
push esi
lea ecx, [ebp - 0x54]
call fcn.00437292
push 0x4caf7c
lea eax, [ebp - 0x54]
jmp 0x437e1e
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x437e5b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x58
push esi
mov esi, ecx
cmp eax, 0xffffffff
jne 0x437e6f
push 8
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x437ea3
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00459e74
test al, al
jne 0x437ed2
push 1
add esi, 0xc
push esi
lea ecx, [ebp - 0x58]
call fcn.0043737d
push 0x4caf8c
lea eax, [ebp - 0x58]
push eax
call fcn.004647ea
push 0
lea ecx, [ebp + 8]
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x437ed2
push 1
add esi, 0xc
push esi
lea ecx, [ebp - 0x54]
call fcn.00437292
push 0x4caf7c
lea eax, [ebp - 0x54]
jmp 0x437e9d
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x438983
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x834
lea ebp, [esp - 4]
mov eax, dword [0x4d6080]
xor eax, ebp
mov dword [ebp + 0x834], eax
push 0xa4
mov eax, 0x4a582d
call fcn.004646e0
xor eax, eax
push 0x7fe
mov word [ebp + 0x34], ax
xor ebx, ebx
lea eax, [ebp + 0x36]
push ebx
push eax
mov esi, ecx
call fcn.00465a70
add esp, 0xc
push 0x400
lea eax, [ebp + 0x34]
push eax
push 0x4bdf40
push str.ClickOncePackage
push str.Startup
lea ecx, [esi + 0x28]
call fcn.00409ec2
cmp word [ebp + 0x34], bx
jne 0x4389f3
xor eax, eax
jmp 0x438b0d
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
call fcn.0043777c
mov dword [ebp - 4], ebx
cmp dword [eax + 0x1c], 8
jb 0x438a0c
mov eax, dword [eax + 8]
jmp 0x438a0f
add eax, 8
xor esi, esi
inc esi
push esi
lea ecx, [ebp - 0xd]
push ecx
push eax
lea ecx, [ebp]
call fcn.004018b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.004016d0
push esi
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp - 0x48]
call fcn.004018b0
mov byte [ebp - 4], 3
push ebx
push ebx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp]
call fcn.00401c10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, eax
call fcn.00401950
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp]
call fcn.00401750
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb0]
call fcn.00401670
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
call fcn.00401670
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00401670
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
push 4
jae 0x438aa7
lea eax, [ebp + 8]
sub esp, 0x34
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
lea edx, [ebp - 0xd]
push edx
push eax
call fcn.004096ba
mov byte [ebp - 4], 6
mov byte [ebp - 4], 2
call fcn.0044cef2
add esp, 0x38
cmp al, bl
jne 0x438ada
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp]
call fcn.004026b0
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x438ae6
lea eax, [ebp + 8]
push esi
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x20
pop ecx
cmp ecx, eax
sbb esi, esi
neg esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00401670
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x834]
xor ecx, ebp
call fcn.004646d1
add ebp, 0x838
leave
ret
Function at 0x43f75b
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esp + 8], 0
je 0x43f777
mov ecx, esi
call fcn.0043f5ff
pop esi
ret 4

Function at 0x43ffbe
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
push edi
mov edi, ecx
jle 0x44003d
push esi
mov esi, 0x138
push ebx
push esi
call fcn.00465987
push esi
mov ebx, eax
push 0
push ebx
call fcn.00465a70
add esp, 0x10
push 0
lea eax, [ebp - 8]
push eax
push esi
push ebx
push dword [edi + 0x20c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44003b
cmp dword [ebp - 8], 0
je 0x44003b
push ebx
lea ecx, [edi + 0x228]
call fcn.0043feb2
push 1
push 0
push dword [ebx + 0x10c]
mov ecx, edi
push dword [edi + 0x20c]
call fcn.0043fb00
test eax, eax
je 0x44003b
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jl 0x43ffd7
pop ebx
pop esi
pop edi
leave
ret 4