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

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x4067e6
mov eax, dword [0x40a914]
cmp eax, 0xffffffff
je 0x4067dd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a914], 0xffffffff
jmp 0x406859
cmp dword [0x442aa0], ebx
je 0x406859
cmp byte [0x4426a0], bl
je 0x406825
cmp dword [0x40a914], 0xffffffff
jne 0x40682e
push 4
push 0x40000000
push 0x4426a0
call fcn.00406183
cmp eax, 0xffffffff
mov dword [0x40a914], eax
je 0x406859
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a914], 0xffffffff
je 0x406859
push esi
mov esi, 0x446ae0
push 0x40aae8
push esi
call fcn.004064d7
lea eax, [ebp + 8]
push ebx
push eax
push esi
call fcn.004064ca
push eax
push esi
push dword [0x40a914]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x406a01
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x44228c], esi
push edi
jne 0x406a3b
mov ecx, 0x442288
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x406a17
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x442688
jl 0x406a12
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x406a70
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x442288]
xor eax, esi
inc ecx
dec edx
jne 0x406a53
pop edi
pop esi
not eax
ret 0xc

Function at 0x5d8e55
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x5d8b64
pop ebx
sub edi, 0x51633546
dec edi
add edi, eax
call fcn.005d8ea7
add edi, 0x1f9efc20
xor dword [edx], ebx
add edi, 0x5fb701eb
sub esp, 4
mov dword [esp], eax
pop eax
sub eax, edi
add edx, 2
sub eax, eax
add edi, 0x8d41e85
dec edi
cmp edx, esi
jl fcn.005d8e55
and eax, edi
ret
Function at 0x403380
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70cbbb
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x804580]
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
lea ecx, [ebp - 0x468]
call fcn.0043c00b
lea ecx, [ebp - 0x468]
mov dword [ebp - 4], 0
call fcn.0043c03f
mov edi, eax
mov byte [ebp - 0x439], 1
neg edi
sbb edi, edi
and edi, 0x10000
xor esi, esi
cmp esi, 0xe0
jae 0x4034e9
push dword [esi + 0x804008]
lea eax, [ebp - 0x420]
mov dword [ebp - 0x444], 0
push dword [esi + 0x804004]
mov dword [ebp - 0x440], 0
push 0x104
push eax
call fcn.00404b80
mov ecx, dword [esi + 0x804014]
add esp, 0x10
mov ebx, eax
or ecx, edi
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x444]
push eax
push ecx
push dword [esi + 0x80400c]
lea eax, [ebp - 0x420]
push eax
push dword [esi + section..data]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x4034e2
mov dword [ebp - 0x428], eax
mov word [ebp - 0x438], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x424], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403481
sub eax, edx
lea ecx, [ebp - 0x438]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004050a0
push dword [esi + 0x804010]
lea eax, [ebp - 0x438]
push eax
call fcn.00401d70
add esp, 8
lea ecx, [ebp - 0x438]
test al, al
je 0x4034d4
call fcn.00402710
add esi, 0x1c
test ebx, ebx
jns 0x4033e0
jmp 0x4034e9
mov byte [ebp - 0x439], 0
call fcn.00402710
jmp 0x4034e9
mov byte [ebp - 0x439], 0
lea ecx, [ebp - 0x468]
call fcn.0043c01e
mov al, byte [ebp - 0x439]
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.00438587
mov esp, ebp
pop ebp
ret
Function at 0x4039c0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70cc5b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x804580]
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
lea ecx, [ebp - 0x240]
call fcn.0043c00b
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], 0
call fcn.0043c03f
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov edi, eax
neg edi
sbb edi, edi
and edi, 0x100
add edi, 0xf003f
xor esi, esi
nop word [eax + eax]
push dword [esi + 0x804008]
lea eax, [ebp - 0x218]
push dword [esi + 0x804004]
push 0x104
push eax
call fcn.00404b80
add esp, 0x10
cmp byte [esi + 0x804018], 0
je 0x403a6a
lea eax, [ebp - 0x218]
push eax
push dword [esi + section..data]
call ebx
jmp 0x403ab3
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push eax
push edi
push 0
lea eax, [ebp - 0x218]
push eax
push dword [esi + section..data]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403ab3
push dword [esi + 0x80400c]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0x1c
cmp esi, 0xe0
jb 0x403a30
lea ecx, [ebp - 0x240]
call fcn.0043c01e
mov al, 1
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.00438587
mov esp, ebp
pop ebp
ret

Function at 0x403b10
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70cc98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x804580]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 9
xor eax, eax
mov dword [ebp - 0x18], 0
push str.SoftWare_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004050a0
push 0xb
push 0x720a10
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00404f20
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
push ecx
push 0xf013f
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403bb5
push str.LoginUserInfo
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x403beb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403be1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c04
push edx
push ecx
call fcn.004382df
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00438587
mov esp, ebp
pop ebp
ret
call fcn.004c75d7
int3
Function at 0x40a670
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, ecx
mov eax, dword [edi + 0xa0]
test eax, eax
je 0x40a767
lea ecx, [ebp - 4]
push ecx
push eax
mov eax, dword [edi + 0x48]
call eax
mov eax, dword [ebp - 4]
add esp, 8
test eax, eax
je 0x40a767
push eax
mov eax, dword [edi + 0x50]
call eax
add esp, 4
test al, al
je 0x40a767
mov eax, dword [edi + 0x54]
push esi
push dword [edi + 0xa0]
call eax
add esp, 4
test eax, eax
je 0x40a70f
mov eax, dword [edi + 0xa8]
test eax, eax
je 0x40a6e0
push eax
call fcn.00438736
add esp, 4
mov dword [edi + 0xa8], 0
mov eax, dword [edi + 0x58]
lea esi, [edi + 0xac]
push 0
push esi
push 0
push dword [ebp - 4]
call eax
push dword [esi]
call fcn.0043872d
push 1
push esi
push eax
push dword [ebp - 4]
mov dword [edi + 0xa8], eax
mov eax, dword [edi + 0x58]
call eax
add esp, 0x24
cmp dword [edi + 0xa8], 0
je 0x40a766
cmp dword [edi + 0xdc], 8
lea eax, [edi + 0xc8]
jb 0x40a729
mov eax, dword [eax]
push 0
push 2
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40a766
push 0
lea eax, [ebp - 8]
push eax
push dword [edi + 0xac]
push dword [edi + 0xa8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x40a784
push eax
mov eax, dword [edi + 0x4c]
call eax
add esp, 4
mov dword [edi + 0xa4], 0
mov eax, dword [edi + 0x9c]
call eax
mov dword [edi + 0xa0], 0
mov eax, dword [0x8176f8]
test eax, eax
je 0x40a7b0
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x8176f8], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0x4c], 0
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40b880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
jle 0x40b98a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
sub eax, 0xffffff80
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
lea esi, [ecx + 2]
sub ecx, eax
lea edx, [eax + 2]
add ecx, 0xfffffffe
lea eax, [edi - 1]
mov dword [ebp + 0x14], edx
shr eax, 3
inc eax
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
nop
movzx eax, byte [edx - 2]
add ecx, edx
push ecx
push ecx
push dword [ebp - 0xc]
mov byte [ecx], al
movzx eax, byte [edx - 1]
mov byte [esi - 1], al
movzx eax, byte [edx]
mov byte [esi], al
movzx eax, byte [edx + 1]
mov byte [esi + 1], al
movzx eax, byte [edx + 2]
mov byte [esi + 2], al
movzx eax, byte [edx + 3]
mov byte [esi + 3], al
movzx eax, byte [edx + 4]
mov byte [esi + 4], al
movzx eax, byte [edx + 5]
mov byte [esi + 5], al
mov edi, dword [edx - 2]
mov ebx, dword [edx + 2]
call fcn.0040ab20
mov ecx, dword [ebp + 8]
lea esi, [esi + 8]
mov edx, dword [ebp + 0x14]
add esp, 0xc
movzx eax, byte [ecx + 0x100]
mov ecx, dword [ebp - 8]
xor byte [edx + ecx], al
add edx, 8
mov ecx, dword [ebp + 8]
mov dword [ebp + 0x14], edx
movzx eax, byte [ecx + 0x101]
xor byte [esi - 9], al
movzx eax, byte [ecx + 0x102]
xor byte [esi - 8], al
movzx eax, byte [ecx + 0x103]
xor byte [esi - 7], al
movzx eax, byte [ecx + 0x104]
xor byte [esi - 6], al
movzx eax, byte [ecx + 0x105]
xor byte [esi - 5], al
movzx eax, byte [ecx + 0x106]
xor byte [esi - 4], al
movzx eax, byte [ecx + 0x107]
xor byte [esi - 3], al
sub dword [ebp - 4], 1
mov dword [ecx + 0x100], edi
mov dword [ecx + 0x104], ebx
mov ecx, dword [ebp - 8]
jne 0x40b8c0
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40ddf0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045e3a8
mov esi, eax
test esi, esi
je 0x40de1c
mov edx, dword [esi]
mov ecx, esi
push str.imgbtn
call dword [edx + 4]
test eax, eax
je 0x40de1c
mov eax, esi
pop esi
pop ebp
ret 8
mov ecx, dword [0x818088]
test ecx, ecx
je 0x40de2f
call fcn.004589c6
mov esi, eax
jmp 0x40de31
xor esi, esi
push ebx
push edi
push 0x2800
call fcn.004cac09
push 0x5000
mov edi, eax
call fcn.004cac09
push dword [ebp + 0xc]
mov ebx, eax
push dword [ebp + 8]
push str.imgbtn
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.00410670
add esp, 0x24
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x40de9a
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.004cac04
add esp, 4
test esi, esi
je 0x40deee
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x40deee
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.d:pc_mgrpcmgr_master_app_srccommunal_thirdparty_soui_souiincludecore_swnd.h
push edi
push str.soui
push 1
push 0
call dword [edx + 0x34]
push edi
call fcn.004cac04
add esp, 4
xor eax, eax
pop edi
pop ebx
pop esi
pop ebp
ret 8
push 0x2800
call fcn.004cac09
push 0x20e
push str.d:pc_mgrpcmgr_master_app_srccommunal_thirdparty_soui_souiincludecore_swnd.h
push str.SOUI::SWindow::FindChildByName2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push 0x2800
push esi
call fcn.00410630
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004cac04
add esp, 4
push edi
call fcn.004cac04
add esp, 4
xor eax, eax
pop edi
pop ebx
pop esi
pop ebp
ret 8
Function at 0x40df50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045e3a8
mov esi, eax
test esi, esi
je 0x40df7c
mov edx, dword [esi]
mov ecx, esi
push 0x72251c
call dword [edx + 4]
test eax, eax
je 0x40df7c
mov eax, esi
pop esi
pop ebp
ret 8
mov ecx, dword [0x818088]
test ecx, ecx
je 0x40df8f
call fcn.004589c6
mov esi, eax
jmp 0x40df91
xor esi, esi
push ebx
push edi
push 0x2800
call fcn.004cac09
push 0x5000
mov edi, eax
call fcn.004cac09
push dword [ebp + 0xc]
mov ebx, eax
push dword [ebp + 8]
push 0x72251c
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.00410670
add esp, 0x24
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x40dffa
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.004cac04
add esp, 4
test esi, esi
je 0x40e04e
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x40e04e
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.d:pc_mgrpcmgr_master_app_srccommunal_thirdparty_soui_souiincludecore_swnd.h
push edi
push str.soui
push 1
push 0
call dword [edx + 0x34]
push edi
call fcn.004cac04
add esp, 4
xor eax, eax
pop edi
pop ebx
pop esi
pop ebp
ret 8
push 0x2800
call fcn.004cac09
push 0x20e
push str.d:pc_mgrpcmgr_master_app_srccommunal_thirdparty_soui_souiincludecore_swnd.h
push str.SOUI::SWindow::FindChildByName2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push 0x2800
push esi
call fcn.00410630
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004cac04
add esp, 4
push edi
call fcn.004cac04
add esp, 4
xor eax, eax
pop edi
pop ebx
pop esi
pop ebp
ret 8
Function at 0x40e0b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045e3a8
mov esi, eax
test esi, esi
je 0x40e0dc
mov edx, dword [esi]
mov ecx, esi
push 0x7212a0
call dword [edx + 4]
test eax, eax
je 0x40e0dc
mov eax, esi
pop esi
pop ebp
ret 8
mov ecx, dword [0x818088]
test ecx, ecx
je 0x40e0ef
call fcn.004589c6
mov esi, eax
jmp 0x40e0f1
xor esi, esi
push ebx
push edi
push 0x2800
call fcn.004cac09
push 0x5000
mov edi, eax
call fcn.004cac09
push dword [ebp + 0xc]
mov ebx, eax
push dword [ebp + 8]
push 0x7212a0
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.00410670
add esp, 0x24
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x40e15a
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.004cac04
add esp, 4
test esi, esi
je 0x40e1ae
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x40e1ae
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.d:pc_mgrpcmgr_master_app_srccommunal_thirdparty_soui_souiincludecore_swnd.h
push edi
push str.soui
push 1
push 0
call dword [edx + 0x34]
push edi
call fcn.004cac04
add esp, 4
xor eax, eax
pop edi
pop ebx
pop esi
pop ebp
ret 8
push 0x2800
call fcn.004cac09
push 0x20e
push str.d:pc_mgrpcmgr_master_app_srccommunal_thirdparty_soui_souiincludecore_swnd.h
push str.SOUI::SWindow::FindChildByName2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push 0x2800
push esi
call fcn.00410630
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004cac04
add esp, 4
push edi
call fcn.004cac04
add esp, 4
xor eax, eax
pop edi
pop ebx
pop esi
pop ebp
ret 8
Function at 0x40e210
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045e3a8
mov esi, eax
test esi, esi
je 0x40e23c
mov edx, dword [esi]
mov ecx, esi
push str.window
call dword [edx + 4]
test eax, eax
je 0x40e23c
mov eax, esi
pop esi
pop ebp
ret 8
mov ecx, dword [0x818088]
test ecx, ecx
je 0x40e24f
call fcn.004589c6
mov esi, eax
jmp 0x40e251
xor esi, esi
push ebx
push edi
push 0x2800
call fcn.004cac09
push 0x5000
mov edi, eax
call fcn.004cac09
push dword [ebp + 0xc]
mov ebx, eax
push dword [ebp + 8]
push str.window
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.00410670
add esp, 0x24
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x40e2ba
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.004cac04
add esp, 4
test esi, esi
je 0x40e30e
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x40e30e
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.d:pc_mgrpcmgr_master_app_srccommunal_thirdparty_soui_souiincludecore_swnd.h
push edi
push str.soui
push 1
push 0
call dword [edx + 0x34]
push edi
call fcn.004cac04
add esp, 4
xor eax, eax
pop edi
pop ebx
pop esi
pop ebp
ret 8
push 0x2800
call fcn.004cac09
push 0x20e
push str.d:pc_mgrpcmgr_master_app_srccommunal_thirdparty_soui_souiincludecore_swnd.h
push str.SOUI::SWindow::FindChildByName2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push 0x2800
push esi
call fcn.00410630
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004cac04
add esp, 4
push edi
call fcn.004cac04
add esp, 4
xor eax, eax
pop edi
pop ebx
pop esi
pop ebp
ret 8
Function at 0x40e500
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70d58a
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x804580]
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, ecx
mov dword [ebp - 0x38], ebx
mov eax, dword [0x8176f0]
test eax, eax
jne 0x40e56b
push 0x130
call fcn.00438065
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x40e55d
mov ecx, eax
call fcn.0040dbf0
jmp 0x40e55f
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x8176f0], eax
mov ecx, eax
call fcn.0043c40b
mov edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 7
xor eax, eax
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e590
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004050a0
push 0xf
push str.CleanMaster.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.00404f20
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e6c1
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x30], eax
test eax, eax
je 0x40e6c1
lea ecx, [eax + 1]
push ecx
call fcn.0043872d
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
test esi, esi
je 0x40e6c1
push esi
push dword [ebp - 0x30]
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40e6b8
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x7227c0
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40e6b8
mov ecx, dword [ebp - 0x2c]
push dword [ebp - 0x34]
mov eax, dword [ecx + 8]
mov ebx, eax
movzx edi, word [ecx + 0xe]
shr ebx, 0x10
movzx esi, ax
call fcn.00438736
add esp, 4
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00404050
mov ecx, eax
call fcn.0040dc70
imul eax, dword [ebp - 0x2c], 0x64
mov ecx, dword [ebp - 0x38]
add eax, dword [ebp - 0x34]
imul edx, eax, 0x64
imul eax, ebx, 0x64
add edx, dword [ebp - 0x30]
add eax, esi
imul eax, eax, 0x64
add eax, edi
cmp edx, eax
jg 0x40e6af
mov byte [ecx + 0x3e4], 1
call fcn.0040f370
jmp 0x40e6cf
mov byte [ecx + 0x3e4], 0
jmp 0x40e6ca
push esi
call fcn.00438736
add esp, 4
mov byte [ebx + 0x3e4], 0
mov ecx, ebx
call fcn.0040f050
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40e705
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e6fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e721
push edx
push ecx
call fcn.004382df
add esp, 8
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.00438587
mov esp, ebp
pop ebp
ret
call fcn.004c75d7
int3
Function at 0x4135c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70dbbe
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x804580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi], vtable.CRunSoftUpd.0
mov dword [ebp - 4], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
lea ecx, [esi + 0x38]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
xor eax, eax
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 7
mov word [esi + 0x50], ax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], 7
mov word [esi + 0x68], ax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], 7
mov word [esi + 0x80], ax
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], 7
mov word [esi + 0x98], ax
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], 7
mov word [esi + 0xb0], ax
push eax
xorps xmm0, xmm0
mov byte [ebp - 4], 7
push 0x72152c
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
movsd qword [esi + 0x10], xmm0
call fcn.0040a9c0
mov dword [esi + 0xcc], 1
mov eax, esi
mov dword [esi + 0xd0], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret