joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4199b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464888
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4814f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x18], esi
cmp dword [ebp + 0xc], esi
je 0x419b63
cmp dword [ebp + 0x10], esi
je 0x419b63
mov ebx, dword [ebp + 0x14]
cmp ebx, esi
je 0x419b63
push 0x475810
lea ecx, [ebp - 0x14]
call fcn.0040fbe0
xor ecx, ecx
mov eax, 0x105
mov edx, 2
mul edx
seto cl
push 0x484e4e
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x18], 1
neg ecx
or ecx, eax
push ecx
call fcn.0044bd2d
mov esi, eax
add esp, 8
test esi, esi
je 0x419b12
mov eax, dword [ebp - 0x10]
lea ecx, [eax + eax + 2]
push ecx
push 0
push esi
call fcn.00448540
mov edx, dword [ebp - 0x10]
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [edx + edx]
push esi
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
push ebx
push eax
push ecx
call edi
cmp eax, 0xea
jne 0x419ae0
push esi
call fcn.00448a60
mov eax, dword [ebp - 0x10]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
push 0x484e4e
neg ecx
or ecx, eax
push ecx
call fcn.0044bd2d
mov esi, eax
add esp, 0xc
test esi, esi
je 0x419b12
mov eax, dword [ebp - 0x10]
lea ecx, [eax + eax + 2]
push ecx
push 0
push esi
call fcn.00448540
mov edx, dword [ebp - 0x10]
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [edx + edx]
push esi
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
push ebx
push eax
push ecx
call edi
test eax, eax
jne 0x419b09
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419af0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.0040f710
push esi
call fcn.00448a60
add esp, 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.0040f2a0
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419b72
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
mov esi, dword [ebp + 8]
push 0x475810
mov ecx, esi
call fcn.0040fbe0
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 0x419bc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4648bb
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x4814f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x300]
push eax
lea ecx, [ebp - 0x2e0]
push ecx
push 0x475804
push 0x46cb4c
push 1
xor edi, edi
push edi
mov dword [ebp - 0x300], 0x168
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
test eax, eax
jl 0x419da8
xor edx, edx
lea eax, [ebp - 0x2e0]
mov word [ebp - 0x2f8], dx
mov dword [ebp - 0x2e4], 7
mov dword [ebp - 0x2e8], edi
lea edx, [eax + 2]
jmp 0x419c50
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x419c50
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.00418520
push 2
push edi
push 0x46cb44
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 4], edi
call fcn.00416e70
cmp eax, 0xffffffff
je 0x419cb3
mov ecx, ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x419c92
sub ecx, esi
sar ecx, 1
push ecx
push ebx
push 2
push eax
lea ecx, [ebp - 0x2fc]
call fcn.00418bb0
jmp 0x419cec
push 1
push 0x46cb40
lea ecx, [ebp - 0x2fc]
call fcn.004183f0
mov eax, ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x419cd0
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x2fc]
call fcn.004183f0
mov ecx, 0x44
lea eax, [ebp - 0x354]
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x419cf7
mov ecx, 0x10
lea eax, [ebp - 0x310]
jmp 0x419d10
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x419d10
mov eax, dword [ebp - 0x2f8]
mov edi, 8
mov dword [ebp - 0x354], 0x44
cmp dword [ebp - 0x2e4], edi
jae 0x419d3c
lea eax, [ebp - 0x2f8]
lea ecx, [ebp - 0x310]
push ecx
lea edx, [ebp - 0x354]
push edx
push 0
push eax
push 0
call fcn.004165b0
add esp, 0x14
test eax, eax
je 0x419d91
mov eax, dword [ebp - 0x310]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x30c]
push ecx
call esi
cmp dword [ebp - 0x2e4], edi
jb 0x419d8a
mov edx, dword [ebp - 0x2f8]
push edx
call fcn.00447eaa
add esp, 4
mov eax, 1
jmp 0x419dc7
cmp dword [ebp - 0x2e4], edi
jb 0x419da8
mov eax, dword [ebp - 0x2f8]
push eax
call fcn.00447eaa
add esp, 4
push 0xa
push 0
push 0
push ebx
push 0x475804
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x20
cmp ecx, eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447f52
mov esp, ebp
pop ebp
ret
Function at 0x419df0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4648f8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4814f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x46cb5c
lea ecx, [ebp - 0x20]
xor ebx, ebx
call fcn.0040fbe0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.00418070
push 1
push 0x46cb58
lea ecx, [ebp - 0x20]
call fcn.00415770
mov ecx, dword [ebp - 0x20]
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x419ec0
push 0x228
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
call fcn.0044ad94
add esp, 4
push ebx
lea edx, [ebp - 0x24]
push edx
push 0x227
mov edi, eax
push edi
push 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x2d1400
push esi
mov dword [edi + 4], 0x227
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x419eb0
cmp dword [edi + 0x1c], 7
jne 0x419eb0
mov ebx, 1
push edi
call fcn.00448a6b
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419ee6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447f52
mov esp, ebp
pop ebp
ret
Function at 0x41aa40
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4649cb
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x4814f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x414], eax
cmp dword [edi + 0xc], eax
jbe 0x41aa84
call fcn.00448717
mov esi, dword [edi + 0xc]
mov ebx, dword [edi]
cmp esi, dword [edi + 0x10]
jbe 0x41aa93
call fcn.00448717
mov ecx, dword [ebp - 0x414]
mov eax, dword [edi]
push ecx
push ebx
push esi
push eax
lea edx, [ebp - 0x41c]
push edx
mov ecx, edi
call fcn.0041a560
push 0x3fe
xor esi, esi
lea ecx, [ebp - 0x40e]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x410], ax
call fcn.00448540
add esp, 0xc
lea edx, [ebp - 0x410]
push edx
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp eax, esi
je 0x41ab8b
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x414]
call fcn.0040fbe0
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax - 0xc]
or ebx, 0xffffffff
mov dword [ebp - 4], esi
test ecx, ecx
je 0x41ab6f
lea esp, [esp]
lea ecx, [ebp - 0x414]
push ecx
mov ecx, edi
call fcn.0041a9c0
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff0
lea esi, [esi + ecx + 1]
mov dword [ebp - 4], ebx
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ab49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + esi*2 - 0x410]
push ecx
lea ecx, [ebp - 0x414]
call fcn.0040fbe0
mov eax, dword [ebp - 0x414]
cmp dword [eax - 0xc], 0
mov dword [ebp - 4], 0
jne 0x41ab10
add eax, 0xfffffff0
mov dword [ebp - 4], ebx
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x41ab8b
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447f52
mov esp, ebp
pop ebp
ret
Function at 0x41abb0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464a08
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4814f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x10]
cmp dword [esi + 0xc], ebx
jbe 0x41abe8
call fcn.00448717
mov edi, dword [esi]
mov esi, dword [esi + 0xc]
mov ecx, dword [ebp + 8]
cmp esi, dword [ecx + 0x10]
jbe 0x41abfd
call fcn.00448717
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push ebx
push edi
push esi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041a560
lea ecx, [ebp - 0x2c]
call fcn.004210e0
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], 0
call fcn.0041aa40
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
add esp, 4
sar eax, 2
xor esi, esi
test eax, eax
jbe 0x41acb5
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp esi, eax
jb 0x41ac45
call fcn.00448717
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + esi*4]
push eax
call edi
cmp eax, 2
je 0x41ac58
cmp eax, 3
jne 0x41aca7
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
sar eax, 2
cmp esi, eax
jb 0x41ac6a
call fcn.00448717
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + esi*4]
cmp dword [eax - 0xc], 0
jl 0x41acd6
movzx eax, word [eax]
push eax
call fcn.00419df0
add esp, 4
test eax, eax
je 0x41aca7
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x20]
sar edx, 2
cmp esi, edx
jb 0x41ac98
call fcn.00448717
mov eax, dword [ebp - 0x20]
lea ecx, [eax + esi*4]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041a9c0
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
inc esi
sar eax, 2
cmp esi, eax
jb 0x41ac45
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00422c90
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.00403dd0
int3
Function at 0x41acf0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464a08
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4814f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x10]
cmp dword [esi + 0xc], ebx
jbe 0x41ad28
call fcn.00448717
mov edi, dword [esi]
mov esi, dword [esi + 0xc]
mov ecx, dword [ebp + 8]
cmp esi, dword [ecx + 0x10]
jbe 0x41ad3d
call fcn.00448717
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push ebx
push edi
push esi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041a560
lea ecx, [ebp - 0x2c]
call fcn.004210e0
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], 0
call fcn.0041aa40
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
add esp, 4
sar eax, 2
xor esi, esi
test eax, eax
jbe 0x41adf0
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp esi, eax
jb 0x41ad85
call fcn.00448717
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + esi*4]
push eax
call edi
cmp eax, 3
jne 0x41ade2
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
sar eax, 2
cmp esi, eax
jb 0x41ada5
call fcn.00448717
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + esi*4]
cmp dword [eax - 0xc], 0
jl 0x41ae11
movzx eax, word [eax]
push eax
call fcn.00419df0
add esp, 4
test eax, eax
jne 0x41ade2
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x20]
sar edx, 2
cmp esi, edx
jb 0x41add3
call fcn.00448717
mov eax, dword [ebp - 0x20]
lea ecx, [eax + esi*4]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041a9c0
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
inc esi
sar eax, 2
cmp esi, eax
jb 0x41ad85
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00422c90
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.00403dd0
int3
Function at 0x41b1c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4814f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4837e0]
test eax, eax
je 0x41b1e9
cmp dword [0x4837d8], 0
jne 0x41b2d9
mov ecx, dword [0x4837d4]
push esi
push edi
push 0x400
lea eax, [ebp - 0x804]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0x804]
push edx
call edi
xor esi, esi
cmp dword [0x4837d0], esi
jle 0x41b232
lea ecx, [ecx]
lea eax, [ebp - 0x804]
push eax
call edi
inc esi
cmp esi, dword [0x4837d0]
jl 0x41b220
push 0x46caec
lea ecx, [ebp - 0x804]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x804]
push eax
call fcn.0040f4f0
add esp, 4
pop edi
pop esi
test eax, eax
jne 0x41b287
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b283
push 1
lea edx, [ebp - 0x804]
push 0x47f0b0
push edx
call fcn.00417d40
add esp, 0xc
xor eax, eax
jmp 0x41b294
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4837d8], eax
test eax, eax
je 0x41b2c9
push 0x46cb8c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4837e0], eax
test eax, eax
jne 0x41b2d9
mov ecx, dword [0x4837d8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4837d8], 0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447f52
mov esp, ebp
pop ebp
ret
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447f52
mov esp, ebp
pop ebp
ret
Function at 0x41de10
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464d43
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4814f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
mov dword [ebp - 4], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x24], vtable.IDynamicScrollBarCallback.0
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CDynamicListViewEx.1.0
mov dword [esi + 0x24], vtable.CDynamicListViewEx.0
call fcn.004210e0
push 0x46cef8
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], 6
mov dword [esi + 0x70], 0x70
mov dword [esi + 0x74], 0xf9f5f0
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov ecx, dword [0x4843b4]
push 0x46ced4
push ecx
call fcn.0041d1f0
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
add esp, 0xc
mov dword [esi + 0x5c], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41df80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4814f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4837e4]
test eax, eax
je 0x41dfa9
cmp dword [0x4837d8], 0
jne 0x41e082
mov ecx, dword [0x4837d4]
push esi
push edi
push 0x400
lea eax, [ebp - 0x804]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0x804]
push edx
call edi
xor esi, esi
cmp dword [0x4837d0], esi
jle 0x41dff2
lea ecx, [ecx]
lea eax, [ebp - 0x804]
push eax
call edi
inc esi
cmp esi, dword [0x4837d0]
jl 0x41dfe0
push 0x46caec
lea ecx, [ebp - 0x804]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x804]
push eax
call fcn.0040f4f0
add esp, 4
pop edi
pop esi
test eax, eax
jne 0x41e047
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e043
push 1
lea edx, [ebp - 0x804]
push 0x47f0b0
push edx
call fcn.00417d40
add esp, 0xc
xor eax, eax
jmp 0x41e054
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4837d8], eax
test eax, eax
jne 0x41e06d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447f52
mov esp, ebp
pop ebp
ret
push 0x46cf1c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4837e4], eax
test eax, eax
je 0x41e05d
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447f52
mov esp, ebp
pop ebp
ret
Function at 0x41e540
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4814f0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [ebp - 0x118], 0x114
call fcn.00448540
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41e5a0
cmp dword [ebp - 0x114], 6
jb 0x41e5a0
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447f52
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.00447f52
mov esp, ebp
pop ebp
ret

Function at 0x41f6c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464ed7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4814f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi], vtable.ICallbackTarget.0
mov dword [esi + 4], vtable.IDynamicListViewItem.0
xor edi, edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], eax
lea ecx, [esi + 0x34]
mov dword [ebp - 4], edi
call fcn.00436650
mov dword [esi + 0x2c], vtable.WTL::CMessageFilter.0
mov dword [esi + 0x30], vtable.WTL::CIdleHandler.0
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CProductCtrl.4.0
mov dword [esi + 4], vtable.CProductCtrl.3.0
mov dword [esi + 8], vtable.CProductCtrl.2.0
mov dword [esi + 0x2c], vtable.CProductCtrl.1.0
mov dword [esi + 0x30], vtable.CProductCtrl.0
call fcn.0041b150
mov edx, dword [0x484394]
mov eax, dword [edx + 0xc]
mov ecx, 0x484394
mov byte [ebp - 4], 2
call eax
add eax, 0x10
mov dword [esi + 0xa8], eax
mov dword [esi + 0xc0], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0xac], edi
mov byte [ebp - 4], 3
cmp dword [0x4837e8], edi
jne 0x41f812
call fcn.0041b1c0
cmp eax, edi
je 0x41f83d
mov ecx, dword [eax]
mov edx, dword [ecx + 0x54]
push eax
call edx
mov dword [0x4837e8], eax
cmp eax, edi
je 0x41f812
mov eax, dword [0x4843b4]
push 0xdc
push 0x46cc2c
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.0041c610
add esp, 0x10
mov eax, dword [eax]
mov ecx, dword [0x4837e8]
mov edx, dword [ecx]
push edi
push eax
mov eax, dword [edx + 0xc]
mov byte [ebp - 4], 4
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f812
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [0x4837e8], edi
jmp 0x41f812
Function at 0x420f70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465168
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x4814f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x475810
lea ecx, [ebp - 0x78]
mov dword [esi + 0xac], 4
call fcn.0040fbe0
xor eax, eax
push 0x62
push eax
lea ecx, [ebp - 0x72]
push ecx
mov dword [ebp - 4], 0
mov word [ebp - 0x74], ax
call fcn.00448540
add esp, 0xc
lea edx, [ebp - 0xf8]
push edx
mov ecx, esi
call fcn.0041edd0
mov eax, dword [eax + 8]
push 0
push 9
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCompactPathExW]
lea ecx, [ebp - 0xf8]
call fcn.00426e50
push 1
push 0
mov ecx, esi
call fcn.0041fa50
mov ecx, dword [esi + 0x54]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ecx
call edi
mov edx, dword [esi + 0x5c]
push 5
push edx
call edi
mov eax, dword [esi + 0x60]
push 0
push eax
call edi
mov ecx, dword [esi + 0x64]
push 0
push ecx
call edi
mov edx, dword [esi + 0x68]
push 5
push edx
call edi
push 5
lea eax, [ebp - 0x78]
push 0x46d120
push eax
call fcn.004182c0
mov ecx, dword [ebp - 0x78]
mov edx, dword [esi + 0x68]
add esp, 0xc
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 0x70]
push 0
push eax
call edi
mov edi, dword [0x48432c]
test edi, edi
je 0x421084
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x421084
push 0
push 1
push 0xbd5
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esi + 0xc]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4210c2
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447f52
mov esp, ebp
pop ebp
ret

Function at 0x4220e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x68], 0
jne 0x422118
mov eax, dword [esi + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x68], eax
cmp eax, 0xffffffff
jne 0x422118
mov eax, dword [ebp + 0xc]
pop esi
pop ebp
ret 8
mov eax, dword [esi + 0x68]
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x422151
cmp eax, 0xffffffff
je 0x422151
push 2
push 0
push 0
push eax
mov dword [ebp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0x68]
push 0
lea eax, [ebp + 0xc]
push eax
push edi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, edi
pop edi
pop esi
pop ebp
ret 8