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

Disassembly:
mov eax, 0x59289c
call fcn.00552eac
push ecx
mov eax, dword [0x67c5c0]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push str._sNIO_curl.exe
push eax
call fcn.0056ca51
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x46c7bf
lea eax, [ebp - 0x10]
lea ecx, [esi + 8]
push eax
call fcn.00570dd5
cmp dword [esi + 4], 0
push 2
pop ebx
jne 0x46c7d7
push dword [esi + 8]
call edi
neg eax
sbb eax, eax
and eax, ebx
dec eax
mov dword [esi + 4], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._sNIO_wget.exe
push eax
call fcn.0056ca51
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x46c800
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x10]
push eax
call fcn.00570dd5
cmp dword [esi + 0xc], 0
jne 0x46c815
push dword [esi + 0x10]
call edi
neg eax
sbb eax, eax
and eax, ebx
dec eax
mov dword [esi + 0xc], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._sNIO_msdl.exe
push eax
call fcn.0056ca51
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x46c83e
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x18]
push eax
call fcn.00570dd5
cmp dword [esi + 0x14], 0
jne 0x46c853
push dword [esi + 0x18]
call edi
neg eax
sbb eax, eax
and eax, ebx
dec eax
mov dword [esi + 0x14], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._sNIO_rtmp.exe
push eax
call fcn.0056ca51
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x46c87c
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x20]
push eax
call fcn.00570dd5
cmp dword [esi + 0x1c], 0
jne 0x46c891
push dword [esi + 0x20]
call edi
neg eax
sbb eax, eax
and eax, ebx
dec eax
mov dword [esi + 0x1c], eax
push str.cacert.pem
mov ebx, 0x5e86d4
push dword [ebp + 8]
add esi, 0x24
push ebx
push esi
call fcn.0056ca51
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x46c8c5
push str.ca_bundle.crt
push dword [ebp + 8]
push ebx
push esi
call fcn.0056ca51
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x46c8df
push str.ca_bundle.trust.crt
push dword [ebp + 8]
push ebx
push esi
call fcn.0056ca51
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x46c8f9
push str.curl_ca_bundle.crt
push dword [ebp + 8]
push ebx
push esi
call fcn.0056ca51
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x46c913
push str.cacert.pem
push dword [ebp + 8]
push ebx
push esi
call fcn.0056ca51
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00570c8e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x46d35e
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x592b63
call fcn.00552eac
push ecx
mov eax, dword [0x67c5c0]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ebx, [esi + 0x2c]
mov dword [ebx], eax
mov eax, dword [0x67c5c0]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x38], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x3c], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x40], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x44], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x48], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x4c], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x50], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x54], eax
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 8
call fcn.0046bb78
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x10], eax
mov edi, 0x680e9c
mov eax, 0x3e8
push edi
mov ecx, ebx
mov dword [esi], 0x5ad7e4
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0x1000
call fcn.00570e25
push edi
lea ecx, [esi + 0x38]
mov dword [esi + 0x30], 0x50
mov dword [esi + 0x34], 0x6e
call fcn.00570e25
push edi
lea ecx, [esi + 0x3c]
call fcn.00570e25
push edi
lea ecx, [esi + 0x40]
call fcn.00570e25
push edi
lea ecx, [esi + 0x44]
call fcn.00570e25
push edi
lea ecx, [esi + 0x48]
call fcn.00570e25
push edi
lea ecx, [esi + 0x4c]
call fcn.00570e25
push edi
lea ecx, [esi + 0x50]
call fcn.00570e25
push edi
lea ecx, [esi + 0x54]
call fcn.00570e25
and dword [esi + 0x58], 0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x46d36f
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x592b63
call fcn.00552eac
push ecx
mov eax, dword [0x67c5c0]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ebx, [esi + 0x2c]
mov dword [ebx], eax
mov eax, dword [0x67c5c0]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x38], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x3c], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x40], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x44], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x48], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x4c], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x50], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x54], eax
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 8
call fcn.0046bb78
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x10], eax
mov edi, 0x680e9c
mov eax, 0x3e8
push edi
mov ecx, ebx
mov dword [esi], 0x5ad7e4
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0x1000
call fcn.00570e25
push edi
lea ecx, [esi + 0x38]
mov dword [esi + 0x30], 0x50
mov dword [esi + 0x34], 0x6e
call fcn.00570e25
push edi
lea ecx, [esi + 0x3c]
call fcn.00570e25
push edi
lea ecx, [esi + 0x40]
call fcn.00570e25
push edi
lea ecx, [esi + 0x44]
call fcn.00570e25
push edi
lea ecx, [esi + 0x48]
call fcn.00570e25
push edi
lea ecx, [esi + 0x4c]
call fcn.00570e25
push edi
lea ecx, [esi + 0x50]
call fcn.00570e25
push edi
lea ecx, [esi + 0x54]
call fcn.00570e25
and dword [esi + 0x58], 0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x46e1da
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0xa8]
test edi, edi
mov dword [ebp - 4], edi
je 0x46e2cb
push dword [esi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46e258
push 1
pop ebx
cmp edi, ebx
jle 0x46e21c
cmp dword [esi + 0x88], ebx
jne 0x46e21c
push ebx
lea ecx, [esi + 0xa0]
call fcn.0046e198
test edi, edi
jle 0x46e22d
cmp dword [esi + 0x8c], 0
jle 0x46e2be
push dword [esi + 0xc]
call fcn.00413394
test edx, edx
pop ecx
jg 0x46e240
jl 0x46e258
test eax, eax
jbe 0x46e258
test byte [esi + 0x2c], bl
je 0x46e26b
cmp eax, dword [esi + 0x90]
lea ecx, [esi + 0x90]
jne 0x46e258
cmp edx, dword [ecx + 4]
je 0x46e27d
push 0
lea ecx, [esi + 0xa0]
call fcn.0046e198
and dword [esi + 0x2c], 0xfffffffe
jmp 0x46e2cb
cmp edi, ebx
jne 0x46e27d
mov ecx, dword [esi + 0xa4]
mov ecx, dword [ecx]
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], edx
xor ecx, ecx
xor ebx, ebx
xor edx, edx
test edi, edi
jle 0x46e2be
mov eax, dword [esi + 0xa4]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x46e2b5
xor edi, edi
cmp dword [eax + 0x44], edi
jg 0x46e2a8
jl 0x46e2a2
cmp dword [eax + 0x40], edi
jae 0x46e2a8
mov dword [eax + 0x40], edi
mov dword [eax + 0x44], edi
mov edi, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
add ecx, edi
mov edi, dword [ebp - 4]
adc ebx, eax
inc edx
cmp edx, edi
jl 0x46e287
or ecx, ebx
jne 0x46e2cb
push 0
lea ecx, [esi + 0xa0]
call fcn.0046e198
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x46ef09
Capabilities:
Resume thread

Disassembly:
mov eax, 0x592d15
call fcn.00552eac
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 0x128
call fcn.0057055e
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x46ef47
push dword [edi + 0x34]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push esi
push edi
call fcn.0046d5e4
jmp 0x46ef49
xor eax, eax
or dword [ebp - 4], 0xffffffff
push ebx
push ebx
push 4
mov ecx, eax
mov dword [esi + 0x68], eax
call fcn.0056fa11
test eax, eax
jne 0x46ef7d
mov ecx, dword [esi + 0x68]
cmp ecx, ebx
je 0x46ef6d
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x68], ebx
mov eax, dword [edi]
push 0xfffffffffffffffe
mov ecx, edi
call dword [eax + 0x14]
push 0xfffffffffffffffe
jmp 0x46efc3
mov eax, dword [esi + 0x68]
push ebx
mov eax, dword [eax + 0x28]
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 0x68]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [ebp + 0x14], ebx
je 0x46efc6
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x46efaa
cmp dword [eax], ebx
jne 0x46efc1
push 0x64
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x46efca
cmp dword [esi + 0x20], 0x14
jge 0x46efc6
jmp 0x46ef9f
push 1
pop eax
jmp 0x46eff0
xor eax, eax
jmp 0x46eff0
mov ecx, dword [esi + 0x68]
push 0x14
call fcn.0046de52
mov ecx, dword [esi + 0x68]
call fcn.0046de6a
mov ecx, dword [esi + 0x68]
cmp ecx, ebx
je 0x46efea
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x68], ebx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x46f21c
Capabilities:
Resume thread

Disassembly:
mov eax, 0x592d29
call fcn.00552eac
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x100], ebx
je 0x46f23b
push 1
pop eax
jmp 0x46f2a3
push 0x6c
mov dword [edi + 0x104], ebx
call fcn.0057055e
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x46f25f
push edi
call fcn.004706e9
mov esi, eax
jmp 0x46f261
xor esi, esi
or eax, 0xffffffff
cmp esi, ebx
mov dword [ebp - 4], eax
je 0x46f2a3
push ebx
push ebx
push 4
mov ecx, esi
call fcn.0056fa11
test eax, eax
jne 0x46f288
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x46f2a3
push ebx
mov dword [edi + 0x100], esi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x48f649
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x595032
call fcn.00552eac
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0048f6f6
mov eax, dword [0x67c5c0]
lea ecx, [esi + 0x14]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0x5ae934
mov dword [esi + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov eax, dword [0x67c5c0]
mov dword [esi + 0x3c], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x40], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x44], eax
mov edi, 0x680e9c
mov byte [ebp - 4], 6
push edi
mov dword [esi], 0x5ae928
call fcn.00570e25
push edi
lea ecx, [esi + 0x18]
call fcn.00570e25
push edi
lea ecx, [esi + 0x3c]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call fcn.00570e25
push edi
lea ecx, [esi + 0x40]
call fcn.00570e25
push edi
lea ecx, [esi + 0x44]
call fcn.00570e25
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x496b4f
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x59566f
call fcn.00552eac
sub esp, 0xe4
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
je 0x496cad
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x496cad
lea ecx, [ebp - 0xf0]
call fcn.00423ce8
push ebx
push 0x74
push dword [ebp + 8]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], ebx
push eax
call fcn.00423e51
mov ecx, eax
call fcn.004236f1
test al, al
jne 0x496bb4
or esi, 0xffffffff
jmp 0x496c7f
lea eax, [ebp - 0x10]
push str.MediaFormats
push eax
lea ecx, [ebp - 0xf0]
call fcn.00423881
lea ecx, [ebp - 0x10]
call fcn.004236f1
test al, al
jne 0x496bac
push 0x680e9c
lea eax, [ebp - 0x1c]
push 0x5e9880
push eax
lea ecx, [ebp - 0x10]
call fcn.004238c8
mov ecx, eax
call fcn.00423665
push eax
lea ecx, [ebp - 0x14]
call fcn.00570d02
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 1
push dword [esi + 4]
push dword [ebp - 0x14]
call fcn.00553045
pop ecx
test eax, eax
pop ecx
je 0x496c17
push 1
pop esi
jmp 0x496c73
lea eax, [ebp - 0x18]
push str.Categories
push eax
lea ecx, [ebp - 0x10]
call fcn.00423881
lea ecx, [ebp - 0x18]
call fcn.004236f1
test al, al
je 0x496c39
or esi, 0xffffffff
jmp 0x496c73
cmp dword [esi + 0x10], ebx
jle 0x496c71
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x18]
mov edi, dword [eax + ebx*4]
lea eax, [ebp + 8]
push dword [edi + 8]
push eax
call fcn.00423881
lea ecx, [ebp + 8]
call fcn.004236f1
test al, al
jne 0x496c92
lea eax, [ebp + 8]
push eax
push edi
call fcn.00496cc1
inc ebx
pop ecx
cmp ebx, dword [esi + 0x10]
pop ecx
jl 0x496c3e
xor esi, esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00570c8e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00423cff
mov eax, esi
jmp 0x496cb0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00570c8e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00423cff
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x49a5f0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
mov esi, ecx
push ebx
push 0x402
push dword [esi + 0x94]
call edi
push ebx
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0x8000000
push 2
push ebx
push 3
push 0x40000000
push dword [esp + 0x40]
call ebp
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x49a65c
push ebx
push 0x8000000
push 3
push ebx
push 3
push SysReAllocString
push dword [esp + 0x3c]
call ebp
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x49a664
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x49a719
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
push ebx
push 0x406
push dword [esi + 0x94]
call edi
mov ebp, 0x1000
mov dword [esp + 0x14], ebx
push ebp
call fcn.0055378d
pop ecx
mov dword [esp + 0x24], eax
cmp dword [esi + 0x68], ebx
jne 0x49a6ec
lea eax, [esp + 0x28]
push ebx
push eax
push ebp
push dword [esp + 0x30]
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x49a6ec
cmp dword [esp + 0x28], ebx
jbe 0x49a6cb
lea eax, [esp + 0x1c]
push ebx
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x14]
push ebx
add eax, dword [esp + 0x20]
push eax
push 0x402
push dword [esi + 0x94]
mov dword [esp + 0x24], eax
call edi
cmp dword [esp + 0x28], ebp
jae 0x49a68f
push dword [esp + 0x24]
call fcn.005538c7
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
push dword [esp + 0x18]
call ebp
push dword [esp + 0x10]
call ebp
push ebx
push ebx
push 0x402
push dword [esi + 0x94]
call edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8

Function at 0x49b1b2
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x595d47
call fcn.00552eac
push ecx
mov eax, dword [0x67c5c0]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [ecx], eax
mov eax, dword [0x67c5c0]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x24], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x28], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x3c], eax
mov edi, 0x680e9c
mov byte [ebp - 4], 4
push edi
mov dword [esi], method.Json::Writer.virtual_4
call fcn.00570e25
push edi
lea ecx, [esi + 0xc]
mov dword [esi + 8], 0x20
call fcn.00570e25
push edi
lea ecx, [esi + 0x24]
mov dword [esi + 0x10], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
call fcn.00570e25
push edi
lea ecx, [esi + 0x28]
call fcn.00570e25
push edi
lea ecx, [esi + 0x3c]
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
call fcn.00570e25
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4a1a99
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [esi]
push edi
call dword [eax + 0xc8]
test eax, eax
je 0x4a1aea
push dword [eax + 0x6ac]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a1aea
push 3
mov ecx, esi
mov dword [esi + 0x140], edi
call fcn.0049fd4e
push 0
push edi
push 0x1076
mov dword [esi + 0x144], eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.005720e3
pop edi
pop esi
ret 4

Function at 0x4acaa0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp eax, ecx
je 0x4acacf
cmp dword [0x6816fc], ecx
je 0x4acacf
mov eax, dword [eax + 0x44]
cmp dword [eax - 8], ecx
je 0x4acacf
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
jmp 0x4acad2
or eax, 0xffffffff
ret 4

Function at 0x4afa48
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
cmp dword [edi + 0x38], 0x32
je 0x4afae9
mov esi, dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4afa73
push 0xfffffffffffffffe
jmp 0x4afae6
lea eax, [esi + 8]
lea ecx, [edi + 0x54]
push eax
call fcn.00570dd5
lea ecx, [esi + 0x38]
push 0x680e9c
call fcn.00570e25
mov eax, dword [esi]
xor ebx, ebx
push edi
mov ecx, esi
mov dword [esi + 0x3c], ebx
call dword [eax + 0x18]
test eax, eax
je 0x4afad2
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x4afaa8
cmp dword [eax], ebx
jne 0x4afae4
cmp dword [esi + 0x34], ebx
je 0x4afae9
mov eax, dword [ebp - 4]
add eax, 0x18
mov ecx, dword [eax]
cmp dword [ecx - 8], ebx
je 0x4afae9
push eax
lea ecx, [esi + 0x38]
call fcn.00570dd5
mov eax, dword [esi]
push edi
mov ecx, esi
mov dword [esi + 0x3c], ebx
call dword [eax + 0x18]
test eax, eax
jne 0x4afad9
mov dword [edi + 0x5c], ebx
xor eax, eax
jmp 0x4afaec
mov edi, dword [edi + 4]
cmp edi, ebx
je 0x4afae9
cmp dword [edi], ebx
je 0x4afae9
push 1
pop eax
jmp 0x4afaec
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4afb89
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
cmp dword [edi + 0x38], 0x32
je 0x4afc2f
mov esi, dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4afbb5
push 0xfffffffffffffffe
pop eax
jmp 0x4afc32
lea eax, [esi + 8]
lea ecx, [edi + 0x54]
push eax
call fcn.00570dd5
lea ecx, [esi + 0x38]
push 0x680e9c
call fcn.00570e25
mov eax, dword [esi]
push 1
pop ebx
mov ecx, esi
push edi
mov dword [esi + 0x3c], ebx
call dword [eax + 0x18]
test eax, eax
je 0x4afc17
mov eax, dword [edi + 4]
xor ecx, ecx
cmp eax, ecx
je 0x4afbed
cmp dword [eax], ecx
jne 0x4afc2b
cmp dword [esi + 0x34], ecx
je 0x4afc2f
mov eax, dword [ebp - 4]
add eax, 0x18
mov edx, dword [eax]
cmp dword [edx - 8], ecx
je 0x4afc2f
push eax
lea ecx, [esi + 0x38]
call fcn.00570dd5
mov eax, dword [esi]
push edi
mov ecx, esi
mov dword [esi + 0x3c], ebx
call dword [eax + 0x18]
test eax, eax
jne 0x4afc1f
and dword [edi + 0x5c], 0
xor eax, eax
jmp 0x4afc32
mov edi, dword [edi + 4]
test edi, edi
je 0x4afc2f
cmp dword [edi], 0
je 0x4afc2f
mov eax, ebx
jmp 0x4afc32
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4ce74c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x59ae62
call fcn.00552eac
push ecx
mov eax, dword [0x67c5c0]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], eax
mov eax, dword [0x67c5c0]
and dword [ebp - 4], 0
mov dword [esi + 0xc], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x10], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x14], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x1c], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x20], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x24], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x28], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x2c], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x30], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x34], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x38], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x3c], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x40], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x44], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x48], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x4c], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x50], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x54], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x58], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x5c], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x60], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x64], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x68], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x6c], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x70], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x74], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x78], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x80], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x84], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x8c], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x98], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0x9c], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0xa0], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0xa4], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0xa8], eax
mov eax, dword [0x67c5c0]
mov dword [esi + 0xac], eax
mov byte [ebp - 4], 0x24
mov dword [esi], 0x5b510c
call fcn.004ceac0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret