joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4149c0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x461e28
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4776f4]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x4776f4]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 4]
lea eax, [esp + 0x2c]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esp + 0x40], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x3c], vtable.CSAnimateWnd.0
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0xa8], esi
mov eax, dword [edi + 4]
mov ebx, dword [edi + 0x2c]
mov edi, dword [edi + 0x30]
lea ecx, [esp + 0x14]
push ecx
push 0x18
push edi
mov dword [esp + 0x84], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x74]
lea edx, [esp + 0x6c]
call fcn.00424da0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
push 0xcc0020
push esi
push esi
push ebx
push edx
push eax
push esi
push esi
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], edx
mov edx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
push edx
lea ecx, [esp + 0x50]
call fcn.00424eb0
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
lea eax, [esp + 0x3c]
mov dword [esp + 0xa8], 0xffffffff
call fcn.00424d20
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0042ab2f
mov esp, ebp
pop ebp
ret 4
Function at 0x4165a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462732
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4776f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
mov dword [ebp - 0x220], esi
call edx
add eax, 0x10
mov dword [esi], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x21c], 1
mov word [ebp - 0x218], ax
call fcn.0042d1d0
add esp, 0xc
push 0
push 0x1a
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x416664
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416646
sub eax, edx
lea ecx, [ebp - 0x218]
sar eax, 1
push ecx
push esi
mov ebx, eax
call fcn.00413700
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ab2f
mov esp, ebp
pop ebp
ret
Function at 0x416e30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4615d9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4776f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
push 0x47b458
push eax
lea ebx, [ebp + 0xc]
mov dword [ebp - 4], 1
call fcn.00405410
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esi], eax
mov edi, dword [ebp - 0x10]
mov ebx, 1
mov ecx, ebx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x20
or eax, ecx
mov dword [ebp - 0x14], ebx
jge 0x416eba
lea eax, [ebx + 0x1f]
mov ecx, esi
call fcn.00413680
mov eax, dword [esi]
push edi
push 0x20
push eax
push 0x46ac7c
push str.Version
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x416eec
push ecx
push eax
call fcn.0042b50a
add esp, 8
test eax, eax
js 0x416f59
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x416f59
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416f20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416f43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 8
push 0x80070057
call fcn.004136e0
int3
Function at 0x41ab10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461018
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4776f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x41ac30
cmp byte [edi + 0x49], bl
je 0x41ac30
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x41ac24
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x41ab84
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x41ab9c
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x41abc5
dec eax
je 0x41abc9
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x41ac1f
jmp 0x41ac2b
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x41abd9
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x41ac02
cmp ebx, 0x10
jae 0x41abe8
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0042c5df
add esp, 0x10
cmp esi, eax
jne 0x41ac1c
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x41ac28
test esi, esi
jne 0x41ab90
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00406b80
jmp 0x41ab8a
lea ecx, [ebp - 0x2c]
call fcn.00405500
xor al, al
jmp 0x41ac32
lea ecx, [ebp - 0x2c]
call fcn.00405500
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ab2f
mov esp, ebp
pop ebp
ret
Function at 0x41d070
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, eax
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x10]
xor edi, edi
push ecx
mov ecx, dword [esi]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.0041d730
mov ebx, dword [ebp - 0x10]
cmp eax, edi
jne 0x41d0e5
mov ecx, dword [esi + 0x10]
cmp ecx, 1
jne 0x41d0c6
mov edi, dword [esi + 0x14]
mov esi, dword [esi + 0xc]
test edi, edi
jne 0x41d0b2
lea eax, [ecx + 0xc]
jmp 0x41d0e5
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
push edi
push 1
push 0
push esi
jmp 0x41d0de
cmp ecx, 4
jne 0x41d0e5
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x18]
push 4
lea edx, [ebp - 4]
push edx
push 4
push edi
mov dword [ebp - 4], ecx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
sete cl
mov esi, ecx
test ebx, ebx
je 0x41d0f9
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41d110
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
lea edx, [ebp - 4]
push edx
xor ebx, ebx
push 0xf003f
mov esi, eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push ebx
push eax
xor edi, edi
push ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x41d17b
mov edi, dword [ebp - 4]
xor eax, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
cmp eax, ebx
jne 0x41d17b
mov ecx, dword [esi + 8]
cmp dword [ecx - 0xc], ebx
je 0x41d16b
push ecx
lea ecx, [ebp - 0x10]
call fcn.0041d520
mov edi, dword [ebp - 0x10]
jmp 0x41d17b
mov esi, dword [esi + 0xc]
cmp dword [esi - 0xc], ebx
je 0x41d17b
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
cmp eax, ebx
sete cl
mov esi, ecx
cmp edi, ebx
je 0x41d18f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d520
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x4776f4]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, ecx
mov esi, dword [eax + 4]
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x1c]
push edx
xor edi, edi
or esi, 0x2001f
push esi
push edi
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
push ecx
push eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov ebx, eax
cmp ebx, edi
jne 0x41d5a5
xor eax, eax
cmp ecx, edi
je 0x41d58d
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
and esi, 0x300
mov ebx, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
cmp eax, edi
je 0x41d5c9
cmp ecx, edi
je 0x41d5b0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0042ab2f
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x28]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x44]
push eax
push edi
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x41d62b
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x10]
call fcn.0041d520
mov ebx, eax
cmp ebx, edi
jne 0x41d679
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x44]
push ecx
push edi
push edx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x41d5f1
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x41d63e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], edi
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], edi
call fcn.0041d470
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x41d660
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0042ab2f
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x41d688
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x234]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0042ab2f
mov esp, ebp
pop ebp
ret 4
Function at 0x41d7b0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461588
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x4776f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov edi, 1
mov dword [ebp - 4], edi
xor ebx, ebx
push 0x40
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x64]
push ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x68], 0x44
call fcn.0042d1d0
add esp, 0xc
mov dword [ebp - 0x3c], edi
cmp dword [ebp + 0x10], ebx
je 0x41d81b
mov ecx, 0xa
mov word [ebp - 0x38], cx
jmp 0x41d821
xor edx, edx
mov word [ebp - 0x38], dx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
push str.__s___s
lea edi, [ebp + 0x10]
call fcn.0040b070
mov ecx, dword [ebp + 0x10]
add esp, 0xc
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
cmp edi, ebx
je 0x41d89b
cmp esi, ebx
je 0x41d896
mov edx, dword [ebp - 0x1c]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
jne 0x41d896
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x41d896
push eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edi, 1
mov eax, dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x41d8ae
push eax
call esi
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x41d8bb
push eax
call esi
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d8de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d900
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d926
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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
Function at 0x41eaa0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462150
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4776f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x41eb0a
mov eax, 0x104
lea ecx, [ebp - 0x10]
call fcn.00413680
mov esi, dword [ebp - 0x10]
push esi
push 0
push 0
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0042b50a
add esp, 8
test eax, eax
js 0x41ec26
cmp eax, dword [esi - 8]
jg 0x41ec26
xor ecx, ecx
mov dword [esi - 0xc], eax
lea edi, [ebp - 0x10]
mov word [esi + eax*2], cx
call fcn.004160c0
mov edi, dword [ebx + 4]
mov esi, dword [edi]
lea ecx, [ecx]
cmp esi, edi
je 0x41ebee
lea edx, [esi + 0xc]
push edx
lea eax, [ebp - 0x14]
push eax
lea ebx, [ebp - 0x10]
call fcn.00405410
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add esp, 4
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov ebx, esp
call fcn.00413290
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x10]
push ecx
sub eax, 0x10
mov dword [ebp - 0x1c], esp
mov ebx, esp
call fcn.00413290
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 3
mov eax, dword [esi + 8]
push ecx
sub eax, 0x10
mov dword [ebp - 0x20], esp
mov ebx, esp
call fcn.00413290
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.0041e7c0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ebe7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esi]
jmp 0x41eb50
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ec14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004136e0
int3
Function at 0x41ec40
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461a78
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4776f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x41ecaa
mov eax, 0x104
lea ecx, [ebp - 0x10]
call fcn.00413680
mov esi, dword [ebp - 0x10]
push esi
push 0
push 0
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0042b50a
add esp, 8
test eax, eax
js 0x41ed71
cmp eax, dword [esi - 8]
jg 0x41ed71
xor ecx, ecx
mov dword [esi - 0xc], eax
lea edi, [ebp - 0x10]
mov word [esi + eax*2], cx
call fcn.004160c0
mov ebx, dword [ebx + 4]
mov esi, dword [ebx]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x18], ebx
cmp esi, ebx
je 0x41ed39
lea edx, [esi + 0xc]
push edx
lea eax, [ebp - 0x14]
push eax
lea ebx, [ebp - 0x10]
call fcn.00405410
mov ecx, dword [ebp - 0x14]
add esp, 8
push ecx
call edi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ed32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esi]
mov ebx, dword [ebp - 0x18]
jmp 0x41ecf6
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ed5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004136e0
int3
Function at 0x41fc60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462150
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4776f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x41fcca
mov eax, 0x104
lea ecx, [ebp - 0x10]
call fcn.00413680
mov esi, dword [ebp - 0x10]
push esi
push 1
push 0
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0042b50a
add esp, 8
test eax, eax
js 0x41fde6
cmp eax, dword [esi - 8]
jg 0x41fde6
xor ecx, ecx
mov dword [esi - 0xc], eax
lea edi, [ebp - 0x10]
mov word [esi + eax*2], cx
call fcn.004160c0
mov edi, dword [ebx + 4]
mov esi, dword [edi]
lea ecx, [ecx]
cmp esi, edi
je 0x41fdae
lea edx, [esi + 0xc]
push edx
lea eax, [ebp - 0x14]
push eax
lea ebx, [ebp - 0x10]
call fcn.00405410
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add esp, 4
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov ebx, esp
call fcn.00413290
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x10]
push ecx
sub eax, 0x10
mov dword [ebp - 0x1c], esp
mov ebx, esp
call fcn.00413290
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 3
mov eax, dword [esi + 8]
push ecx
sub eax, 0x10
mov dword [ebp - 0x20], esp
mov ebx, esp
call fcn.00413290
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.0041e7c0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fda7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esi]
jmp 0x41fd10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fdd4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004136e0
int3
Function at 0x41fe00
Capabilities:
Access peb ldr_data
Check if file exists
Delete file
Get common file path
Get file attributes
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x462ec0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4776f4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x41fe72
mov eax, 0x104
lea ecx, [esp + 0x18]
call fcn.00413680
mov esi, dword [esp + 0x18]
push esi
push 1
push 0
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0042b50a
add esp, 8
test eax, eax
js 0x41ff90
cmp eax, dword [esi - 8]
jg 0x41ff90
xor ecx, ecx
mov dword [esi - 0xc], eax
lea edi, [esp + 0x18]
mov word [esi + eax*2], cx
call fcn.004160c0
mov esi, dword [ebx + 4]
mov edi, dword [esi]
mov dword [esp + 0x1c], esi
lea ebx, [ebx]
cmp edi, esi
je 0x41ff55
lea edx, [edi + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
lea ebx, [esp + 0x20]
call fcn.00405410
add esp, 8
mov byte [esp + 0x30], 1
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41ff29
test al, 0x10
je 0x41ff1e
mov eax, dword [esp + 0x14]
push 1
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.00413290
add eax, 0x10
mov dword [esi], eax
call fcn.0041ee80
mov esi, dword [esp + 0x24]
add esp, 8
jmp 0x41ff29
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ff4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [edi]
jmp 0x41fec0
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ff7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004136e0
int3