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

Disassembly:
push 0x240
mov eax, 0x48d2cf
call fcn.00458cd6
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor esi, esi
mov dword [ebp - 0x24c], edi
push esi
push eax
call fcn.00432e20
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x19
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
test eax, eax
je 0x4258ba
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x42583f
lea eax, [ebp - 0x218]
push eax
call fcn.00445c91
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402070
and dword [ebp - 4], 0
push 0x4a5544
call fcn.00445c91
pop ecx
push eax
push 0x4a5544
lea ecx, [ebp - 0x230]
call fcn.00403cb0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00425426
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x4258ab
call fcn.00401fb0
mov eax, edi
jmp 0x42596c
or dword [ebp - 4], 0xffffffff
call fcn.00401fb0
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x42596a
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x425901
lea eax, [ebp - 0x218]
push eax
call fcn.00445c91
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00402070
mov esi, 0x4a5544
mov dword [ebp - 4], 1
push esi
call fcn.00445c91
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.00403cb0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.00425426
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.00401fb0
test esi, esi
je 0x42596a
mov eax, esi
jmp 0x42596c
xor eax, eax
call fcn.00458c91
ret 4
Function at 0x425974
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4ae1dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x428], eax
xor edi, edi
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], edi
push eax
push 9
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
mov esi, edi
mov dword [ebp - 0x41c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4259c7
xor eax, eax
jmp 0x425ac6
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00432e20
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ebx, edi
push 0x104
push eax
push edi
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x425ab3
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x425a99
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 0x104
push eax
call fcn.00432e20
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x425a91
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
call fcn.00434f53
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x425a03
push dword [ebp - 0x418]
call edi
mov eax, esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004134d9
mov esp, ebp
pop ebp
ret 4
Function at 0x42640a
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4ae1dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x428], eax
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x418], ebx
push ebx
push eax
mov esi, ebx
mov dword [ebp - 0x41c], ebx
call fcn.00432e20
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 0x109
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x426555
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ebx
jmp 0x42652f
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x426521
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 0x104
push eax
call fcn.00432e20
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x426519
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
call fcn.00434f53
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x42648b
push dword [ebp - 0x418]
call edi
test esi, esi
jne 0x42664a
xor ebx, ebx
lea eax, [ebp - 0x418]
push eax
push 9
push ebx
push 0x492500
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42664a
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
jmp 0x42662e
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x426620
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.00432e20
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x426618
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
call fcn.00434f53
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x42658a
push dword [ebp - 0x418]
call edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004134d9
mov esp, ebp
pop ebp
ret 4
Function at 0x4267ca
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0x83c
mov eax, 0x48d41c
call fcn.00458cd6
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.00432e20
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], ebx
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
je 0x426835
lea eax, [ebp - 0x218]
push eax
call fcn.00445c91
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00402070
mov dword [ebp - 4], ebx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push ebx
call fcn.00445c91
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x848]
call fcn.00403cb0
xor ebx, ebx
cmp word [esi], bx
jne 0x42686f
mov eax, ebx
jmp 0x426876
push esi
call fcn.00445c91
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00403cb0
mov esi, str..lnk
push esi
call fcn.00445c91
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00403cb0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x848]
push eax
call esi
test eax, eax
je 0x426984
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.00432e20
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.00432e20
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00445c6f
add esp, 0x20
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00425181
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.00432e20
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x420]
push eax
call fcn.00445c91
pop ecx
test eax, eax
jne 0x426972
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00445c6f
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x426984
xor esi, esi
inc esi
jmp 0x426986
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.00401fb0
mov eax, esi
call fcn.00458c91
ret 4
Function at 0x42699e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ae1dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x4b03a0]
test al, al
jne 0x426a37
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00432e20
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x426a2e
lea eax, [ebp - 0x20c]
push eax
call fcn.00445e7a
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.00434f53
pop ecx
pop ecx
test eax, eax
jne 0x426a26
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.00434f53
pop ecx
pop ecx
test eax, eax
je 0x426a2e
mov byte [0x4b03a0], bl
jmp 0x426a34
mov bl, byte [0x4b03a0]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004134d9
mov esp, ebp
pop ebp
ret
Function at 0x427458
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ae1dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.00432e20
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push 0x17
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4274c3
lea eax, [ebp - 0x20c]
push 0x4a5544
push eax
call fcn.00445bfe
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00426a45
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004134d9
mov esp, ebp
pop ebp
ret 4
Function at 0x4278c6
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push 0x18
mov eax, 0x48d5ed
call fcn.00458d0d
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
xor esi, esi
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
mov edi, esi
mov dword [ebp - 4], esi
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4279a1
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push esi
cmovae eax, dword [ebp + 8]
push 0x80
push 4
push esi
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
push esi
cmp ebx, 0xffffffff
jne 0x427934
push 1
lea ecx, [ebp + 8]
call fcn.00401fb0
xor eax, eax
jmp 0x4279ae
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
call fcn.0041350d
pop ecx
mov edi, eax
jmp 0x42795f
test edi, edi
jne 0x42796e
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, esi
jmp 0x4279a1
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
push esi
push edi
call fcn.00432e20
add esp, 0xc
lea eax, [ebp - 0x1c]
push esi
push eax
push dword [ebp - 0x14]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4279a1
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
push esi
push 1
lea ecx, [ebp + 8]
call fcn.00401fb0
mov eax, edi
call fcn.00458c7c
ret
Function at 0x4279b4
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push 0xc8
mov eax, 0x48d628
call fcn.00458cd6
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xd0], ebx
push ebx
xor eax, eax
mov dword [ebp - 4], ebx
push 0x4a5558
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
call fcn.00402070
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.00417f04
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x427b28
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push ebx
cmovae eax, dword [ebp + 0xc]
push 0x80
push 4
push ebx
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x427a52
push 0x4a5558
mov ecx, esi
call fcn.00401f10
jmp 0x427b33
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc8], eax
inc eax
push eax
mov dword [ebp - 0xcc], eax
call fcn.0041350d
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x427a91
push 0x4a5558
mov ecx, esi
call fcn.00401f10
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00401fb0
push ebx
jmp 0x427b3f
push dword [ebp - 0xcc]
push 0
push ebx
call fcn.00432e20
add esp, 0xc
lea eax, [ebp - 0xd4]
push 0
push eax
push dword [ebp - 0xc8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc8]
lea ecx, [ebp - 0xc4]
push ebx
call fcn.004198e7
push ebx
call fcn.00413516
pop ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00419135
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.0041a85d
pop ecx
pop ecx
xor ebx, ebx
mov byte [ebp - 4], 4
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004188e8
cmp dword [ebp - 0x30], ebx
jbe 0x427b1d
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402290
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00401fb0
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004040c0
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00401fb0
push ebx
push 1
lea ecx, [ebp + 0xc]
call fcn.00401fb0
mov eax, esi
call fcn.00458c91
ret
Function at 0x429520
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push 0x858
mov eax, 0x48d9f5
call fcn.00458cd6
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x830]
mov esi, dword [ebp + 0xc]
mov ebx, 0x208
and dword [ebp - 0x864], 0
push ebx
push 0
push eax
call fcn.00432e20
lea eax, [ebp - 0x860]
push esi
push eax
call fcn.0041a85d
xor esi, esi
lea eax, [ebp - 0x860]
cmp dword [ebp - 0x84c], 8
mov dword [ebp - 4], esi
cmovae eax, dword [ebp - 0x860]
push eax
lea eax, [ebp - 0x848]
push eax
call fcn.0042e8a0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push 0x4a5550
push eax
call fcn.00409550
push ebx
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00432e20
push ebx
lea eax, [ebp - 0x628]
push esi
push eax
call fcn.00432e20
add esp, 0x40
lea eax, [ebp - 0x420]
push ebx
push esi
push eax
call fcn.00432e20
add esp, 0xc
lea eax, [ebp - 0x420]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00445c6f
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00445bfe
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42964c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.00401f10
push 0
push 1
lea ecx, [ebp - 0x848]
call fcn.00401fb0
push 0
push 1
lea ecx, [ebp - 0x860]
call fcn.00401fb0
mov eax, edi
call fcn.00458c91
ret 8
Function at 0x42dd16
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
mov dword [ebp - 4], eax
lea edi, [eax + 0x210]
mov esi, dword [edi]
mov dword [ebp - 8], edi
cmp esi, dword [eax + 0x214]
je 0x42dde3
lea edi, [esi + 0x28]
lea ecx, [ebx + 0xa8]
mov dword [ebp + 8], edi
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x49002c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
sub edi, 0xffffff80
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x49002c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x49002c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x49002c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebx + 0xa8]
push edi
push eax
call fcn.00446610
mov edi, dword [ebp + 8]
pop ecx
pop ecx
test eax, eax
jne 0x42ddbf
lea eax, [ebx + 0x28]
push edi
push eax
call fcn.00446610
pop ecx
pop ecx
test eax, eax
je 0x42de00
mov eax, 0x1b0
lea ecx, [ebx + 0xa8]
add edi, eax
add esi, eax
mov eax, dword [ebp - 4]
mov dword [ebp + 8], edi
cmp esi, dword [eax + 0x214]
jne 0x42dd49
mov edi, dword [ebp - 8]
lea eax, [ebx + 0xa8]
push eax
call fcn.004457a0
pop ecx
test eax, eax
je 0x42de00
push ebx
mov ecx, edi
call fcn.0042e743
mov al, 1
jmp 0x42de02
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42e686
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4ae1dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, 0x114
push edi
push ebx
xor edi, edi
mov eax, dword [esi + 0x210]
mov dword [esi + 0x214], eax
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.00432e20
add esp, 0xc
mov dword [ebp - 0x118], ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x42e6e7
mov ecx, esi
call fcn.0042e0dd
jmp 0x42e6fc
mov ebx, edi
test edi, edi
jne 0x42e6fc
mov ecx, esi
call fcn.0042dfb8
inc ebx
mov edi, eax
cmp ebx, 0xa
jl 0x42e6e9
mov eax, dword [esi + 0x214]
mov ecx, 0x1b0
sub eax, dword [esi + 0x210]
cdq
idiv ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004134d9
mov esp, ebp
pop ebp
ret

Function at 0x42eb94
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push str.kernel32.dll
mov esi, ecx
call ebx
mov dword [esi], eax
test eax, eax
je 0x42ec14
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4933e8
push eax
call edi
push str.IsWow64Process
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.Wow64RevertWow64FsRedirection
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call ebx
mov dword [esi + 4], eax
test eax, eax
je 0x42ec13
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push eax
call edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
ret
Function at 0x42ec70
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2038
call fcn.00413520
mov eax, dword [0x4ae1dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x61c]
push esi
xor edi, edi
push edi
push eax
call fcn.00432e20
push str.C:log_
mov ebx, 0x104
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.00447524
push 0x800
lea eax, [ebp - 0x1028]
push edi
push eax
call fcn.00432e20
push str.YZWallpaper
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.log
push eax
call fcn.0042ec34
push esi
lea eax, [ebp - 0x824]
push edi
push eax
call fcn.00432e20
add esp, 0x40
lea eax, [ebp - 0x20c]
push esi
push edi
push eax
call fcn.00432e20
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.00432f7a
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
je 0x42eeb2
lea eax, [ebp - 0x20c]
push eax
call fcn.00445c91
lea ecx, [ebp - 0x20a]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.00447524
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.txt
push eax
call fcn.0042ec34
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x1028]
push 0x3ff
push 0x400
push eax
call fcn.00404920
push edi
call fcn.0043a5e1
mov dword [ebp - 0x2038], eax
lea eax, [ebp - 0x2038]
push eax
mov dword [ebp - 0x2034], edx
call fcn.004465de
add esp, 0x40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x1028]
push ecx
push eax
push dword [esi]
mov eax, dword [esi + 0x10]
push dword [esi + 4]
inc eax
push dword [esi + 8]
push dword [esi + 0xc]
push eax
mov eax, dword [esi + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp - 0x2028]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.0042ec52
xor eax, eax
add esp, 0x28
mov word [ebp - 0x82a], ax
lea eax, [ebp - 0x414]
push eax
call ebx
xor ebx, ebx
inc ebx
test eax, eax
lea eax, [ebp - 0x414]
push 0x4934a0
push eax
cmovne edi, ebx
call fcn.0043d03e
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x42eeb2
test edi, edi
jne 0x42ee58
push esi
push 2
lea eax, [ebp - 0x2030]
mov dword [ebp - 0x2030], 0xfeff
push ebx
push eax
call fcn.00445a63
add esp, 0x10
lea eax, [ebp - 0x2028]
push eax
call fcn.00445c91
push esi
add eax, eax
push eax
lea eax, [ebp - 0x2028]
push ebx
push eax
call fcn.00445a63
push esi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xd
push ebx
push eax
call fcn.00445a63
push esi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xa
push ebx
push eax
call fcn.00445a63
push esi
call fcn.0043ce3c
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004134d9
mov esp, ebp
pop ebp
ret