joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ecf3f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [ebx + 0x364], 0
push esi
push edi
je 0x4ed075
push dword [ebp + 8]
and dword [ebp - 8], 0
lea edi, [ebx + 0x334]
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.0042623e
cmp dword [ebp - 0x14], 0
mov esi, dword [edi + 4]
je 0x4ecf79
cmp dword [ebp - 0x14], edi
je 0x4ecf7e
call fcn.00447be0
cmp dword [ebp - 0x10], esi
je 0x4ed04b
lea esi, [ebp - 0x14]
call fcn.00408586
add eax, 4
cmp dword [eax], 0
mov dword [ebp - 0xc], eax
je 0x4ed04b
lea eax, [ebx + 0x340]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 0x350]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp + 8], eax
lea edi, [ebp - 0x1c]
lea esi, [ebp - 0x14]
call fcn.00411e4b
test al, al
jne 0x4ed04b
mov edi, dword [ebp - 0x14]
test edi, edi
jne 0x4ecfd9
call fcn.00447be0
mov esi, dword [ebp - 0x10]
cmp esi, dword [edi + 4]
jne 0x4ecfe6
call fcn.00447be0
mov ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [ecx]
test dword [ecx + 8], eax
mov esi, dword [esi + 0x10]
je 0x4ed03e
cmp dword [ebp - 8], 5
jge 0x4ed03e
push 0
push esi
push dword [ebx + 0x34c]
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov esi, dword [ebp + 8]
push 0
push eax
push 0x170
push dword [esi]
call dword [0x574f08]
push 5
push dword [esi]
mov edi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
inc dword [ebp - 8]
add esi, 4
test edi, edi
mov dword [ebp + 8], esi
je 0x4ed03e
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
lea esi, [ebp - 0x14]
call fcn.0041a666
jmp 0x4ecfbe
mov eax, dword [ebp - 8]
push 5
pop esi
cmp eax, esi
jge 0x4ed06e
lea edi, [ebx + eax*4 + 0x350]
sub esi, eax
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
add edi, 4
dec esi
jne 0x4ed05e
mov edi, ebx
call fcn.004ece2c
pop edi
pop esi
leave
ret 4

Function at 0x4ef6af
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, eax
push edi
lea eax, [esi + 0x2c]
call fcn.0042055c
push 0x476
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
call fcn.004d8cdf
neg al
sbb eax, eax
and eax, 5
push eax
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004ef125
lea edi, [esi + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
push 0
push 5
push 1
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
pop edi
inc eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4f3053
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esp + 0xc], 0x41
push edi
jne 0x4f30b6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4f30b6
mov edi, dword [0x574f08]
push ebx
push ebx
push 0x18b
push dword [esi + 4]
call edi
push eax
push ebx
push 0x183
push dword [esi + 4]
call edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
movzx ecx, di
or ecx, 0x10000
push ecx
push 0x111
push eax
call dword [0x574efc]
push 1
push ebx
push dword [esi + 4]
mov byte [esi + 0x30], bl
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esp + 0x14]
mov eax, esi
push dword [esp + 0x14]
push dword [esp + 0x14]
call fcn.00428248
push 0x105
push ebx
push ebx
push dword [esi + 4]
mov edi, eax
mov byte [esi + 0x30], 1
call dword [sym.imp.USER32.dll_RedrawWindow]
mov eax, edi
pop edi
pop ebx
ret 0xc
Function at 0x4f7e75
Capabilities:
Hide graphical window

Disassembly:
push 0x14
mov eax, 0x510ad8
call fcn.0044c7ac
xor edi, edi
push edi
push 0x32
push edi
push dword [ebx + 0x10]
mov byte [ebx + 0x2e8], 0
call dword [sym.imp.USER32.dll_SetTimer]
lea esi, [ebx + 0x230]
call fcn.004e65fd
mov esi, dword [0x574eb4]
push edi
push dword [ebx + 0x220]
call esi
push edi
push dword [ebx + 0x224]
call esi
push edi
push dword [ebx + 0x228]
call esi
push edi
push dword [ebx + 0x22c]
call esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x450
push dword [ebx + 0x10]
call esi
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 0x47b
push dword [ebx + 0x10]
call esi
push 1
push eax
call edi
push 0xc
call fcn.004484be
pop ecx
mov dword [ebp - 0x10], eax
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 4], ecx
je 0x4f7f2d
sub esp, 0x10
mov dword [ebp - 0x1c], ecx
mov eax, 0x4f7909
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], ebx
mov edi, esp
push dword [ebp - 0x10]
lea esi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00434aa8
jmp 0x4f7f2f
xor eax, eax
or dword [ebp - 4], 0xffffffff
lea esi, [ebx + 0x2e0]
mov edi, eax
call fcn.0041f193
xor eax, eax
call fcn.0044c884
ret
Function at 0x4f96ee
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
push 0x110012
push 3
mov ebx, eax
push 0xd3
lea edi, [ebx + 4]
push dword [edi]
call dword [0x574f08]
push 0x2000080
xor eax, eax
xor ecx, ecx
call fcn.0041110e
lea eax, [esp + 0x10]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
xor ecx, ecx
add eax, 0xfffffff0
push ecx
mov dword [esp + 0x14], eax
mov eax, esp
lea esi, [ebx + 0x28]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ecx
mov dword [eax], ecx
push 0x44000000
push ecx
mov eax, esp
lea ecx, [esp + 0x1c]
mov dword [eax], ecx
push dword [edi]
mov eax, esi
call fcn.0041e3eb
push 0
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x115
push 0xfffffffffffffff4
push dword [ebx + 0x2c]
call dword [0x574f0c]
push 0x2020
push 0
push 0xff00ff
push 4
push 0x10
push 0x115
push 0
call dword [0x574dec]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageW]
call fcn.0041e3c6
xor esi, esi
cmp eax, esi
je 0x4f97b4
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
push 0x10
push 0x10
push dword [esp + 0x1c]
lea eax, [esp + 0x1c]
push esi
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x2020
push esi
push 0xff00ff
push 4
push 0x10
push 0x116
push esi
call dword [0x574dec]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageW]
push 0
push 0
push eax
lea esi, [ebx + 0x74]
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
push eax
call fcn.004133c7
push ecx
mov eax, esp
and dword [eax], 0
push 0x54000003
push ecx
mov eax, esp
lea ecx, [esp + 0x1c]
mov dword [eax], ecx
push dword [edi]
add ebx, 0x78
push ebx
call fcn.0041e56e
push 0
push dword [esi]
push 0x170
push dword [ebx]
call dword [0x574f08]
push 0x116
push 0xfffffffffffffff4
push dword [ebx]
call dword [0x574f0c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f9967
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [esi + 0x24], 0
push edi
lea edi, [ebp - 4]
mov ecx, esi
call fcn.004f9863
mov eax, dword [ebp - 4]
mov eax, dword [eax - 0xc]
neg eax
sbb eax, eax
and eax, 5
push eax
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 4]
push dword [esi + 4]
call dword [0x574f10]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
mov dword [esi + 0x70], 1
call fcn.00410d34
pop edi
leave
ret

Function at 0x4f9af2
Capabilities:
Hide graphical window

Disassembly:
push dword [esi + 0xd0]
and dword [esi + 0x74], 0
push dword [esi + 0x8c]
or dword [esi + 0xc4], 0xffffffff
call dword [0x574f10]
push 0
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x4f9b1b
Capabilities:
Hide graphical window

Disassembly:
push dword [esi + 0x8c]
call dword [0x574edc]
test eax, eax
je 0x4f9b31
cmp dword [esi + 0x74], 1
je 0x4f9b40
cmp dword [esi + 0xc4], 0xffffffff
jle 0x4f9b45
cmp dword [esi + 0x74], 2
jne 0x4f9b45
push 5
pop eax
jmp 0x4f9b47
xor eax, eax
push edi
push eax
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
movzx ecx, di
push ecx
push 0x111
push eax
call dword [0x574efc]
push 1
push 0
push dword [esi + 0x8c]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 0x8c]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
ret
Function at 0x50050c
Capabilities:
Hide graphical window

Disassembly:
push 8
mov eax, 0x50faca
call fcn.0044c7ac
cmp byte [ebp + 8], 0
mov eax, dword [0x5768f8]
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
je 0x5005e7
push 0x9f
push 0x3fc
push dword [edi + 0x10]
call dword [eax + 0x40]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3fd
push dword [edi + 0x10]
call esi
xor ebx, ebx
push ebx
push eax
call dword [0x574eb4]
push 0x3ef
push dword [edi + 0x10]
call esi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
lea eax, [edi + 0x288]
mov byte [edi + 0x200], 1
mov byte [edi + 0x25c], 1
mov byte [edi + 0x158], bl
call fcn.0041658c
mov eax, dword [0x5768f8]
mov eax, dword [eax + 8]
push ebx
push ebx
push 0x406
push eax
call dword [0x574f08]
lea ecx, [edi + 8]
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x60]
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
je 0x5005ce
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x5005ce
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x34]
lea esi, [edi + 0xb8]
call fcn.004e65fd
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jmp 0x5006af
push 0x9e
push 0x3fc
push dword [edi + 0x10]
call dword [eax + 0x40]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3fd
push dword [edi + 0x10]
call esi
mov ebx, dword [0x574eb4]
push 1
push eax
call ebx
push 0x3ef
push dword [edi + 0x10]
call esi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [edi + 0x200]
call fcn.0041652f
lea eax, [edi + 0x25c]
call fcn.0041652f
push 0
mov byte [edi + 0x158], 1
mov eax, dword [0x5768f8]
mov eax, dword [eax + 8]
push 1
push 0x406
push eax
call dword [0x574f08]
push 0x3fc
push dword [edi + 0x10]
call esi
xor esi, esi
inc esi
push esi
push eax
call ebx
lea ecx, [edi + 8]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
call dword [eax + 0x60]
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x50069b
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x50069b
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
push 5
call dword [eax + 0x34]
lea esi, [edi + 0xb8]
call fcn.004e660f
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x5006b7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [ebp + 8]
mov byte [edi + 0x328], al
call fcn.0044c884
ret 4
Function at 0x5006c8
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
push 0
push 0
mov esi, eax
push 0x130b
push dword [esi + 0x138]
call dword [0x574f08]
test eax, eax
jne 0x50070d
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
lea edi, [esi + 0x1d0]
push dword [edi]
call ebx
push dword [edi]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 0
push dword [esi + 0x22c]
call ebx
pop ebx
jmp 0x500731
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x1d0]
call edi
push 5
add esi, 0x22c
push dword [esi]
call edi
push dword [esi]
call dword [sym.imp.USER32.dll_BringWindowToTop]
pop edi
xor eax, eax
pop esi
ret
Function at 0x5062e5
Capabilities:
Log keystrokes via polling

Disassembly:
push edi
xor edi, edi
cmp dword [esi + 0xa0], edi
jne 0x50631d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
test eax, eax
je 0x50631d
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x50630e
cmp dword [esp + 8], edi
jne 0x50631d
cmp dword [esi + 0x44], edi
je 0x50631d
mov dword [esi + 0x44], edi
mov byte [esi + 0xd4], 1
push 1
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0xc]
mov dword [eax], edi
xor eax, eax
inc eax
pop edi
ret 8

Function at 0x5068a9
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
push dword [esi + 4]
call edi
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x28]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esi + 4]
call edi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x28]
lea edi, [esp + 0xc]
call fcn.00411cc3
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
xor eax, eax
cmp dword [esi + 0xc8], eax
jne 0x50698b
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x18]
mov dword [esi + 0xc8], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
lea edi, [esi + 0xcc]
push eax
push ecx
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [edi], eax
push dword [esi + 0xc8]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push dword [esp + 0x30]
mov dword [esi + 0xd0], eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x30]
push dword [esp + 0x1c]
sub eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
push eax
push 0
push 0
push dword [esi + 0xc8]
call ebx
xor eax, eax
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
push 0xcc0020
push eax
push eax
push dword [esi + 0xc8]
push ecx
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
push ecx
push eax
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call ebx
lea esi, [esp + 0x10]
call fcn.00411f54
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x507f57
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x515ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5675a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
lea edx, [esp + 0x18]
push edx
call dword [eax + 0xb8]
and dword [esp + 0x38], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
push 0
call dword [eax + 4]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 4]
mov edi, dword [ebx]
push dword [esp + 0x18]
add edi, 0x30
call fcn.0044812b
pop ecx
push eax
mov ecx, ebx
call dword [edi]
push esi
call fcn.00507662
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x14], edi
je 0x507ff9
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x5352c8
push eax
call dword [ecx]
mov byte [esp + 0x38], 1
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x508022
mov eax, dword [ecx]
push edi
call dword [eax + 0x6c]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push 2
call dword [eax + 0x6c]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push 3
call dword [eax + 0x6c]
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push edi
call dword [eax + 0x34]
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 4]
push dword [esp + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 4]
push dword [esp + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x68]
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push 1
call dword [eax + 0x34]
mov esi, dword [esi + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x50808c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00410d34
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50ef4d
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push ebx
push esi
push edi
call fcn.004d8d53
test al, al
jne 0x50ef82
push 0x30
push str.Error_Starting_Program
push str.CCleaner_requires_Windows_2000_or_later.
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [0x574ef4]
xor eax, eax
jmp 0x50f08a
call fcn.004d8c01
xor ebx, ebx
test eax, eax
je 0x50f042
lea esi, [esp + 0x10]
call fcn.0050eb6f
push dword [eax]
lea eax, [esp + 0x10]
push eax
call fcn.00412c0a
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00410d34
push str.CCleaner64.exe
lea eax, [esp + 0x10]
call fcn.00413537
push 0x40
lea eax, [esp + 0x30]
push ebx
push eax
mov dword [esp + 0x34], 0x44
call fcn.00449940
xor eax, eax
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
lea eax, [esp + 0x28]
push eax
call dword [0x574e0c]
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push esi
call dword [0x574d94]
test eax, eax
je 0x50f036
push dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x1c]
call esi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.00410d34
jmp 0x50ef7b
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.00410d34
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
push ebx
push ebx
push ebx
push ebx
call dword [0x574e9c]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 0x2f
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.0041529a
mov ecx, dword [ebp + 0x10]
call fcn.0050ebf8
mov esi, eax
call fcn.00415129
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x426900
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42692d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42692d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x4010cc
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x4010de
mov eax, dword [0x41b08b]
shl eax, 2
mov dword [0x41b08f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.00405a74
pop edx
call fcn.00404e10
call fcn.00405a78
push 0
call fcn.00406d4c
pop ecx
push 0x41b034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x41b093], eax
push 0
jmp fcn.0040b2d8

Function at 0x401430
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffddc
mov eax, dword [0x46a170]
mov edx, dword [0x46a178]
lea ecx, [ebp - 0x224]
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [0x46a174]
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], edx
mov edx, dword [0x46a17c]
mov dword [0x46f600], 1
mov dword [ebp - 0x18], edx
push 0x208
push ecx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0
push 0
push 3
push 0
push 3
push 0x80000000
lea eax, [ebp - 0x224]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401574
push 0
push ebx
call sub.KERNEL32.DLL_GetFileSize
mov edi, eax
push 2
push 0
push 0xfffffffffffffff8
push ebx
call sub.KERNEL32.DLL_SetFilePointer
lea eax, [ebp - 4]
push 0
push eax
lea edx, [ebp - 0x14]
push 8
push edx
push ebx
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x4014df
push ebx
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
jmp 0x401576
push 8
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0xc]
push ecx
call fcn.00405f40
add esp, 0xc
test eax, eax
je 0x4014f9
xor eax, eax
jmp 0x401576
push 2
push 0
push 0xfffffffffffffff4
push ebx
call sub.KERNEL32.DLL_SetFilePointer
push 0
lea edx, [ebp - 4]
push edx
push 4
push esi
push ebx
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x401522
push ebx
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
jmp 0x401576
push 4
push 0x1000
mov edx, dword [esi]
push edx
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov dword [0x46a16c], eax
mov eax, edi
sub eax, dword [esi]
sub eax, 0xc
push 0
push 0
push eax
push ebx
call sub.KERNEL32.DLL_SetFilePointer
lea edx, [ebp - 4]
push 0
push edx
mov eax, dword [0x46a16c]
mov ecx, dword [esi]
push ecx
push eax
push ebx
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x40156d
push ebx
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
jmp 0x401576
mov eax, 1
jmp 0x401576
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret