joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47c9e5
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 4
mov eax, 0x481764
call fcn.0044daf6
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
mov ebx, eax
call esi
mov edi, 0x1388
jmp 0x47ca17
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp byte [0x49f2b3], 0
jne 0x47ca1d
call esi
sub eax, ebx
cmp eax, edi
jb 0x47ca04
mov al, byte [ebp + 8]
mov byte [0x49f7a4], al
mov al, byte [ebp + 0xc]
mov byte [0x49f7a5], al
push 0x490e40
lea eax, [ebp - 0x10]
push eax
call fcn.00401093
and dword [ebp - 4], 0
mov eax, dword [0x49f79c]
sub eax, dword [0x49f798]
and dword [ebp + 8], 0
sar eax, 2
test eax, eax
jbe 0x47cb08
mov ebx, 0x49f78c
mov edi, dword [ebp + 8]
mov esi, ebx
call fcn.0040440e
mov eax, dword [eax]
cmp dword [eax + 0x18], 0
je 0x47caee
cmp byte [0x49f7a5], 0
je 0x47ca86
call fcn.0040440e
mov eax, dword [eax]
test byte [eax + 0x1c], 2
je 0x47caee
cmp byte [0x49f7a4], 0
je 0x47caa1
mov edi, dword [ebp + 8]
mov esi, ebx
call fcn.0040440e
mov eax, dword [eax]
test byte [eax + 0x1c], 1
je 0x47caee
mov edi, dword [ebp + 8]
mov esi, ebx
call fcn.0040440e
mov edi, dword [eax]
test edi, edi
je 0x47caba
call fcn.0047c959
test eax, eax
jne 0x47caee
mov edi, dword [ebp + 8]
call fcn.0040440e
mov esi, dword [eax]
call fcn.0047c7b1
mov esi, ebx
call fcn.0040440e
mov eax, dword [eax]
push dword [eax + 0xc]
lea eax, [ebp - 0x10]
push 0x490e44
push eax
call fcn.00404880
push dword [ebp - 0x10]
call fcn.0047bc89
add esp, 0x10
mov eax, dword [0x49f79c]
sub eax, dword [0x49f798]
inc dword [ebp + 8]
sar eax, 2
cmp dword [ebp + 8], eax
jb 0x47ca5e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004027bb
xor eax, eax
call fcn.0044dbce
ret 8

Function at 0x47cef2
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x144
mov eax, dword [0x49a0d0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push edi
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0xcc]
rep stosd dword es:[edi], eax
push 0x11c
xor edi, edi
lea eax, [ebp - 0xa8]
push edi
push eax
call fcn.0044d300
add esp, 0xc
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], 0x11c
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x47cfe3
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp eax, edi
je 0x47cf71
lea ecx, [ebp - 0xcc]
push ecx
call eax
jmp 0x47cf7e
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
xor eax, eax
cmp dword [ebp - 0x98], 2
jne 0x47cfe3
cmp dword [ebp - 0xa4], 4
jbe 0x47cfe3
cmp dword [ebp - 0xa4], 6
jne 0x47cfb4
cmp dword [ebp - 0xa0], edi
jne 0x47cfa7
push 4
jmp 0x47cfd5
cmp dword [ebp - 0xa0], 1
jne 0x47cfe3
push 5
jmp 0x47cfd5
cmp dword [ebp - 0xa4], 5
jne 0x47cfe3
cmp dword [ebp - 0xa0], 2
jne 0x47cfca
push 3
jmp 0x47cfd5
cmp dword [ebp - 0xa0], 1
jne 0x47cfd8
push 2
pop eax
jmp 0x47cfe3
cmp dword [ebp - 0xa0], edi
jne 0x47cfe3
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop edi
call fcn.004498d8
add ebp, 0x78
leave
ret
Function at 0x47d837
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 1
xor edi, edi
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47d8cf
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
push edi
push edi
push edi
push 0x49133c
push dword [ebp - 4]
call esi
test eax, eax
jne 0x47d8c6
inc dword [ebp - 8]
push dword [ebp - 8]
call fcn.004498c2
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x47d8c6
lea eax, [ebp - 8]
push eax
push ebx
push edi
push edi
push str.ProgramW6432Dir
push dword [ebp - 4]
call esi
test eax, eax
je 0x47d8b3
inc edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.0044a3fd
pop ecx
mov eax, edi
jmp 0x47d8d2
push ebx
push 0x104
push dword [ebp + 8]
call fcn.0044a38e
add esp, 0xc
jmp 0x47d89f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x47d921
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x49a0d0]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
push 0x3e
push eax
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x4a]
push eax
call fcn.0044d300
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x4c]
push str._c:_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
xor ecx, ebp
call fcn.004498d8
leave
ret
Function at 0x47d982
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x49a0d0]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x14
mov eax, 0x48159a
call fcn.0044daf6
mov eax, dword [ebp + 0x41c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x420]
xor ebx, ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp + 0x208]
push ecx
mov esi, 0x104
push esi
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
cmp eax, ebx
jne 0x47d9f7
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x47d9ed
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x47dabb
lea eax, [ebp - 0x10]
push eax
push 0x4847ac
push 1
push ebx
push 0x4862fc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, ebx
jl 0x47daa8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
cmp eax, ebx
je 0x47da33
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x4915e4
push eax
call dword [ecx]
mov eax, dword [ebp - 0x10]
lea edx, [ebp + 0x208]
push edx
mov byte [ebp - 4], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov edi, eax
cmp edi, ebx
jl 0x47da98
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0x4912cc
push eax
call dword [ecx + 0x1c]
mov edi, eax
cmp edi, ebx
jl 0x47da98
cmp dword [ebp - 0x18], ebx
je 0x47da76
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x18]
push eax
call dword [ecx + 0x44]
mov edi, eax
cmp edi, ebx
jl 0x47da98
push esi
push dword [ebp - 0x1c]
lea eax, [ebp]
push esi
push eax
call fcn.0044a5c0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add esp, 0x10
push 1
lea edx, [ebp]
push edx
push eax
call dword [ecx + 0x18]
mov edi, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x47daa8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x47dab9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
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.004498d8
add ebp, 0x414
leave
ret 8
Function at 0x47daed
Capabilities:
Check if file exists
Copy file
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x49a0d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x414], ax
xor edi, edi
lea eax, [ebp - 0x412]
push edi
push eax
call fcn.0044d300
xor eax, eax
push esi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.0044d300
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.Softlink
lea eax, [ebp - 0x20c]
push eax
call esi
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push str.SLDefault.xml
lea eax, [ebp - 0x20c]
push eax
call esi
cmp dword [0x49f310], 8
mov ecx, dword [0x49f2fc]
jae 0x47db90
mov ecx, 0x49f2fc
lea edx, [ebp - 0x414]
movzx eax, word [ecx]
inc ecx
mov word [edx], ax
inc ecx
inc edx
inc edx
cmp ax, di
jne 0x47db96
push str.Softlink.xml
lea eax, [ebp - 0x414]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47dbd9
push edi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004498d8
leave
ret
Function at 0x47dc57
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x49a0d0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x49f310], 8
mov eax, dword [0x49f2fc]
jae 0x47dc7d
mov eax, 0x49f2fc
push ebx
push esi
push edi
push eax
mov ebx, 0x104
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0044a38e
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
push 0x4912d0
lea eax, [ebp - 0x414]
push eax
call edi
push 0
push 0x10
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x1f
pop esi
call fcn.0047b8e9
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
jne 0x47dcf5
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x20c]
call fcn.0047d982
push 0
push 0x10
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp dword [0x49f310], 8
mov eax, dword [0x49f2fc]
jae 0x47dd1b
mov eax, 0x49f2fc
push eax
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0044a38e
add esp, 0xc
push str.ali_
lea eax, [ebp - 0x414]
push eax
call edi
cmp dword [0x49f310], 8
mov eax, dword [0x49f2fc]
jae 0x47dd4d
mov eax, 0x49f2fc
push eax
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.0044a38e
add esp, 0xc
push str.ali_taobao.ico
lea eax, [ebp - 0x61c]
push eax
call edi
push 0x49105c
lea eax, [ebp - 0x20c]
push eax
call edi
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
jne 0x47dda0
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x20c]
call fcn.0047d982
push 0
push 0x10
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp dword [0x49f310], 8
mov eax, dword [0x49f2fc]
jae 0x47ddc6
mov eax, 0x49f2fc
push eax
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0044a38e
add esp, 0xc
push str.ali1
lea eax, [ebp - 0x414]
push eax
call edi
cmp dword [0x49f310], 8
mov eax, dword [0x49f2fc]
jae 0x47ddf8
mov eax, 0x49f2fc
push eax
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.0044a38e
add esp, 0xc
push str.aliyihaodian.ico
lea eax, [ebp - 0x61c]
push eax
call edi
push 0x4911bc
lea eax, [ebp - 0x20c]
push eax
call edi
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
jne 0x47de4b
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x20c]
call fcn.0047d982
push 0
push 0xb
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x1f
pop esi
call fcn.0047b8e9
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47de94
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x20c]
call fcn.0047d982
push 0
push 2
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xf
pop esi
call fcn.0047b8e9
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004498d8
leave
ret
Function at 0x47e109
Capabilities:
Get common file path
Get program files directory
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x49a0d0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x49f380], 8
mov eax, dword [0x49f36c]
push ebx
push esi
push edi
mov edi, ecx
jae 0x47e134
mov eax, 0x49f36c
push eax
push 0x410
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f0
push dword [edi + 4]
call esi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
push 0x3ee
push dword [edi + 4]
call esi
push 0
push eax
call ebx
push 0x3ee
push dword [edi + 4]
call esi
push 0x64
xor ebx, ebx
push ebx
push 0x406
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x20
push 0x3ec
push dword [edi + 4]
call esi
push eax
call dword [sym.imp.SHLWAPI.dll_SHAutoComplete]
push ebx
push ebx
lea ebx, [ebp - 0x414]
call fcn.004801c5
cmp eax, 1
jne 0x47e234
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor esi, esi
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.0044d300
add esp, 0xc
cmp dword [edi + 0x58], esi
je 0x47e1e6
lea eax, [ebp - 0x20c]
push eax
call fcn.0047d837
test eax, eax
je 0x47e1f7
push esi
push 0x26
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x15
pop esi
call fcn.0047b8e9
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
push 0x3ec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x3ed
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
jmp 0x47e25f
lea eax, [ebp - 0x414]
push eax
mov ebx, 0x3ec
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebx
push dword [edi + 4]
call esi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push ebx
push dword [edi + 4]
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [edi + 0x58], 1
mov esi, edi
sete al
mov byte [0x49f2b2], al
call fcn.0047dc11
push ecx
mov eax, esp
mov dword [ebp - 0x418], esp
add edi, 0x60
push edi
mov dword [eax], 0xca
call fcn.004036f2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004498d8
leave
ret

Function at 0x47e2a2
Capabilities:
Get disk information

Disassembly:
push 8
mov eax, 0x481787
call fcn.0044daf6
mov esi, ecx
cmp word [esi], 0
je 0x47e32f
push 0x5c
push esi
call fcn.0044a4d2
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x47e32f
mov edi, ebx
sub edi, esi
sar edi, 1
push esi
inc edi
mov ecx, 0x49c4ec
lea esi, [ebp - 0x14]
call fcn.0040375f
and dword [ebp - 4], 0
mov edi, dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, 1
je 0x47e327
cmp eax, 5
je 0x47e327
add ebx, 2
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.00401093
lea esi, [ebp - 0x10]
call fcn.004036d6
mov esi, eax
mov eax, dword [ebp - 0x10]
inc esi
neg esi
sbb esi, esi
add eax, 0xfffffff0
inc esi
call fcn.004027bb
lea eax, [edi - 0x10]
call fcn.004027bb
mov eax, esi
jmp 0x47e331
lea eax, [edi - 0x10]
call fcn.004027bb
xor eax, eax
call fcn.0044dbce
ret
Function at 0x47e337
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
sub esp, 0x228
lea ebp, [esp - 4]
mov eax, dword [0x49a0d0]
xor eax, ebp
mov dword [ebp + 0x228], eax
push 0xc8
mov eax, 0x481c1f
call fcn.0044daf6
xor ebx, ebx
xor eax, eax
mov dword [ebp - 4], ebx
push 0x208
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push ebx
push eax
call fcn.0044d300
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
lea eax, [ebp + 0x1c]
push eax
lea esi, [ebp]
call fcn.00402975
push str._regsvr32.exe
mov eax, esi
push eax
mov byte [ebp - 4], 1
call fcn.004014af
cmp dword [ebp + 0x24c], 8
mov eax, dword [ebp + 0x238]
jae 0x47e3bc
lea eax, [ebp + 0x238]
push 0x491200
push eax
call fcn.0044a471
pop ecx
pop ecx
test eax, eax
je 0x47e45e
push 0x491204
lea esi, [ebp - 0x58]
call fcn.00402975
mov edi, eax
push 0x491208
lea esi, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.00402975
lea ecx, [ebp + 0x234]
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 3
call fcn.004037bb
push edi
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 4
call fcn.004037bb
add esp, 0x18
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x234]
mov byte [ebp - 4], 5
call fcn.00402c5e
push 1
xor ebx, ebx
lea esi, [ebp - 0x74]
call fcn.00402d9d
push 1
lea esi, [ebp - 0x3c]
call fcn.00402d9d
push 1
lea esi, [ebp - 0x90]
call fcn.00402d9d
push 1
lea esi, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00402d9d
lea eax, [ebp]
cmp byte [ebp + 0x250], bl
je 0x47e470
push 0x49120c
jmp 0x47e475
push str.__u
push eax
call fcn.004014af
push str.__s
lea eax, [ebp]
push eax
call fcn.004014af
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x234]
lea ecx, [ebp]
call fcn.00401839
push 0x44
pop esi
push esi
lea eax, [ebp - 0xd4]
push ebx
push eax
call fcn.0044d300
mov eax, dword [ebp + 4]
add esp, 0xc
cmp dword [ebp + 0x18], 8
mov dword [ebp - 0xd4], esi
jae 0x47e4c0
lea eax, [ebp + 4]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0xd4]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x47e53e
push 0xdbba0
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
mov byte [ebp - 0xd], 1
push 1
xor ebx, ebx
lea esi, [ebp]
call fcn.00402d9d
push 1
lea esi, [ebp + 0x234]
call fcn.00402d9d
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x228]
xor ecx, ebp
call fcn.004498d8
add ebp, 0x22c
leave
ret
mov byte [ebp - 0xd], bl
jmp 0x47e4ff
Function at 0x47e543
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
sub esp, 0x42c
lea ebp, [esp - 4]
mov eax, dword [0x49a0d0]
xor eax, ebp
mov dword [ebp + 0x42c], eax
push 4
mov eax, 0x481e94
call fcn.0044daf6
cmp dword [edi + 0x58], 1
mov esi, ecx
sete al
xor ebx, ebx
mov byte [0x49f2b2], al
cmp esi, ebx
je 0x47e582
call fcn.0047e2a2
jmp 0x47e584
xor eax, eax
cmp eax, ebx
jne 0x47e58a
xor esi, esi
cmp byte [ebp + 0x438], bl
je 0x47e5ad
cmp esi, ebx
je 0x47e5ad
push esi
lea eax, [ebp + 0x224]
push 0x104
push eax
call fcn.0044a38e
add esp, 0xc
jmp 0x47e5e8
lea eax, [ebp + 0x224]
cmp dword [edi + 0x58], ebx
je 0x47e5c7
push eax
call fcn.0047d837
cmp eax, ebx
je 0x47e5d2
jmp 0x47e6b4
push ebx
push 0x26
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x15
pop esi
call fcn.0047b8e9
push eax
lea eax, [ebp + 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x224]
push eax
mov esi, 0x49f2f8
push esi
call fcn.00402950
lea ecx, [ebp + 0x224]
call fcn.0047e2a2
cmp eax, ebx
jne 0x47e611
xor eax, eax
inc eax
jmp 0x47e6b4
push 0x104
lea eax, [ebp + 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp + 0x1c]
push eax
lea ecx, [edi + 0x5c]
call fcn.0047fe64
cmp eax, ebx
jl 0x47e609
lea eax, [ebp + 0x224]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x49137c
lea eax, [ebp]
push esi
push eax
call fcn.00403806
add esp, 0xc
push ebx
sub esp, 0x1c
lea eax, [ebp]
mov esi, esp
mov dword [ebp - 0x10], esp
push eax
mov dword [ebp - 4], ebx
call fcn.00402cea
call fcn.0047e337
add esp, 0x20
xor esi, esi
inc esi
push edi
mov dword [edi + 0x54], esi
call fcn.0047df49
push esi
sub esp, 0x1c
lea eax, [ebp]
mov esi, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.00402cea
call fcn.0047e337
add esp, 0x20
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.0047dc57
call dword [sym.imp.ole32.dll_CoUninitialize]
push 1
xor ebx, ebx
lea esi, [ebp]
call fcn.00402d9d
xor eax, eax
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.004498d8
add ebp, 0x430
leave
ret 4
Function at 0x47eb03
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.0044d300
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
add esp, 0xc
mov eax, esi
neg eax
sbb eax, eax
and eax, 0x40
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edi, eax
test esi, esi
je 0x47eb6f
test edi, edi
je 0x47eb6f
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
test eax, eax
jne 0x47eb6f
and dword [esi], eax
mov eax, edi
pop edi
leave
ret

Function at 0x47ee00
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1c8]
sub esp, 0x248
mov eax, dword [0x49a0d0]
xor eax, ebp
mov dword [ebp + 0x1c4], eax
push ebx
push esi
xor esi, esi
push esi
push esi
lea ebx, [ebp - 0x44]
call fcn.004801c5
test eax, eax
jne 0x47ee80
push 0x491434
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47ee80
push 0x38
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.0044d300
mov eax, ebx
mov dword [ebp - 0x70], eax
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x7c], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
mov ecx, dword [ebp + 0x1c4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004498d8
add ebp, 0x1c8
leave
ret