joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416d30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x611ad8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6b1a94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
push ecx
mov esi, esp
mov dword [ebp - 0x10], esi
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.00407830
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.004168a0
mov dword [ebp - 0x1c], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.00416950
mov ebx, dword [ebp - 0x18]
test eax, eax
jne 0x416db1
xor edi, edi
jmp 0x416e41
mov eax, dword [ebp + 0x10]
xor esi, esi
push esi
push 0x80
push 2
push esi
push 2
push 0x40000000
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x416de0
call fcn.00417090
test eax, eax
jns 0x416de2
xor edi, edi
jmp 0x416e41
mov esi, eax
test ebx, ebx
je 0x416df8
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x416dfa
push ebx
call fcn.005eba38
add esp, 4
jmp 0x416dfa
xor eax, eax
push 0
lea ecx, [ebp + 0xc]
push ecx
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x416e12
call fcn.00417090
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x416e22
call fcn.00417090
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x416e35
push esi
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov edi, 1
test esi, esi
je 0x416e41
push esi
call eax
test ebx, ebx
je 0x416e4e
push ebx
call fcn.005c93ce
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x416e70
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x611b10
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x6b1a94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.00407830
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.004168a0
xor ebx, ebx
mov dword [ebp - 0x30], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp + 8]
push esi
push 0x80
push 4
push esi
push 1
push SysReAllocStringLen
mov byte [ebp - 4], 1
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x416f0b
call fcn.00417090
test eax, eax
js 0x416f8c
jmp 0x416f10
mov esi, ecx
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, 0xffffffff
jne 0x416f2d
call fcn.00417090
mov edi, dword [ebp - 0x1c]
push edi
call fcn.005c93d3
add esp, 4
mov ebx, eax
mov dword [ebp - 0x2c], ebx
push edi
push 0
push ebx
call fcn.005e27b0
add esp, 0xc
mov dword [ebp - 0x28], edi
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x416f69
call fcn.00417090
test esi, esi
je 0x416f79
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp - 0x24], esi
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x30]
push eax
call fcn.00416a20
test eax, eax
jne 0x416f90
xor edi, edi
jmp 0x416f95
mov edi, 1
test esi, esi
je 0x416fa0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x416fad
push ebx
call fcn.005c93ce
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x417ac0
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x611c0b
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x6b1a94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push dword [ebp - 0x188]
movzx eax, word [ebp - 0x19c]
push eax
push str.ProcessorArchitecture
call fcn.0047c620
add esp, 0xc
mov dword [ebp - 0x50], 0x40
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
mov eax, dword [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x48]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
push ecx
push str.TotalPhys
call fcn.0047c620
add esp, 0x14
lea eax, [ebp - 0x170]
push 0x11c
push 0
push eax
call fcn.005e27b0
add esp, 0xc
mov dword [ebp - 0x170], 0x11c
push str.RtlGetVersion
push str.NtDll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x417bae
lea ecx, [ebp - 0x170]
push ecx
call eax
test eax, eax
je 0x417bae
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x417caf
call fcn.00403fe0
mov ecx, eax
test ecx, ecx
jne 0x417bc3
push 0x80004005
call fcn.00403d40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x174], eax
mov dword [ebp - 4], 0
call fcn.0047f7d0
movzx eax, byte [ebp - 0x56]
push eax
push dword [ebp - 0x160]
movzx eax, word [ebp - 0x5a]
push eax
movzx eax, word [ebp - 0x5c]
push eax
push dword [ebp - 0x164]
lea eax, [ebp - 0x174]
push dword [ebp - 0x168]
push dword [ebp - 0x16c]
push dword [0x6c27c8]
push str.OS_is_x64:_d__Version:_d._d._d___SP:_d._d__PlatformId:_d__ProductType:_d
push eax
call fcn.00403390
mov esi, dword [ebp - 0x174]
add esp, 0x28
cmp dword [esi - 4], 1
jle 0x417c3e
push dword [esi - 0xc]
lea ecx, [ebp - 0x174]
call fcn.00403630
mov esi, dword [ebp - 0x174]
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 8
jb 0x417c5b
mov eax, dword [edx]
jmp 0x417c5d
mov eax, edx
xor ecx, ecx
mov word [eax], cx
cmp word [esi], cx
je 0x417c7f
mov ecx, esi
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417c70
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00405710
call fcn.0047c640
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x417caf
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c8db3
mov esp, ebp
pop ebp
ret
Function at 0x417cd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x611c58
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6b1a94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x10]
call fcn.0046c580
mov dword [ebp - 4], 0
mov esi, dword [eax]
call fcn.004179c0
push esi
mov edi, eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417d26
push ecx
push esi
push ecx
lea ecx, [edi + 8]
call fcn.0046deb0
push ecx
push str.updump
push ecx
lea ecx, [edi + 0x210]
call fcn.0046deb0
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417d5c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x10]
call fcn.0046c880
mov dword [ebp - 4], 1
mov esi, dword [eax]
call fcn.004179c0
mov edx, eax
test esi, esi
je 0x417da5
mov ecx, esi
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417d80
sub ecx, ebx
sar ecx, 1
cmp ecx, 0x103
ja 0x417da5
push ecx
push esi
push ecx
lea ecx, [edx + 0x1418]
call fcn.0046deb0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417dc6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004179c0
cmp dword [0x6c27c4], 0
mov esi, eax
je 0x417df0
push 0x47f240
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.0047f110
mov dword [esi + 0x1a30], 0x1084
lea ecx, [ebp - 0x14]
call fcn.0046e6c0
mov esi, eax
mov dword [ebp - 4], 2
call fcn.004179c0
push esi
lea ecx, [eax + 0x1a40]
call fcn.00407890
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x417e31
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004179c0
mov dword [eax + 0x1a34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419ea0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x6b1a94]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx + 4]
mov edx, dword [ebp + 8]
or eax, 0x2001f
push esi
push edi
push eax
push edx
push dword [ecx]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.00419e30
mov esi, eax
test esi, esi
jne 0x419f97
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x419f69
nop dword [eax]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.00419ea0
mov esi, eax
test esi, esi
jne 0x419f97
lea eax, [esp + 0x20]
mov dword [esp + 8], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x419f30
mov eax, dword [esp + 0xc]
test eax, eax
je 0x419f80
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
push dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 0
call fcn.0041a040
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x419fa6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.005c8db3
mov esp, ebp
pop ebp
ret 4
Function at 0x41ac40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x611e46
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x6b1a94]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x41acec
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x41acec
call fcn.00417090
mov esi, eax
jmp 0x41addc
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x41ad0f
call fcn.00417090
jmp 0x41adcf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x41ad2d
call fcn.00417090
jmp 0x41adcf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x41ad4e
mov esi, 0x8007000e
jmp 0x41add1
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00419200
jmp 0x41ad78
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
jne 0x41ad8f
mov esi, 0x8007000e
jmp 0x41add1
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x41adaf
call fcn.00417090
jmp 0x41adcf
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0041aae0
mov esi, eax
test edi, edi
je 0x41addc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x41ae00
lea ecx, [ebp - 0x418]
call fcn.004191b0
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005c8db3
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41db90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x612180
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x6b1a94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ecx + 4]
mov dword [ebp - 0x18], 0
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
je 0x41dbec
add ecx, 0xfffffff0
call fcn.00407830
lea ecx, [eax + 0x10]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x10]
push eax
call fcn.0041e540
mov dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41dc37
mov edi, dword [ebp + 8]
mov ecx, edi
push 0x678c3c
call fcn.00407490
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41dcaa
mov ecx, dword [esi]
push esi
jmp 0x41dca5
lea ecx, [ebp - 0x14]
call fcn.0046e6c0
push esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00416770
mov ecx, eax
call fcn.00416e70
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.00407830
mov edi, dword [ebp + 8]
add eax, 0x10
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov dword [edi], eax
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41dc8b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x41dcaa
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41ddf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x612180
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x6b1a94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ecx + 8]
mov dword [ebp - 0x18], 0
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
je 0x41de4c
add ecx, 0xfffffff0
call fcn.00407830
lea ecx, [eax + 0x10]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x10]
push eax
call fcn.0041e570
mov dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41de97
mov edi, dword [ebp + 8]
mov ecx, edi
push 0x678c3c
call fcn.00407490
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41df0a
mov ecx, dword [esi]
push esi
jmp 0x41df05
lea ecx, [ebp - 0x14]
call fcn.0046e6c0
push esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00416770
mov ecx, eax
call fcn.00416e70
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.00407830
mov edi, dword [ebp + 8]
add eax, 0x10
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov dword [edi], eax
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41deeb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x41df0a
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41e6d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x612320
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6b1a94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
push 0
lea ecx, [ebx + 4]
push 0x678c3c
call fcn.00407780
lea eax, [ebp - 0x14]
push eax
call fcn.0041e540
mov dword [ebp - 4], 0
push dword [ebp - 0x14]
push 0
push 0x67b2bc
push str.dllrepairOfficial
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebx + 0x10], 1
mov esi, dword [ebx + 0x14]
mov dword [ebx + 0x14], 0
test esi, esi
je 0x41e755
mov ecx, esi
call fcn.0041f240
push 0x34
push esi
call fcn.005c969f
add esp, 8
mov byte [ebx + 0x11], 0
xor edx, edx
mov esi, dword [ebx + 0x18]
xor edi, edi
mov ecx, dword [ebx + 0x1c]
sub ecx, esi
add ecx, 3
shr ecx, 2
cmp esi, dword [ebx + 0x1c]
cmova ecx, edx
test ecx, ecx
je 0x41e78b
mov ebx, ecx
mov ecx, dword [esi]
push 1
mov eax, dword [ecx]
call dword [eax + 0xc]
inc edi
lea esi, [esi + 4]
cmp edi, ebx
jne 0x41e777
mov ebx, dword [ebp - 0x18]
mov dl, byte [ebx + 0x12]
or esi, 0xffffffff
test dl, dl
je 0x41e7ee
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
cmp dword [eax - 0xc], 0
je 0x41e7ea
push 0
push 0x678c3c
call fcn.00407780
lea eax, [ebp - 0x10]
push eax
call fcn.0041e570
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, ebx
call fcn.0041dfe0
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e7f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41e7f5
test dl, dl
jne 0x41e7f5
mov ecx, ebx
call fcn.0041dfe0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
mov byte [ebx + 0x12], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x41e818
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f6b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x612491
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x6b1a94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x10], 0
call fcn.0046c6c0
push str.epinfo.data
mov edx, eax
mov dword [ebp - 4], 1
mov ecx, esi
call fcn.004146f0
add esp, 4
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, edi
mov dword [ebp - 0x10], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41f735
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov edx, str.dev.data
lea ecx, [ebp - 0x18]
call fcn.0046c430
add esp, 4
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x18]
mov ebx, eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41f76a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x41f7d7
xor edx, edx
lea ecx, [ebp - 0x1c]
call fcn.0046c6c0
push str.epinfo_dev.data
mov edx, eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004146f0
add esp, 4
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00407890
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41f7bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x41f7d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424750
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6128c7
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x6b1a94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x6c2748], 0
je 0x4248fb
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4248fb
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4248fb
cmp dword [edi + 0x1fc], 2
jne 0x424873
mov eax, dword [edi + 0x158]
cmp dword [eax + 0x1c0], 2
jne 0x42480a
push 1
call fcn.004264e0
mov ecx, eax
call fcn.00409670
push ecx
mov ecx, dword [edi + 0x154]
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004aa270
push ecx
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x150]
push esp
call fcn.004aa270
mov dword [ebp - 4], 0xffffffff
call fcn.0041f7f0
add esp, 8
jmp 0x424873
push 0
call fcn.004264e0
mov ecx, eax
call fcn.00409670
lea ecx, [ebp - 0x10]
call fcn.0041f6b0
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x10]
or esi, 0xffffffff
mov ebx, eax
add edx, 0xfffffff0
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x424847
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x424873
lea ecx, [ebp - 0x14]
call fcn.0041f6b0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x424873
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x6c52ec]
test eax, eax
jne 0x4248a3
push 0x18
call fcn.005c92a6
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00426550
mov dword [ebp - 4], 0xffffffff
mov dword [0x6c52ec], eax
mov esi, dword [edi + 0x1fc]
push ecx
push str.LastLoginType
lea ecx, [eax + 8]
call fcn.0047a3f0
mov ecx, dword [ebp - 0x20]
and ecx, 0xffffff01
mov dword [ebp - 0x1c], 0
or ecx, 1
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.00479e80
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00479d90
mov ecx, 1
call fcn.004210f0
sub esp, 8
mov esi, esp
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], esi
mov ecx, dword [edi + 0x218]
sub ecx, 0x10
call fcn.00407830
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 3
mov eax, dword [0x6c37d0]
test eax, eax
jne 0x424942
push 0x24
call fcn.005c92a6
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, eax
call fcn.0041d060
mov dword [0x6c37d0], eax
push 1
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0041e150
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret