joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 0xffffffffffffffeb
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
je 0x405051
mov edx, dword [eax + 0x1b4]
mov ecx, dword [eax + 0x1b8]
mov ebx, dword [eax + 0x1bc]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 4], ecx
test edx, edx
je 0x40503f
push 0
push edx
call edi
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x405048
push 0
push ecx
call edi
test ebx, ebx
je 0x405051
push 0
push ebx
call edi
mov eax, dword [esi]
test eax, eax
jne 0x405094
mov ecx, esi
call fcn.00404d40
push 5
mov ecx, esi
call fcn.00404c90
test eax, eax
je 0x40508b
push 0x404fa0
push 0
push 0x40a
push dword [esi]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x404fa0
push 0
push 0x40a
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405480
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
mov esi, dword [0x42b470]
push edi
push dword [esi + 4]
call ebx
test eax, eax
jg 0x4055f7
cmp dword [esi + 0x38], 0
je 0x4054fd
cmp word [esi + 0xb4], 0
lea eax, [esi + 0xb4]
je 0x40551e
push eax
push 0x104
push dword [esi + 4]
push 0x4258e0
push str.StartMenuPath
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 4]
cmp word [eax], 0
je 0x40551e
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410c3e
mov esp, ebp
pop ebp
ret
push dword [esi + 4]
push str.StartMenuPath
sub esp, 8
call fcn.00407370
test al, al
je 0x40551e
mov eax, dword [esi + 4]
cmp word [eax], 0
jne 0x4055fa
push dword [esi + 4]
call ebx
test eax, eax
jne 0x4055f7
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push eax
call fcn.00417420
movzx eax, word [ebp - 0xda]
push eax
movzx eax, word [ebp - 0xde]
push eax
lea eax, [ebp - 0xd0]
push str._d_02d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
push 0
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x425dc0
push dword [esi + 4]
call edi
push dword [esi + 0x14]
call ebx
test eax, eax
jne 0x4055bf
cmp dword [esi + 0x38], eax
je 0x4055b1
push 0x4261ac
jmp 0x4055b6
push str.zhibo
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [esi + 0x14]
push dword [esi + 4]
call edi
cmp dword [esi + 0x38], 0
je 0x4055ed
push 0x426158
push dword [esi + 4]
call edi
lea eax, [ebp - 0xd0]
push eax
push dword [esi + 4]
call edi
push 0x42615c
push dword [esi + 4]
call edi
push 0x425dc0
push dword [esi + 4]
call edi
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410c3e
mov esp, ebp
pop ebp
ret
Function at 0x405670
Capabilities:
Get common file path
Get program files directory
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x42b470]
push edi
mov edx, dword [esi]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405692
sub ecx, edi
sar ecx, 1
je 0x4056b5
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410c3e
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x38], 0
je 0x4056ff
cmp word [esi + 0xb4], 0
lea eax, [esi + 0xb4]
je 0x40571d
push eax
push 0x104
push edx
push 0x4258e0
push str.InstallPath
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi]
cmp word [eax], 0
je 0x40571d
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410c3e
mov esp, ebp
pop ebp
ret
push edx
push str.InstallPath
sub esp, 8
call fcn.00407370
test al, al
je 0x40571d
mov eax, dword [esi]
cmp word [eax], 0
jne 0x4057ea
cmp dword [esi + 0x4c], 0
je 0x40579b
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
push 0x62
push eax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push eax
call fcn.00417420
movzx eax, word [ebp - 0x78]
push eax
movzx eax, word [ebp - 0x7a]
push eax
movzx eax, word [ebp - 0x7e]
push eax
movzx eax, word [ebp - 0x80]
push eax
push 0x426160
lea eax, [ebp - 0x70]
push 0x426168
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x28
push 0
push 0x23
push dword [esi]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x70]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [esi]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410c3e
mov esp, ebp
pop ebp
ret
push 0
push 0x26
push dword [esi]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x425dc0
push dword [esi]
call edi
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x4057d8
push str.114MPlayer
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [esi + 0x18]
push dword [esi]
call edi
push 0x425dc0
push dword [esi]
call edi
mov eax, dword [esi]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00410c3e
mov esp, ebp
pop ebp
ret
Function at 0x405800
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [0x42b470]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x4058b3
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x405853
push edi
push 0x104
push dword [esi + 0xc]
push 0x4258e0
push str.REName
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 0xc]
cmp word [eax], 0
je 0x405867
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push dword [esi + 0xc]
push str.REName
sub esp, 8
call fcn.00407370
test al, al
jne 0x4058b2
push str.MPlayer.exe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
test edi, edi
je 0x40589b
push edi
push dword [esi + 0xc]
push str.REName
push str.config
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [esi + 0xc]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push dword [esi + 0xc]
push str.REName
push str.SOFTWARE114zhibo
push 0x80000002
call fcn.004072e0
pop edi
mov eax, dword [esi + 0xc]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x405ad0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x426284
mov esi, eax
push 0x12e
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x405b53
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x405b52
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x405b4b
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea ecx, [esi + 1]
push ecx
call fcn.00410d19
push esi
mov ebx, eax
push edi
push ebx
call fcn.00412b20
add esp, 0x10
mov byte [ebx + esi], 0
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
test ebx, ebx
je 0x405b4b
push ebx
call fcn.00410d8f
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x405bc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [0x42b46c]
mov esi, ecx
push 0
push dword [esi + 4]
lea eax, [esi + 8]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x4258e0
push eax
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x405c05
pop esi
pop ebp
ret 4
push 0
push dword [0x42b46c]
push 0
push eax
push 0x14
push 0x1f7
push 0x3a
push 0
push 0x50000010
push 0x4258e0
push str.Static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, esi
call fcn.004059a0
mov ecx, esi
call fcn.00405a60
mov ecx, esi
call fcn.00405b60
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop esi
pop ebp
ret 4
Function at 0x406720
Capabilities:
Hide graphical window
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x41c
mov eax, dword [0x429280]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c0]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esi]
cmp eax, 1
jne 0x406773
mov eax, dword [edi + 0x194]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x198]
call fcn.00405e00
jmp 0x406921
cmp eax, 2
jne 0x406798
mov eax, dword [edi + 0x198]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x19c]
call fcn.00407d40
jmp 0x406921
cmp eax, 3
jne 0x4067da
mov eax, dword [edi + 0x19c]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [eax]
call ebx
mov esi, dword [edi + 0x1a0]
mov eax, dword [esi]
test eax, eax
jne 0x4067d0
mov ecx, esi
call fcn.004081e0
push 5
mov ecx, esi
call fcn.00408120
jmp 0x406921
push 5
push eax
call ebx
jmp 0x406921
cmp eax, 4
jne 0x4067ff
mov eax, dword [edi + 0x1a0]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x1ac]
call fcn.00405000
jmp 0x406921
cmp eax, 5
jne 0x406824
mov eax, dword [edi + 0x1ac]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x1b0]
call fcn.00401d40
jmp 0x406921
cmp eax, 6
jne 0x406921
xor eax, eax
push 0x206
push eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push eax
call fcn.00417420
add esp, 0xc
call fcn.00405670
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push eax
lea eax, [esp + 0x14]
push eax
call ebx
push 0
call fcn.00405800
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [edi + 0x1b0]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4068ee
push 0
push 0
push 0xf0
push eax
call esi
test eax, eax
je 0x4068ee
xor eax, eax
push 0x206
push eax
mov word [esp + 0x220], ax
lea eax, [esp + 0x222]
push eax
call fcn.00417420
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x21c]
push eax
call ebx
push str.__autorun
lea eax, [esp + 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x218]
push eax
push str.114zhibo
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call fcn.004072e0
mov eax, dword [edi + 0x1b0]
mov eax, dword [eax + 8]
test eax, eax
je 0x406919
push 0
push 0
push 0xf0
push eax
call esi
test eax, eax
je 0x406919
sub esp, 8
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.00408780
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [esp + 0x424]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00410c3e
mov esp, ebp
pop ebp
ret
Function at 0x406940
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x1c0], 0
push edi
lea edi, [esi + 0x1c0]
jle 0x40695b
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [edi]
test eax, eax
jne 0x406984
push eax
mov eax, dword [esi + 0x198]
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x194]
call fcn.0040a820
mov eax, 1
pop edi
pop esi
pop ecx
ret
cmp eax, 1
jne 0x4069ad
mov eax, dword [esi + 0x19c]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x198]
call fcn.00405e00
mov eax, 1
pop edi
pop esi
pop ecx
ret
cmp eax, 2
jne 0x4069d6
mov eax, dword [esi + 0x1a0]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x19c]
call fcn.00407d40
mov eax, 1
pop edi
pop esi
pop ecx
ret
cmp eax, 3
jne 0x4069ff
mov eax, dword [esi + 0x1a4]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x1a0]
call fcn.004086c0
mov eax, 1
pop edi
pop esi
pop ecx
ret
cmp eax, 4
jne 0x406a28
mov eax, dword [esi + 0x1a8]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x1a4]
call fcn.004014b0
mov eax, 1
pop edi
pop esi
pop ecx
ret
cmp eax, 5
jne 0x406a6e
mov eax, dword [esi + 0x1ac]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [eax]
call edi
mov esi, dword [esi + 0x1a8]
mov ecx, esi
cmp dword [esi], 0
jne 0x406a63
call fcn.00407070
push 5
mov ecx, esi
call fcn.00406fc0
mov eax, 1
pop edi
pop esi
pop ecx
ret
call fcn.00406db0
push 5
push dword [esi]
call edi
pop edi
mov eax, 1
pop esi
pop ecx
ret

Function at 0x406fc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [0x42b46c]
mov esi, ecx
push 0
push dword [esi + 4]
lea eax, [esi + 0xc]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x4258e0
push eax
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x407005
pop esi
pop ebp
ret 4
push 0
push dword [0x42b46c]
push 0
push eax
push 0x14
push 0x1f7
push 0x3a
push 0
push 0x50000010
push 0x4258e0
push str.Static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, esi
call fcn.00406cf0
mov ecx, esi
call fcn.00406c80
mov ecx, esi
call fcn.00406f40
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop esi
pop ebp
ret 4
Function at 0x4072e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 8]
push ebx
mov ecx, dword [ebp + 8]
xor bl, bl
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
push edx
lea edx, [ebp - 0xc]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x407351
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xc]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410c3e
mov esp, ebp
pop ebp
ret 0x10

Function at 0x407370
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push edi
mov edi, dword [ebp + 0x14]
xor bl, bl
push eax
push 0x20019
push 0
push str.SOFTWARE114zhibo
push 0x80000002
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4073dc
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410c3e
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4077e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [0x42b46c]
mov esi, ecx
push 0
push dword [esi + 4]
lea eax, [esi + 0x10]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x4258e0
push eax
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x407825
pop esi
pop ebp
ret 4
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [0x42b46c]
push 0
push dword [esi]
push 0x14
push 0x1f7
push 0x3a
push 0
push 0x50000010
push 0x4258e0
push str.Static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, esi
call fcn.00407510
mov ecx, esi
call fcn.004075d0
mov ecx, esi
call fcn.00407690
mov ecx, esi
call fcn.00407700
mov ecx, esi
call fcn.00407770
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop esi
pop ebp
ret 4
Function at 0x407950
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 8]
test edi, edi
je 0x407b89
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00417420
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x210]
add esp, 0xc
push 0x104
push eax
push edi
call ebx
mov edi, dword [sym.imp.SHLWAPI.dll_StrRChrIW]
lea eax, [ebp - 0x210]
push 0x5c
push 0
push eax
call edi
test eax, eax
je 0x4079d8
xor ecx, ecx
push 0x5c
mov word [eax], cx
lea eax, [ebp - 0x210]
push ecx
push eax
call edi
test eax, eax
je 0x4079d8
xor ecx, ecx
mov word [eax + 2], cx
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea eax, [ebp - 0x210]
push 0x425dc0
push eax
call edi
test eax, eax
jne 0x407a01
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [esi + 8]
call ebx
mov eax, dword [esi + 8]
mov dword [ebp - 0x644], eax
lea eax, [ebp - 0x620]
mov dword [ebp - 0x63c], eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x62c], eax
lea eax, [ebp - 0x644]
push eax
mov dword [ebp - 0x640], 0
mov dword [ebp - 0x638], 0x426608
mov dword [ebp - 0x634], 0x50
mov dword [ebp - 0x630], 0x407920
mov dword [ebp - 0x628], 0x80
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov ebx, eax
mov dword [ebp - 0x648], ebx
test ebx, ebx
je 0x407b55
lea eax, [ebp - 0x620]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0x426618
lea eax, [ebp - 0x620]
push eax
call edi
test eax, eax
je 0x407b40
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
call fcn.00417420
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x620]
add esp, 0xc
push eax
lea eax, [ebp - 0x418]
push eax
call ebx
push 0x425dc0
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edi, dword [0x42b470]
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x407af8
push str.114MPlayer
push dword [edi + 0x18]
call ebx
push dword [edi + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x418]
push eax
call edi
push 0x425dc0
lea eax, [ebp - 0x418]
push eax
call edi
lea eax, [ebp - 0x418]
push eax
mov eax, dword [0x42b470]
push dword [eax]
call ebx
lea eax, [ebp - 0x418]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ebx, dword [ebp - 0x648]
jmp 0x407b55
push 0x10
push 0x426120
push 0x42661c
push dword [esi + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [ebp - 0x624]
mov dword [ebp - 0x624], 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x407b89
mov eax, dword [ebp - 0x624]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x624]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410c3e
mov esp, ebp
pop ebp
ret
Function at 0x408120
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [0x42b46c]
mov esi, ecx
push 0
push dword [esi + 4]
lea eax, [esi + 0x10]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x4258e0
push eax
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x408165
pop esi
pop ebp
ret 4
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [0x42b46c]
push 0
push dword [esi]
push 0x14
push 0x1f7
push 0x3a
push 0
push 0x50000010
push 0x4258e0
push str.Static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, esi
call fcn.00407f50
mov ecx, esi
call fcn.00407e90
mov ecx, esi
call fcn.00408010
mov ecx, esi
call fcn.004080b0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop esi
pop ebp
ret 4
Function at 0x408780
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0x44
push ecx
push 0
push 0
push 0x200
push 0
push 0
push 0
push eax
push 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0x4258e0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 5
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40880c
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410c3e
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.00410c3e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x408ed0
Capabilities:
Check if file exists
Create directory
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x218], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00417420
add esp, 0xc
call fcn.00405480
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test edi, edi
je 0x408f67
push edi
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x425dc0
lea eax, [ebp - 0x20c]
push eax
call esi
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [ebp - 0x218]
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x426724
lea eax, [ebp - 0x20c]
push eax
call esi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push 0x421370
push 1
push 0
push 0x421380
mov dword [ebp - 0x214], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x409044
mov eax, dword [ebp - 0x210]
mov esi, dword [ebp - 0x21c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x210]
push 0x4258e0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x210]
push 0
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x421390
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x409044
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40902f
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x20c]
push 2
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [ebp - 0x214]
pop edi
pop esi
test ecx, ecx
je 0x409056
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x210]
test ecx, ecx
je 0x409066
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410c3e
mov esp, ebp
pop ebp
ret 0x14