joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416415
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4ca994
call fcn.0049cca0
push ecx
push ecx
push ebx
push 0x570544
lea ecx, [ebp - 0x10]
call fcn.004b9642
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.00415cfb
pop ecx
test eax, eax
pop ecx
je 0x416451
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.004b9765
mov eax, dword [0x56bd50]
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.004b58a1
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.004b95ce
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b95ce
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4165bc
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 0x41661e
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 0x41661e
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x416620
xor eax, eax
pop esi
leave
ret

Function at 0x418dda
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4cae13
call fcn.0049cca0
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 [0x56bd50]
mov dword [ebp - 0x10], eax
push 1
lea eax, [ebp - 0x10]
pop ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00415b39
mov eax, dword [0x56bd50]
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.004b58a1
mov ecx, dword [ebp + 8]
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
call fcn.004b933b
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004b95ce
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004b95ce
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41adce
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049df20
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.0049d080
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.0041ae92
test eax, eax
jne 0x41ae3c
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 0x41ae41
or eax, 0xffffffff
jmp 0x41ae6a
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 0x41ae5f
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 0x41b1ec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049df20
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x570544
call fcn.004b9765
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.0049d080
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 0x41b24f
or eax, 0xffffffff
jmp 0x41b2a9
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 0x41b286
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41b24a
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x41b24a
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.0041b2af
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8
Function at 0x41c8a3
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4cb308
call fcn.0049cca0
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.004b9642
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.004b99bf
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0049d080
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.004b5b77
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.0049e5e5
pop ecx
test eax, eax
pop ecx
jne 0x41c947
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.0041c96b
test eax, eax
je 0x41c947
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.004b95ce
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x4245e3
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x4cb6cc
call fcn.0049cca0
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.00424dfb
cmp eax, edi
je 0x42476d
or ebx, 0xffffffff
cmp eax, ebx
je 0x424649
cmp eax, 0xfffffffe
je 0x42467e
mov eax, dword [esi + 0x9c]
cmp eax, edi
je 0x424632
push eax
mov ecx, esi
call fcn.0040f248
test eax, eax
jne 0x42467e
push dword [esi + 0x94]
lea ecx, [esi + 0x70]
call fcn.00425084
cmp eax, edi
je 0x42464c
cmp eax, 0xfffffffe
je 0x42467e
push edi
jmp 0x424689
cmp word [esi + 0x78], 2
jne 0x42476d
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.00424e8f
cmp eax, ebx
jne 0x424682
push 0x28
jmp 0x424689
cmp eax, 0xfffffffe
jne 0x424699
push 0x15
push 4
mov ecx, esi
call fcn.0042494d
mov eax, ebx
jmp 0x424776
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.00424cab
test eax, eax
je 0x4246c8
push 0x28
push 4
mov ecx, esi
call fcn.0042494d
lea eax, [ebp - 0x14]
push 0x4e73f8
push eax
mov dword [ebp - 0x14], ebx
call fcn.0049e4ed
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
test al, 1
jne 0x424706
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
add eax, 2
adc ecx, 0
cmp eax, edi
jne 0x4246e9
cmp ecx, dword [ebp - 0x2c]
je 0x424706
push 0x28
push 4
mov ecx, esi
call fcn.0042494d
or dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
push 0x4e73f8
push eax
call fcn.0049e4ed
or dword [ebp - 4], 0xffffffff
test byte [esi + 0x10], 1
je 0x424725
mov ecx, esi
call fcn.0041bbfb
cmp eax, 0xffffffff
jne 0x424720
push 0
jmp 0x424748
cmp eax, 0xfffffffe
je 0x424746
call ebx
push 3
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x42476d
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
add eax, 2
adc ecx, edx
cmp eax, edi
jne 0x424746
cmp ecx, dword [ebp - 0x2c]
je 0x42476d
push 0x28
push 4
mov ecx, esi
call fcn.0042494d
or eax, 0xffffffff
jmp 0x424776
mov ecx, esi
call fcn.004249d5
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x425196
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049df20
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x570544
call fcn.004b9765
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.0049d080
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 0x4251f9
or eax, 0xffffffff
jmp 0x425253
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 0x425230
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4251f4
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x4251f4
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.004252fb
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8

Function at 0x425259
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0049df20
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.0049d080
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.0042540a
test eax, eax
jne 0x4252c7
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 0x4252cc
or eax, 0xffffffff
jmp 0x4252f5
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 0x4252ea
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 0x425bca
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4cb7f0
call fcn.0049cca0
sub esp, 0x830
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004b5b77
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.004b9642
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.004b99bf
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0049d080
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.0049e5e5
add esp, 0x14
test eax, eax
jne 0x425c6c
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.0041c96b
test eax, eax
je 0x425c6c
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.004b95ce
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x4269ec
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 0xc]
and dword [edx], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x4269ff
cmp eax, 0xffffffff
jne 0x426a04
or eax, 0xffffffff
jmp 0x426a1d
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 0x4288a6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x4cc08f
call fcn.0049cca0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x188]
mov dword [ebp - 4], 0x25
call fcn.004b95ce
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x24
call fcn.004b95ce
lea ecx, [esi + 0x180]
mov byte [ebp - 4], 0x23
call fcn.004b95ce
lea ecx, [esi + 0x17c]
mov byte [ebp - 4], 0x22
call fcn.004b95ce
lea ecx, [esi + 0x178]
mov byte [ebp - 4], 0x21
call fcn.004b95ce
lea ecx, [esi + 0x174]
mov byte [ebp - 4], 0x20
call fcn.004b95ce
lea ecx, [esi + 0x140]
mov byte [ebp - 4], 0x1f
call fcn.004b95ce
lea ecx, [esi + 0x134]
mov byte [ebp - 4], 0x1e
call fcn.004b95ce
lea ecx, [esi + 0x130]
mov byte [ebp - 4], 0x1d
call fcn.004b95ce
lea ecx, [esi + 0x128]
mov byte [ebp - 4], 0x1c
call fcn.004b95ce
lea ecx, [esi + 0x124]
mov byte [ebp - 4], 0x1b
call fcn.004b95ce
lea ecx, [esi + 0x120]
mov byte [ebp - 4], 0x1a
call fcn.004b95ce
lea ecx, [esi + 0x11c]
mov byte [ebp - 4], 0x19
call fcn.004b95ce
mov byte [ebp - 4], 0x18
lea ecx, [esi + 0x104]
call fcn.004b95ce
lea ecx, [esi + 0x100]
mov byte [ebp - 4], 0x17
call fcn.004b95ce
lea ecx, [esi + 0xfc]
mov byte [ebp - 4], 0x16
call fcn.004b95ce
lea ecx, [esi + 0xf4]
mov byte [ebp - 4], 0x15
call fcn.004b95ce
lea ecx, [esi + 0xf0]
mov byte [ebp - 4], 0x14
call fcn.004b95ce
lea ecx, [esi + 0xec]
mov byte [ebp - 4], 0x13
call fcn.004b95ce
lea ecx, [esi + 0xe8]
mov byte [ebp - 4], 0x12
call fcn.004b95ce
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 0x11
call fcn.004b95ce
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 0x10
call fcn.004b95ce
lea ecx, [esi + 0xb8]
mov byte [ebp - 4], 0xf
call fcn.004b95ce
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 0xe
call fcn.004b95ce
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 0xd
call fcn.004b95ce
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 0xc
call fcn.004b95ce
lea ecx, [esi + 0xa4]
mov byte [ebp - 4], 0xb
call fcn.004b95ce
lea ecx, [esi + 0xa0]
mov byte [ebp - 4], 0xa
call fcn.004b95ce
lea ecx, [esi + 0x9c]
mov byte [ebp - 4], 9
call fcn.004b95ce
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 8
call fcn.004b95ce
lea ecx, [esi + 0x84]
mov byte [ebp - 4], 7
call fcn.004b95ce
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 6
call fcn.004b95ce
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 5
call fcn.004b95ce
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 4
call fcn.004b95ce
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 3
call fcn.004b95ce
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.004b95ce
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 1
call fcn.004b95ce
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.004b95ce
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.004b95ce
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x42a398
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 0x42a3eb
and dword [esp + 0x14], 0
mov esi, 0x3e8
push ebx
call fcn.00415adc
cmp eax, 0xffffffff
pop ecx
jne 0x42a3eb
push ebx
call edi
test eax, eax
je 0x42a3eb
push dword [ebp + 0x10]
push esi
call fcn.0041578f
pop ecx
test eax, eax
pop ecx
jne 0x42a3ef
add dword [esp + 0x14], esi
cmp dword [esp + 0x14], 0x2710
jge 0x42a3ef
jmp 0x42a3b9
xor eax, eax
jmp 0x42a3f2
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x42a3f9
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 0x42a476
push dword [ebp + 0xc]
call esi
xor ebx, ebx
test eax, eax
je 0x42a431
cmp dword [ebp + 0x10], ebx
je 0x42a47b
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
call fcn.0042a398
test eax, eax
jl 0x42a47b
mov edi, 0x3e8
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00415b00
add esp, 0xc
cmp eax, 0xffffffff
jne 0x42a472
push dword [ebp + 8]
call esi
test eax, eax
je 0x42a476
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
push edi
call fcn.0041578f
pop ecx
test eax, eax
pop ecx
jne 0x42a47b
add ebx, edi
cmp ebx, 0x2710
jge 0x42a47b
jmp 0x42a436
xor eax, eax
jmp 0x42a47e
push 0xfffffffffffffffe
pop eax
jmp 0x42a47e
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x42b139
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cc6d7
call fcn.0049cca0
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 0x42b301
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
cmp eax, 0xc
je 0x42b2fe
cmp eax, 0xd
je 0x42b2fe
push dword [esi]
lea eax, [ebp - 0x10]
push eax
call fcn.00415bab
push dword [esi]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.00415c1a
push dword [esi]
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
call fcn.00415c5f
add esp, 0x18
cmp dword [edi], 0xb
mov byte [ebp - 4], 2
jne 0x42b1ee
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push eax
call fcn.00415ef0
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.004b58a1
add esp, 0x14
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.004b95ce
jmp 0x42b2da
push dword [esi]
call ebx
test eax, eax
je 0x42b2da
mov ebx, str._s_s._s
push 0
lea ecx, [ebp - 0xe8]
call fcn.0040ca70
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x84]
push eax
mov byte [ebp - 4], 4
call fcn.004b9715
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x80]
push eax
call fcn.004b9715
lea eax, [ebp + 8]
lea ecx, [ebp - 0x7c]
push eax
call fcn.004b9715
lea ecx, [ebp - 0xe8]
call fcn.004b8f4e
dec eax
je 0x42b273
dec eax
je 0x42b2c5
dec eax
je 0x42b2bd
sub eax, 8
je 0x42b258
dec eax
je 0x42b2b5
dec eax
je 0x42b2ad
jmp 0x42b28c
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push ebx
push esi
call fcn.004b58a1
add esp, 0x14
mov dword [edi], 0xb
jmp 0x42b28c
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push ebx
push esi
call fcn.004b58a1
add esp, 0x14
mov dword [edi], 1
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.0040cb25
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b1ff
jmp 0x42b2da
mov dword [edi], 0xd
jmp 0x42b2cb
mov dword [edi], 0xc
jmp 0x42b2cb
mov dword [edi], 3
jmp 0x42b2cb
mov dword [edi], 2
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.0040cb25
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004b95ce
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b95ce
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b95ce
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 0x42d973
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4ccd59
call fcn.0049cca0
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 8], edi
je 0x42d98e
push 1
pop eax
jmp 0x42d9fd
push 0x70
mov dword [esi + 4], edi
call fcn.004b8a5c
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x42d9b0
push dword [ebp + 8]
push esi
call fcn.0042e3ef
jmp 0x42d9b2
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, edi
mov dword [esi + 8], eax
je 0x42d9dd
push edi
push edi
push 4
mov ecx, eax
call fcn.004b7f0b
test eax, eax
jne 0x42d9e2
mov ecx, dword [esi + 8]
cmp ecx, edi
je 0x42d9da
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 8], edi
or eax, 0xffffffff
jmp 0x42d9fd
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 0x42e23f
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x4cce70
call fcn.0049cca0
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 0x570544
lea ecx, [ebp - 0x10]
call fcn.004b9642
xor edi, edi
xor ebx, ebx
cmp dword [esi + 0x14], edi
mov dword [ebp - 4], edi
jle 0x42e2cd
cmp ebx, edi
jl 0x42e26d
cmp ebx, dword [esi + 0x14]
jge 0x42e26d
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ebx*4]
jmp 0x42e26f
xor eax, eax
cmp dword [eax + 0x74], 0x64
jne 0x42e2c7
cmp dword [eax + 0x7c], 0x64
jne 0x42e2c7
push dword [eax + 0x5c8]
lea edi, [eax + 0x5c8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e2c5
test ebx, ebx
jle 0x42e2a2
push 0x4f4988
lea ecx, [ebp - 0x10]
call fcn.004b99bf
push 0x4f4984
lea ecx, [ebp - 0x10]
call fcn.004b99bf
push edi
lea ecx, [ebp - 0x10]
call fcn.004b99fb
push 0x4f4984
lea ecx, [ebp - 0x10]
call fcn.004b99bf
xor edi, edi
inc ebx
cmp ebx, dword [esi + 0x14]
jl 0x42e25c
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x42e310
lea eax, [ebp - 0x14]
push eax
call fcn.00402052
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
push 1
push edi
je 0x42e2f8
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
jmp 0x42e301
push edi
push dword [ebp - 0x10]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call fcn.004b95ce
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b95ce
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x431119
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cd12a
call fcn.0049cca0
sub esp, 0x2a0
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00418dda
pop ecx
mov eax, dword [eax]
push 1
xor edi, edi
push 1
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00415819
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004b95ce
lea ecx, [ebp - 0xe4]
call fcn.004286aa
push dword [ebp + 0x2c]
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 3
push dword [ebp + 0x28]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.00430d2d
mov esi, eax
cmp esi, edi
je 0x4311b3
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.004b95ce
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x4d6488
call fcn.004284d4
jmp 0x4312dc
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4311e9
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.004b95ce
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x4d6488
call fcn.004284d4
or esi, 0xffffffff
jmp 0x4312dc
push edi
lea ecx, [ebp - 0x2ac]
call fcn.00461de0
push 3
lea ecx, [ebp - 0x2ac]
push dword [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00462ad0
test al, al
jne 0x43123d
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2ac], 0x4d5c98
call fcn.00461eb0
lea ecx, [ebp - 0x2ac]
call fcn.00461e00
mov byte [ebp - 4], 7
or esi, 0xffffffff
jmp 0x4312bf
cmp dword [ebp + 0x24], edi
jle 0x431285
cmp dword [ebp + 0x20], edi
jle 0x431285
lea ecx, [ebp - 0x2ac]
call fcn.00460f20
lea ecx, [ebp - 0x2ac]
mov esi, eax
call fcn.00460f10
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
lea eax, [ebp + 0x18]
push esi
push eax
call fcn.00431e49
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2ac]
push dword [ebp + 0x18]
push eax
call fcn.0041735e
add esp, 0x20
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x2ac]
push edi
push eax
call fcn.00462400
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2ac], 0x4d5c98
call fcn.00461eb0
lea ecx, [ebp - 0x2ac]
call fcn.00461e00
mov byte [ebp - 4], 8
xor esi, esi
lea ecx, [ebp - 0x74]
call fcn.004b95ce
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x4d6404
call fcn.0042847d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00415886
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret