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

Disassembly:
mov eax, 0x1010
call fcn.0044f1e0
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x100c], eax
mov eax, dword [esp + 0x1014]
push ebx
mov ebx, dword [esp + 0x101c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
cmp eax, 0xffffffff
je 0x40d366
test ebx, ebx
je 0x40d366
test ecx, ecx
jle 0x40d366
mov eax, ecx
cdq
push ebp
and edx, 0xfff
push esi
add eax, edx
push edi
mov esi, eax
mov edi, ecx
sar esi, 0xc
and edi, 0x80000fff
jns 0x40d27d
dec edi
or edi, 0xfffff000
inc edi
mov ebp, ebx
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x10], ebx
jle 0x40d2f2
lea esp, [esp]
push 0x1000
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.0044e980
add esp, 0xc
lea eax, [esp + 0x1c]
mov ecx, 0x1000
lea esp, [esp]
mov dl, byte [eax]
mov byte [eax], dl
inc eax
sub ecx, 1
jne 0x40d2b0
mov edx, dword [esp + 0x14]
push ecx
lea eax, [esp + 0x14]
push eax
push 0x1000
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40d336
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40d2e7
mov ecx, dword [esp + 0x10]
add dword [eax], ecx
inc ebx
add ebp, 0x1000
cmp ebx, esi
jl 0x40d290
test edi, edi
jle 0x40d35f
push edi
lea edx, [esp + 0x20]
push ebp
push edx
call fcn.0044e980
add esp, 0xc
lea eax, [esp + 0x1c]
test edi, edi
jle 0x40d31a
mov ecx, edi
nop
mov dl, byte [eax]
mov byte [eax], dl
inc eax
sub ecx, 1
jne 0x40d310
mov edx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x14]
push eax
push edi
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40d351
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.0044e29c
add esp, 0x1010
ret
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40d35f
mov ecx, dword [esp + 0x10]
add dword [eax], ecx
mov eax, 1
jmp 0x40d338
mov ecx, dword [esp + 0x1010]
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0044e29c
add esp, 0x1010
ret
Function at 0x40d380
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x46ba90
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x487b58]
mov edx, dword [eax + 0xc]
mov ecx, 0x487b58
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
xor ebx, ebx
push eax
mov dword [esp + 0x24], ebx
call fcn.00403300
add esp, 4
test eax, eax
jne 0x40d401
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d3fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40d52f
mov ebp, dword [esp + 0x14]
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [esp + 0x28]
mov eax, ebp
call fcn.0040d1b0
test eax, eax
jne 0x40d428
mov dword [esp + 0x20], 0xffffffff
lea eax, [ebp - 0x10]
jmp 0x40d3e1
mov edx, dword [0x487b58]
mov eax, dword [edx + 0xc]
mov ecx, 0x487b58
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x24], 1
call fcn.00403300
mov esi, dword [esp + 0x2c]
add esp, 4
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
cmp dword [esp + 0x30], ebx
je 0x40d4a2
push ebx
push esi
push ebp
call fcn.0043b2e0
add esp, 0xc
test eax, eax
jge 0x40d4d2
lea eax, [esi - 0x10]
mov byte [esp + 0x20], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d492
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x20], 0xffffffff
lea eax, [ebp - 0x10]
jmp 0x40d3e1
cmp ebp, ebx
je 0x40d4bc
cmp esi, ebx
je 0x40d4bc
push esi
push 0x40d550
push ebx
push ebp
call dword [sym.imp.SETUPAPI.dll_SetupIterateCabinetW]
cmp eax, ebx
jne 0x40d4d2
lea eax, [esi - 0x10]
mov byte [esp + 0x20], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40d486
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x28]
call fcn.00402b70
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi - 0x10]
mov byte [esp + 0x20], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d506
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d52a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x40d660
Capabilities:
Get common file path

Disassembly:
mov eax, 0x2004
call fcn.0044f1e0
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x2000], eax
xor eax, eax
test ebx, ebx
je 0x40d755
mov word [ebx], ax
test edi, edi
jne 0x40d69e
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.0044e29c
add esp, 0x2004
ret
push esi
mov esi, 0x4785c0
mov ecx, dword [esi]
push edi
push ecx
call fcn.0044f0d8
add esp, 8
test eax, eax
je 0x40d6d7
add esi, 8
cmp esi, str.TargetDir
jl 0x40d6a4
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.0044e29c
add esp, 0x2004
ret
mov esi, dword [esi + 4]
cmp esi, 0xffffffff
je 0x40d728
push 0x2000
lea edx, [esp + 8]
push 0
push edx
call fcn.0044e2b0
add esp, 0xc
push 1
push esi
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40d728
lea eax, [esp + 4]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d710
sub eax, edx
sar eax, 1
cmp eax, dword [esp + 0x200c]
jl 0x40d740
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.0044e29c
add esp, 0x2004
ret
push eax
lea ecx, [esp + 8]
push ecx
push ebx
call fcn.0044f24b
add esp, 0xc
mov eax, 1
pop esi
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.0044e29c
add esp, 0x2004
ret

Function at 0x40d7c0
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4010
call fcn.0044f1e0
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x400c], eax
push ebx
xor eax, eax
push 0x3ffe
mov ebx, ecx
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.0044e2b0
add esp, 0xc
mov dword [esp + 8], 0
test esi, esi
je 0x40d8a5
test edi, edi
je 0x40d8a5
lea edx, [esp + 8]
push edx
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x40d8a5
cmp eax, 0x3fff
ja 0x40d8a5
lea ecx, [esp + 0x10]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40d8a5
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 8]
push eax
push 0x477760
lea ecx, [esp + 0x1c]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40d8a5
lea edx, [ebx + ebx]
push edx
push 0
push edi
call fcn.0044e2b0
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
push ecx
push edx
push str._d._d._d._d
dec ebx
push ebx
push edi
call fcn.00451a70
add esp, 0x28
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x400c]
xor ecx, esp
call fcn.0044e29c
add esp, 0x4010
ret
mov ecx, dword [esp + 0x4010]
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0044e29c
add esp, 0x4010
ret
Function at 0x40d8c0
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x2024
call fcn.0044f1e0
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x2020], eax
xor eax, eax
test esi, esi
je 0x40d94b
push 0x2000
mov dword [esp + 8], eax
push eax
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x24], ax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x10], 3
call fcn.0044e2b0
push 0x1000
lea ecx, [esp + 0x30]
push esi
push ecx
call fcn.0044f24b
add esp, 0x18
lea ecx, [esp]
lea edx, [esp + 0x20]
mov eax, 0x614
push ecx
mov dword [esp + 0xc], edx
mov word [esp + 0x14], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov eax, 1
mov ecx, dword [esp + 0x2020]
xor ecx, esp
call fcn.0044e29c
add esp, 0x2024
ret

Function at 0x40dc80
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x46ba60
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x1c], vtable.CResourceUnpack.0
mov edx, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [0x489040]
push edx
mov edx, dword [ecx + 0x28]
push eax
push 0x489040
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call edx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
cmp eax, ebx
jne 0x40dcfc
xor eax, eax
jmp 0x40dd7d
mov eax, dword [0x487b58]
mov edx, dword [eax + 0xc]
mov ecx, 0x487b58
xor ebp, ebp
call edx
add eax, 0x10
mov dword [esp + 0x44], eax
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x34], 1
call fcn.00403300
mov esi, dword [esp + 0x48]
add esp, 4
test eax, eax
je 0x40dd53
mov eax, esi
lea edi, [esp + 0x1c]
call fcn.0040d1b0
test eax, eax
je 0x40dd53
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push esi
push eax
call edx
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi - 0x10]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dd7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10
Function at 0x40e820
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46c218
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x10]
push eax
call fcn.0040c290
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
push esi
lea ebx, [esp + 0x1c]
mov dword [esp + 0x30], 0
call fcn.0040e670
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e89b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esi + 0x1c]
mov esi, dword [esi + 4]
test esi, esi
je 0x40e8ab
cmp esi, dword [esp + 0x14]
je 0x40e8b0
call fcn.0044e8ea
xor eax, eax
cmp edi, dword [esp + 0x18]
setne al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40e8d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46c218
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x10]
push eax
call fcn.0040c290
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
push esi
lea ebx, [esp + 0x1c]
mov dword [esp + 0x30], 0
call fcn.0040e670
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e94b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
mov ebx, dword [esi + 0x1c]
mov eax, dword [esi + 4]
add esi, 4
test edi, edi
je 0x40e960
cmp edi, eax
je 0x40e965
call fcn.0044e8ea
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x40e97a
push eax
push edi
lea ecx, [esp + 0x1c]
push ecx
push esi
call fcn.0040ecd0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40fb20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46c428
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push esi
push edi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x40fbca
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40fbca
lea eax, [esp + 0x14]
push eax
mov edi, 0x477e70
call fcn.004046e0
lea ecx, [esp + 0x10]
push ecx
mov edi, esi
mov dword [esp + 0x6c], 0
call fcn.004046e0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x74], 1
call fcn.00409d40
lea edi, [esp + 0x10]
call fcn.00404780
lea edi, [esp + 0x14]
mov byte [esp + 0x68], 4
call fcn.00404780
cmp dword [esp + 0x4c], 0
sete al
test al, al
sete al
test al, al
jne 0x40fbe0
lea ecx, [esp + 0x48]
call fcn.00409a00
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
lea edx, [esp + 0x14]
push edx
mov edi, 0x4787d4
call fcn.004046e0
lea eax, [esp + 0x48]
push eax
lea edx, [esp + 0x18]
lea esi, [esp + 0x3c]
mov byte [esp + 0x6c], 5
call fcn.00409900
lea edi, [esp + 0x14]
mov byte [esp + 0x68], 7
call fcn.00404780
cmp dword [esp + 0x40], 0
sete al
test al, al
sete al
test al, al
je 0x40fc43
cmp dword [esp + 0x3c], 0
sete al
test al, al
sete al
test al, al
je 0x40fc43
mov edx, dword [ebp + 8]
add edx, 8
mov ecx, esi
call fcn.0040fdc0
lea ecx, [esp + 0x14]
push ecx
mov edi, str.Plugin_AfterSetup
call fcn.004046e0
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0x18]
lea esi, [esp + 0x2c]
mov byte [esp + 0x6c], 8
call fcn.00409900
lea edi, [esp + 0x14]
mov byte [esp + 0x68], 0xa
call fcn.00404780
cmp dword [esp + 0x30], 0
sete al
test al, al
sete al
test al, al
je 0x40fca6
cmp dword [esp + 0x2c], 0
sete al
test al, al
sete al
test al, al
je 0x40fca6
mov edx, dword [ebp + 8]
add edx, 0x20
mov ecx, esi
call fcn.0040fdc0
lea eax, [esp + 0x14]
push eax
mov edi, str.Plugin_BeforeUninstall
call fcn.004046e0
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x18]
lea esi, [esp + 0x1c]
mov byte [esp + 0x6c], 0xb
call fcn.00409900
lea edi, [esp + 0x14]
mov byte [esp + 0x68], 0xd
call fcn.00404780
cmp dword [esp + 0x20], 0
sete al
test al, al
sete al
test al, al
je 0x40fd09
cmp dword [esp + 0x1c], 0
sete al
test al, al
sete al
test al, al
je 0x40fd09
mov edx, dword [ebp + 8]
add edx, 0x38
mov ecx, esi
call fcn.0040fdc0
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0xa
call fcn.00404850
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 7
call fcn.00404850
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 4
call fcn.00404850
lea ecx, [esp + 0x48]
call fcn.00409a00
mov eax, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x410370
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x485b90]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 4]
push ecx
push edx
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esi]
sub eax, 0
je 0x4103eb
sub eax, 2
jne 0x41047b
mov ecx, dword [0x489040]
mov edx, dword [ecx + 0x10]
push 0x489040
call edx
test eax, eax
je 0x41047b
movzx edx, byte [esi + 0x10]
mov ecx, dword [eax]
push 0
push edx
mov edx, dword [esi + 8]
push 1
push 5
push edx
lea edx, [ebp - 0x80c]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
jmp 0x41047b
lea ecx, [ebp - 0x80c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410426
lea edx, [ebp - 0x80c]
push edx
call fcn.00404580
add esp, 4
test eax, eax
jne 0x410426
call fcn.0044e050
push eax
lea eax, [ebp - 0x80c]
push eax
call fcn.0044e060
add esp, 8
jmp 0x41047b
lea ecx, [ebp - 0x80c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41047b
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x410444
xor eax, eax
jmp 0x41046d
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x410457
xor eax, eax
jmp 0x41046d
lea edi, [eax + eax]
mov eax, edi
call fcn.00450930
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.004112b0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41047b
call eax
mov eax, 1
lea esp, [ebp - 0x81c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044e29c
mov esp, ebp
pop ebp
ret 4
Function at 0x4133a0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x634
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x630], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push edi
push esi
call ecx
xor edi, edi
cmp eax, edi
mov dword [esp + 0x14], eax
jle 0x4134cd
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [esp + 0x10], edi
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x413402
call fcn.0044e8ea
mov eax, dword [esi + 0x10]
add eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
cmp dword [ecx - 0xc], 0
je 0x4134bd
cmp dword [esi + 0x1c], 0
je 0x4134b3
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x41343e
push 4
lea edx, [eax + 0x14]
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax]
push 4
push edx
push ecx
push eax
call ebx
jmp 0x4134bd
cmp edx, 1
jne 0x413461
mov edx, dword [eax + 0x18]
mov ebx, dword [edx - 0xc]
add ebx, ebx
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax]
push 1
push edx
push ecx
push eax
call ebx
jmp 0x4134bd
cmp edx, 2
jne 0x4134bd
mov ecx, dword [esi]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x18]
push edx
push edi
push esi
call eax
lea eax, [esp + 0x430]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413480
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
push ecx
lea edx, [esp + 0x434]
push edx
mov edx, dword [esp + 0x20]
push 1
lea eax, [esp + 0x230]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
call ebx
jmp 0x4134bd
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
add dword [esp + 0x10], 0x1c
inc edi
cmp edi, dword [esp + 0x14]
jl 0x4133e0
mov ecx, dword [esp + 0x63c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0044e29c
mov esp, ebp
pop ebp
ret 4

Function at 0x4142f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
push esi
mov dword [edi + 0xc], eax
cmp ecx, eax
jne 0x414326
pop esi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0044e29c
mov esp, ebp
pop ebp
ret
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
push ecx
lea esi, [esp + 0xc]
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.00414d60
add esp, 4
mov eax, esi
call fcn.00414e70
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [edi], eax
mov eax, dword [esp + 0x6c]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x74]
pop esi
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
xor ecx, esp
mov eax, 1
call fcn.0044e29c
mov esp, ebp
pop ebp
ret
Function at 0x4143a0
Capabilities:
Read file via mapping

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
xor ebx, ebx
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
test ecx, ecx
je 0x414453
push esi
push eax
push 1
push 3
push eax
push 1
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x414450
cmp esi, 0xffffffff
je 0x414449
push ebp
push ebx
push ebx
push ebx
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push ebx
push ebx
push ebx
mov ebp, eax
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 2
push 0
push 0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push 0
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x14]
push eax
mov ecx, ebx
mov dword [esp + 0x14], 1
call fcn.004142f0
add esp, 4
test ebx, ebx
je 0x414439
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test ebp, ebp
je 0x414444
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x10]
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop esi
pop edi
pop ebx
add esp, 8
ret

Function at 0x4144c0
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4010
call fcn.0044f1e0
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x400c], eax
xor eax, eax
push 0x3ffe
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.0044e2b0
add esp, 0xc
mov dword [esp + 4], 0
test edi, edi
je 0x4145b1
test esi, esi
je 0x4145b1
lea edx, [esp + 4]
push edx
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4145b1
cmp eax, 0x3fff
ja 0x4145b1
lea ecx, [esp + 0xc]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4145b1
lea edx, [esp + 8]
push edx
lea eax, [esp + 4]
push eax
push 0x477760
lea ecx, [esp + 0x18]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4145b1
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov eax, dword [esp]
movzx edx, word [eax + 0xc]
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push eax
push str._d._d._d._d
push 0xf
push esi
call fcn.00451a70
add esp, 0x1c
mov eax, 1
mov ecx, dword [esp + 0x400c]
xor ecx, esp
call fcn.0044e29c
add esp, 0x4010
ret
mov ecx, dword [esp + 0x400c]
xor ecx, esp
xor eax, eax
call fcn.0044e29c
add esp, 0x4010
ret