joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429db7
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
push edi
mov edi, dword [ebp + 0x1a0]
xor esi, esi
push 0x206
lea eax, [ebp - 0x72]
push esi
push eax
mov word [ebp - 0x74], si
call fcn.0043db10
add esp, 0xc
push esi
push 0x19
lea eax, [ebp - 0x74]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], esi
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jl 0x429e67
mov eax, dword [ebp - 0x78]
push esi
lea edx, [ebp - 0x80]
push edx
push esi
lea edx, [ebp - 0x74]
push edx
push esi
push esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x429e67
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
lea edx, [ebp - 0x7c]
push edx
push 0x4d0100
push esi
push dword [ebp - 0x80]
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x429e67
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
push dword [ebp - 0x7c]
call fcn.00429c57
mov eax, dword [ebp - 0x7c]
pop ecx
pop ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 0x194]
pop edi
xor ecx, ebp
pop esi
call fcn.0043daf5
add ebp, 0x198
leave
ret

Function at 0x429e7e
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
push edi
mov edi, dword [ebp + 0x1a0]
xor esi, esi
push 0x206
lea eax, [ebp - 0x72]
push esi
push eax
mov word [ebp - 0x74], si
call fcn.0043db10
add esp, 0xc
push esi
push 0x10
lea eax, [ebp - 0x74]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], esi
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jl 0x429f2e
mov eax, dword [ebp - 0x78]
push esi
lea edx, [ebp - 0x80]
push edx
push esi
lea edx, [ebp - 0x74]
push edx
push esi
push esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x429f2e
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
lea edx, [ebp - 0x7c]
push edx
push 0x4d0100
push esi
push dword [ebp - 0x80]
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x429f2e
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
push dword [ebp - 0x7c]
call fcn.00429c57
mov eax, dword [ebp - 0x7c]
pop ecx
pop ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 0x194]
pop edi
xor ecx, ebp
pop esi
call fcn.0043daf5
add ebp, 0x198
leave
ret
Function at 0x42afe7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
mov dword [ebp - 0x10], ecx
jle 0x42b07f
lea ecx, [eax + 0x80]
add eax, 0x100
push ebx
dec edi
shr edi, 3
push 8
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], eax
inc edi
pop ebx
mov ecx, dword [ebp - 0x10]
mov eax, esi
sub ecx, esi
mov dword [ebp - 0x18], ebx
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec dword [ebp - 0x18]
jne 0x42b030
push ebx
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
call fcn.0043d790
mov ecx, dword [ebp - 0x1c]
push esi
mov eax, esi
call fcn.0042a667
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov cl, byte [ecx + eax]
xor byte [esi + eax], cl
inc eax
cmp eax, ebx
jl 0x42b058
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x14]
call fcn.0043d790
add dword [ebp - 0x10], ebx
add esp, 0xc
add esi, ebx
dec edi
jne 0x42b026
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043daf5
leave
ret

Function at 0x42b08d
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
and dword [ebp - 4], 0
cmp word [eax + 6], 0
mov dword [ebp - 8], ecx
movzx ecx, word [eax + 0x14]
push esi
lea esi, [ecx + eax + 0x18]
jbe 0x42b130
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
add esi, 0x10
mov ebx, 0x1000
mov eax, dword [esi]
test eax, eax
jne 0x42b0f2
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
test eax, eax
mov dword [ebp - 0xc], eax
jle 0x42b11a
push 4
push ebx
push eax
mov eax, dword [esi - 4]
add eax, dword [ebp - 8]
push eax
call edi
push dword [ebp - 0xc]
mov dword [esi - 8], eax
push 0
push eax
call fcn.0043db10
jmp 0x42b117
push 4
push ebx
push eax
mov eax, dword [esi - 4]
add eax, dword [ebp - 8]
push eax
call edi
mov ecx, dword [esi + 4]
push dword [esi]
add ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push ecx
push eax
call fcn.0043d790
mov eax, dword [ebp - 0xc]
mov dword [esi - 8], eax
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
movzx eax, word [eax + 6]
inc dword [ebp - 4]
add esi, 0x28
cmp dword [ebp - 4], eax
jl 0x42b0c2
pop edi
pop ebx
pop esi
leave
ret
Function at 0x42b473
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
cmp word [eax], 0x5a4d
je 0x42b486
xor eax, eax
leave
ret
push esi
mov esi, dword [eax + 0x3c]
add esi, eax
cmp dword [esi], 0x4550
je 0x42b49b
xor eax, eax
jmp 0x42b58c
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
mov ebx, 0x2000
push ebx
push dword [esi + 0x50]
push dword [esi + 0x34]
call edi
test eax, eax
mov dword [ebp - 4], eax
jne 0x42b4ce
push 4
push ebx
push dword [esi + 0x50]
push eax
call edi
test eax, eax
mov dword [ebp - 4], eax
je 0x42b581
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov eax, dword [ebp - 4]
push 4
xor ecx, ecx
push 0x1000
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0x10], ecx
push dword [esi + 0x50]
push eax
call edi
push 4
push 0x1000
push dword [esi + 0x54]
push dword [ebp - 4]
call edi
mov ecx, dword [esi + 0x54]
mov edi, dword [ebp + 8]
add ecx, dword [edi + 0x3c]
mov dword [ebp - 8], eax
push ecx
push edi
push eax
call fcn.0043d790
mov eax, dword [edi + 0x3c]
mov ecx, dword [ebp - 8]
add eax, ecx
mov ecx, dword [ebp - 4]
push ebx
push esi
mov dword [ebx], eax
push edi
mov dword [eax + 0x34], ecx
call fcn.0042b08d
mov edi, dword [ebp - 4]
mov eax, edi
add esp, 0x18
sub eax, dword [esi + 0x34]
je 0x42b550
push eax
mov eax, ebx
call fcn.0042b1f1
pop ecx
call fcn.0042b26a
test eax, eax
je 0x42b57a
push ebx
call fcn.0042b133
mov eax, dword [ebx]
mov eax, dword [eax + 0x28]
test eax, eax
pop ecx
je 0x42b588
add eax, edi
je 0x42b57a
push 0
xor esi, esi
inc esi
push esi
push edi
call eax
test eax, eax
jne 0x42b585
push ebx
call fcn.0042b3fa
pop ecx
xor eax, eax
jmp 0x42b58a
mov dword [ebx + 0x10], esi
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x42caab
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x188], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x194]
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x7e]
push ebx
push eax
mov word [ebp - 0x80], bx
call fcn.0043db10
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0xc
push edi
call esi
test eax, eax
jne 0x42cb84
push edi
lea eax, [ebp - 0x80]
push 0x4ca34c
push eax
call fcn.0043ec14
lea eax, [ebp - 0x80]
push str..del
push eax
call fcn.0043e9ae
add esp, 0x14
test eax, eax
je 0x42cb22
push 5
push ebx
push edi
jmp 0x42cb7e
test ebx, ebx
lea eax, [ebp - 0x80]
jne 0x42cb3a
push edi
push str._s.del
push eax
call fcn.0043ec14
add esp, 0xc
jmp 0x42cb4a
push ebx
push edi
push str._s.del_d
push eax
call fcn.0043ec14
add esp, 0x10
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42cb6a
lea eax, [ebp - 0x80]
push eax
call esi
test eax, eax
jne 0x42cb6a
cmp ebx, 0xa
jg 0x42cb84
inc ebx
jmp 0x42cb22
lea eax, [ebp - 0x80]
push eax
push edi
call fcn.00441af1
pop ecx
pop ecx
push 5
push 0
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp + 0x188]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043daf5
add ebp, 0x18c
leave
ret 4

Function at 0x42cc0b
Capabilities:
Delete file

Disassembly:
push 0
mov eax, 0x4c4a20
call fcn.0043e682
mov edi, ecx
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x42cc30
lea ecx, [esi - 0x10]
jmp 0x42cc46
lea ecx, [ebp + 8]
call fcn.0042bb40
push eax
mov ecx, edi
call fcn.0042caab
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040de8b
xor eax, eax
inc eax
call fcn.0043e75a
ret 4
Function at 0x42d5f3
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 8
mov eax, 0x4c4b97
call fcn.0043e682
mov eax, dword [ebp + 0x254]
mov ebx, dword [ebp + 0x24c]
mov edi, dword [ebp + 0x250]
xor esi, esi
push 0x206
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x3a]
push esi
push eax
mov dword [ebp - 0x14], ecx
mov word [ebp + 0x38], si
call fcn.0043db10
add esp, 0xc
push esi
push 0x1a
lea eax, [ebp + 0x38]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42d726
lea eax, [ebp + 0x38]
push str.MicrosoftInternet_ExplorerQuick_Launch
push eax
call fcn.0043dcb4
pop ecx
pop ecx
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004015d0
push 0x4e3074
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], esi
call fcn.00403470
push edi
lea ecx, [ebp + 0x1c]
call fcn.00403470
push 0x4cbe64
lea ecx, [ebp + 0x1c]
call fcn.00403470
mov ecx, dword [ebp - 0x14]
lea eax, [ebp]
push eax
call fcn.0042d32b
mov eax, dword [ebp + 4]
push 8
pop edi
cmp dword [ebp + 0x18], edi
mov byte [ebp - 4], 1
jae 0x42d6bd
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42d6f3
cmp dword [ebp + 0x18], edi
mov ecx, dword [ebp + 4]
jae 0x42d6d3
lea ecx, [ebp + 4]
cmp dword [ebp + 0x34], edi
mov eax, dword [ebp + 0x20]
jae 0x42d6de
lea eax, [ebp + 0x20]
push dword [ebp - 0x10]
push esi
push esi
push 1
push ecx
push esi
push ebx
push eax
call fcn.0041e045
add esp, 0x20
jmp 0x42d710
cmp dword [ebp + 0x34], edi
mov eax, dword [ebp + 0x20]
jae 0x42d6fe
lea eax, [ebp + 0x20]
push dword [ebp - 0x10]
push esi
push esi
push 1
push esi
push ebx
push eax
call fcn.0041df6b
add esp, 0x1c
push esi
push 1
lea ecx, [ebp]
call fcn.004017a0
push esi
push 1
lea ecx, [ebp + 0x1c]
call fcn.004017a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.0043daf5
add ebp, 0x244
leave
ret 0xc
Function at 0x42d74b
Capabilities:
Create process on windows

Disassembly:
push 0x40
mov eax, 0x4c4bcf
call fcn.0043e6eb
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
push edi
push eax
mov dword [ebp - 0x4c], ecx
call fcn.0041f041
pop ecx
pop ecx
xor esi, esi
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.00403470
push 0x4cbe64
lea ecx, [ebp - 0x2c]
call fcn.00403470
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
push eax
call fcn.0042d32b
cmp dword [ebp - 0x30], 8
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
jae 0x42d7a3
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x42d7af
lea eax, [ebp - 0x28]
push 0x4e3094
push ecx
mov ecx, dword [ebp - 0x4c]
push esi
push esi
push 1
push esi
push edi
push eax
call fcn.0042c9be
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x42d7d0
lea eax, [ebp - 0x28]
push esi
push esi
push esi
push eax
push str.taskbarpin
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.004017a0
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004017a0
call fcn.0043e76e
ret 8
Function at 0x42d860
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
sub esp, 0x42c
lea ebp, [esp - 4]
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x42c], eax
push 0x10
mov eax, 0x4c4c49
call fcn.0043e682
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp + 0x1e]
push edi
push eax
mov ebx, ecx
mov word [ebp + 0x1c], di
call fcn.0043db10
push esi
lea eax, [ebp + 0x226]
push edi
push eax
mov word [ebp + 0x224], di
call fcn.0043db10
add esp, 0x18
mov esi, 0x4e3094
push esi
lea ecx, [ebp - 0x10]
call fcn.0042be88
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.0042be88
push esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0042be88
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0042be88
push edi
push 0x17
lea eax, [ebp + 0x1c]
push eax
push edi
mov byte [ebp - 4], 3
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42da3c
push 0x4cf55c
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x224]
push str._s_s_
push eax
call fcn.0043ec14
lea eax, [ebp + 0x224]
push eax
call fcn.0041d322
push 0x4cf55c
lea eax, [ebp + 0x224]
push eax
lea eax, [ebp - 0x10]
push str._s_s.lnk
push eax
call fcn.0042ccc1
add esp, 0x24
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebx + 0x18], 8
jb 0x42d959
mov eax, dword [ebx + 4]
jmp 0x42d95c
lea eax, [ebx + 4]
push str.Wnie.exe
push eax
lea eax, [ebp - 0x14]
push 0x4ca398
push eax
call fcn.0042ccc1
add esp, 0x10
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.0042d32b
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
mov byte [ebp - 4], 4
jae 0x42d98e
lea eax, [ebp + 4]
push eax
lea eax, [ebp - 0x18]
push 0x4ca34c
push eax
call fcn.0042ccc1
add esp, 0xc
push esi
push dword [ebp - 0x18]
mov ecx, ebx
push edi
push edi
push 1
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.0042c9be
lea eax, [ebp + 0x224]
push eax
lea eax, [ebp - 0x10]
push 0x4cf5ec
push eax
call fcn.0042ccc1
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0x224]
push eax
lea eax, [ebp - 0x10]
push 0x4cf5ec
push eax
call fcn.0042ccc1
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebx + 0x18], 8
jb 0x42da03
mov eax, dword [ebx + 4]
jmp 0x42da06
lea eax, [ebx + 4]
push str.Uninst.exe
push eax
lea eax, [ebp - 0x14]
push 0x4ca398
push eax
call fcn.0042ccc1
add esp, 0x10
push esi
push edi
push edi
push edi
push 1
push edi
push dword [ebp - 0x14]
mov ecx, ebx
push dword [ebp - 0x10]
call fcn.0042c9be
push edi
push 1
lea ecx, [ebp]
call fcn.004017a0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040de8b
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040de8b
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040de8b
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040de8b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x42c]
xor ecx, ebp
call fcn.0043daf5
add ebp, 0x430
leave
ret
Function at 0x42da8b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push edi
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov edi, ecx
call fcn.0043db10
add esp, 0xc
push 0
push 2
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call fcn.0042d57b
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0043daf5
leave
ret

Function at 0x42dbbd
Capabilities:
Check if file exists

Disassembly:
push 0x44
mov eax, 0x4c4cbe
call fcn.0043e6eb
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x2c]
push ebx
push eax
mov dword [ebp - 0x4c], ecx
call fcn.0041f041
pop ecx
pop ecx
xor esi, esi
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.00403470
push 0x4cbe64
lea ecx, [ebp - 0x2c]
call fcn.00403470
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
push eax
call fcn.0042d32b
mov eax, dword [ebp - 0x44]
push 8
pop edi
cmp dword [ebp - 0x30], edi
mov byte [ebp - 4], 1
jae 0x42dc1d
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42dc53
cmp dword [ebp - 0x30], edi
mov ecx, dword [ebp - 0x44]
jae 0x42dc33
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x28]
jae 0x42dc3e
lea eax, [ebp - 0x28]
push dword [ebp - 0x50]
push esi
push esi
push 1
push ecx
push esi
push ebx
push eax
call fcn.0041e045
add esp, 0x20
jmp 0x42dc70
cmp dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x28]
jae 0x42dc5e
lea eax, [ebp - 0x28]
push dword [ebp - 0x50]
push esi
push esi
push 1
push esi
push ebx
push eax
call fcn.0041df6b
add esp, 0x1c
cmp dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x28]
jae 0x42dc7b
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x4c]
push eax
push 1
call fcn.0042d7fe
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.004017a0
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004017a0
call fcn.0043e76e
ret 0xc
Function at 0x42dca4
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 0x1c
mov eax, 0x4c4cf3
call fcn.0043e682
xor esi, esi
push 0x206
lea eax, [ebp + 0x1e]
push esi
push eax
mov ebx, ecx
mov word [ebp + 0x1c], si
call fcn.0043db10
add esp, 0xc
cmp dword [ebp + 0x230], esi
push esi
lea eax, [ebp + 0x1c]
je 0x42dd10
push 0x19
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42ddb5
lea eax, [ebp + 0x1c]
push eax
mov ecx, ebx
call fcn.0042daed
jmp 0x42ddb5
push 0x10
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42ddb5
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.004015d0
push 0x4e3074
lea ecx, [ebp]
mov dword [ebp - 4], esi
call fcn.00403470
mov edi, 0x4cf55c
push edi
lea ecx, [ebp]
call fcn.00403470
push 0x4cbe64
lea ecx, [ebp]
call fcn.00403470
push ebx
lea ecx, [ebp - 0x28]
call fcn.00403330
push str.Wnie.exe
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00403470
cmp dword [ebp - 0x10], 8
mov ecx, dword [ebp - 0x24]
jae 0x42dd7f
lea ecx, [ebp - 0x24]
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x42dd8b
lea eax, [ebp + 4]
push 0x4e3094
push esi
push esi
push esi
push 1
push edi
push ecx
push eax
mov ecx, ebx
call fcn.0042c9be
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.004017a0
push esi
push 1
lea ecx, [ebp]
call fcn.004017a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.0043daf5
add ebp, 0x228
leave
ret 4

Function at 0x42ddda
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push edi
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov edi, ecx
call fcn.0043db10
add esp, 0xc
push 0
push 0xb
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42de33
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call fcn.0042daed
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0043daf5
leave
ret

Function at 0x42de40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push edi
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov edi, ecx
call fcn.0043db10
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42deac
lea eax, [ebp - 0x20c]
push str.MicrosoftInternet_ExplorerQuick_Launch
push eax
call fcn.0043dcb4
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call fcn.0042daed
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0043daf5
leave
ret
Function at 0x42eca3
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x3a4], eax
push ebx
push esi
mov esi, dword [ebp + 0x3b0]
xor ebx, ebx
cmp esi, ebx
je 0x42ee44
push edi
mov edi, 0x103
push edi
lea eax, [ebp + 0x2a1]
push ebx
push eax
mov byte [ebp + 0x2a0], bl
call fcn.0043db10
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x42ecf8
mov esi, dword [esi + 4]
jmp 0x42ecfb
add esi, 4
lea eax, [ebp + 0x2a0]
push eax
push esi
call fcn.0041d3c9
push edi
lea eax, [ebp + 0x19d]
push ebx
push eax
mov byte [ebp + 0x19c], bl
call fcn.0043db10
add esp, 0x14
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x19c]
push eax
lea eax, [ebp + 0x2a0]
push eax
mov dword [ebp - 0x7c], 0xbb8
call fcn.0043dff0
pop ecx
push eax
lea eax, [ebp + 0x2a0]
push eax
call fcn.0041d2e6
add esp, 0x10
call fcn.0041ea0b
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x78]
push eax
mov esi, GetMenuState
push esi
push ebx
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x42ee43
lea eax, [ebp - 0x70]
push eax
push esi
push ebx
push str.CommmonSoft
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x42edb8
push ebx
lea eax, [ebp - 0x70]
push eax
push ebx
push esi
push ebx
push ebx
push ebx
push str.CommmonSoft
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42ee43
lea eax, [ebp - 0x74]
push eax
push esi
push ebx
push str.SoftInfo
push dword [ebp - 0x70]
call edi
test eax, eax
je 0x42ede8
push ebx
lea eax, [ebp - 0x74]
push eax
push ebx
push esi
push ebx
push ebx
push ebx
push str.SoftInfo
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42ee43
push 0x206
lea eax, [ebp - 0x6a]
push ebx
push eax
mov word [ebp - 0x6c], bx
call fcn.0043db10
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x19c]
push eax
call fcn.0041d3a0
add esp, 0x14
push 4
lea eax, [ebp - 0x80]
push eax
push 4
push ebx
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 0x74], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x42ee34
push dword [ebp - 0x74]
call esi
cmp dword [ebp - 0x70], ebx
je 0x42ee3e
push dword [ebp - 0x70]
call esi
push dword [ebp - 0x78]
call esi
pop edi
mov ecx, dword [ebp + 0x3a4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043daf5
add ebp, 0x3a8
leave
ret 4
Function at 0x42fd13
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x2c
mov eax, 0x4c50f7
call fcn.0043e682
mov eax, dword [ebp + 0x41c]
xor ebx, ebx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ebx
call fcn.0040de7a
mov esi, 0x206
push esi
xor edi, edi
lea eax, [ebp + 2]
push ebx
inc edi
push eax
mov dword [ebp - 4], edi
mov word [ebp], bx
call fcn.0043db10
push esi
lea eax, [ebp + 0x20a]
push ebx
push eax
mov word [ebp + 0x208], bx
call fcn.0043db10
add esp, 0x18
lea ecx, [ebp - 0x38]
call fcn.0040de32
test eax, eax
push 0x104
lea eax, [ebp + 0x208]
push eax
je 0x42fda1
lea ecx, [ebp - 0x38]
call fcn.0040de5b
jmp 0x42fda7
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp]
push 0x4cf9e8
push eax
call fcn.0043ec14
mov ecx, dword [ebp - 0x10]
add esp, 0xc
lea eax, [ebp]
push eax
call fcn.004015d0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], bl
call fcn.0040dd55
mov eax, dword [ebp - 0x10]
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.0043daf5
add ebp, 0x414
leave
ret 4