joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a02d
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x3b8]
sub esp, 0x438
mov eax, dword [0x4f04c0]
xor eax, ebp
mov dword [ebp + 0x3b4], eax
push ebx
push esi
push edi
xor esi, esi
push 0x206
lea eax, [ebp + 0x1ae]
push esi
push eax
mov edi, ecx
mov word [ebp + 0x1ac], si
call fcn.00447440
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x228
mov ebx, eax
lea eax, [ebp - 0x7c]
push esi
push eax
mov dword [ebp - 0x80], esi
call fcn.00447440
add esp, 0xc
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x40a0f1
lea eax, [ebp - 0x80]
push eax
push esi
mov dword [ebp - 0x80], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40a0b9
cmp dword [ebp - 0x78], ebx
je 0x40a0bf
lea eax, [ebp - 0x80]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40a0aa
jmp 0x40a0d1
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp + 0x1ac]
push eax
call fcn.00447992
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 0x1ac]
push eax
call fcn.00447da5
pop ecx
push eax
lea ecx, [edi + 0x174]
call fcn.004021a3
mov ecx, dword [ebp + 0x3b4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004471af
add ebp, 0x3b8
leave
ret

Function at 0x40a109
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x4f04c0]
xor eax, ebp
mov dword [ebp + 0x188], eax
push esi
push edi
xor esi, esi
push 0x206
lea eax, [ebp - 0x7e]
push esi
push eax
mov edi, ecx
mov word [ebp - 0x80], si
call fcn.00447440
add esp, 0xc
push 0x104
lea eax, [ebp - 0x80]
push eax
mov ecx, edi
call fcn.00408dd8
test al, al
jne 0x40a170
push esi
push 0x1a
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x80]
push eax
call fcn.00446b43
test eax, eax
pop ecx
je 0x40a1be
mov esi, 0x4ba098
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.00447968
lea eax, [ebp - 0x80]
push str.DongFangIME
push eax
call fcn.00447968
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.00447968
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40a1b2
lea eax, [ebp - 0x80]
push eax
call fcn.0040a808
pop ecx
lea eax, [ebp - 0x80]
push eax
lea ecx, [edi + 0x40]
call fcn.004021a3
mov ecx, dword [ebp + 0x188]
pop edi
xor ecx, ebp
pop esi
call fcn.004471af
add ebp, 0x18c
leave
ret
Function at 0x40a1d5
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x4f04c0]
xor eax, ebp
mov dword [ebp + 0x188], eax
push esi
push edi
xor esi, esi
push 0x206
lea eax, [ebp - 0x7e]
push esi
push eax
mov edi, ecx
mov word [ebp - 0x80], si
call fcn.00447440
add esp, 0xc
push 0x104
lea eax, [ebp - 0x80]
push eax
mov ecx, edi
call fcn.00408dd8
test al, al
jne 0x40a23c
push esi
push 0x1a
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x80]
push eax
call fcn.00446b43
test eax, eax
pop ecx
je 0x40a28a
mov esi, 0x4ba098
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.00447968
lea eax, [ebp - 0x80]
push str.DongFangIME.users
push eax
call fcn.00447968
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.00447968
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40a27e
lea eax, [ebp - 0x80]
push eax
call fcn.0040a808
pop ecx
lea eax, [ebp - 0x80]
push eax
lea ecx, [edi + 0x24]
call fcn.004021a3
mov ecx, dword [ebp + 0x188]
pop edi
xor ecx, ebp
pop esi
call fcn.004471af
add ebp, 0x18c
leave
ret
Function at 0x40a2a1
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xbc0]
sub esp, 0xc40
mov eax, dword [0x4f04c0]
xor eax, ebp
mov dword [ebp + 0xbbc], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x206
push esi
lea eax, [ebp - 0x72]
push edi
push eax
mov dword [ebp - 0x78], ecx
xor ebx, ebx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
mov word [ebp - 0x74], di
call fcn.00447440
push esi
lea eax, [ebp + 0x39e]
push edi
push eax
mov word [ebp + 0x39c], di
call fcn.00447440
push esi
lea eax, [ebp + 0x7ae]
push edi
push eax
mov word [ebp + 0x7ac], di
call fcn.00447440
push esi
lea eax, [ebp + 0x196]
push edi
push eax
mov word [ebp + 0x194], di
call fcn.00447440
push esi
lea eax, [ebp + 0x9b6]
push edi
push eax
mov word [ebp + 0x9b4], di
call fcn.00447440
push esi
lea eax, [ebp + 0x5a6]
push edi
push eax
mov word [ebp + 0x5a4], di
call fcn.00447440
add esp, 0x48
push edi
push 0x1a
lea eax, [ebp - 0x74]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x9b4]
push eax
call fcn.00447992
lea eax, [ebp + 0x9b4]
push eax
call fcn.00446b43
lea eax, [ebp + 0x9b4]
push 0x5c
push eax
call fcn.00447e0e
add esp, 0x14
cmp eax, edi
je 0x40a4aa
mov word [eax], di
lea eax, [ebp + 0x9b4]
push eax
lea eax, [ebp + 0x39c]
push eax
call fcn.00447992
lea eax, [ebp + 0x39c]
push str.Local
push eax
call fcn.00447968
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
lea eax, [ebp + 0x39c]
push eax
call esi
test eax, eax
je 0x40a3cd
inc ebx
lea eax, [ebp + 0x9b4]
push eax
lea eax, [ebp + 0x7ac]
push eax
call fcn.00447992
lea eax, [ebp + 0x7ac]
push str.LocalLow
push eax
call fcn.00447968
add esp, 0x10
lea eax, [ebp + 0x7ac]
push eax
call esi
test eax, eax
je 0x40a408
mov dword [ebp - 0x80], 1
lea eax, [ebp + 0x9b4]
push eax
lea eax, [ebp + 0x194]
push eax
call fcn.00447992
lea eax, [ebp + 0x194]
push str.Roaming
push eax
call fcn.00447968
add esp, 0x10
lea eax, [ebp + 0x194]
push eax
call esi
test eax, eax
je 0x40a443
mov dword [ebp - 0x7c], 1
cmp ebx, edi
je 0x40a4aa
cmp dword [ebp - 0x80], edi
je 0x40a4aa
cmp dword [ebp - 0x7c], edi
je 0x40a4aa
mov edi, dword [ebp - 0x78]
mov ecx, edi
call fcn.00408ca0
test eax, eax
je 0x40a4aa
push str.DongFangIME
lea eax, [ebp + 0x7ac]
push eax
lea eax, [ebp + 0x5a4]
push str._s_s_
push eax
call fcn.004479ae
add esp, 0x10
lea eax, [ebp + 0x5a4]
push eax
call esi
test eax, eax
jne 0x40a499
lea eax, [ebp + 0x5a4]
push eax
call fcn.0040a808
pop ecx
lea eax, [ebp + 0x5a4]
push eax
lea ecx, [edi + 0x40]
call fcn.004021a3
jmp 0x40a4b2
mov ecx, dword [ebp - 0x78]
call fcn.0040a109
mov ecx, dword [ebp + 0xbbc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004471af
add ebp, 0xbc0
leave
ret
Function at 0x40a4ca
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xbc0]
sub esp, 0xc40
mov eax, dword [0x4f04c0]
xor eax, ebp
mov dword [ebp + 0xbbc], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x206
push esi
lea eax, [ebp - 0x72]
push edi
push eax
mov dword [ebp - 0x78], ecx
xor ebx, ebx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
mov word [ebp - 0x74], di
call fcn.00447440
push esi
lea eax, [ebp + 0x39e]
push edi
push eax
mov word [ebp + 0x39c], di
call fcn.00447440
push esi
lea eax, [ebp + 0x7ae]
push edi
push eax
mov word [ebp + 0x7ac], di
call fcn.00447440
push esi
lea eax, [ebp + 0x196]
push edi
push eax
mov word [ebp + 0x194], di
call fcn.00447440
push esi
lea eax, [ebp + 0x9b6]
push edi
push eax
mov word [ebp + 0x9b4], di
call fcn.00447440
push esi
lea eax, [ebp + 0x5a6]
push edi
push eax
mov word [ebp + 0x5a4], di
call fcn.00447440
add esp, 0x48
push edi
push 0x1a
lea eax, [ebp - 0x74]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x9b4]
push eax
call fcn.00447992
lea eax, [ebp + 0x9b4]
push eax
call fcn.00446b43
lea eax, [ebp + 0x9b4]
push 0x5c
push eax
call fcn.00447e0e
add esp, 0x14
cmp eax, edi
je 0x40a6d3
mov word [eax], di
lea eax, [ebp + 0x9b4]
push eax
lea eax, [ebp + 0x39c]
push eax
call fcn.00447992
lea eax, [ebp + 0x39c]
push str.Local
push eax
call fcn.00447968
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
lea eax, [ebp + 0x39c]
push eax
call esi
test eax, eax
je 0x40a5f6
inc ebx
lea eax, [ebp + 0x9b4]
push eax
lea eax, [ebp + 0x7ac]
push eax
call fcn.00447992
lea eax, [ebp + 0x7ac]
push str.LocalLow
push eax
call fcn.00447968
add esp, 0x10
lea eax, [ebp + 0x7ac]
push eax
call esi
test eax, eax
je 0x40a631
mov dword [ebp - 0x80], 1
lea eax, [ebp + 0x9b4]
push eax
lea eax, [ebp + 0x194]
push eax
call fcn.00447992
lea eax, [ebp + 0x194]
push str.Roaming
push eax
call fcn.00447968
add esp, 0x10
lea eax, [ebp + 0x194]
push eax
call esi
test eax, eax
je 0x40a66c
mov dword [ebp - 0x7c], 1
cmp ebx, edi
je 0x40a6d3
cmp dword [ebp - 0x80], edi
je 0x40a6d3
cmp dword [ebp - 0x7c], edi
je 0x40a6d3
mov edi, dword [ebp - 0x78]
mov ecx, edi
call fcn.00408ca0
test eax, eax
je 0x40a6d3
push str.DongFangIME.users
lea eax, [ebp + 0x7ac]
push eax
lea eax, [ebp + 0x5a4]
push str._s_s_
push eax
call fcn.004479ae
add esp, 0x10
lea eax, [ebp + 0x5a4]
push eax
call esi
test eax, eax
jne 0x40a6c2
lea eax, [ebp + 0x5a4]
push eax
call fcn.0040a808
pop ecx
lea eax, [ebp + 0x5a4]
push eax
lea ecx, [edi + 0x24]
call fcn.004021a3
jmp 0x40a6db
mov ecx, dword [ebp - 0x78]
call fcn.0040a1d5
mov ecx, dword [ebp + 0xbbc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004471af
add ebp, 0xbc0
leave
ret
Function at 0x40a6f3
Capabilities:
Check if file exists

Disassembly:
push esi
push 0xffffffffffffffff
lea esi, [ecx + 0x78]
add ecx, 0x40
push 0
push ecx
mov ecx, esi
call fcn.0040203a
push str.Skin_
mov ecx, esi
call fcn.00404055
cmp dword [esi + 0x18], 8
jb 0x40a71d
mov eax, dword [esi + 4]
jmp 0x40a720
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40a740
cmp dword [esi + 0x18], 8
jb 0x40a736
mov esi, dword [esi + 4]
jmp 0x40a739
add esi, 4
push esi
call fcn.0040a808
pop ecx
pop esi
ret

Function at 0x40a808
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
call fcn.00446b43
mov edi, eax
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042c376
push dword [esp + 0x1c]
mov esi, eax
push esi
call fcn.00447992
add esp, 0x10
xor ebp, ebp
test edi, edi
mov bl, 1
jl 0x40a877
cmp word [esi + ebp*2], 0x5c
jne 0x40a86e
and word [esi + ebp*2], 0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40a868
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40a875
mov word [esi + ebp*2], 0x5c
inc ebp
cmp ebp, edi
jle 0x40a845
jmp 0x40a877
xor bl, bl
push esi
call fcn.0042c37b
pop ecx
pop edi
pop esi
pop ebp
movzx eax, bl
pop ebx
ret
Function at 0x40a90e
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3a4]
sub esp, 0x424
mov eax, dword [0x4f04c0]
xor eax, ebp
mov dword [ebp + 0x3a0], eax
mov eax, dword [ebp + 0x3ac]
push ebx
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x74]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x74], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40a95d
xor eax, eax
jmp 0x40aa30
push esi
push edi
mov edi, 0x206
push edi
lea eax, [ebp - 0x6e]
push ebx
push eax
mov word [ebp - 0x70], bx
call fcn.00447440
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push 0x4b9dac
push dword [ebp - 0x74]
mov dword [ebp - 0x7c], 0x104
mov dword [ebp - 0x80], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x70]
push eax
call esi
test eax, eax
jne 0x40aa14
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
lea eax, [ebp + 0x19a]
push ebx
push eax
mov word [ebp + 0x198], bx
call fcn.00447440
add esp, 0xc
push ebx
push 0x26
lea eax, [ebp + 0x198]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp + 0x198]
push str.Internet_Exploreriexplore.exe
push eax
call fcn.00447968
pop ecx
pop ecx
lea eax, [ebp + 0x198]
push eax
call esi
test eax, eax
je 0x40aa2e
lea eax, [ebp + 0x198]
push eax
push dword [ebp - 0x78]
call fcn.00447992
pop ecx
pop ecx
jmp 0x40aa2b
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x78]
call fcn.00447992
pop ecx
pop ecx
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
mov ecx, dword [ebp + 0x3a0]
xor ecx, ebp
pop ebx
call fcn.004471af
add ebp, 0x3a4
leave
ret

Function at 0x40ab6d
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x4f04c0]
xor eax, ebp
mov dword [ebp + 0x7a4], eax
push esi
push edi
mov edi, dword [ebp + 0x7b0]
push 0x44
xor esi, esi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.00447440
push 0x10
lea eax, [ebp - 0x3c]
push esi
push eax
mov dword [ebp - 0x80], 0x44
call fcn.00447440
push edi
lea eax, [ebp - 0x2c]
push 0x4b9e74
push eax
call fcn.004479ae
add esp, 0x24
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40abf1
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call esi
mov ecx, dword [ebp + 0x7a4]
pop edi
xor ecx, ebp
pop esi
call fcn.004471af
add ebp, 0x7a8
leave
ret
Function at 0x40ac08
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7ac]
sub esp, 0x82c
mov eax, dword [0x4f04c0]
xor eax, ebp
mov dword [ebp + 0x7a8], eax
push esi
push edi
mov edi, dword [ebp + 0x7b4]
push 0x44
xor esi, esi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.00447440
push 0x10
lea eax, [ebp - 0x38]
push esi
push eax
mov dword [ebp - 0x80], 0x44
call fcn.00447440
push edi
lea eax, [ebp - 0x28]
push 0x4b9e74
push eax
call fcn.004479ae
add esp, 0x24
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40aca4
push 0xffffffffffffffff
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x34]
call esi
mov ecx, dword [ebp + 0x7a8]
pop edi
xor ecx, ebp
pop esi
call fcn.004471af
add ebp, 0x7ac
leave
ret

Function at 0x40adbd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00446b43
test eax, eax
pop ecx
je 0x40ae15
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00447440
add esp, 0xc
xor ecx, ecx
inc ecx
push ecx
push 0
push 0
mov eax, str.open
push esi
push eax
push 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], 0x200
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x40ae15
push esi
call fcn.0040ab6d
pop ecx
pop esi
leave
ret
Function at 0x40b209
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xfdc]
sub esp, 0xfdc
push 0xffffffffffffffff
push 0x4b3218
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4f04c0]
xor eax, ebp
mov dword [ebp + 0xfd8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xfe4]
push 0x7d0
lea eax, [ebp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Program_FilesInternet_Exploreriexplore.exe
push 0x4badf0
call fcn.00446b43
pop ecx
lea eax, [ebp + eax*2 + 0x38]
push eax
call fcn.00447992
lea eax, [ebp + 0x38]
push esi
push eax
call fcn.00447968
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.00447440
add esp, 0x1c
mov ebx, str.open
push esi
lea ecx, [ebp]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x48], 0x200
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], 1
call fcn.004021c0
and dword [ebp - 4], 0
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x40b2bd
lea eax, [ebp + 4]
mov edi, 0x4bade0
push edi
push eax
call fcn.004474ba
pop ecx
pop ecx
push 0x4b9dac
lea ecx, [ebp + 0x1c]
mov dword [ebp - 0x10], eax
call fcn.004021c0
cmp dword [ebp - 0x10], 0
mov byte [ebp - 4], 1
jne 0x40b2ee
push edi
lea ecx, [ebp + 0x1c]
call fcn.004021a3
push esi
lea ecx, [ebp + 0x1c]
call fcn.00404055
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x40b303
lea eax, [ebp + 0x20]
push 1
xor esi, esi
push esi
push esi
push eax
push ebx
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x40b321
lea eax, [ebp + 0x38]
push eax
call fcn.0040ab6d
pop ecx
push esi
push 1
lea ecx, [ebp + 0x1c]
call fcn.00401b15
push esi
push 1
lea ecx, [ebp]
call fcn.00401b15
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xfd8]
xor ecx, ebp
call fcn.004471af
add ebp, 0xfdc
leave
ret

Function at 0x410b1a
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x410ad9
push edi
push edi
mov dword [0x4f22b8], edi
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push edi
push 0x4bb4ac
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x20]
push ecx
push eax
call esi
lea eax, [ebp - 0x30]
push eax
push ebx
call esi
mov eax, dword [ebp - 8]
mov ecx, dword [0x4f22b8]
sub eax, dword [ebp - 0x10]
cmp ecx, 1
jle 0x410b9f
cmp ecx, edi
jle 0x410b9f
mov esi, 0x4f2220
mov edx, dword [esi]
cmp edx, eax
jle 0x410b99
mov eax, edx
add esi, 0x10
dec ecx
jne 0x410b91
pop edi
pop esi
pop ebx
leave
ret
Function at 0x410bff
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x20]
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push 0x4bb4ac
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x10]
push ecx
push eax
call esi
lea eax, [ebp - 0x30]
push eax
push edi
call esi
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
pop edi
pop esi
leave
ret

Function at 0x410c49
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x20]
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push 0x4bb4ac
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x10]
push ecx
push eax
call esi
lea eax, [ebp - 0x30]
push eax
push edi
call esi
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret

Function at 0x410c93
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push 0x4bb4ac
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x20]
push ecx
push eax
call esi
lea eax, [ebp - 0x30]
push eax
push edi
call esi
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret

Function at 0x415304
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x14]
push eax
push 0
push esi
push 0x41525e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x18], eax
pop esi
je 0x415333
cmp eax, 0xffffffff
je 0x415333
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
Function at 0x4154f4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x4f04c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x206
xor ebx, ebx
push esi
lea eax, [ebp - 0x20a]
push ebx
push eax
mov dword [ebp - 0x418], ecx
mov word [ebp - 0x20c], bx
call fcn.00447440
push esi
lea eax, [ebp - 0x412]
push ebx
push eax
mov word [ebp - 0x414], bx
call fcn.00447440
push dword [ebp + 8]
mov esi, 0x4bb4d0
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.004479ae
add esp, 0x24
cmp byte [ebp + 0xc], bl
mov edi, str.Actions
je 0x415566
push ebx
jmp 0x41557d
push dword [ebp - 0x418]
lea eax, [ebp - 0x414]
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
inc eax
push eax
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004479ae
add esp, 0xc
push dword [ebp - 0x418]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp byte [ebp + 0xc], bl
pop edi
pop esi
pop ebx
jne 0x4155be
push dword [ebp + 8]
mov ecx, dword [ebp - 0x418]
call fcn.004153b4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004471af
leave
ret 8

Function at 0x4155cc
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4f04c0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415687
push esi
xor esi, esi
inc esi
cmp esi, 1
je 0x415679
cmp esi, 0xf
je 0x415679
cmp esi, 0x10
je 0x415679
cmp esi, 0x18
je 0x415679
cmp esi, 0x19
je 0x415679
cmp esi, 0x52
je 0x415679
cmp esi, 0x63
je 0x415679
cmp esi, 0x9d
je 0x415679
cmp esi, 0x62
jne 0x41566f
and word [ebp - 0x20c], 0
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
call fcn.00447440
push esi
lea eax, [ebp - 0x20c]
push 0x4bb4d0
push eax
call fcn.004479ae
add esp, 0x18
push edi
push 0x4bb93c
lea eax, [ebp - 0x20c]
push eax
push str.Actions
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x415679
push 1
push esi
mov ecx, edi
call fcn.004154f4
inc esi
cmp esi, 0x9e
jl 0x4155f5
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004471af
leave
ret
Function at 0x41739a
Capabilities:
Copy file

Disassembly:
call fcn.004171b6
mov ecx, eax
jmp fcn.00417b22
Function at 0x41780b
Capabilities:
Copy file

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0xe8], 8
jb 0x41781f
mov eax, dword [esi + 0xd4]
jmp 0x417825
lea eax, [esi + 0xd4]
push ebx
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
mov ebp, 0x4b9e58
push ebp
push str.ModifySetConfig
mov ebx, str.SetModify
push ebx
call edi
cmp dword [esi + 0xe8], 8
jb 0x417853
mov eax, dword [esi + 0xd4]
jmp 0x417859
lea eax, [esi + 0xd4]
push eax
push ebp
push str.ModifySetConfig64
push ebx
call edi
cmp dword [esi + 0xe8], 8
jb 0x417874
mov eax, dword [esi + 0xd4]
jmp 0x41787a
lea eax, [esi + 0xd4]
push eax
push ebp
push str.TempModifySetConfig
push ebx
call edi
cmp dword [esi + 0xe8], 8
jb 0x417895
mov eax, dword [esi + 0xd4]
jmp 0x41789b
lea eax, [esi + 0xd4]
push eax
push ebp
push str.TempModifySetConfig64
push ebx
call edi
pop edi
lea eax, [esi + 0xb4]
cmp dword [eax + 0x18], 8
pop ebp
pop ebx
jb 0x4178b9
mov eax, dword [eax + 4]
jmp 0x4178bc
add eax, 4
add esi, 0x98
cmp dword [esi + 0x18], 8
jb 0x4178cd
mov esi, dword [esi + 4]
jmp 0x4178d0
add esi, 4
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
pop esi
ret