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

Disassembly:
mov eax, 0x4cac9f
call fcn.0049d040
sub esp, 0x10
and dword [ebp - 0x1c], 0
push ebx
push esi
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
call fcn.004b99be
push 1
lea ecx, [ebp - 0x14]
pop ebx
push 0x2e
mov dword [ebp - 4], ebx
call fcn.004b5cc0
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.004b99be
mov eax, dword [0x56c338]
mov dword [ebp + 0x14], eax
push dword [ebp - 0x14]
mov edi, str._s_s._s
lea eax, [ebp + 0x14]
mov byte [ebp - 4], 3
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
push eax
call fcn.004b5c21
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push dword [ebp + 0x14]
call esi
test eax, eax
jne 0x4163d0
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.004b96b7
mov dword [ebp - 0x1c], ebx
jmp 0x416426
push ebx
mov dword [ebp - 0x18], ebx
push dword [ebp + 0x10]
mov ebx, str._s___d_
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.004b5c21
add esp, 0x10
lea eax, [ebp + 0x14]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
push eax
call fcn.004b5c21
add esp, 0x14
push dword [ebp + 0x14]
call esi
test eax, eax
je 0x416413
inc dword [ebp - 0x18]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
jmp 0x4163dc
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.004b96b7
mov dword [ebp - 0x1c], 1
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.004b994a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004b994a
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b994a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4165c5
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push esi
mov esi, 0x2b4
push esi
lea eax, [ebp - 0x2b4]
push 0
push eax
call fcn.0049d420
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
neg eax
sbb eax, eax
mov ecx, 0x4010
and al, 0x90
add eax, 0x80
cmp dword [ebp + 0xc], 0
je 0x416606
inc ecx
cmp dword [ebp + 0x10], 0
je 0x41660f
or ecx, 2
push ecx
lea ecx, [ebp - 0x2b4]
push esi
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
pop esi
jne 0x41662c
or eax, 0xffffffff
leave
ret
mov eax, dword [ebp - 0x2b0]
leave
ret
Function at 0x416767
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4cad10
call fcn.0049d040
push ecx
push ecx
push ebx
push 0x570b34
lea ecx, [ebp - 0x10]
call fcn.004b99be
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.0041604d
pop ecx
test eax, eax
pop ecx
je 0x4167a3
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.004b9ae1
mov eax, dword [0x56c338]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push str._e___s_
push eax
call fcn.004b5c21
add esp, 0xc
push 1
push ebx
push dword [ebp - 0x14]
push str.explorer.exe
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004b994a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b994a
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41690e
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x28
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x416970
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x416970
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x416972
xor eax, eax
pop esi
leave
ret

Function at 0x41913d
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4cb18f
call fcn.0049d040
sub esp, 0x80c
and word [ebp - 0x818], 0
push ebx
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x816]
rep stosd dword es:[edi], eax
and dword [ebp - 0x18], 0
stosw word es:[edi], ax
lea eax, [ebp - 0x818]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [0x56c338]
mov dword [ebp - 0x10], eax
push 1
lea eax, [ebp - 0x10]
pop ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00415e8b
mov eax, dword [0x56c338]
pop ecx
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x818]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x14]
push str._s_s
push eax
call fcn.004b5c21
mov ecx, dword [ebp + 8]
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
call fcn.004b96b7
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004b994a
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004b994a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41b11e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049e2d0
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.0049d420
add esp, 0xc
lea eax, [ebp - 8]
mov ecx, ebx
mov dword [ebp - 8], 0x1001
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.0041b1e2
test eax, eax
jne 0x41b18c
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 4]
push eax
push edi
push 2
push edi
push edi
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x41b191
or eax, 0xffffffff
jmp 0x41b1ba
push dword [ebp - 8]
lea eax, [ebp - 0x1010]
push eax
push 3
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41b1af
or edi, 0xffffffff
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
leave
ret 8

Function at 0x41b53c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049e2d0
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x570b34
call fcn.004b9ae1
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.0049d420
add esp, 0xc
lea eax, [ebp - 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push 1
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x41b59f
or eax, 0xffffffff
jmp 0x41b5f9
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1001
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp + 8]
push eax
push esi
push esi
mov dword [ebp + 8], 3
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
test eax, eax
je 0x41b5d6
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41b59a
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x41b59a
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.0041b5ff
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8
Function at 0x41cbf5
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4cb684
call fcn.0049d040
sub esp, 0x830
and word [ebp - 0x83c], 0
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x83a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x83c]
push 0x3ff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x83c]
lea ecx, [ebp - 0x14]
push eax
call fcn.004b99be
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.004b9d3b
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0049d420
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.004b5ef7
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.0049e995
pop ecx
test eax, eax
pop ecx
jne 0x41cc99
mov eax, dword [ebp - 0x20]
push ecx
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x18], esp
mov dword [ecx], eax
lea ecx, [ebp - 0x10]
call fcn.0041ccbd
test eax, eax
je 0x41cc99
mov dword [ebp - 0x10], esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
mov dword [esi], eax
call fcn.004b994a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x42493c
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x4cba48
call fcn.0049d040
sub esp, 0x24
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [esi + 0xa0], edi
call fcn.00425154
cmp eax, edi
je 0x424ac6
or ebx, 0xffffffff
cmp eax, ebx
je 0x4249a2
cmp eax, 0xfffffffe
je 0x4249d7
mov eax, dword [esi + 0x9c]
cmp eax, edi
je 0x42498b
push eax
mov ecx, esi
call fcn.0041afc0
test eax, eax
jne 0x4249d7
push dword [esi + 0x94]
lea ecx, [esi + 0x70]
call fcn.004253db
cmp eax, edi
je 0x4249a5
cmp eax, 0xfffffffe
je 0x4249d7
push edi
jmp 0x4249e2
cmp word [esi + 0x78], 2
jne 0x424ac6
mov eax, esi
mov ecx, esi
cdq
mov edi, eax
lea eax, [esi + 0x8c]
push eax
lea eax, [esi + 0x88]
push eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edx
call fcn.004251e8
cmp eax, ebx
jne 0x4249db
push 0x28
jmp 0x4249e2
cmp eax, 0xfffffffe
jne 0x4249f2
push 0x15
push 4
mov ecx, esi
call fcn.00424ca6
mov eax, ebx
jmp 0x424acf
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.00425004
test eax, eax
je 0x424a21
push 0x28
push 4
mov ecx, esi
call fcn.00424ca6
lea eax, [ebp - 0x14]
push 0x4e7430
push eax
mov dword [ebp - 0x14], ebx
call fcn.0049e89d
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
test al, 1
jne 0x424a5f
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
add eax, 2
adc ecx, 0
cmp eax, edi
jne 0x424a42
cmp ecx, dword [ebp - 0x2c]
je 0x424a5f
push 0x28
push 4
mov ecx, esi
call fcn.00424ca6
or dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
push 0x4e7430
push eax
call fcn.0049e89d
or dword [ebp - 4], 0xffffffff
test byte [esi + 0x10], 1
je 0x424a7e
mov ecx, esi
call fcn.004253b5
cmp eax, 0xffffffff
jne 0x424a79
push 0
jmp 0x424aa1
cmp eax, 0xfffffffe
je 0x424a9f
call ebx
push 3
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x424ac6
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
add eax, 2
adc ecx, edx
cmp eax, edi
jne 0x424a9f
cmp ecx, dword [ebp - 0x2c]
je 0x424ac6
push 0x28
push 4
mov ecx, esi
call fcn.00424ca6
or eax, 0xffffffff
jmp 0x424acf
mov ecx, esi
call fcn.00424d2e
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4254ed
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049e2d0
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x570b34
call fcn.004b9ae1
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.0049d420
add esp, 0xc
lea eax, [ebp - 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push 1
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x425550
or eax, 0xffffffff
jmp 0x4255aa
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1001
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp + 8]
push eax
push esi
push esi
mov dword [ebp + 8], 3
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
test eax, eax
je 0x425587
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42554b
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x42554b
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.00425652
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8

Function at 0x4255b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049e2d0
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.0049d420
add esp, 0xc
lea eax, [ebp - 8]
mov ecx, ebx
mov dword [ebp - 8], 0x1001
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.00425761
test eax, eax
jne 0x42561e
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 4]
push eax
push edi
push 2
push edi
push edi
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x425623
or eax, 0xffffffff
jmp 0x42564c
push dword [ebp - 8]
lea eax, [ebp - 0x1010]
push eax
push 3
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x425641
or edi, 0xffffffff
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
leave
ret 8
Function at 0x425f21
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4cbb6c
call fcn.0049d040
sub esp, 0x830
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004b5ef7
and word [ebp - 0x83c], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x83a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x83c]
push 0x3ff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x83c]
lea ecx, [ebp - 0x14]
push eax
call fcn.004b99be
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.004b9d3b
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0049d420
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.0049e995
add esp, 0x14
test eax, eax
jne 0x425fc3
mov eax, dword [ebp - 0x20]
push ecx
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x18], esp
mov dword [ecx], eax
lea ecx, [ebp - 0x10]
call fcn.0041ccbd
test eax, eax
je 0x425fc3
mov dword [ebp - 0x10], esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
mov dword [esi], eax
call fcn.004b994a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x426d43
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 0xc]
and dword [edx], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x426d56
cmp eax, 0xffffffff
jne 0x426d5b
or eax, 0xffffffff
jmp 0x426d74
push 0
push edx
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
neg eax
dec eax
ret 0xc
Function at 0x428c1f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x4cc40b
call fcn.0049d040
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x188]
mov dword [ebp - 4], 0x25
call fcn.004b994a
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x24
call fcn.004b994a
lea ecx, [esi + 0x180]
mov byte [ebp - 4], 0x23
call fcn.004b994a
lea ecx, [esi + 0x17c]
mov byte [ebp - 4], 0x22
call fcn.004b994a
lea ecx, [esi + 0x178]
mov byte [ebp - 4], 0x21
call fcn.004b994a
lea ecx, [esi + 0x174]
mov byte [ebp - 4], 0x20
call fcn.004b994a
lea ecx, [esi + 0x140]
mov byte [ebp - 4], 0x1f
call fcn.004b994a
lea ecx, [esi + 0x134]
mov byte [ebp - 4], 0x1e
call fcn.004b994a
lea ecx, [esi + 0x130]
mov byte [ebp - 4], 0x1d
call fcn.004b994a
lea ecx, [esi + 0x128]
mov byte [ebp - 4], 0x1c
call fcn.004b994a
lea ecx, [esi + 0x124]
mov byte [ebp - 4], 0x1b
call fcn.004b994a
lea ecx, [esi + 0x120]
mov byte [ebp - 4], 0x1a
call fcn.004b994a
lea ecx, [esi + 0x11c]
mov byte [ebp - 4], 0x19
call fcn.004b994a
mov byte [ebp - 4], 0x18
lea ecx, [esi + 0x104]
call fcn.004b994a
lea ecx, [esi + 0x100]
mov byte [ebp - 4], 0x17
call fcn.004b994a
lea ecx, [esi + 0xfc]
mov byte [ebp - 4], 0x16
call fcn.004b994a
lea ecx, [esi + 0xf4]
mov byte [ebp - 4], 0x15
call fcn.004b994a
lea ecx, [esi + 0xf0]
mov byte [ebp - 4], 0x14
call fcn.004b994a
lea ecx, [esi + 0xec]
mov byte [ebp - 4], 0x13
call fcn.004b994a
lea ecx, [esi + 0xe8]
mov byte [ebp - 4], 0x12
call fcn.004b994a
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 0x11
call fcn.004b994a
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 0x10
call fcn.004b994a
lea ecx, [esi + 0xb8]
mov byte [ebp - 4], 0xf
call fcn.004b994a
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 0xe
call fcn.004b994a
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 0xd
call fcn.004b994a
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 0xc
call fcn.004b994a
lea ecx, [esi + 0xa4]
mov byte [ebp - 4], 0xb
call fcn.004b994a
lea ecx, [esi + 0xa0]
mov byte [ebp - 4], 0xa
call fcn.004b994a
lea ecx, [esi + 0x9c]
mov byte [ebp - 4], 9
call fcn.004b994a
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 8
call fcn.004b994a
lea ecx, [esi + 0x84]
mov byte [ebp - 4], 7
call fcn.004b994a
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 6
call fcn.004b994a
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 5
call fcn.004b994a
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 4
call fcn.004b994a
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 3
call fcn.004b994a
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.004b994a
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 1
call fcn.004b994a
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.004b994a
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.004b994a
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x42a72b
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebp, ecx
push ebx
call edi
test eax, eax
je 0x42a77e
and dword [esp + 0x14], 0
mov esi, 0x3e8
push ebx
call fcn.00415e2e
cmp eax, 0xffffffff
pop ecx
jne 0x42a77e
push ebx
call edi
test eax, eax
je 0x42a77e
push dword [ebp + 0x10]
push esi
call fcn.00415ae1
pop ecx
test eax, eax
pop ecx
jne 0x42a782
add dword [esp + 0x14], esi
cmp dword [esp + 0x14], 0x2710
jge 0x42a782
jmp 0x42a74c
xor eax, eax
jmp 0x42a785
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x42a78c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
push dword [ebp + 8]
mov dword [ebp - 4], ecx
call esi
test eax, eax
je 0x42a809
push dword [ebp + 0xc]
call esi
xor ebx, ebx
test eax, eax
je 0x42a7c4
cmp dword [ebp + 0x10], ebx
je 0x42a80e
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
call fcn.0042a72b
test eax, eax
jl 0x42a80e
mov edi, 0x3e8
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00415e52
add esp, 0xc
cmp eax, 0xffffffff
jne 0x42a805
push dword [ebp + 8]
call esi
test eax, eax
je 0x42a809
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
push edi
call fcn.00415ae1
pop ecx
test eax, eax
pop ecx
jne 0x42a80e
add ebx, edi
cmp ebx, 0x2710
jge 0x42a80e
jmp 0x42a7c9
xor eax, eax
jmp 0x42a811
push 0xfffffffffffffffe
pop eax
jmp 0x42a811
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x42b4cc
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cca5b
call fcn.0049d040
sub esp, 0xdc
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi]
call ebx
test eax, eax
je 0x42b694
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
cmp eax, 0xc
je 0x42b691
cmp eax, 0xd
je 0x42b691
push dword [esi]
lea eax, [ebp - 0x10]
push eax
call fcn.00415efd
push dword [esi]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.00415f6c
push dword [esi]
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
call fcn.00415fb1
add esp, 0x18
cmp dword [edi], 0xb
mov byte [ebp - 4], 2
jne 0x42b581
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push eax
call fcn.00416242
add esp, 0x10
push dword [ebp + 8]
mov byte [ebp - 4], 3
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push str._s_s._s
push esi
call fcn.004b5c21
add esp, 0x14
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.004b994a
jmp 0x42b66d
push dword [esi]
call ebx
test eax, eax
je 0x42b66d
mov ebx, str._s_s._s
push 0
lea ecx, [ebp - 0xe8]
call fcn.0040be4d
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x84]
push eax
mov byte [ebp - 4], 4
call fcn.004b9a91
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x80]
push eax
call fcn.004b9a91
lea eax, [ebp + 8]
lea ecx, [ebp - 0x7c]
push eax
call fcn.004b9a91
lea ecx, [ebp - 0xe8]
call fcn.004b92cb
dec eax
je 0x42b606
dec eax
je 0x42b658
dec eax
je 0x42b650
sub eax, 8
je 0x42b5eb
dec eax
je 0x42b648
dec eax
je 0x42b640
jmp 0x42b61f
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push ebx
push esi
call fcn.004b5c21
add esp, 0x14
mov dword [edi], 0xb
jmp 0x42b61f
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push ebx
push esi
call fcn.004b5c21
add esp, 0x14
mov dword [edi], 1
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.0040bf02
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b592
jmp 0x42b66d
mov dword [edi], 0xd
jmp 0x42b65e
mov dword [edi], 0xc
jmp 0x42b65e
mov dword [edi], 3
jmp 0x42b65e
mov dword [edi], 2
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.0040bf02
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004b994a
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b994a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b994a
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x42dcf6
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4cd0dd
call fcn.0049d040
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 8], edi
je 0x42dd11
push 1
pop eax
jmp 0x42dd80
push 0x70
mov dword [esi + 4], edi
call fcn.004b8dd9
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x42dd33
push dword [ebp + 8]
push esi
call fcn.0042e778
jmp 0x42dd35
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, edi
mov dword [esi + 8], eax
je 0x42dd60
push edi
push edi
push 4
mov ecx, eax
call fcn.004b828b
test eax, eax
jne 0x42dd65
mov ecx, dword [esi + 8]
cmp ecx, edi
je 0x42dd5d
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 8], edi
or eax, 0xffffffff
jmp 0x42dd80
mov eax, dword [esi + 8]
push edi
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 8]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

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

Disassembly:
mov eax, 0x4cd1f4
call fcn.0049d040
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 0x570b34
lea ecx, [ebp - 0x10]
call fcn.004b99be
xor edi, edi
xor ebx, ebx
cmp dword [esi + 0x14], edi
mov dword [ebp - 4], edi
jle 0x42e653
cmp ebx, edi
jl 0x42e5f0
cmp ebx, dword [esi + 0x14]
jge 0x42e5f0
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ebx*4]
jmp 0x42e5f2
xor eax, eax
cmp dword [eax + 0x74], 0x64
jne 0x42e64d
cmp dword [eax + 0x80], 0x64
jne 0x42e64d
push dword [eax + 0x5c8]
lea edi, [eax + 0x5c8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e64b
test ebx, ebx
jle 0x42e628
push 0x4f4984
lea ecx, [ebp - 0x10]
call fcn.004b9d3b
push 0x4f4980
lea ecx, [ebp - 0x10]
call fcn.004b9d3b
push edi
lea ecx, [ebp - 0x10]
call fcn.004b9d77
push 0x4f4980
lea ecx, [ebp - 0x10]
call fcn.004b9d3b
xor edi, edi
inc ebx
cmp ebx, dword [esi + 0x14]
jl 0x42e5df
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x42e696
lea eax, [ebp - 0x14]
push eax
call fcn.0040206f
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
push 1
push edi
je 0x42e67e
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
jmp 0x42e687
push edi
push dword [ebp - 0x10]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call fcn.004b994a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b994a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret