joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429e11
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.0043db80
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 0x429ec1
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 0x429ec1
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
lea edx, [ebp - 0x7c]
push edx
push 0x4d0238
push esi
push dword [ebp - 0x80]
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x429ec1
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
push dword [ebp - 0x7c]
call fcn.00429cb1
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.0043db65
add ebp, 0x198
leave
ret

Function at 0x429ed8
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.0043db80
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 0x429f88
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 0x429f88
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
lea edx, [ebp - 0x7c]
push edx
push 0x4d0238
push esi
push dword [ebp - 0x80]
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x429f88
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
push dword [ebp - 0x7c]
call fcn.00429cb1
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.0043db65
add ebp, 0x198
leave
ret
Function at 0x42b041
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 0x42b0d9
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 0x42b08a
push ebx
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
call fcn.0043d800
mov ecx, dword [ebp - 0x1c]
push esi
mov eax, esi
call fcn.0042a6c1
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 0x42b0b2
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x14]
call fcn.0043d800
add dword [ebp - 0x10], ebx
add esp, 0xc
add esi, ebx
dec edi
jne 0x42b080
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043db65
leave
ret

Function at 0x42b0e7
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 0x42b18a
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 0x42b14c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
test eax, eax
mov dword [ebp - 0xc], eax
jle 0x42b174
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.0043db80
jmp 0x42b171
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.0043d800
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 0x42b11c
pop edi
pop ebx
pop esi
leave
ret
Function at 0x42b4cd
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
cmp word [eax], 0x5a4d
je 0x42b4e0
xor eax, eax
leave
ret
push esi
mov esi, dword [eax + 0x3c]
add esi, eax
cmp dword [esi], 0x4550
je 0x42b4f5
xor eax, eax
jmp 0x42b5e6
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 0x42b528
push 4
push ebx
push dword [esi + 0x50]
push eax
call edi
test eax, eax
mov dword [ebp - 4], eax
je 0x42b5db
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.0043d800
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.0042b0e7
mov edi, dword [ebp - 4]
mov eax, edi
add esp, 0x18
sub eax, dword [esi + 0x34]
je 0x42b5aa
push eax
mov eax, ebx
call fcn.0042b24b
pop ecx
call fcn.0042b2c4
test eax, eax
je 0x42b5d4
push ebx
call fcn.0042b18d
mov eax, dword [ebx]
mov eax, dword [eax + 0x28]
test eax, eax
pop ecx
je 0x42b5e2
add eax, edi
je 0x42b5d4
push 0
xor esi, esi
inc esi
push esi
push edi
call eax
test eax, eax
jne 0x42b5df
push ebx
call fcn.0042b454
pop ecx
xor eax, eax
jmp 0x42b5e4
mov dword [ebx + 0x10], esi
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x42cb0b
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.0043db80
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0xc
push edi
call esi
test eax, eax
jne 0x42cbe4
push edi
lea eax, [ebp - 0x80]
push 0x4ca39c
push eax
call fcn.0043ec84
lea eax, [ebp - 0x80]
push str..del
push eax
call fcn.0043ea1e
add esp, 0x14
test eax, eax
je 0x42cb82
push 5
push ebx
push edi
jmp 0x42cbde
test ebx, ebx
lea eax, [ebp - 0x80]
jne 0x42cb9a
push edi
push str._s.del
push eax
call fcn.0043ec84
add esp, 0xc
jmp 0x42cbaa
push ebx
push edi
push str._s.del_d
push eax
call fcn.0043ec84
add esp, 0x10
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42cbca
lea eax, [ebp - 0x80]
push eax
call esi
test eax, eax
jne 0x42cbca
cmp ebx, 0xa
jg 0x42cbe4
inc ebx
jmp 0x42cb82
lea eax, [ebp - 0x80]
push eax
push edi
call fcn.00441b61
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.0043db65
add ebp, 0x18c
leave
ret 4

Function at 0x42cc6b
Capabilities:
Delete file

Disassembly:
push 0
mov eax, 0x4c4aa1
call fcn.0043e6f2
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 0x42cc90
lea ecx, [esi - 0x10]
jmp 0x42cca6
lea ecx, [ebp + 8]
call fcn.0042bb9a
push eax
mov ecx, edi
call fcn.0042cb0b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040debb
xor eax, eax
inc eax
call fcn.0043e7ca
ret 4
Function at 0x42d637
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, 0x4c4c18
call fcn.0043e6f2
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.0043db80
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 0x42d76a
lea eax, [ebp + 0x38]
push str.MicrosoftInternet_ExplorerQuick_Launch
push eax
call fcn.0043dd24
pop ecx
pop ecx
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004015a0
push 0x4e31b4
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], esi
call fcn.00403470
push edi
lea ecx, [ebp + 0x1c]
call fcn.00403470
push 0x4cbf4c
lea ecx, [ebp + 0x1c]
call fcn.00403470
mov ecx, dword [ebp - 0x14]
lea eax, [ebp]
push eax
call fcn.0042d36f
mov eax, dword [ebp + 4]
push 8
pop edi
cmp dword [ebp + 0x18], edi
mov byte [ebp - 4], 1
jae 0x42d701
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42d737
cmp dword [ebp + 0x18], edi
mov ecx, dword [ebp + 4]
jae 0x42d717
lea ecx, [ebp + 4]
cmp dword [ebp + 0x34], edi
mov eax, dword [ebp + 0x20]
jae 0x42d722
lea eax, [ebp + 0x20]
push dword [ebp - 0x10]
push esi
push esi
push 1
push ecx
push esi
push ebx
push eax
call fcn.0041e1c1
add esp, 0x20
jmp 0x42d754
cmp dword [ebp + 0x34], edi
mov eax, dword [ebp + 0x20]
jae 0x42d742
lea eax, [ebp + 0x20]
push dword [ebp - 0x10]
push esi
push esi
push 1
push esi
push ebx
push eax
call fcn.0041e0e7
add esp, 0x1c
push esi
push 1
lea ecx, [ebp]
call fcn.00401770
push esi
push 1
lea ecx, [ebp + 0x1c]
call fcn.00401770
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.0043db65
add ebp, 0x244
leave
ret 0xc
Function at 0x42d78f
Capabilities:
Create process on windows

Disassembly:
push 0x40
mov eax, 0x4c4c50
call fcn.0043e75b
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.0041ee5a
pop ecx
pop ecx
xor esi, esi
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.00403470
push 0x4cbf4c
lea ecx, [ebp - 0x2c]
call fcn.00403470
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
push eax
call fcn.0042d36f
cmp dword [ebp - 0x30], 8
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
jae 0x42d7e7
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x42d7f3
lea eax, [ebp - 0x28]
push 0x4e31d4
push ecx
mov ecx, dword [ebp - 0x4c]
push esi
push esi
push 1
push esi
push edi
push eax
call fcn.0042ca1e
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x42d814
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.00401770
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401770
call fcn.0043e7de
ret 8
Function at 0x42d8a4
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, 0x4c4cca
call fcn.0043e6f2
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.0043db80
push esi
lea eax, [ebp + 0x226]
push edi
push eax
mov word [ebp + 0x224], di
call fcn.0043db80
add esp, 0x18
mov esi, 0x4e31d4
push esi
lea ecx, [ebp - 0x10]
call fcn.0042bee2
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.0042bee2
push esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0042bee2
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0042bee2
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 0x42da80
push 0x4cf694
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x224]
push str._s_s_
push eax
call fcn.0043ec84
lea eax, [ebp + 0x224]
push eax
call fcn.0041d32a
push 0x4cf694
lea eax, [ebp + 0x224]
push eax
lea eax, [ebp - 0x10]
push str._s_s.lnk
push eax
call fcn.0042cd05
add esp, 0x24
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebx + 0x18], 8
jb 0x42d99d
mov eax, dword [ebx + 4]
jmp 0x42d9a0
lea eax, [ebx + 4]
push str.Wnie.exe
push eax
lea eax, [ebp - 0x14]
push 0x4ca484
push eax
call fcn.0042cd05
add esp, 0x10
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.0042d36f
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
mov byte [ebp - 4], 4
jae 0x42d9d2
lea eax, [ebp + 4]
push eax
lea eax, [ebp - 0x18]
push 0x4ca39c
push eax
call fcn.0042cd05
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.0042ca1e
lea eax, [ebp + 0x224]
push eax
lea eax, [ebp - 0x10]
push 0x4cf724
push eax
call fcn.0042cd05
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 0x4cf724
push eax
call fcn.0042cd05
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebx + 0x18], 8
jb 0x42da47
mov eax, dword [ebx + 4]
jmp 0x42da4a
lea eax, [ebx + 4]
push str.Uninst.exe
push eax
lea eax, [ebp - 0x14]
push 0x4ca484
push eax
call fcn.0042cd05
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.0042ca1e
push edi
push 1
lea ecx, [ebp]
call fcn.00401770
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040debb
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040debb
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040debb
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040debb
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.0043db65
add ebp, 0x430
leave
ret
Function at 0x42dacf
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.0043db80
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.0042d5bf
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0043db65
leave
ret

Function at 0x42dc01
Capabilities:
Check if file exists

Disassembly:
push 0x44
mov eax, 0x4c4d3f
call fcn.0043e75b
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.0041ee5a
pop ecx
pop ecx
xor esi, esi
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.00403470
push 0x4cbf4c
lea ecx, [ebp - 0x2c]
call fcn.00403470
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
push eax
call fcn.0042d36f
mov eax, dword [ebp - 0x44]
push 8
pop edi
cmp dword [ebp - 0x30], edi
mov byte [ebp - 4], 1
jae 0x42dc61
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42dc97
cmp dword [ebp - 0x30], edi
mov ecx, dword [ebp - 0x44]
jae 0x42dc77
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x28]
jae 0x42dc82
lea eax, [ebp - 0x28]
push dword [ebp - 0x50]
push esi
push esi
push 1
push ecx
push esi
push ebx
push eax
call fcn.0041e1c1
add esp, 0x20
jmp 0x42dcb4
cmp dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x28]
jae 0x42dca2
lea eax, [ebp - 0x28]
push dword [ebp - 0x50]
push esi
push esi
push 1
push esi
push ebx
push eax
call fcn.0041e0e7
add esp, 0x1c
cmp dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x28]
jae 0x42dcbf
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x4c]
push eax
push 1
call fcn.0042d842
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.00401770
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401770
call fcn.0043e7de
ret 0xc
Function at 0x42dce8
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, 0x4c4d74
call fcn.0043e6f2
xor esi, esi
push 0x206
lea eax, [ebp + 0x1e]
push esi
push eax
mov ebx, ecx
mov word [ebp + 0x1c], si
call fcn.0043db80
add esp, 0xc
cmp dword [ebp + 0x230], esi
push esi
lea eax, [ebp + 0x1c]
je 0x42dd54
push 0x19
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42ddf9
lea eax, [ebp + 0x1c]
push eax
mov ecx, ebx
call fcn.0042db31
jmp 0x42ddf9
push 0x10
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42ddf9
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.004015a0
push 0x4e31b4
lea ecx, [ebp]
mov dword [ebp - 4], esi
call fcn.00403470
mov edi, 0x4cf694
push edi
lea ecx, [ebp]
call fcn.00403470
push 0x4cbf4c
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 0x42ddc3
lea ecx, [ebp - 0x24]
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x42ddcf
lea eax, [ebp + 4]
push 0x4e31d4
push esi
push esi
push esi
push 1
push edi
push ecx
push eax
mov ecx, ebx
call fcn.0042ca1e
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.00401770
push esi
push 1
lea ecx, [ebp]
call fcn.00401770
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.0043db65
add ebp, 0x228
leave
ret 4

Function at 0x42de1e
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.0043db80
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 0x42de77
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call fcn.0042db31
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0043db65
leave
ret

Function at 0x42de84
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.0043db80
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 0x42def0
lea eax, [ebp - 0x20c]
push str.MicrosoftInternet_ExplorerQuick_Launch
push eax
call fcn.0043dd24
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call fcn.0042db31
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0043db65
leave
ret
Function at 0x42eceb
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 0x42ee8c
push edi
mov edi, 0x103
push edi
lea eax, [ebp + 0x2a1]
push ebx
push eax
mov byte [ebp + 0x2a0], bl
call fcn.0043db80
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x42ed40
mov esi, dword [esi + 4]
jmp 0x42ed43
add esi, 4
lea eax, [ebp + 0x2a0]
push eax
push esi
call fcn.0041d3d1
push edi
lea eax, [ebp + 0x19d]
push ebx
push eax
mov byte [ebp + 0x19c], bl
call fcn.0043db80
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.0043e060
pop ecx
push eax
lea eax, [ebp + 0x2a0]
push eax
call fcn.0041d2ee
add esp, 0x10
call fcn.0041e525
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x78]
push eax
mov esi, 0xf003f
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 0x42ee8b
lea eax, [ebp - 0x70]
push eax
push esi
push ebx
push str.CommmonSoft
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x42ee00
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 0x42ee8b
lea eax, [ebp - 0x74]
push eax
push esi
push ebx
push str.SoftInfo
push dword [ebp - 0x70]
call edi
test eax, eax
je 0x42ee30
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 0x42ee8b
push 0x206
lea eax, [ebp - 0x6a]
push ebx
push eax
mov word [ebp - 0x6c], bx
call fcn.0043db80
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x19c]
push eax
call fcn.0041d3a8
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 0x42ee7c
push dword [ebp - 0x74]
call esi
cmp dword [ebp - 0x70], ebx
je 0x42ee86
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.0043db65
add ebp, 0x3a8
leave
ret 4
Function at 0x42fd5b
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, 0x4c5178
call fcn.0043e6f2
mov eax, dword [ebp + 0x41c]
xor ebx, ebx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ebx
call fcn.0040deaa
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.0043db80
push esi
lea eax, [ebp + 0x20a]
push ebx
push eax
mov word [ebp + 0x208], bx
call fcn.0043db80
add esp, 0x18
lea ecx, [ebp - 0x38]
call fcn.0040de62
test eax, eax
push 0x104
lea eax, [ebp + 0x208]
push eax
je 0x42fde9
lea ecx, [ebp - 0x38]
call fcn.0040de8b
jmp 0x42fdef
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp]
push 0x4cfb20
push eax
call fcn.0043ec84
mov ecx, dword [ebp - 0x10]
add esp, 0xc
lea eax, [ebp]
push eax
call fcn.004015a0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], bl
call fcn.0040dd85
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.0043db65
add ebp, 0x414
leave
ret 4