joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e9ba
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x630f50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [esi + 0x3c]
cmp dword [eax + 0x14], 8
jb 0x40e9db
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x5bf410
push eax
call fcn.00554d64
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40ea13
lea eax, [ebp - 0x20c]
push eax
call fcn.0040fdbc
pop ecx
lea eax, [ebp - 0x20c]
push str.Config.ini
push eax
call fcn.00554508
cmp word [ebp - 0x20c], 0
pop ecx
pop ecx
jne 0x40ea34
xor eax, eax
jmp 0x40ea41
lea eax, [ebp - 0x20c]
push eax
call fcn.00553cf3
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x54]
call fcn.00402120
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00553d0c
leave
ret
Function at 0x40f04a
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x630f50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor esi, esi
lea eax, [ebp - 0x20a]
push esi
push eax
mov ebx, ecx
call fcn.005534a0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x228
mov edi, eax
lea eax, [ebp - 0x434]
push esi
push eax
mov dword [ebp - 0x438], esi
call fcn.005534a0
add esp, 0xc
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x40f11d
lea eax, [ebp - 0x438]
push eax
push esi
mov dword [ebp - 0x438], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40f0e2
cmp dword [ebp - 0x430], edi
je 0x40f0e8
lea eax, [ebp - 0x438]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40f0cd
jmp 0x40f0fd
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00554537
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
push eax
call fcn.005549ee
pop ecx
push eax
lea ecx, [ebx + 0x144]
call fcn.004020f9
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00553d0c
leave
ret
Function at 0x40f757
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x630f50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [esi + 0x3c]
cmp dword [eax + 0x14], 8
jb 0x40f778
mov eax, dword [eax]
push str.UseData
push eax
lea eax, [ebp - 0x20c]
push 0x5bf410
push eax
call fcn.00554d64
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40f7b0
lea eax, [ebp - 0x20c]
push eax
call fcn.0040fdbc
pop ecx
cmp word [ebp - 0x20c], 0
jne 0x40f7be
xor eax, eax
jmp 0x40f7cb
lea eax, [ebp - 0x20c]
push eax
call fcn.00553cf3
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x12c]
call fcn.00402120
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00553d0c
leave
ret

Function at 0x40f7eb
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push esi
push edi
mov edi, ecx
call fcn.00415d2c
mov dword [edi], eax
call fcn.00415d98
mov dword [edi + 8], eax
call fcn.00415dc7
mov dword [edi + 0xc], eax
call fcn.00415cce
mov dword [edi + 0x10], eax
call fcn.00415c70
mov dword [edi + 0x18], eax
call fcn.00415c12
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov dword [edi + 0x1c], eax
mov eax, dword [edi]
mov dword [edi + 4], eax
lea eax, [edi + 0x170]
push eax
call esi
lea eax, [edi + 0x188]
push eax
call esi
lea eax, [edi + 0x178]
push eax
call esi
lea eax, [edi + 0x1b8]
push eax
call esi
lea eax, [edi + 0x198]
push eax
call esi
lea eax, [edi + 0x1a8]
push eax
call esi
mov eax, dword [0x6332b0]
mov dword [edi + 0x15c], eax
pop edi
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x630f50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov esi, ecx
call fcn.005534a0
add esi, 0x24
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x40f929
mov eax, dword [esi]
jmp 0x40f92b
mov eax, esi
push 0x5c0944
push eax
lea eax, [ebp - 0x20c]
push 0x5bf410
push eax
call fcn.00554d64
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40f964
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi + 0x14], 8
jb 0x40f96c
mov esi, dword [esi]
push str.Dict
push esi
lea eax, [ebp - 0x20c]
push 0x5bf410
push eax
call fcn.00554d64
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop esi
test eax, eax
jne 0x40f9a6
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553d0c
leave
ret
Function at 0x40f9b2
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x630f50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.005534a0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
pop esi
jne 0x40fa14
xor eax, eax
inc eax
cmp dword [ebp - 0x118], 0
je 0x40fa0e
cmp dword [ebp - 0x118], eax
jne 0x40fa14
cmp byte [ebp - 6], 1
je 0x40fa16
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553d0c
leave
ret

Function at 0x40fa22
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x630f50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
push ebx
push eax
mov esi, ecx
call fcn.005534a0
lea eax, [ebp - 0x20c]
push str.SOFTWARE_
push eax
call fcn.00554537
lea eax, [ebp - 0x20c]
push str.DongFangInput
push eax
call fcn.00554508
lea eax, [esi + 0x3c]
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x40fa86
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00554537
lea eax, [esi + 0x24]
pop ecx
cmp dword [eax + 0x14], 8
pop ecx
jb 0x40faa0
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.00554537
pop ecx
pop ecx
lea eax, [ebp - 0x620]
push eax
push 2
push ebx
lea eax, [ebp - 0x20c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40fb0c
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x414]
push eax
push 1
push ebx
push str.CfgRootPath
push dword [ebp - 0x620]
call esi
push edi
lea eax, [ebp - 0x61c]
push eax
push 1
push ebx
push str.CfgUserPath
push dword [ebp - 0x620]
call esi
pop edi
push dword [ebp - 0x620]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00553d0c
leave
ret

Function at 0x40fc48
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
call fcn.004103a4
test eax, eax
je 0x40fc5a
pop ebp
jmp fcn.0040fc60
pop ebp
jmp fcn.0040fd1a
Function at 0x40fc60
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfe0
mov eax, dword [0x630f50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0x7d0
lea eax, [ebp - 0xfa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Program_FilesInternet_Exploreriexplore.exe
push 0x5c0c70
call fcn.00553cf3
pop ecx
lea ecx, [ebp - 0xfa4]
lea eax, [ecx + eax*2]
push eax
call fcn.00554537
lea eax, [ebp - 0xfa4]
push esi
push eax
call fcn.00554508
push 0x3c
xor edi, edi
lea eax, [ebp - 0xfe0]
push edi
push eax
call fcn.005534a0
add esp, 0x1c
xor eax, eax
inc eax
push eax
push edi
push edi
mov ecx, str.open
push esi
push ecx
push edi
mov dword [ebp - 0xfd4], ecx
mov dword [ebp - 0xfdc], 0x200
mov dword [ebp - 0xfcc], esi
mov dword [ebp - 0xfc4], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
cmp eax, 0x20
ja 0x40fd0e
lea eax, [ebp - 0xfa4]
push eax
call fcn.0040fe44
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553d0c
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.00553cf3
mov dword [ebp - 4], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00432f36
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.00554537
mov eax, dword [ebp - 4]
add esp, 0x10
xor edi, edi
mov bl, 1
test eax, eax
js 0x40fe35
push 0x5c
pop ecx
cmp word [esi + edi*2], cx
jne 0x40fe2c
xor eax, eax
push esi
mov word [esi + edi*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40fe22
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40fe33
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [esi + edi*2], cx
inc edi
cmp edi, eax
jle 0x40fdff
jmp 0x40fe35
xor bl, bl
push esi
call fcn.00432f3f
pop ecx
pop edi
pop esi
movzx eax, bl
pop ebx
leave
ret

Function at 0x40fe44
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x630f50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push 0x44
xor ebx, ebx
lea eax, [ebp - 0x828]
push ebx
push eax
call fcn.005534a0
push 0x10
lea eax, [ebp - 0x7e4]
push ebx
push eax
mov dword [ebp - 0x828], 0x44
call fcn.005534a0
push esi
lea eax, [ebp - 0x7d4]
push 0x5bf428
push eax
call fcn.00554d64
add esp, 0x24
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0x828]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [ebp - 0x7d4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40fed8
push dword [ebp - 0x7e4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x7e0]
call esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00553d0c
leave
ret
Function at 0x40fee6
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.00553cf3
pop ecx
test eax, eax
je 0x40ff3e
push edi
push 0x3c
xor edi, edi
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.005534a0
add esp, 0xc
xor eax, eax
inc eax
push eax
push edi
push edi
mov ecx, str.open
push esi
push ecx
push edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x38], 0x200
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
cmp eax, 0x20
ja 0x40ff3e
push esi
call fcn.0040fe44
pop ecx
pop esi
leave
ret

Function at 0x40ff41
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [0x630f50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push 0x44
xor ebx, ebx
lea eax, [ebp - 0x82c]
push ebx
push eax
call fcn.005534a0
push 0x10
lea eax, [ebp - 0x7e4]
push ebx
push eax
mov dword [ebp - 0x82c], 0x44
call fcn.005534a0
push esi
lea eax, [ebp - 0x7d4]
push 0x5bf428
push eax
call fcn.00554d64
add esp, 0x24
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0x82c]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [ebp - 0x7d4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40fff6
push 0xffffffffffffffff
push dword [ebp - 0x7e4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x7e8]
push eax
push dword [ebp - 0x7e4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x7e4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x7e0]
call esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00553d0c
leave
ret
Function at 0x410191
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x630f50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x418]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x5c0b00
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x418], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4101d9
xor eax, eax
jmp 0x4102d5
xor eax, eax
push 0x206
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push ebx
push eax
call fcn.005534a0
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x41c]
push eax
push ebx
push 0x5bf400
push dword [ebp - 0x418]
mov dword [ebp - 0x420], 0x104
mov dword [ebp - 0x41c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4102b7
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.005534a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push 0x26
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push str.Internet_Exploreriexplore.exe
push eax
call fcn.00554508
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4101d2
lea ecx, [ebp - 0x20c]
push ecx
push esi
call fcn.00554537
pop ecx
pop ecx
jmp 0x4102d2
lea eax, [ebp - 0x414]
push eax
push esi
call fcn.00554537
pop ecx
pop ecx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00553d0c
leave
ret
Function at 0x4103a4
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x630f50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x21c], edi
call fcn.005534a0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
mov ebx, 0x20019
push ebx
push edi
push 0x5c0bc8
push SysReAllocString
call esi
test eax, eax
je 0x41041d
xor eax, eax
jmp 0x4104eb
lea eax, [ebp - 0x214]
push eax
push ebx
push edi
push str.shell
push dword [ebp - 0x218]
call esi
test eax, eax
jne 0x410416
lea eax, [ebp - 0x210]
push eax
push ebx
push edi
push str.opencommand
push dword [ebp - 0x214]
call esi
test eax, eax
jne 0x410416
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x220]
push eax
push edi
push 0x5bf400
push dword [ebp - 0x210]
mov dword [ebp - 0x21c], 0x104
mov dword [ebp - 0x220], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x214]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x210]
call esi
lea eax, [ebp - 0x20c]
push eax
call fcn.005549ee
mov edi, 0x5c0bfc
push edi
push eax
call fcn.00554557
add esp, 0xc
test eax, eax
je 0x410416
lea esi, [eax + 2]
push edi
push esi
call fcn.00554557
pop ecx
pop ecx
test eax, eax
je 0x410416
xor ecx, ecx
push esi
mov word [eax], cx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00553d0c
leave
ret
Function at 0x41296d
Capabilities:
Write file on windows

Disassembly:
push 0x28
mov eax, 0x5aa2bf
call fcn.00553ddb
mov esi, ecx
mov dword [ebp - 0x2c], esi
xor ebx, ebx
cmp dword [esi + 0x40], ebx
je 0x412a71
cmp byte [esi + 0x45], bl
je 0x412a71
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x4129a5
xor al, al
jmp 0x412a73
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.004139ef
lea eax, [esi + 0x48]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x34]
mov ecx, dword [ecx + 0x40]
push eax
mov eax, dword [ebp - 0x18]
lea edi, [ebp - 0x28]
cmovae edi, edx
lea esi, [ebp - 0x28]
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
push dword [ebp - 0x30]
call dword [edx + 0x20]
sub eax, ebx
je 0x412a00
dec eax
jne 0x412a58
mov esi, dword [ebp - 0x2c]
jmp 0x412a06
mov esi, dword [ebp - 0x2c]
mov byte [esi + 0x45], bl
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x34]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
cmovae eax, edx
sub edi, eax
je 0x412a3e
push dword [esi + 0x50]
cmp ecx, 0x10
push edi
lea eax, [ebp - 0x28]
cmovae eax, edx
push 1
push eax
call fcn.005570ee
add esp, 0x10
cmp edi, eax
jne 0x412a61
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [esi + 0x45], 0
je 0x412a5f
test edi, edi
jne 0x4129cc
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.004107f7
jmp 0x4129c6
dec eax
dec eax
jne 0x412a65
inc eax
jmp 0x412a63
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [ebp - 0x28]
call fcn.0040a1b3
mov al, bl
jmp 0x412a73
mov al, 1
call fcn.00553d8a
ret
Function at 0x4151c4
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x5aa4e0
call fcn.00553ddb
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 8]
or ebx, 0xffffffff
cmp edi, ebx
jne 0x4151e6
xor eax, eax
jmp 0x41533c
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x415210
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x415210
dec dword [edx]
mov edx, dword [esi + 0x20]
mov eax, dword [ebp + 8]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x41533c
cmp dword [esi + 0x50], 0
je 0x41533a
mov ecx, esi
call fcn.0041388c
xor ecx, ecx
cmp dword [esi + 0x40], ecx
jne 0x41523d
push dword [esi + 0x50]
push edi
call fcn.00410d63
pop ecx
test al, al
pop ecx
cmovne ebx, edi
jmp 0x41533a
mov eax, dword [ebp + 8]
push ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
push 8
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x2c], al
mov dword [ebp - 0x14], 0xf
call fcn.004139ef
and dword [ebp - 4], 0
lea eax, [esi + 0x48]
mov dword [ebp - 0x40], eax
mov edi, dword [ebp - 0x14]
mov esi, dword [esi + 0x40]
cmp edi, 0x10
mov edi, dword [esi]
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x40]
mov ecx, esi
call dword [edi + 0x1c]
test eax, eax
js 0x415332
cmp eax, 1
jg 0x415317
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
cmp edi, 0x10
lea eax, [ebp - 0x28]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x3c], edx
je 0x4152e8
push dword [esi + 0x50]
lea eax, [ebp - 0x28]
push edx
cmp edi, 0x10
cmovae eax, ecx
push 1
push eax
call fcn.005570ee
mov edx, dword [ebp - 0x3c]
add esp, 0x10
cmp edx, eax
jne 0x415332
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
mov byte [esi + 0x45], 1
cmp dword [ebp - 0x38], eax
jne 0x415312
test edx, edx
jne 0x415268
cmp dword [ebp - 0x18], 0x20
jae 0x415332
push edx
push 8
lea ecx, [ebp - 0x28]
call fcn.004107f7
jmp 0x415265
mov ebx, dword [ebp + 8]
jmp 0x415332
cmp eax, 3
jne 0x415332
mov eax, dword [ebp - 0x30]
push dword [eax + 0x50]
push dword [ebp - 0x2c]
call fcn.00410d63
pop ecx
test al, al
cmovne ebx, dword [ebp + 8]
pop ecx
lea ecx, [ebp - 0x28]
call fcn.0040a1b3
mov eax, ebx
call fcn.00553d8a
ret 4

Function at 0x415bc9
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 0xb7
setne dl
mov eax, esi
mov dword [esi + 4], edx
pop esi
pop ebp
ret 4
Function at 0x415c12
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x630f50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x24]
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push str.Shell_TrayWnd
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 - 0x14]
push ecx
push eax
call esi
lea eax, [ebp - 0x34]
push eax
push edi
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop esi
call fcn.00553d0c
leave
ret

Function at 0x415c70
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x630f50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x24]
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push str.Shell_TrayWnd
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 - 0x14]
push ecx
push eax
call esi
lea eax, [ebp - 0x34]
push eax
push edi
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
pop edi
xor ecx, ebp
pop esi
call fcn.00553d0c
leave
ret

Function at 0x415cce
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x630f50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push str.Shell_TrayWnd
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 - 0x24]
push ecx
push eax
call esi
lea eax, [ebp - 0x34]
push eax
push edi
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop esi
call fcn.00553d0c
leave
ret
Function at 0x415dc7
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x630f50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
push esi
push 0x415e60
push esi
push esi
mov dword [0x6332b0], esi
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push str.Shell_TrayWnd
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 - 0x24]
push ecx
push eax
call esi
lea eax, [ebp - 0x34]
push eax
push edi
call esi
mov eax, dword [ebp - 0xc]
mov edx, dword [0x6332b0]
sub eax, dword [ebp - 0x14]
pop edi
pop esi
cmp edx, 1
jle 0x415e54
test edx, edx
jle 0x415e54
mov ecx, 0x6332c0
cmp dword [ecx], eax
cmovg eax, dword [ecx]
lea ecx, [ecx + 0x10]
dec edx
jne 0x415e49
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553d0c
leave
ret