joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425a53
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x4d451c
call fcn.00476d58
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
mov eax, esi
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
cdq
mov edi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edx
call fcn.004b92f2
push dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.004b92f2
lea eax, [ebp + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.0042615d
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x425acd
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.004b927e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b927e
mov eax, dword [ebp + 0xc]
jmp 0x425c0a
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x88]
push eax
call fcn.004b93c5
lea eax, [ebp + 8]
lea ecx, [esi + 0x8c]
push eax
call fcn.004b93c5
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
mov byte [ebp - 4], 2
call fcn.00425f79
cmp eax, ebx
je 0x425b1b
push 0x28
push 4
mov ecx, esi
call fcn.00425c1b
or dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
push 0x4f2250
push eax
call fcn.00478480
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test al, 1
jne 0x425b59
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
add eax, 2
adc ecx, ebx
cmp eax, edi
jne 0x425b39
cmp ecx, dword [ebp - 0x34]
je 0x425b59
push 0x28
push 4
mov ecx, esi
call fcn.00425c1b
lea eax, [ebp - 0x1c]
push 0x4f2250
push eax
mov dword [ebp - 0x1c], 0xfffffffe
call fcn.00478480
lea eax, [ebp - 0x20]
push 0x4f2250
push eax
mov dword [ebp - 0x20], ebx
call fcn.00478480
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jne 0x425be9
lea eax, [ebp - 0x28]
push eax
call fcn.00426e93
mov edi, dword [ebp - 0x24]
mov eax, dword [eax]
pop ecx
push ebx
push 2
pop esi
mov ecx, edi
push esi
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], eax
call fcn.00425c1b
mov ecx, edi
call fcn.00425ca3
cmp word [edi + 0x78], si
jne 0x425ba8
cmp word [edi + 0x7a], bx
je 0x425bb1
mov dword [edi + 0xa0], ebx
mov dword [ebp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x425be9
mov ecx, dword [ebp - 0x30]
mov eax, edi
add ecx, esi
mov esi, dword [ebp - 0x2c]
cdq
adc esi, ebx
cmp ecx, eax
jne 0x425bd7
cmp esi, edx
je 0x425be9
push 0x28
push 4
mov ecx, edi
call fcn.00425c1b
mov dword [ebp + 0xc], 0xfffffffe
mov eax, 0x425bef
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x42645f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00477b60
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x57cc4c
call fcn.004b9415
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.00476d80
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 0x4264c2
or eax, 0xffffffff
jmp 0x42651c
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 0x4264f9
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4264bd
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x4264bd
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.004265c4
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8

Function at 0x426522
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00477b60
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.00476d80
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.004266d3
test eax, eax
jne 0x426590
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 0x426595
or eax, 0xffffffff
jmp 0x4265be
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 0x4265b3
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 0x426e93
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4d4624
call fcn.00476d58
sub esp, 0x830
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004b7008
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.004b92f2
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.004b966f
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00476d80
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.00478578
add esp, 0x14
test eax, eax
jne 0x426f35
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.0041cfd9
test eax, eax
je 0x426f35
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.004b927e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x427cb5
Capabilities:
Write file on windows

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

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

Disassembly:
mov eax, 0x4d4fae
call fcn.00476d58
sub esp, 0x2a0
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004193f6
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.004130ce
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004b927e
lea ecx, [ebp - 0xe4]
call fcn.0042aa86
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.0042a643
mov esi, eax
cmp esi, edi
je 0x42acc6
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.004b927e
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x4e0104
call fcn.0042d0ea
jmp 0x42adef
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42acfc
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.004b927e
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x4e0104
call fcn.0042d0ea
or esi, 0xffffffff
jmp 0x42adef
push edi
lea ecx, [ebp - 0x2ac]
call fcn.0045df20
push 3
lea ecx, [ebp - 0x2ac]
push dword [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0045ec10
test al, al
jne 0x42ad50
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2ac], 0x4df448
call fcn.0045dff0
lea ecx, [ebp - 0x2ac]
call fcn.0045df40
mov byte [ebp - 4], 7
or esi, 0xffffffff
jmp 0x42add2
cmp dword [ebp + 0x24], edi
jle 0x42ad98
cmp dword [ebp + 0x20], edi
jle 0x42ad98
lea ecx, [ebp - 0x2ac]
call fcn.0045d060
lea ecx, [ebp - 0x2ac]
mov esi, eax
call fcn.0045d050
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
lea eax, [ebp + 0x18]
push esi
push eax
call fcn.0042ba57
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2ac]
push dword [ebp + 0x18]
push eax
call fcn.00414453
add esp, 0x20
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x2ac]
push edi
push eax
call fcn.0045e540
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2ac], 0x4df448
call fcn.0045dff0
lea ecx, [ebp - 0x2ac]
call fcn.0045df40
mov byte [ebp - 4], 8
xor esi, esi
lea ecx, [ebp - 0x74]
call fcn.004b927e
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x4e0084
call fcn.0042aa2f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0041313b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x42baba
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d5100
call fcn.00476d58
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, 0x57cc54
push str._sMediaProbe.exe
push edi
call fcn.004b6811
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [0x57cc54]
call esi
test eax, eax
jne 0x42bafe
push str.MediaProbe.exe
mov ecx, edi
call fcn.004b9415
push ebx
mov edi, 0x57cc58
push str._sMediaEncode.exe
push edi
call fcn.004b6811
add esp, 0xc
push dword [0x57cc58]
call esi
test eax, eax
jne 0x42bb2a
push str.MediaEncode.exe
mov ecx, edi
call fcn.004b9415
push dword [0x57cc58]
lea eax, [ebp - 0x14]
push eax
call fcn.00413460
pop ecx
pop ecx
and dword [ebp - 4], 0
push 0x50f0c0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004b9523
push eax
mov ecx, 0x57cc5c
mov byte [ebp - 4], 1
call fcn.004b93c5
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004b927e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b927e
push ebx
mov edi, 0x57cc60
push str._sMediaPlay.exe
push edi
call fcn.004b6811
add esp, 0xc
push dword [0x57cc60]
call esi
test eax, eax
jne 0x42bba1
push str.MediaPlay.exe
mov ecx, edi
call fcn.004b9415
cmp dword [0x57cc64], 0
jne 0x42bca5
mov eax, dword [0x575438]
mov dword [ebp + 8], eax
push 2
lea eax, [ebp + 8]
pop edi
push ebx
push str._s_avcodec_60.dll
push eax
mov dword [ebp - 4], edi
call fcn.004b6811
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x42bbe1
mov dword [0x57cc64], 6
cmp dword [0x57cc64], 0
jne 0x42bc99
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_59.dll
push eax
call fcn.004b6811
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x42bc13
mov dword [0x57cc64], 5
cmp dword [0x57cc64], 0
jne 0x42bc99
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_58.dll
push eax
call fcn.004b6811
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x42bc41
mov dword [0x57cc64], 4
cmp dword [0x57cc64], 0
jne 0x42bc99
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_57.dll
push eax
call fcn.004b6811
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x42bc6f
mov dword [0x57cc64], 3
cmp dword [0x57cc64], 0
jne 0x42bc99
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_56.dll
push eax
call fcn.004b6811
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x42bc99
mov dword [0x57cc64], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004b927e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [0x57cc68], 1
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42bcc0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [0x57cc60]
call esi
test eax, eax
je 0x42bce0
xor eax, eax
push eax
push eax
push eax
push dword [0x57cc60]
jmp 0x42bd10
push dword [0x57cc58]
call esi
test eax, eax
je 0x42bcf9
xor eax, eax
push eax
push eax
push eax
push dword [0x57cc58]
jmp 0x42bd10
push dword [0x57cc54]
call esi
test eax, eax
je 0x42bd18
xor eax, eax
push eax
push eax
push eax
push dword [0x57cc54]
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
ret

Function at 0x42bf3b
Capabilities:
Check if file exists
Set current directory

Disassembly:
mov eax, 0x4d515c
call fcn.00476d58
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42bf79
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00413460
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.004b927e
lea eax, [ebp - 0x14]
push eax
call fcn.004193f6
pop ecx
mov eax, dword [eax]
and dword [ebp - 4], 0
push 1
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.004130ce
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004b927e
push dword [ebp + 8]
lea edi, [esi + 0x70]
mov ecx, edi
call fcn.004b9415
push dword [ebp + 0x10]
mov eax, esi
neg eax
push dword [ebp - 0x24]
lea ecx, [esi + 0x68]
sbb eax, eax
and eax, ecx
mov ecx, esi
push eax
call fcn.0042bd1c
test eax, eax
je 0x42bfd0
mov esi, eax
jmp 0x42c005
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push ebx
push dword [ebp - 0x24]
call dword [eax + 0x28]
test eax, eax
je 0x42bfea
or esi, 0xffffffff
jmp 0x42c005
mov edi, dword [edi]
mov eax, dword [esi]
push edi
push ebx
mov ecx, esi
call dword [eax + 0x2c]
or esi, 0xffffffff
cmp eax, esi
je 0x42c005
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0041313b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x42f749
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 0x42f79c
and dword [esp + 0x14], 0
mov esi, 0x3e8
push ebx
call fcn.00413391
cmp eax, 0xffffffff
pop ecx
jne 0x42f79c
push ebx
call edi
test eax, eax
je 0x42f79c
push dword [ebp + 0x10]
push esi
call fcn.004152e7
pop ecx
test eax, eax
pop ecx
jne 0x42f7a0
add dword [esp + 0x14], esi
cmp dword [esp + 0x14], 0x2710
jge 0x42f7a0
jmp 0x42f76a
xor eax, eax
jmp 0x42f7a3
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x42f7aa
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 0x42f827
push dword [ebp + 0xc]
call esi
xor ebx, ebx
test eax, eax
je 0x42f7e2
cmp dword [ebp + 0x10], ebx
je 0x42f82c
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
call fcn.0042f749
test eax, eax
jl 0x42f82c
mov edi, 0x3e8
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004133b5
add esp, 0xc
cmp eax, 0xffffffff
jne 0x42f823
push dword [ebp + 8]
call esi
test eax, eax
je 0x42f827
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
push edi
call fcn.004152e7
pop ecx
test eax, eax
pop ecx
jne 0x42f82c
add ebx, edi
cmp ebx, 0x2710
jge 0x42f82c
jmp 0x42f7e7
xor eax, eax
jmp 0x42f82f
push 0xfffffffffffffffe
pop eax
jmp 0x42f82f
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4304ea
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d5ad3
call fcn.00476d58
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 0x4306b2
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
cmp eax, 0xc
je 0x4306af
cmp eax, 0xd
je 0x4306af
push dword [esi]
lea eax, [ebp - 0x10]
push eax
call fcn.00413460
push dword [esi]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.004134cf
push dword [esi]
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
call fcn.00413514
add esp, 0x18
cmp dword [edi], 0xb
mov byte [ebp - 4], 2
jne 0x43059f
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push eax
call fcn.004137a5
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.004b6811
add esp, 0x14
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.004b927e
jmp 0x43068b
push dword [esi]
call ebx
test eax, eax
je 0x43068b
mov ebx, str._s_s._s
push 0
lea ecx, [ebp - 0xe8]
call fcn.0040db28
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x84]
push eax
mov byte [ebp - 4], 4
call fcn.004b93c5
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x80]
push eax
call fcn.004b93c5
lea eax, [ebp + 8]
lea ecx, [ebp - 0x7c]
push eax
call fcn.004b93c5
lea ecx, [ebp - 0xe8]
call fcn.004b9dfc
dec eax
je 0x430624
dec eax
je 0x430676
dec eax
je 0x43066e
sub eax, 8
je 0x430609
dec eax
je 0x430666
dec eax
je 0x43065e
jmp 0x43063d
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push ebx
push esi
call fcn.004b6811
add esp, 0x14
mov dword [edi], 0xb
jmp 0x43063d
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push ebx
push esi
call fcn.004b6811
add esp, 0x14
mov dword [edi], 1
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.0040dbdd
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4305b0
jmp 0x43068b
mov dword [edi], 0xd
jmp 0x43067c
mov dword [edi], 0xc
jmp 0x43067c
mov dword [edi], 3
jmp 0x43067c
mov dword [edi], 2
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.0040dbdd
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004b927e
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b927e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b927e
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 0x431f4a
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x4d5dc0
call fcn.00476d58
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 0x57cc4c
lea ecx, [ebp - 0x10]
call fcn.004b92f2
xor edi, edi
xor ebx, ebx
cmp dword [esi + 0x14], edi
mov dword [ebp - 4], edi
jle 0x431fdb
cmp ebx, edi
jl 0x431f78
cmp ebx, dword [esi + 0x14]
jge 0x431f78
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ebx*4]
jmp 0x431f7a
xor eax, eax
cmp dword [eax + 0x74], 0x64
jne 0x431fd5
cmp dword [eax + 0x80], 0x64
jne 0x431fd5
push dword [eax + 0x5c8]
lea edi, [eax + 0x5c8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431fd3
test ebx, ebx
jle 0x431fb0
push 0x5008c0
lea ecx, [ebp - 0x10]
call fcn.004b966f
push 0x5008bc
lea ecx, [ebp - 0x10]
call fcn.004b966f
push edi
lea ecx, [ebp - 0x10]
call fcn.004b96ab
push 0x5008bc
lea ecx, [ebp - 0x10]
call fcn.004b966f
xor edi, edi
inc ebx
cmp ebx, dword [esi + 0x14]
jl 0x431f67
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x43201e
lea eax, [ebp - 0x14]
push eax
call fcn.00401f8b
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
push 1
push edi
je 0x432006
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
jmp 0x43200f
push edi
push dword [ebp - 0x10]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call fcn.004b927e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b927e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x45276e
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x4d84ce
call fcn.00476d58
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0045281b
mov eax, dword [0x575438]
lea ecx, [esi + 0x14]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov eax, dword [0x575438]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0x4e1b6c
mov dword [esi + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov eax, dword [0x575438]
mov dword [esi + 0x3c], eax
mov eax, dword [0x575438]
mov dword [esi + 0x40], eax
mov eax, dword [0x575438]
mov dword [esi + 0x44], eax
mov edi, 0x57cc4c
mov byte [ebp - 4], 6
push edi
mov dword [esi], 0x4e1b60
call fcn.004b9415
push edi
lea ecx, [esi + 0x18]
call fcn.004b9415
push edi
lea ecx, [esi + 0x3c]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call fcn.004b9415
push edi
lea ecx, [esi + 0x40]
call fcn.004b9415
push edi
lea ecx, [esi + 0x44]
call fcn.004b9415
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret