joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405150
Capabilities:
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x42d670]
push edi
mov edi, dword [esi]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405173
sub ecx, edx
sar ecx, 1
je 0x405197
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041052e
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x38], 0
mov ecx, str.SOFTWAREHaoKan8Info
mov eax, str.SOFTWARELaughInfo
mov dword [ebp - 0x74], 0x104
cmove eax, ecx
lea ecx, [ebp - 0x8c]
push ecx
push 0x20019
push 0
push eax
push 0x80000002
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40520f
lea eax, [ebp - 0x74]
push eax
push edi
lea eax, [ebp - 0x88]
push eax
push 0
push str.InstallPath
push dword [ebp - 0x8c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x8c]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x4052e4
cmp dword [esi + 0x4c], 0
jne 0x405275
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 0x425db0
push dword [esi]
call edi
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x405252
push str.HaoKan8
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [esi + 0x18]
push dword [esi]
call edi
push 0x425db0
push dword [esi]
call edi
mov eax, dword [esi]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041052e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x84]
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.00416d90
movzx eax, word [ebp - 0x7c]
push eax
movzx eax, word [ebp - 0x7e]
push eax
movzx eax, word [ebp - 0x82]
push eax
movzx eax, word [ebp - 0x84]
push eax
push 0x4258c8
lea eax, [ebp - 0x70]
push 0x426144
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]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041052e
mov esp, ebp
pop ebp
ret
Function at 0x405300
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x42d670]
push edi
mov edi, dword [ebp + 8]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x40543e
push ebx
test edi, edi
je 0x40535d
push edi
push 0x104
push dword [esi + 0xc]
push 0x4258c8
push str.REName
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 0xc]
cmp word [eax], 0
je 0x4053be
jmp 0x40543d
mov ebx, dword [esi + 0xc]
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.SOFTWAREHaoKan8Info
push 0x80000002
mov byte [ebp - 0x11], 0
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4053be
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push 0
push str.REName
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, byte [ebp - 0x11]
test eax, eax
push dword [ebp - 0x10]
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x40543d
cmp dword [esi + 0x48], 0
jne 0x4053d7
push str.haokan8.exe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
jmp 0x40540c
push 0
call fcn.00410fc8
push eax
call fcn.00410fb8
call fcn.00410f97
cdq
mov ecx, 0x22
idiv ecx
shl edx, 8
add edx, str.MRAInplaceViewer
push edx
push str._s.exe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
test edi, edi
je 0x405426
push edi
push dword [esi + 0xc]
push str.REName
push str.config
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x40543d
push dword [esi + 0xc]
push str.REName
push str.SOFTWAREHaoKan8Info
push 0x80000002
call fcn.00406e40
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0xc]
xor ecx, ebp
pop edi
pop esi
call fcn.0041052e
mov esp, ebp
pop ebp
ret 4

Function at 0x405620
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 0x42625c
mov esi, eax
push 0x12e
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4056a3
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4056a2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x40569b
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea ecx, [esi + 1]
push ecx
call fcn.00410609
push esi
mov ebx, eax
push edi
push ebx
call fcn.00412490
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 0x40569b
push ebx
call fcn.0041067f
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x405710
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [0x42d66c]
mov esi, ecx
push 0
push dword [esi + 4]
lea eax, [esi + 8]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x4258c8
push eax
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x405755
pop esi
pop ebp
ret 4
push 0
push dword [0x42d66c]
push 0
push eax
push 0x14
push 0x1f7
push 0x3a
push 0
push 0x50000010
push 0x4258c8
push str.Static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, esi
call fcn.004054f0
mov ecx, esi
call fcn.004055b0
mov ecx, esi
call fcn.004056b0
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 0x406260
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 0x4062b3
mov eax, dword [edi + 0x194]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x198]
call fcn.00405950
jmp 0x406461
cmp eax, 2
jne 0x4062d8
mov eax, dword [edi + 0x198]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x19c]
call fcn.00407800
jmp 0x406461
cmp eax, 3
jne 0x40631a
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 0x406310
mov ecx, esi
call fcn.00407c90
push 5
mov ecx, esi
call fcn.00407bd0
jmp 0x406461
push 5
push eax
call ebx
jmp 0x406461
cmp eax, 4
jne 0x40633f
mov eax, dword [edi + 0x1a0]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x1ac]
call fcn.00404bd0
jmp 0x406461
cmp eax, 5
jne 0x406364
mov eax, dword [edi + 0x1ac]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x1b0]
call fcn.00401d20
jmp 0x406461
cmp eax, 6
jne 0x406461
xor eax, eax
push 0x206
push eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push eax
call fcn.00416d90
add esp, 0xc
call fcn.00405150
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push eax
lea eax, [esp + 0x14]
push eax
call ebx
push 0
call fcn.00405300
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 0x40642e
push 0
push 0
push 0xf0
push eax
call esi
test eax, eax
je 0x40642e
xor eax, eax
push 0x206
push eax
mov word [esp + 0x220], ax
lea eax, [esp + 0x222]
push eax
call fcn.00416d90
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.HaoKan8Info
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call fcn.00406e40
mov eax, dword [edi + 0x1b0]
mov eax, dword [eax + 8]
test eax, eax
je 0x406459
push 0
push 0
push 0xf0
push eax
call esi
test eax, eax
je 0x406459
sub esp, 8
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.00408240
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.0041052e
mov esp, ebp
pop ebp
ret
Function at 0x406480
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x1c0], 0
push edi
lea edi, [esi + 0x1c0]
jle 0x40649b
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [edi]
test eax, eax
jne 0x4064c4
push eax
mov eax, dword [esi + 0x198]
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x194]
call fcn.0040a110
mov eax, 1
pop edi
pop esi
pop ecx
ret
cmp eax, 1
jne 0x4064ed
mov eax, dword [esi + 0x19c]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x198]
call fcn.00405950
mov eax, 1
pop edi
pop esi
pop ecx
ret
cmp eax, 2
jne 0x406516
mov eax, dword [esi + 0x1a0]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x19c]
call fcn.00407800
mov eax, 1
pop edi
pop esi
pop ecx
ret
cmp eax, 3
jne 0x40653f
mov eax, dword [esi + 0x1a4]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x1a0]
call fcn.00408180
mov eax, 1
pop edi
pop esi
pop ecx
ret
cmp eax, 4
jne 0x406568
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 0x4065ae
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 0x4065a3
call fcn.00406bd0
push 5
mov ecx, esi
call fcn.00406b20
mov eax, 1
pop edi
pop esi
pop ecx
ret
call fcn.004068e0
push 5
push dword [esi]
call edi
pop edi
mov eax, 1
pop esi
pop ecx
ret

Function at 0x406b20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [0x42d66c]
mov esi, ecx
push 0
push dword [esi + 4]
lea eax, [esi + 0xc]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x4258c8
push eax
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x406b65
pop esi
pop ebp
ret 4
push 0
push dword [0x42d66c]
push 0
push eax
push 0x14
push 0x1f7
push 0x3a
push 0
push 0x50000010
push 0x4258c8
push str.Static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, esi
call fcn.00406820
mov ecx, esi
call fcn.004067b0
mov ecx, esi
call fcn.00406aa0
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 0x406e40
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 0x406eb1
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.0041052e
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4072a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [0x42d66c]
mov esi, ecx
push 0
push dword [esi + 4]
lea eax, [esi + 0x10]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x4258c8
push eax
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x4072e5
pop esi
pop ebp
ret 4
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [0x42d66c]
push 0
push dword [esi]
push 0x14
push 0x1f7
push 0x3a
push 0
push 0x50000010
push 0x4258c8
push str.Static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, esi
call fcn.00406fd0
mov ecx, esi
call fcn.00407090
mov ecx, esi
call fcn.00407150
mov ecx, esi
call fcn.004071c0
mov ecx, esi
call fcn.00407230
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 0x407410
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 0x407649
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00416d90
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 0x407498
xor ecx, ecx
push 0x5c
mov word [eax], cx
lea eax, [ebp - 0x210]
push ecx
push eax
call edi
test eax, eax
je 0x407498
xor ecx, ecx
mov word [eax + 2], cx
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea eax, [ebp - 0x210]
push 0x425db0
push eax
call edi
test eax, eax
jne 0x4074c1
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], 0x4265e0
mov dword [ebp - 0x634], 0x50
mov dword [ebp - 0x630], 0x4073e0
mov dword [ebp - 0x628], 0x80
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov ebx, eax
mov dword [ebp - 0x648], ebx
test ebx, ebx
je 0x407615
lea eax, [ebp - 0x620]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0x4265f0
lea eax, [ebp - 0x620]
push eax
call edi
test eax, eax
je 0x407600
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
call fcn.00416d90
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 0x425db0
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edi, dword [0x42d670]
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x4075b8
push str.HaoKan8
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 0x425db0
lea eax, [ebp - 0x418]
push eax
call edi
lea eax, [ebp - 0x418]
push eax
mov eax, dword [0x42d670]
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 0x407615
push 0x10
push 0x426104
push 0x4265f4
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 0x407649
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.0041052e
mov esp, ebp
pop ebp
ret
Function at 0x407bd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [0x42d66c]
mov esi, ecx
push 0
push dword [esi + 4]
lea eax, [esi + 0x10]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x4258c8
push eax
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x407c15
pop esi
pop ebp
ret 4
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [0x42d66c]
push 0
push dword [esi]
push 0x14
push 0x1f7
push 0x3a
push 0
push 0x50000010
push 0x4258c8
push str.Static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, esi
call fcn.00407a10
mov ecx, esi
call fcn.00407950
mov ecx, esi
call fcn.00407ad0
mov ecx, esi
call fcn.00407b60
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 0x408240
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], 0x4258c8
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 0x4082cc
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.0041052e
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.0041052e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x408990
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.00416d90
add esp, 0xc
call fcn.00405040
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 0x408a27
push edi
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x425db0
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 0x4266fc
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 0x421358
push 1
push 0
push 0x421368
mov dword [ebp - 0x214], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x408b04
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 0x4258c8
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 0x421378
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x408b04
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408aef
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 0x408b16
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x210]
test ecx, ecx
je 0x408b26
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.0041052e
mov esp, ebp
pop ebp
ret 0x14
Function at 0x408b40
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 0x14]
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00416d90
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x20c]
push 0x425db0
push eax
call esi
push edi
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x4266fc
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 0x421358
push 1
push 0
push 0x421368
mov dword [ebp - 0x214], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x408c6f
mov eax, dword [ebp - 0x210]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x210]
push 0x4258c8
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x210]
push 0
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x421378
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x408c6f
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408c5a
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
pop ebx
test ecx, ecx
je 0x408c82
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x210]
test ecx, ecx
je 0x408c92
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.0041052e
mov esp, ebp
pop ebp
ret 0x10