joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fd80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a2c1
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x17c
mov eax, dword [0x58d214]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x134], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x130], xmm0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.0040b600
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40fe0c
xorps xmm0, xmm0
movlpd qword [ebp - 0x14c], xmm0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407d30
mov eax, dword [ebp - 0x14c]
mov edx, dword [ebp - 0x148]
jmp 0x40ff5c
push 0xc
lea ecx, [ebp - 0x20]
call fcn.0040afc0
mov ecx, dword [ebp - 0x134]
add ecx, 0x68
call fcn.0040b600
push eax
lea ecx, [ebp - 0x174]
call fcn.00407820
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x20]
call fcn.0043b1f0
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x174]
call fcn.00407d30
push 0x108
lea ecx, [ebp - 0x128]
call fcn.0040afc0
push 0x544f6c
lea ecx, [ebp - 0x18c]
call fcn.00407820
mov dword [ebp - 0x158], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18c]
push ecx
push 0x592314
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x128]
call fcn.0043c709
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18c]
call fcn.00407d30
lea ecx, [ebp - 0x128]
call fcn.0043c96a
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], edx
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x12c], edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x128]
call fcn.0043c7a1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0043b336
jmp 0x40ff19
mov dword [ebp - 4], 0
jmp 0x40ff29
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x140], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407d30
mov eax, dword [ebp - 0x144]
mov edx, dword [ebp - 0x140]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d48f1
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4177a0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a8cf
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x58d214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], 0
push 0
mov ecx, dword [ebp - 0x38]
call fcn.0040edf0
mov byte [ebp - 4], 1
push 0
mov ecx, dword [ebp - 0x38]
add ecx, 0x28
call fcn.0040edf0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x38]
add ecx, 0x50
call fcn.00417600
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x68
call fcn.00407660
mov byte [ebp - 4], 4
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x80
call fcn.0040ed70
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x38]
add ecx, 0x98
call fcn.00407890
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0xb4], ecx
lea edx, [ebp + 0x14]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0xcc
call fcn.00407660
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x38]
add ecx, 0xe4
call fcn.004117c0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x38]
add ecx, 0xe8
call fcn.00407940
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x38]
add ecx, 0xfc
call fcn.00417760
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x38]
add ecx, 0x108
call fcn.00417620
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x38]
add ecx, 0x118
call fcn.004175a0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x38]
add ecx, 0x120
call fcn.00417b20
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x38]
add ecx, 0x148
call fcn.00417b20
mov ecx, dword [ebp - 0x38]
add ecx, 0x170
call fcn.00417c00
mov ecx, dword [ebp - 0x38]
add ecx, 0x1a4
call fcn.00417c00
mov ecx, dword [ebp - 0x38]
add ecx, 0x1f0
call fcn.00417c00
push 2
mov ecx, dword [ebp - 0x38]
add ecx, 0xb8
call fcn.004184b0
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x58], 0
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x20]
add edx, 1
mov eax, dword [ebp - 0x38]
mov dword [eax + 0xf4], edx
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0xf4], 8
jle 0x41795b
mov edx, dword [ebp - 0x38]
mov dword [edx + 0xf4], 8
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0xf0], ecx
mov edx, dword [ebp - 0x38]
add edx, 0x1d8
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x1a0], eax
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x1d4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.00407ce0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d48f1
mov esp, ebp
pop ebp
ret 0x24
Function at 0x418c60
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a998
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x58d214]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0041d910
movzx eax, al
test eax, eax
je 0x418c9e
mov al, 1
jmp 0x418d87
mov ecx, dword [ebp - 0x10]
call fcn.0041b2c0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x418cb6
xor al, al
jmp 0x418d87
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xb8
call fcn.004184b0
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0xb4], 0
je 0x418ceb
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xb4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ecx + 0xb4]
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x14], 1
jne 0x418d08
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc8], 0
mov ecx, dword [ebp - 0x10]
call fcn.0041d5d0
jmp 0x418d21
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc8], 1
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0041d690
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc8]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.0040c170
add esp, 8
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
push edx
push str.QYDown:down_type
lea eax, [ebp - 0x38]
push eax
call fcn.004057e0
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
call fcn.0040b5b0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x38]
call fcn.00407ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00407ce0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x422d00
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x58d214]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov word [ebp - 0x10], ax
movzx eax, word [ebp - 0x10]
and eax, 0xff
mov word [ebp - 0x10], ax
mov dword [ebp - 0x14], 0x5918a0
push 4
lea ecx, [ebp - 8]
call fcn.0040afc0
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0041f880
push 4
lea ecx, [ebp - 0xc]
call fcn.0040afc0
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0041f950
jmp 0x422d64
lea ecx, [ebp - 8]
call fcn.004187a0
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
call fcn.00418610
movzx ecx, al
test ecx, ecx
je 0x422d9c
lea ecx, [ebp - 8]
call fcn.00418760
mov dword [ebp - 0x18], eax
movzx edx, word [ebp - 0x10]
mov eax, dword [ebp - 0x18]
cmp dword [eax], edx
jne 0x422d9a
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.0040b600
jmp 0x422da1
jmp 0x422d5c
mov eax, 0x545dd4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d48f1
mov esp, ebp
pop ebp
ret

Function at 0x422db0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x58d214]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x593090]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x59189c]
cmp eax, dword [edx + 0x10]
jle 0x422e19
push 0x59189c
call fcn.004d47fd
add esp, 4
cmp dword [0x59189c], 0xffffffff
jne 0x422e19
mov ecx, 0x591884
call fcn.00407890
push 0x543400
call fcn.004d4f12
add esp, 4
push 0x59189c
call fcn.004d47b3
add esp, 4
mov ecx, 0x591884
call fcn.0040b750
movzx ecx, al
test ecx, ecx
je 0x422f1e
push 0x208
push 0
lea edx, [ebp - 0x20c]
push edx
call fcn.0050d990
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x414]
push eax
call fcn.0050d990
add esp, 0xc
mov dword [ebp - 0x418], 0
lea ecx, [ebp - 0x418]
push ecx
push 0x1c
push 0
call sub.SHELL32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 0x418], 0
je 0x422eae
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x418]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x422eae
push 0x104
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea eax, [ebp - 0x414]
push eax
mov ecx, 0x591884
call fcn.004081c0
push 0xffffffffffffffff
push 0x5c
mov ecx, 0x591884
call fcn.00424650
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x41c]
push ecx
push 0
lea edx, [ebp - 0x438]
push edx
mov ecx, 0x591884
call fcn.00420b90
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x420]
push eax
mov ecx, 0x591884
call fcn.004080c0
lea ecx, [ebp - 0x438]
call fcn.00407d30
push str.Local
mov ecx, 0x591884
call fcn.0040b2e0
mov eax, 0x591884
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d48f1
mov esp, ebp
pop ebp
ret
Function at 0x423910
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x58d214]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x214]
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x423949
xor al, al
jmp 0x4239c0
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x210], 1
push 4
lea edx, [ebp - 0x210]
push edx
push 4
push 0
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x21c], eax
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x21c], 0
jne 0x4239b0
mov dword [ebp - 0x218], 1
jmp 0x4239ba
mov dword [ebp - 0x218], 0
mov al, byte [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d48f1
mov esp, ebp
pop ebp
ret

Function at 0x424910
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
mov eax, dword [0x58d214]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.00423910
mov eax, dword [ebp + 8]
push eax
call fcn.0048aef5
add esp, 4
call fcn.00423070
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x54]
push edx
call fcn.004233e0
add esp, 8
push 0xd30
call fcn.004d4602
add esp, 4
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
je 0x424994
push 0xd30
mov ecx, dword [ebp - 0xe0]
call fcn.0040afc0
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0xe0]
call fcn.0042a130
mov dword [ebp - 0xe4], eax
jmp 0x42499e
mov dword [ebp - 0xe4], 0
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], ecx
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0xdc], edx
cmp dword [ebp - 0xdc], 0
jne 0x4249dc
mov dword [ebp - 0xec], 0
lea ecx, [ebp - 0x54]
call fcn.00422b40
mov eax, dword [ebp - 0xec]
jmp 0x424ab9
push 0x84
lea ecx, [ebp - 0xd8]
call fcn.0040afc0
push 0
push str.tt_wizard
lea eax, [ebp - 0xd8]
push eax
call fcn.00408d10
mov ecx, eax
call fcn.004839c0
push 0
push accept
push accept
push accept
push accept
push 0x100
push 0x86c80000
lea ecx, [ebp - 0xd8]
call fcn.00482ce7
push eax
push 0
mov ecx, dword [ebp - 0xdc]
call fcn.0048b9fa
mov ecx, dword [ebp - 0xdc]
call fcn.0048b8a4
movzx ecx, byte [ebp - 0x3b]
test ecx, ecx
je 0x424a68
push 0
mov ecx, dword [ebp - 0xdc]
call fcn.00483190
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x424a7c
push 5
mov ecx, dword [ebp - 0xdc]
call fcn.00483190
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00488d2c
call fcn.00408d10
mov ecx, eax
call fcn.004239d0
call dword [sym.imp.ole32.dll_CoUninitialize]
movzx edx, byte [0x5918a8]
mov dword [ebp - 0xf0], edx
lea ecx, [ebp - 0xd8]
call fcn.00482bd0
lea ecx, [ebp - 0x54]
call fcn.00422b40
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d48f1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42d910
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53be3f
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x58d214]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push str.LagoFast.exe
mov ecx, dword [ebp - 0x10]
call fcn.0042e990
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42d97e
mov eax, dword [ebp - 0x18]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42d97e
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
mov ecx, dword [ebp - 0x10]
call fcn.00430300
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0xcac]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xcc8
call fcn.0042e970
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xcc8
call fcn.00430480
mov ecx, dword [ebp - 0x10]
add ecx, 0x798
call fcn.00482ce7
push eax
lea ecx, [ebp - 0x54]
call fcn.00407820
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.00430980
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xcc8
call fcn.00430460
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00407ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407d30
push 8
call fcn.004d4602
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x1c], 0
je 0x42da5f
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x34]
call fcn.00407c40
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00428290
add esp, 8
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00424ea0
mov dword [ebp - 0x20], eax
jmp 0x42da66
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0xc58
call fcn.00420b20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x42dd10
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x58d214]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x42dd78
mov eax, dword [ebp + 8]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x210]
add ecx, 2
mov dword [ebp - 0x228], ecx
mov edx, dword [ebp - 0x210]
mov ax, word [edx]
mov word [ebp - 0x21a], ax
add dword [ebp - 0x210], 2
cmp word [ebp - 0x21a], 0
jne 0x42dd41
mov ecx, dword [ebp - 0x210]
sub ecx, dword [ebp - 0x228]
sar ecx, 1
mov dword [ebp - 0x22c], ecx
jne 0x42dd7f
xor eax, eax
jmp 0x42debf
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42dd9b
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x42dda5
mov eax, 1
jmp 0x42debf
mov cx, word [0x546058]
mov word [ebp - 0x20c], cx
push 0x206
push 0
lea edx, [ebp - 0x20a]
push edx
call fcn.0050d990
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x218], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x214], edx
mov eax, dword [ebp - 0x214]
mov cx, word [eax]
mov word [ebp - 0x21c], cx
mov edx, dword [ebp - 0x218]
cmp cx, word [edx]
jne 0x42de6f
cmp word [ebp - 0x21c], 0
je 0x42de63
mov eax, dword [ebp - 0x214]
mov cx, word [eax + 2]
mov word [ebp - 0x21e], cx
mov edx, dword [ebp - 0x218]
cmp cx, word [edx + 2]
jne 0x42de6f
add dword [ebp - 0x214], 4
add dword [ebp - 0x218], 4
cmp word [ebp - 0x21e], 0
jne 0x42de09
mov dword [ebp - 0x224], 0
jmp 0x42de7a
sbb eax, eax
or eax, 1
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x230], ecx
cmp dword [ebp - 0x230], 0
jne 0x42de93
xor eax, eax
jmp 0x42debf
lea edx, [ebp - 0x20c]
push edx
call fcn.0042dd10
add esp, 4
test eax, eax
je 0x42deb6
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x42debf
xor eax, eax
jmp 0x42debf
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d48f1
mov esp, ebp
pop ebp
ret
Function at 0x42ded0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x58d214]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 8]
push eax
push 0x557e1c
push 1
push 0
push 0x557e8c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x42df0b
xor al, al
jmp 0x42df9d
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x50]
call edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x798
call fcn.00482ce7
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 0x24]
call eax
lea ecx, [ebp - 0xc]
push ecx
push 0x557e3c
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x42df6b
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 8]
call eax
xor al, al
jmp 0x42df9d
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [eax + 0x18]
call edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 8]
call ecx
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d48f1
mov esp, ebp
pop ebp
ret 8
Function at 0x42e690
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bec8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x58d214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
push 4
lea ecx, [ebp - 0x14]
call fcn.0040afc0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.0041f820
push 4
lea ecx, [ebp - 0x18]
call fcn.0040afc0
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x4c]
call fcn.0041f900
jmp 0x42e6f7
lea ecx, [ebp - 0x14]
call fcn.0040f370
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.00418610
movzx ecx, al
test ecx, ecx
je 0x42e7b1
lea ecx, [ebp - 0x14]
call fcn.0040f310
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x798
call fcn.00482ce7
push eax
lea ecx, [ebp - 0x30]
call fcn.00407820
mov dword [ebp - 4], 0
push 0x547408
lea ecx, [ebp - 0x30]
call fcn.0040b2e0
mov edx, dword [ebp - 0x54]
push edx
lea ecx, [ebp - 0x30]
call fcn.0040b1f0
lea ecx, [ebp - 0x30]
call fcn.0040b600
push eax
call fcn.0051758a
add esp, 4
cmp eax, 0xffffffff
jne 0x42e79d
push 0x54740c
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00421520
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.0040b600
push eax
lea ecx, [ebp - 0x30]
call fcn.0040b600
push eax
call fcn.005173d3
add esp, 8
lea ecx, [ebp - 0x48]
call fcn.00407d30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00407d30
jmp 0x42e6ef
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d48f1
mov esp, ebp
pop ebp
ret 4

Function at 0x42e7d0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x58d214]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0xf023f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42e80b
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d48f1
mov esp, ebp
pop ebp
ret
Function at 0x42e8d0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x58d214]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x26c], ecx
mov ecx, 0x17
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionRun
lea edi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
movzx eax, byte [ebp + 8]
test eax, eax
je 0x42e948
push 0
push 0x5473ec
lea ecx, [ebp - 0x268]
push ecx
push str.DisplayIcon
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallLagoFast
push reloc.WS2_32.dll_bind
call fcn.0042fe10
add esp, 0x18
push 1
lea edx, [ebp - 0x268]
push edx
push 0x546078
lea eax, [ebp - 0x60]
push eax
push reloc.WS2_32.dll_bind
call fcn.004312f0
add esp, 0x14
jmp 0x42e95e
push 0x546078
lea ecx, [ebp - 0x60]
push ecx
push reloc.WS2_32.dll_bind
call fcn.0042e7d0
add esp, 0xc
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d48f1
mov esp, ebp
pop ebp
ret 4

Function at 0x42e990
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x58d214]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x23c], ecx
cmp dword [ebp + 8], 0
jne 0x42e9b6
xor eax, eax
jmp 0x42ea90
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0xffffffff
jne 0x42e9d5
xor eax, eax
jmp 0x42ea90
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42ea81
mov byte [ebp - 0x231], 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.00516ded
add esp, 8
test eax, eax
jne 0x42ea1f
mov byte [ebp - 0x231], 1
movzx ecx, byte [ebp - 0x231]
test ecx, ecx
jne 0x42ea61
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x238]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x42ea61
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.00516ded
add esp, 8
test eax, eax
jne 0x42ea5f
mov byte [ebp - 0x231], 1
jmp 0x42ea1f
movzx eax, byte [ebp - 0x231]
test eax, eax
je 0x42ea81
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x228]
jmp 0x42ea90
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d48f1
mov esp, ebp
pop ebp
ret 4