joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467835
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [edi]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x44]
mov dword [ebp - 4], eax
inc eax
mov dword [ebp - 8], eax
inc eax
mov dword [edi + 0x44], eax
mov esi, dword [ebx + 0x24]
call fcn.004516f9
mov esi, eax
mov eax, dword [edi]
mov eax, dword [eax + 8]
mov ecx, esi
shl ecx, 4
push dword [ecx + eax]
mov eax, edi
push 0
push dword [ebx]
push 0x1b
call fcn.00457dc9
add esp, 0x10
test eax, eax
jne 0x4679d0
mov eax, dword [ebp - 0x10]
push dword [eax]
mov ebx, dword [eax + 0x14]
push 1
push esi
mov eax, edi
call fcn.00457e40
add esp, 0xc
call fcn.0045c77d
mov ebx, eax
test ebx, ebx
je 0x4679d0
mov eax, dword [ebp + 0xc]
test eax, eax
jl 0x4678b8
mov dword [ebp - 0xc], eax
jmp 0x4678cf
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
push esi
push eax
mov dword [ebp - 0xc], eax
push 0x60
pop eax
mov ecx, ebx
call fcn.0045624d
pop ecx
pop ecx
push dword [ebp + 8]
push edi
call fcn.00462ebc
push 0xfffffffffffffff0
push eax
push esi
push dword [ebp - 0xc]
push dword [ebp - 8]
push ebx
push 0x27
pop eax
call fcn.0045aa2d
add esp, 0x20
cmp dword [ebp + 0xc], 0
jl 0x4678fd
mov dl, 1
mov ecx, ebx
call fcn.0044f9e9
push 0x26
push esi
push dword [ebp - 4]
mov esi, dword [ebp - 0x10]
push edi
call fcn.0045fb68
push 0
push dword [ebp - 4]
mov ecx, ebx
push 0x41
pop eax
call fcn.0045624d
mov dword [ebp - 0xc], eax
mov eax, edi
call fcn.004509cb
mov esi, dword [ebp + 8]
push 1
push eax
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
push esi
push edi
call fcn.004668b9
add esp, 0x2c
cmp byte [esi + 0x18], 0
je 0x467973
mov ecx, dword [esi + 4]
push 0xfffffffffffffff2
push eax
add ecx, eax
push ecx
mov eax, ebx
call fcn.0044f992
inc eax
inc eax
push eax
push dword [ebp - 8]
push ebx
push 0x33
pop eax
call fcn.0045aa2d
push 0xfffffffffffffffe
push 0x4b2d90
push 2
mov eax, edi
call fcn.0045f1cd
add esp, 0x24
push dword [ebp - 0x10]
mov ecx, ebx
push dword [ebp - 8]
push 0x46
pop eax
call fcn.0045624d
mov dl, 0x10
mov ecx, ebx
call fcn.0044f9e9
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.004509e6
mov esi, dword [ebp - 0xc]
lea eax, [esi + 1]
push eax
push dword [ebp - 4]
mov ecx, ebx
push 0x43
pop eax
call fcn.0045624d
mov eax, esi
mov ecx, ebx
call fcn.0044f9fb
push dword [ebp - 4]
mov ecx, ebx
push 0x2b
pop eax
call fcn.0045623c
push dword [ebp - 8]
mov ecx, ebx
push 0x2b
pop eax
call fcn.0045623c
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46cd6d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, eax
mov eax, dword [edi + 0x3c]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax], ebx
jne 0x46cd9a
push eax
mov eax, dword [edi + 0x78]
mov ecx, edi
call fcn.0044e157
pop ecx
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x46ce62
mov ecx, dword [edi + 0x18]
cmp ecx, dword [edi + 0x24]
jbe 0x46cdce
mov eax, dword [edi + 0x80]
push ebx
cdq
push ecx
push edx
push eax
call fcn.0048e980
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [edi + 0x3c]
push 5
mov dword [ebp - 0xc], edx
call fcn.0044adfe
mov eax, dword [edi + 0x18]
pop ecx
pop ecx
mov dword [edi + 0x24], eax
test esi, esi
je 0x46ce62
mov ebx, dword [esi + 0xc]
cmp ebx, dword [edi + 0x18]
ja 0x46ce55
test byte [esi + 0x14], 0x20
jne 0x46ce55
mov eax, dword [edi + 0x80]
cdq
push edx
push eax
lea ecx, [ebx - 1]
push 0
push ecx
call fcn.0048e980
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp ebx, 1
jne 0x46ce08
call fcn.0044e0c2
push dword [ebp - 0xc]
mov eax, dword [esi]
push dword [ebp - 0x10]
mov dword [ebp - 8], eax
push dword [edi + 0x80]
push eax
mov eax, dword [edi + 0x3c]
call fcn.0044ad91
add esp, 0x10
mov dword [ebp - 4], eax
cmp ebx, 1
jne 0x46ce42
mov eax, dword [ebp - 8]
add eax, 0x18
push 0x10
push eax
lea eax, [edi + 0x64]
push eax
call fcn.0048e160
add esp, 0xc
cmp ebx, dword [edi + 0x20]
jbe 0x46ce4a
mov dword [edi + 0x20], ebx
push dword [esi]
mov eax, dword [edi + 0x58]
call fcn.0046c4d9
pop ecx
cmp dword [ebp - 4], 0
mov esi, dword [esi + 8]
je 0x46cdce
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret
Function at 0x473382
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 0xc], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0xc]
lea eax, [ebp - 0xc]
push eax
push esi
mov eax, edi
call fcn.004730da
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
call fcn.00457055
mov byte [ebp - 1], al
mov eax, edi
call fcn.00450900
call fcn.004509cb
mov edi, eax
mov eax, esi
mov eax, dword [eax + 8]
mov esi, dword [ebp + 8]
mov dword [ebp - 8], edi
call fcn.00457673
mov esi, dword [ebp + 0x10]
xor edi, edi
inc edi
mov ecx, ebx
cmp dword [ebp + 0x14], esi
jne 0x4733f1
push dword [ebp + 0x14]
push dword [ebp - 8]
push 0x49
pop eax
call fcn.0045624d
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
jmp 0x47342b
push dword [ebp - 8]
push 0x4a
pop eax
call fcn.0045623c
push esi
mov esi, dword [ebp + 0xc]
push dword [esi + 0x18]
mov dword [ebp - 0x10], eax
push 0x41
pop eax
mov ecx, ebx
call fcn.0045624d
push dword [ebp + 0x14]
mov eax, edi
push 0
mov ecx, ebx
call fcn.0045624d
mov eax, dword [ebp - 0x10]
add esp, 0x14
mov ecx, ebx
call fcn.0044f9fb
cmp dword [ebp - 0x14], edi
jne 0x473458
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 8]
push 0x15
pop eax
call fcn.0045624d
push dword [ebp - 8]
mov ecx, ebx
push dword [ebp + 0x10]
push dword [esi + 0x18]
push 0x34
pop eax
call fcn.004561b8
jmp 0x473530
push edi
lea eax, [ebp - 1]
push eax
push 0
push edi
push dword [ebp - 8]
push ebx
push 0x1d
pop eax
call fcn.0045aa2d
add esp, 0x18
cmp dword [ebp - 0xc], 0
je 0x47351d
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x14]
je 0x47351d
push edi
push dword [ebp - 8]
push 0
push dword [esi + 0x18]
push ebx
push 0x32
pop eax
call fcn.0045aa5a
push dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
push 0x4a
pop eax
mov ecx, ebx
call fcn.0045623c
push edi
push dword [ebp - 0xc]
mov dword [ebp + 0xc], eax
push 0
push dword [esi + 0x18]
push ebx
push 0x32
pop eax
call fcn.0045aa5a
push dword [ebp - 0xc]
mov esi, eax
push 0xffffffffffffffff
push 7
pop eax
mov ecx, ebx
call fcn.0045624d
mov eax, esi
mov ecx, ebx
call fcn.0044f9fb
push edi
push dword [ebp - 0xc]
mov ecx, ebx
push 0x14
pop eax
call fcn.0045624d
mov eax, dword [ebp + 0xc]
mov ecx, ebx
call fcn.0044f9fb
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp - 0xc]
push 0x1a
pop eax
call fcn.0045624d
add esp, 0x44
push dword [ebp + 0x10]
mov eax, edi
push 0
mov ecx, ebx
call fcn.0045624d
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, ebx
call fcn.0044f9fb
jmp 0x473533
push edi
push dword [ebp - 8]
push dword [ebp + 0x10]
push dword [esi + 0x18]
push ebx
push 0x31
pop eax
call fcn.0045aa5a
add esp, 0x14
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.004509e6
mov ecx, edi
call fcn.00450904
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47602a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [eax]
mov eax, dword [ebp + 8]
mov dl, byte [edi]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 4], ecx
cmp dl, 0x4c
jne 0x47605d
push dword [ebp + 0x10]
push dword [edi + 0xc]
push eax
call fcn.00474d0b
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x476119
cmp dl, 0x49
jne 0x47607a
mov eax, dword [ebp + 0x10]
push eax
push 0
mov dword [ebp - 8], eax
push 0xa
pop eax
call fcn.0045624d
pop ecx
pop ecx
jmp 0x476119
mov ecx, dword [ebp + 0x10]
push ebx
push 0
push edi
mov dword [ebp - 8], ecx
call fcn.004730da
mov ebx, dword [edi + 0x18]
mov ecx, dword [ebp - 4]
xor edi, edi
push edi
push ebx
mov dword [ebp - 0xc], eax
push 0x41
pop eax
call fcn.0045624d
add esp, 0x10
cmp dword [esi + 0x40], edi
jne 0x4760b1
mov eax, dword [ebp - 4]
call fcn.00456260
mov dword [esi + 0x28], eax
inc dword [esi + 0x40]
mov eax, dword [esi + 0x40]
mov edx, eax
mov eax, dword [ebp + 8]
push dword [eax]
mov eax, dword [esi + 0x44]
shl edx, 3
call fcn.00453c6e
pop ecx
mov dword [esi + 0x44], eax
cmp eax, edi
je 0x476115
cmp dword [ebp - 0xc], 1
mov ecx, dword [esi + 0x40]
push dword [ebp + 0x10]
lea edi, [eax + ecx*8 - 8]
mov ecx, dword [ebp - 4]
mov dword [edi], ebx
jne 0x4760f3
push ebx
push 0x3d
pop eax
call fcn.0045624d
pop ecx
pop ecx
jmp 0x476101
push 0
push ebx
push 0x1c
pop eax
call fcn.004561b8
add esp, 0xc
push dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [edi + 4], eax
push 0x49
pop eax
call fcn.0045623c
pop ecx
jmp 0x476118
mov dword [esi + 0x40], edi
pop ebx
mov ecx, dword [ebp + 0xc]
push esi
call fcn.004520f0
mov eax, dword [ebp - 8]
pop ecx
pop edi
leave
ret
Function at 0x488b2c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4f4a88], 0
push esi
jne 0x488a9f
call fcn.004889c5
test eax, eax
je 0x488ae2
mov eax, dword [0x4f4a88]
cmp eax, 1
jne 0x488ac0
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x488ae2
pop esi
ret
push eax
call dword [0x4f4a90]
test eax, eax
jne 0x488b2a
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x488ae6
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4f4a88]
call dword [0x4f4a90]
mov edi, eax
test edi, edi
je 0x488b0b
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x488b27
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4f4a88]
call dword [0x4f4a8c]
add edi, 0x10
cmp edi, esi
jb 0x488b13
mov eax, edi
pop edi
pop esi
ret
jmp 0x488a8c

Function at 0x488e60
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4dbc40]
jne 0x488e6a
repz ret
jmp fcn.00493579

Function at 0x4a1ac6
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.00494b96
and dword [ebp - 4], 0
cmp dword [0x4f55f0], 0
mov ebx, eax
jne 0x4a1b77
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4a1c28
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4a1c28
push eax
call fcn.00494b24
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4f55f0], eax
call esi
push eax
call fcn.00494b24
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4f55f4], eax
call esi
push eax
call fcn.00494b24
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4f55f8], eax
call esi
push eax
call fcn.00494b24
pop ecx
mov dword [0x4f5600], eax
test eax, eax
je 0x4a1b77
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00494b24
pop ecx
mov dword [0x4f55fc], eax
mov eax, dword [0x4f55fc]
cmp eax, ebx
je 0x4a1bcf
cmp dword [0x4f5600], ebx
je 0x4a1bcf
push eax
call fcn.00494b9f
push dword [0x4f5600]
mov esi, eax
call fcn.00494b9f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4a1bcf
test edi, edi
je 0x4a1bcf
call esi
test eax, eax
je 0x4a1bc6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4a1bc6
test byte [ebp - 0xc], 1
jne 0x4a1bcf
or dword [ebp + 0x10], 0x200000
jmp 0x4a1c08
mov eax, dword [0x4f55f4]
cmp eax, ebx
je 0x4a1c08
push eax
call fcn.00494b9f
pop ecx
test eax, eax
je 0x4a1c08
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4a1c08
mov eax, dword [0x4f55f8]
cmp eax, ebx
je 0x4a1c08
push eax
call fcn.00494b9f
pop ecx
test eax, eax
je 0x4a1c08
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4f55f0]
call fcn.00494b9f
pop ecx
test eax, eax
je 0x4a1c28
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4a1c2a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4010a0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0xd
lea ebx, [esi + 0x14]
mov dword [esi + 0xd0], eax
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0xd0]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push eax
push 0x406
push ecx
mov dword [ebx], 0x34
call edi
mov edx, dword [esi + 0xd0]
push 0
push 0
push 0x407
push edx
mov dword [esi + 4], eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
push ebx
push 0
push 0x164
push eax
call edi
mov ecx, dword [esi + 0x44]
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
push esi
push 0xffffffffffffffeb
push ecx
call edi
mov edx, dword [esi + 0xd0]
push esi
push 0xffffffffffffffeb
push edx
call edi
mov eax, dword [esi + 0x44]
push 0x401220
push 0xfffffffffffffffc
push eax
call edi
mov ecx, dword [esi + 0xd0]
push 0x401150
push 0xfffffffffffffffc
push ecx
mov dword [esi + 0xc8], eax
call edi
mov dword [esi + 0xcc], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
Function at 0x4066f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0x14
lea ecx, [esp]
call fcn.004449c0
lea eax, [esp + 0x18]
lea ecx, [esp]
push eax
call fcn.00444a60
lea ecx, [esp]
call fcn.00444bb0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x406782
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [esp + 0x10]
call fcn.00444d60
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00444d60
lea ecx, [esp + 0x10]
mov ebp, eax
call fcn.00444d50
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0xf
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
lea ecx, [esp]
call fcn.004449e0
mov eax, dword [esp + 0x18]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4067ba
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4067ba
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
add esp, 0x14
ret
Function at 0x407080
Capabilities:
Check os version

Disassembly:
mov eax, dword [0x5550b0]
push ebx
push esi
push edi
test eax, eax
jne 0x407117
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, 0x45
mov edi, 0x554f70
push 0x554f70
rep stosd dword es:[edi], eax
mov dword [0x554f70], 0x114
call esi
mov ecx, dword [0x554f74]
mov edx, dword [0x554f78]
mov eax, ecx
and edx, 0xffff
and eax, 0xffff
shl eax, 0x10
or eax, edx
cmp ecx, 5
mov dword [0x5550b0], eax
jb 0x40711d
mov ecx, 0x47
xor eax, eax
mov edi, 0x554e50
push 0x554e50
rep stosd dword es:[edi], eax
mov dword [0x554e50], 0x11c
call esi
mov eax, dword [0x554e58]
mov ecx, dword [0x554e54]
mov dword [0x554f78], eax
mov eax, dword [0x5550b0]
mov dword [0x554f74], ecx
jmp 0x40711d
mov ecx, dword [0x554f74]
mov ebx, dword [esp + 0x10]
cmp dword [ebx], 0
je 0x4072aa
mov edx, dword [0x554f78]
push ebp
push edx
push ecx
push str.Windows__d._d
push ebx
call fcn.00405cb0
mov eax, dword [0x554f80]
add esp, 0x10
cmp eax, 2
jne 0x4071b3
mov eax, str._Win32_NT
test eax, eax
je 0x407294
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x407294
mov edx, dword [ebx]
mov ecx, dword [edx - 0xc]
lea esi, [edx - 0xc]
cmp ecx, 1
jg 0x40718e
mov edi, dword [edx - 8]
mov ebp, dword [edx - 4]
lea ecx, [edi + eax]
cmp ecx, ebp
jg 0x40718e
lea ecx, [eax + eax]
mov esi, str._Win32_NT
jmp 0x40723d
push str._Win32_NT
mov ecx, dword [edx - 8]
push eax
push edx
push ecx
mov ecx, ebx
call fcn.004059f0
test eax, eax
je 0x407294
push esi
call fcn.00405590
jmp 0x407294
cmp eax, 1
jne 0x4071ff
mov edx, str._Win32_WINDOWS
test edx, edx
je 0x407294
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x407294
mov edx, dword [ebx]
mov ecx, dword [edx - 0xc]
lea esi, [edx - 0xc]
cmp ecx, 1
jg 0x4071f8
mov edi, dword [edx - 8]
mov ebp, dword [edx - 4]
lea ecx, [edi + eax]
cmp ecx, ebp
jg 0x4071f8
lea ecx, [eax + eax]
mov esi, str._Win32_WINDOWS
jmp 0x40723d
push str._Win32_WINDOWS
jmp 0x407193
test eax, eax
jne 0x40726f
mov edx, str._Win32s
test edx, edx
je 0x407294
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x407294
mov edx, dword [ebx]
mov ecx, dword [edx - 0xc]
lea esi, [edx - 0xc]
cmp ecx, 1
jg 0x407265
mov edi, dword [edx - 8]
mov ebp, dword [edx - 4]
lea ecx, [edi + eax]
cmp ecx, ebp
jg 0x407265
lea ecx, [eax + eax]
mov esi, str._Win32s
lea edi, [edx + edi*2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov edx, dword [ecx - 8]
add edx, eax
mov dword [ecx - 8], edx
mov ebx, dword [ebx]
mov eax, dword [ebx - 8]
mov word [ebx + eax*2], 0
jmp 0x407294
push str._Win32s
jmp 0x407193
mov edx, str._Unbekannt
test edx, edx
jne 0x40727c
xor eax, eax
jmp 0x407287
push str._Unbekannt
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push str._Unbekannt
push eax
mov ecx, ebx
call fcn.00405a90
mov eax, dword [esp + 0x18]
pop ebp
test eax, eax
je 0x4072a5
mov ecx, dword [0x554f80]
mov dword [eax], ecx
mov eax, dword [0x5550b0]
pop edi
pop esi
pop ebx
ret
Function at 0x409910
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x218
mov edx, dword [esp + 0x21c]
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], edi
mov eax, dword [edi]
push ecx
push 0x2001f
push 0
push edx
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x409970
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x409960
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
mov esi, eax
test eax, eax
mov dword [esp + 8], ecx
je 0x409990
jmp 0x409974
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x409a33
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0x218
ret 4
lea eax, [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push 0
push 0
lea edx, [esp + 0x18]
push 0
lea eax, [esp + 0x30]
push edx
push eax
push 0
push ecx
mov dword [esp + 0x2c], 0x100
call esi
test eax, eax
jne 0x4099fa
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0xc]
call fcn.00409910
mov edi, eax
test edi, edi
jne 0x409a40
lea edx, [esp + 0x18]
lea ecx, [esp + 0x20]
push edx
mov edx, dword [esp + 0xc]
push eax
push eax
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
push edi
push edx
mov dword [esp + 0x2c], 0x100
call esi
test eax, eax
je 0x4099bc
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 8]
test eax, eax
je 0x409a11
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 8], 0
mov eax, dword [esp + 0x224]
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x409a33
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0x218
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x409a4f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
add esp, 0x218
ret 4
Function at 0x40ba10
Capabilities:
Create directory

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.0043ce30
add esp, 4
test eax, eax
jne 0x40ba2a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
ret
Function at 0x40dd80
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 8
Function at 0x40e170
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x218
mov eax, dword [0x554e0c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x20], eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x24]
xor ebx, ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebx
push ecx
push 0x5432f4
push 1
push ebx
push 0x543394
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebp, dword [esp + 0x234]
mov esi, dword [esp + 0x22c]
test eax, eax
jl 0x40e292
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push 0x5433c4
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jl 0x40e292
mov ecx, dword [esp + 0x244]
mov eax, dword [esp + 0x10]
cmp ecx, ebx
mov edx, dword [eax]
jne 0x40e203
push esi
push eax
call dword [edx + 0x50]
jmp 0x40e208
push ecx
push eax
call dword [edx + 0x14]
cmp eax, ebx
jl 0x40e292
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x238]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
jl 0x40e292
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x23c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
jl 0x40e292
mov eax, dword [esp + 0x18]
push 1
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x240]
push ecx
push esi
mov edx, dword [eax]
push eax
call dword [edx + 0x44]
test eax, eax
jl 0x40e292
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24]
mov edx, dword [eax]
push 0x104
push ecx
push eax
call dword [edx + 0x40]
test eax, eax
jl 0x40e292
mov eax, dword [esp + 0x18]
push 1
push ebp
push eax
mov edx, dword [eax]
mov dword [esp + 0x20], 1
call dword [edx + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x40e2a0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x40e2ae
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [0x547574]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x40e2d4
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x40e2d4
push esi
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x230]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40e2fb
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x40e2fb
push esi
call fcn.00532222
add esp, 4
mov eax, dword [0x547574]
lea edx, [ebp - 0xc]
cmp edx, eax
je 0x40e31a
lea esi, [ebp - 0xc]
push esi
call edi
test eax, eax
jg 0x40e31a
push esi
call fcn.00532222
add esp, 4
mov esi, dword [esp + 0x238]
mov ecx, dword [0x547574]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x40e341
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x40e341
push esi
call fcn.00532222
add esp, 4
mov esi, dword [esp + 0x23c]
mov eax, dword [0x547574]
lea ecx, [esi - 0xc]
cmp ecx, eax
je 0x40e367
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x40e367
push esi
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret