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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, ecx
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x58], eax
xor eax, eax
dec eax
lea edi, [esp + 0x20]
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea ebx, [esp + 0x10]
push 0x39
push str..._.._base_files_memory_mapped_file_win.cc
push str.MapFileRegionToMemory
push ebx
call fcn.004c10c0
add esp, 0x10
mov ecx, edi
push 0
push ebx
call fcn.004c7be0
mov ecx, esi
call fcn.00407960
xor ebx, ebx
test al, al
je 0x40789c
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4078d8
mov edi, 2
mov ecx, esi
call fcn.0040a5c0
xor ecx, ecx
push ecx
push ebx
push ecx
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
cmp dword [esi + 0x24], eax
je 0x40782c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x24]
inc eax
cmp eax, 2
jae 0x4078bc
mov eax, ebx
inc eax
cmp eax, 2
jb 0x40781f
mov dword [esi + 0x24], ebx
call fcn.004bafe0
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [esi + 0x24]
inc ebx
cmp ebx, 2
jb 0x407935
mov dword [esp + 0xc], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0x57d600
call fcn.00407970
test al, al
je 0x4078ed
mov ecx, esi
call fcn.004079a0
xor ebx, ebx
cmp eax, 1
mov ecx, edx
sbb ecx, 0
jl 0x40789c
test edx, edx
jne 0x40789c
mov dword [esi + 0x20], eax
xor ecx, ecx
xor eax, eax
xor edx, edx
and edi, 2
add edi, 2
push edx
push ecx
push eax
push edi
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x407935
add eax, dword [esp + 0xc]
mov dword [esi + 0x1c], eax
mov bl, 1
lea ecx, [esp + 0x20]
call fcn.004c7b60
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.004bafe0
push dword [esi + 0x24]
call fcn.004c1b90
add esp, 4
mov dword [esi + 0x24], 0
jmp 0x40780f
cmp eax, 2
jne 0x40793c
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov edi, 4
jmp 0x4077dc
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 8]
mov dword [ecx], eax
lea eax, [esp + 0xc]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebx]
call fcn.00407a80
add esp, 0x18
mov eax, dword [esp + 0x14]
test eax, eax
js 0x407935
mov ebx, dword [ebx + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
add edx, ebx
mov dword [esi + 0x20], ebx
jmp 0x407875
xor ebx, ebx
jmp 0x40789c
cmp eax, 1
je 0x4078e3
mov edi, 0
cmp eax, 3
jne 0x4077dc
sub esp, 4
mov ecx, esi
call fcn.00520a20
mov ebx, eax
jmp 0x40789c
Function at 0x4079a0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov dword [esp + 4], ecx
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x58], eax
xor eax, eax
dec eax
lea ebx, [esp + 0x20]
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea edi, [esp + 0x10]
push 0x9c
push str..._.._base_files_file_win.cc
push str.GetLength
push edi
call fcn.004c10c0
add esp, 0x10
xor esi, esi
mov ecx, ebx
push esi
push edi
call fcn.004c7be0
xor eax, eax
dec eax
mov dword [edi + 4], eax
mov dword [edi], esi
call fcn.004c7b10
test al, al
jne 0x407a60
lea ebx, [esp + 8]
xor eax, eax
dec eax
mov dword [ebx + 4], eax
mov dword [ebx], eax
push ebx
mov eax, dword [esp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp eax, 1
sbb esi, esi
mov edi, dword [ebx + 4]
or edi, esi
or esi, dword [ebx]
lea ecx, [esp + 0x10]
call fcn.004c7b30
lea ecx, [esp + 0x20]
call fcn.004c7b60
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.004d25a3
mov eax, esi
mov edx, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x10]
push esi
push esi
push dword [esp + 0xc]
push str.File::GetLength
call fcn.00519a00
jmp 0x407a12
Function at 0x412c90
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x158], eax
mov eax, dword [0x5c7ff8]
mov ecx, dword [0x5c7534]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jg 0x412ce5
mov ecx, dword [esp + 0x158]
xor ecx, ebp
call fcn.004d25a3
mov eax, 0x5c7ff4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x5c7ff8
call fcn.004d02b9
add esp, 4
cmp dword [0x5c7ff8], 0xffffffff
jne 0x412cca
lea esi, [esp + 0x40]
xor ebx, ebx
push 0x118
push ebx
push esi
call fcn.004d5a00
add esp, 0xc
mov dword [esi - 4], 0x11c
lea esi, [esp + 0x3c]
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea edi, [esp + 0xc]
mov dword [edi], ebx
push edi
push ebx
push ebx
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x50
call fcn.004cf0a6
add esp, 4
mov esi, eax
mov ebx, dword [edi]
mov eax, dword [0x5c8020]
mov ecx, dword [0x5c7534]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jle 0x412dbe
push 0x5c8020
call fcn.004d02b9
add esp, 4
cmp dword [0x5c8020], 0xffffffff
jne 0x412dbe
xorps xmm0, xmm0
lea edi, [esp + 0x10]
movaps xmmword [edi + 0x10], xmm0
movaps xmmword [edi], xmm0
mov dword [edi + 0x20], 0
push edi
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [edi + 0x20]
mov dword [0x5c801c], eax
movaps xmm0, xmmword [edi]
movaps xmm1, xmmword [edi + 0x10]
movups xmmword [0x5c800c], xmm1
movups xmmword [0x5c7ffc], xmm0
push 0x5c8020
call fcn.004d03d3
add esp, 4
mov ecx, esi
push ebx
push 0x5c7ffc
lea eax, [esp + 0x44]
push eax
call fcn.00412f00
mov dword [0x5c7ff4], esi
push 0x5c7ff8
call fcn.004d03d3
add esp, 4
jmp 0x412cca
Function at 0x412df0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x234
mov eax, dword [ebp + 8]
mov ecx, dword [0x5c4738]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xor edi, edi
mov esi, 0
test eax, eax
je 0x412e26
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov esi, eax
test eax, eax
je 0x412ede
lea ebx, [ebp - 0x238]
push 0x228
push 0xff
push ebx
call fcn.004d5a00
add esp, 0xc
mov dword [ebx - 4], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
test eax, eax
je 0x412e72
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 0xffffffff
je 0x412ed6
mov edi, eax
call fcn.004bafe0
mov eax, edi
mov edi, ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [edi + 1]
mov dword [ebp - 0x240], eax
cmp eax, 2
jb 0x412eda
lea ebx, [ebp - 0x23c]
push ebx
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x412eda
cmp dword [ebp - 0x234], esi
je 0x412ea2
push ebx
push edi
call sub.KERNEL32.dll_Process32NextW
jmp 0x412e8d
mov esi, dword [ebp - 0x224]
cmp dword [ebp - 0x240], 2
jb 0x412ebf
call fcn.004bafe0
push edi
call fcn.004c1b90
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d25a3
mov eax, esi
add esp, 0x234
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
jmp 0x412e6b
xor esi, esi
jmp 0x412ea8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0
cmp eax, 6
jne 0x412e26
int3

Function at 0x413390
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, 4
lea edx, [ebp - 0x14]
mov dword [edx], eax
lea esi, [ebp - 0x18]
mov dword [esi], eax
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov ebx, dword [ebp + 8]
push esi
push edi
push edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
je 0x4133e5
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d25a3
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x4133cf
cmp dword [ebp - 0x18], 4
jne 0x4133cf
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
xor esi, esi
jmp 0x4133cf
Function at 0x414c60
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.004d29f0
mov esi, ecx
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0xff
push ebx
call fcn.004d5a00
add esp, 0xc
lea eax, [ebp - 0x1014]
mov dword [eax], 1
lea ecx, [ebp - 0x1018]
mov dword [ecx], edi
push ecx
push ebx
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414cef
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 1
jne 0x414cf3
mov ecx, esi
push ebx
call fcn.00414d50
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d25a3
mov eax, edi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov edi, eax
jmp 0x414cd6
mov edi, 0x3f4
cmp eax, 2
jne 0x414cd6
lea edi, [ebp - 0x1010]
push 0x800
push 0xff
push edi
call fcn.004d5a00
add esp, 0xc
push 0x400
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
dec eax
mov edi, 0xea
cmp eax, 0x3ff
ja 0x414cd6
mov ecx, esi
lea eax, [ebp - 0x1010]
push eax
jmp 0x414ccf
Function at 0x414fa0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov dword [esp + 4], ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x58], eax
xor eax, eax
dec eax
lea edi, [esp + 0x20]
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea esi, [esp + 0x10]
push 0x15a
push str..._.._base_files_file_win.cc
push str.DoInitialize
push esi
call fcn.004c10c0
add esp, 0x10
mov ecx, edi
push 0
push esi
call fcn.004c7be0
mov eax, ebx
and eax, 1
neg eax
and eax, 3
xor ecx, ecx
inc ecx
test bl, 2
cmove ecx, eax
test bl, 4
mov edx, 4
cmovne ecx, edx
test bl, 8
mov esi, 2
cmove esi, ecx
test bl, 0x10
mov eax, 5
cmove eax, esi
mov dword [esp + 0xc], eax
test eax, eax
je 0x4151ad
mov ecx, ebx
and ecx, 0x40
shl ecx, 0x18
test bl, bl
cmovns edx, ecx
mov ecx, ebx
rol ecx, 0x1a
mov esi, ebx
shl esi, 0xb
and esi, 0x20000000
mov edi, ebx
shr edi, 4
and edi, 0x10000
and ecx, 0x80000100
or ecx, esi
or ecx, edi
or ecx, edx
mov esi, ebx
shr esi, 8
and esi, 3
mov edx, ebx
shr edx, 0xd
and edx, 4
or edx, esi
mov esi, ebx
and esi, 0x400
mov eax, ebx
mov dword [esp + 8], esi
mov ebx, esi
shl ebx, 0x14
mov esi, eax
shr esi, 3
and esi, 0x100
or esi, ebx
mov edi, eax
shr edi, 0xb
and edi, 2
or edi, esi
mov ebx, eax
shl ebx, 0xd
and ebx, 0x4000000
or ebx, edi
shl eax, 8
mov edi, eax
and edi, 0x2000000
or edi, ebx
and eax, 0x8000000
or eax, edi
mov edi, dword [ebp + 8]
xor edx, 3
cmp byte [edi + 0xb], 0
jns 0x4150e2
mov edi, dword [edi]
xor ebx, ebx
push ebx
push eax
push dword [esp + 0x14]
push ebx
push edx
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov ebx, dword [esp + 4]
cmp dword [ebx], eax
je 0x41512a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebx]
inc eax
cmp eax, 2
jae 0x415193
mov eax, edi
inc eax
cmp eax, 2
jb 0x415121
mov dword [ebx], edi
call fcn.004bafe0
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebx]
inc edi
cmp edi, 2
mov eax, dword [ebp + 0xc]
jb 0x41516e
mov ecx, dword [esp + 8]
shr ecx, 0xa
mov dword [ebx + 0x14], 0
mov byte [ebx + 0x19], cl
test al, 4
jne 0x415182
test al, 0xa
je 0x415150
mov byte [ebx + 0x18], 1
lea ecx, [esp + 0x20]
call fcn.004c7b60
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.004d25a3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00430340
add esp, 4
mov dword [ebx + 0x14], eax
jmp 0x415150
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [ebx + 0x18]
jmp 0x415150
call fcn.004bafe0
push dword [ebx]
call fcn.004c1b90
add esp, 4
mov dword [ebx], 0
jmp 0x415112
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 4]
mov dword [eax + 0x14], 0xffffffff
jmp 0x415150
Function at 0x417f40
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [0x5c64a0]
test eax, eax
jne 0x417fc0
mov dword [ebp - 0x10], eax
push 0x24
call fcn.004cf0a6
add esp, 4
mov esi, eax
xor edi, edi
mov dword [eax + 4], edi
mov dword [eax], edi
push 0xc
call fcn.004cf0a6
add esp, 4
mov dword [esi + 8], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x10], ecx
mov dword [eax + 8], edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [esi + 0xc], ecx
lea eax, [esi + 0x18]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], 1
mov dword [0x5c64a0], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, eax
test eax, eax
je 0x417fb4
push ebx
call fcn.004d00f2
add esp, 4
mov edi, eax
mov ecx, esi
push edi
push ebx
call fcn.00417fd0
mov eax, dword [ebp - 0x10]
test eax, eax
sete al
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x417fd0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x5c4738]
xor edx, ebp
mov dword [ebp - 0x10], edx
lea edi, [ebp - 0x20]
push 3
push ecx
push eax
push edi
call fcn.00418ae0
add esp, 0x10
mov eax, dword [edi + 4]
test eax, eax
je 0x418094
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [esi], ecx
mov dword [esi + 4], eax
xor edi, edi
mov dword [ebp - 0x14], edi
push 0x800
push edi
push str.api_ms_win_downlevel_shell32_l1_1_0.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
test eax, eax
je 0x4180de
push 0x57d3ae
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41804d
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x24]
call eax
mov edi, eax
xor eax, eax
dec eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
lea eax, [edi + eax*4]
lea ecx, [ebp - 0x20]
push eax
push edi
call fcn.004180f0
mov ecx, esi
lea eax, [ebp - 0x20]
push eax
call fcn.004181f0
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
je 0x41808d
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x20]
test esi, esi
jne 0x4180a8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d25a3
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x4180da
lea edi, [eax - 0xc]
cmp byte [eax - 1], 0
jns 0x4180c3
push dword [eax - 0xc]
call fcn.004cf0d6
add esp, 4
mov eax, edi
cmp esi, edi
jne 0x4180af
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], esi
push eax
call fcn.004cf0d6
add esp, 4
jmp 0x418094
mov eax, esi
jmp 0x4180cc
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x41804b

Function at 0x41a0c0
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
pop ebp
jmp fcn.0041a500
Function at 0x422b30
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, edx
mov ebx, ecx
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x1c]
push edx
push ecx
push esi
call fcn.00418f90
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x422b5e
mov esi, dword [ebp - 0x1c]
xor eax, eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
cmp byte [ebp - 0x11], 0
jns 0x422b7c
push dword [ebp - 0x1c]
call fcn.004cf0d6
add esp, 4
cmp dword [ebp + 8], 0
je 0x422b86
test esi, esi
jne 0x422b9f
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
dec eax
mov ecx, esi
add ecx, esi
cmovb ecx, eax
push ecx
call fcn.004d021a
add esp, 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push edi
push ebx
mov edi, eax
push eax
call fcn.00418f90
add esp, 0xc
mov eax, edi
cmp byte [edi + 0xb], 0
jns 0x422bd0
mov eax, dword [ebp - 0x1c]
push esi
push dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x422bec
push dword [ebp - 0x1c]
call fcn.004cf0d6
add esp, 4
mov edi, dword [ebp - 0x20]
push edi
call fcn.004d00f2
add esp, 4
lea ecx, [ebp - 0x1c]
push eax
push edi
push ecx
call fcn.00412900
add esp, 0xc
mov eax, dword [ebp + 8]
cmp byte [eax + 0xb], 0
js 0x422c31
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ecx], xmm0
push dword [ebp - 0x20]
call fcn.004cffe7
add esp, 4
jmp 0x422b86
mov eax, dword [ebp + 8]
mov ecx, eax
mov eax, dword [eax]
mov byte [eax], 0
mov dword [ecx + 4], 0
cmp byte [ecx + 0xb], 0
jns 0x422c0f
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.004cf0d6
add esp, 4
jmp 0x422c0f
Function at 0x4250c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.00425260
test al, al
je 0x425103
call fcn.004c9a80
mov esi, eax
mov ecx, eax
push 0x585d89
call fcn.004c9a90
test al, al
jne 0x42512b
mov ecx, esi
push str.vmodule
call fcn.004c9a90
test al, al
jne 0x42512b
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [0x5c31f0], eax
mov bl, 1
test al, 1
jne 0x4251d8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [0x5c64a8], 0
jne 0x425259
mov eax, dword [0x5c64ac]
mov dword [0x5c64a8], eax
push 0x10
call fcn.004cf0a6
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, str.vmodule
lea ebx, [ebp - 0x24]
mov dword [ebx], eax
push eax
call fcn.004ea0d0
add esp, 4
mov dword [ebx + 4], eax
lea eax, [ebp - 0x1c]
mov ecx, esi
push ebx
push eax
call fcn.00412860
mov eax, 0x585d89
lea ebx, [ebp - 0x38]
mov dword [ebx], eax
push eax
call fcn.004ea0d0
add esp, 4
mov dword [ebx + 4], eax
lea edi, [ebp - 0x30]
mov ecx, esi
push ebx
push edi
call fcn.00412860
mov esi, dword [ebp - 0x3c]
mov ecx, esi
push 0x5c64b0
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.0051a460
mov dword [0x5c64ac], esi
cmp byte [edi + 0xb], 0
jns 0x4251be
push dword [ebp - 0x30]
call fcn.004cf0d6
add esp, 4
cmp byte [ebp - 0x11], 0
jns 0x425103
push dword [ebp - 0x1c]
call fcn.004cf0d6
add esp, 4
jmp 0x425103
mov eax, dword [0x5c64c4]
test eax, eax
jne 0x4251ed
mov ecx, dword [0x5c64b4]
test ecx, ecx
je 0x42520f
jmp 0x42522b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x5c64c4], 0
mov ecx, dword [0x5c64b4]
test ecx, ecx
jne 0x42522b
and byte [0x5c31f0], 0xfe
push 0xc
call fcn.004cf0a6
add esp, 4
mov ecx, eax
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [0x5c64b4], ecx
push dword [esi + 4]
call fcn.00414d50
cmp dword [esi + 0xc], 0
jne 0x42524d
mov eax, dword [0x5c64b4]
cmp byte [eax + 0xb], 0
jns 0x425246
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0051a620
mov ebx, eax
jmp 0x425117
int3
Function at 0x426250
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov dword [esp + 0x44], edx
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x42631c
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x60], xmm0
mov word [esp + 0x50], 0x701
mov dword [esp + 0x54], ecx
cmp byte [eax + 0xb], 0
jns 0x4262a1
mov eax, dword [eax]
lea ebx, [esp + 0x50]
mov dword [ebx + 0x10], eax
xor eax, eax
dec eax
lea edi, [esp + 0x48]
mov dword [edi + 4], eax
mov dword [edi], eax
mov dword [esp], edi
call fcn.004bb520
mov eax, dword [0x57f95c]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
xor edi, edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 0x3c], ebx
pxor xmm0, xmm0
movdqu xmmword [esp + 0x28], xmm0
movaps xmm0, xmmword [0x579330]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x4d
mov ecx, esi
call fcn.00426390
sub esp, 0x44
mov al, byte [ebx]
test al, al
jne 0x42632f
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.004d25a3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [esp + 0x51], 8
jne 0x426350
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x426350
mov eax, dword [ecx]
mov dword [esp], 1
call dword [eax]
sub esp, 4
mov al, byte [esp + 0x50]
cmp al, 2
jb 0x42631c
xor esi, esi
inc esi
cmp byte [esp + esi + 0x51], 8
jne 0x426378
mov ecx, dword [esp + esi*8 + 0x60]
test ecx, ecx
je 0x426378
mov eax, dword [ecx]
mov dword [esp], 1
call dword [eax]
sub esp, 4
mov al, byte [esp + 0x50]
inc esi
movzx ecx, al
cmp esi, ecx
jae 0x42631c
jmp 0x426357
Function at 0x426510
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov dword [esp + 0x44], edx
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x4265d6
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x50]
movdqa xmmword [ebx], xmm0
movdqa xmmword [ebx + 0x10], xmm0
mov word [ebx], 0x301
mov dword [ebx + 4], ecx
mov eax, dword [eax]
mov dword [ebx + 0x10], eax
sar eax, 0x1f
mov dword [ebx + 0x14], eax
xor eax, eax
dec eax
lea edi, [esp + 0x48]
mov dword [edi + 4], eax
mov dword [edi], eax
mov dword [esp], edi
call fcn.004bb520
mov eax, dword [0x57f95c]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
xor edi, edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 0x3c], ebx
pxor xmm0, xmm0
movdqu xmmword [esp + 0x28], xmm0
movaps xmm0, xmmword [0x579330]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x4d
mov ecx, esi
call fcn.00426390
sub esp, 0x44
mov al, byte [ebx]
test al, al
jne 0x4265e9
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.004d25a3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [esp + 0x51], 8
jne 0x42660a
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x42660a
mov eax, dword [ecx]
mov dword [esp], 1
call dword [eax]
sub esp, 4
mov al, byte [esp + 0x50]
cmp al, 2
jb 0x4265d6
xor esi, esi
inc esi
cmp byte [esp + esi + 0x51], 8
jne 0x426632
mov ecx, dword [esp + esi*8 + 0x60]
test ecx, ecx
je 0x426632
mov eax, dword [ecx]
mov dword [esp], 1
call dword [eax]
sub esp, 4
mov al, byte [esp + 0x50]
inc esi
movzx ecx, al
cmp esi, ecx
jae 0x4265d6
jmp 0x426611