joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415ee0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x118
push ebx
xor ebx, ebx
push ebp
push ebx
push ebx
push 3
mov dword [esp + 0x24], ecx
push ebx
push 1
push SysReAllocString
mov ecx, 0x43bb00
call fcn.004042e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x14], ebp
je 0x415fff
push esi
push edi
push ebx
push ebp
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov dword [esp + 0x18], esi
lea eax, [esi + 1]
push eax
call fcn.0042afd9
mov edi, eax
add esp, 4
cmp edi, ebx
mov dword [esp + 0x14], edi
je 0x415ff6
lea ecx, [esp + 0x10]
push ebx
push ecx
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x415ff6
push 0xa
push edi
mov esi, edi
call fcn.004271a0
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x415fe9
jmp 0x415f78
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, ebp
sub edx, edi
cmp edx, eax
jae 0x415fe9
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], 0
rep stosd dword es:[edi], eax
mov edx, ebp
sub edx, esi
stosw word es:[edi], ax
mov dword [esp + 0x10], edx
dec edx
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x28]
push esi
push eax
call fcn.0042a8c0
mov edx, dword [esp + 0x2c]
add esp, 0xc
lea ecx, [esp + 0x24]
mov eax, ebx
push ecx
push eax
mov eax, dword [edx + 0x58]
push 0x181
push eax
inc ebx
call dword [sym.imp.USER32.dll_SendMessageA]
lea esi, [ebp + 1]
test esi, esi
je 0x415fe5
push 0xa
push esi
call fcn.004271a0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x415f74
mov edi, dword [esp + 0x14]
push edi
call fcn.0042aef0
mov ebp, dword [esp + 0x20]
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
Function at 0x416010
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x158
push ebx
mov ebx, ecx
push edi
mov ecx, 0x12
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x5d]
mov byte [esp + 0x5c], al
lea edx, [esp + 0x5c]
rep stosd dword es:[edi], eax
mov ecx, dword [0x43d7b4]
mov dword [esp + 0x10], 0x4c
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov eax, dword [0x43baf8]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], str.Setup_Log__.log_
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0x104
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], 0x438388
call dword [sym.imp.comdlg32.dll_GetSaveFileNameA]
test eax, eax
je 0x41617c
push 0
push 0
push 2
push 0
push 1
lea edx, [esp + 0x70]
push 0x40000000
push edx
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
test eax, eax
mov dword [esp + 8], eax
je 0x41617c
mov ecx, dword [ebx + 0x58]
push ebp
lea eax, [esp + 0x60]
push esi
push eax
push 0
push 0x189
push ecx
mov ebp, 1
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x41616f
lea edi, [esp + 0x64]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41616f
mov edi, 0x437ae0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x64]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
lea eax, [esp + 0x18]
rep movsb byte es:[edi], byte [esi]
push eax
lea edi, [esp + 0x6c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x18]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x70]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebx + 0x58]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x64]
mov eax, ebp
push ecx
push eax
push 0x189
push edx
inc ebp
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x4160e1
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x158
ret
Function at 0x417940
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x2c
push esi
push edi
mov edi, dword [esp + 0x3c]
mov esi, ecx
test edi, edi
mov dword [esp + 0x18], esi
je 0x417a81
mov eax, dword [esp + 0x38]
test eax, eax
je 0x417a81
mov ecx, dword [edi]
lea eax, [esp + 0x1c]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x417a81
mov edx, dword [esi + 4]
push ebx
push ebp
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
push ebx
mov dword [esp + 0x20], ebx
call esi
mov ecx, dword [edi]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push eax
mov dword [esp + 0x18], eax
call ebp
push ebx
mov dword [esp + 0x1c], eax
call esi
mov esi, dword [esp + 0x48]
mov edi, eax
push esi
push esi
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
mov eax, dword [esp + 0x28]
xor edx, edx
xor ecx, ecx
div esi
mov dword [esp + 0x48], ecx
test eax, eax
jbe 0x417a34
mov dword [esp + 0x44], ecx
push ebx
push edi
call ebp
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
push 0xcc0020
push 0
push eax
push ecx
push esi
push esi
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x14]
push edx
push edi
call ebp
mov eax, dword [esp + 0x40]
push 0xffffff
push ebx
mov ecx, dword [eax]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov eax, dword [esp + 0x44]
xor edx, edx
add eax, esi
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
div esi
inc ecx
mov dword [esp + 0x48], ecx
cmp ecx, eax
jb 0x4179d4
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
push edx
push esi
call ebp
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push eax
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
test ebx, ebx
je 0x417a5e
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
test edi, edi
je 0x417a6b
push edi
call ebx
test esi, esi
je 0x417a72
push esi
call ebx
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x2c
ret 0xc
pop edi
xor eax, eax
pop esi
add esp, 0x2c
ret 0xc
Function at 0x418980
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa8
mov eax, dword [esp + 0xac]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x38]
push eax
lea ebx, [edi + 0x38]
push 4
push 0x110a
push ecx
mov dword [esp + 0x24], edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0x10], ebp
je 0x418b6a
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x6c]
lea edx, [esp + 0x68]
rep stosd dword es:[edi], eax
mov eax, dword [ebx]
push edx
push ebp
push 0x110c
push eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], 0x22
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4189f8
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x10], ecx
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x94]
lea edx, [esp + 0x90]
rep stosd dword es:[edi], eax
mov eax, dword [ebx]
push edx
push ebp
push 0x110c
push eax
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], 4
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0xb4]
neg eax
sbb eax, eax
and eax, edx
mov edi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x418a52
cmp eax, 1
jne 0x418b31
mov eax, dword [esp + 0xc4]
cmp eax, ebp
je 0x418a62
cmp eax, 1
jne 0x418a79
mov eax, dword [esp + 0xc0]
push ebp
push ebp
push ebp
push eax
push eax
push ebp
push 0x22
push esi
mov ecx, ebx
call fcn.00419150
mov eax, dword [esp + 0xc4]
cmp eax, 3
jne 0x418ae2
cmp dword [edi + 4], ebp
je 0x418aa1
push ebp
push ebp
push ebp
push 1
push 1
push ebp
push 0x22
push esi
mov ecx, ebx
call fcn.00419150
jmp 0x418b31
mov edx, dword [ebx]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], esi
push ecx
push ebp
push 0x110d
mov dword [esp + 0x24], 0x22
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x48], ebp
push edx
jmp 0x418b2b
cmp eax, 2
jne 0x418b31
cmp dword [edi + 0xc], ebp
jne 0x418a8a
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx]
lea eax, [esp + 0x40]
push eax
push ebp
push 0x110d
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 0x22
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x70], ebp
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x14]
push edx
push eax
push esi
call fcn.00418980
mov ecx, dword [ebx]
push esi
push 1
push 0x110a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
cmp esi, ebp
jne 0x4189bc
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0xbc]
cmp eax, 0xffff0000
je 0x418b80
push eax
mov ecx, edi
call fcn.004186c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret 0xc
Function at 0x419f1b
Capabilities:
Get disk information
Hide graphical window

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
push eax
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x43d848]
cmp eax, 3
je 0x419f42
cmp eax, 7
je 0x419f42
cmp eax, 4
jne 0x419f58
mov cl, byte [0x43bc41]
test cl, cl
jne 0x419f58
mov ecx, esi
call fcn.0041a090
mov eax, dword [0x43d848]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 6
jne 0x419fb5
mov ecx, dword [esi + 4]
push 0x412
push ecx
call ebp
test eax, eax
mov eax, 0x437678
jne 0x419f82
mov eax, 0x437674
push 0x43bc58
push eax
push str.RemoveFolder
push str.UNINSTALL
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov edx, dword [esi + 0x28]
push 0
push 0
push 0x18b
push edx
call edi
test eax, eax
jne 0x419fb5
mov ecx, 0x43bc08
call fcn.0040ebd0
mov al, byte [0x43bc41]
test al, al
je 0x41a059
push 2
lea eax, [esp + 0x14]
push 0x43c41a
push eax
mov byte [esp + 0x1c], 0
mov word [esp + 0x1d], 0
call fcn.00429dad
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x41a043
push 0xffffffffffffffff
lea edx, [esp + 0x18]
push 0x83
push edx
call fcn.004249d0
mov eax, dword [esp + 0x20]
push 0
push 0x40
push eax
call fcn.00424c50
mov eax, dword [esp + 0x2c]
mov edx, dword [0x43734c]
add esp, 0x18
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41a043
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41a043
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.004292c0
add esp, 4
mov eax, dword [esi + 4]
push 0x3f4
push eax
call ebp
test eax, eax
je 0x41a059
mov byte [0x43c085], 1
mov ecx, dword [esi + 4]
push ecx
call ebx
mov esi, eax
push 0x3f0
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 0x3f0
push 0x111
push esi
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 0x10
Function at 0x41a5d6
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x104
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x38]
lea ecx, [esp + 8]
push eax
push 0x4383ec
push ecx
call fcn.00429590
mov eax, dword [esi + 4]
add esp, 0xc
lea edx, [esp + 8]
push 5
push 0
push edx
push str.notepad.exe
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
xor eax, eax
pop esi
add esp, 0x104
ret 0x10

Function at 0x41acfe
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x130
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov esi, ecx
push edi
push 2
push 0xffffffffffffffff
mov eax, dword [esi + 0x24]
xor ebx, ebx
push 0x100c
push eax
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], bl
call ebp
mov edx, eax
cmp edx, ebx
jl 0x41adb6
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x12]
lea eax, [esp + 0x14]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x24]
push eax
push edx
push 0x102d
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], 2
call ebp
cmp byte [esp + 0x12], bl
je 0x41adb6
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], bl
rep stosd dword es:[edi], eax
mov edx, dword [esi + 4]
push 0x40f
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push edx
call edi
lea ecx, [esp + 0x3c]
push 0x104
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [esi + 4]
mov dl, byte [esp + 0x12]
push 0x40f
push eax
mov byte [esp + 0x44], dl
call edi
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x130
ret 0xc

Function at 0x41add6
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
push 0x40f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 8]
push 0x208
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x104
jbe 0x41ae4f
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0x3eb
push 0x1410
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
xor eax, eax
pop esi
add esp, 0x208
ret 0x10
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.0041c000
pop edi
xor eax, eax
pop esi
add esp, 0x208
ret 0x10
Function at 0x41c600
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call fcn.00424c00
mov al, byte [0x43c083]
add esp, 4
test al, al
je 0x41c650
cmp dword [0x43d848], 3
jne 0x41c650
mov ecx, dword [esi + 4]
push 0x3ee
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push 1
push 0x3ee
push edx
call dword [sym.imp.USER32.dll_CheckDlgButton]
xor eax, eax
pop esi
ret 8
mov eax, dword [esi + 4]
push 0x3ee
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8
Function at 0x41d6b0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 0
push eax
call edi
mov ecx, dword [esi + 0x20]
push 5
push ecx
call edi
mov eax, dword [esi + 0x20]
pop edi
pop esi
ret 0x10

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

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x43d844]
stosw word es:[edi], ax
test ecx, ecx
stosb byte es:[edi], al
je 0x41da38
mov eax, dword [ecx]
call dword [eax + 0x14]
push eax
push 0x43c41a
lea ecx, [esp + 0x1c]
push str._slics_d.txt
push ecx
call fcn.00429590
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
lea edx, [esp + 0x28]
push SysReAllocString
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41da69
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x108
ret
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.0042afd9
mov esi, eax
add esp, 4
test esi, esi
jne 0x41daa3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0042aef0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
lea ecx, [esp + 0x10]
push 0
push ecx
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41dad4
push esi
call fcn.0042aef0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x108
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ebx, [edi + 0x64]
mov byte [esi + edi], 0
push ebx
call fcn.00429728
mov edx, dword [0x43c08c]
add esp, 4
mov edi, eax
mov ecx, ebp
push ebx
push edi
push esi
push edx
call fcn.0041db30
mov eax, dword [ebp + 4]
push edi
push 0x3f1
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push edi
call fcn.004292c0
push esi
call fcn.0042aef0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x41def2
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
push eax
call fcn.00424c00
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 4
push 0x414
push ecx
call edi
push 0x43c212
push eax
mov dword [esi + 0x30], eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [esi + 4]
push 0x413
push edx
call edi
mov ecx, esi
mov dword [esi + 0x34], eax
call fcn.0041e7e0
mov al, byte [0x43c086]
mov ebp, dword [sym.imp.USER32.dll_CheckDlgButton]
test al, al
push 0x443
je 0x41df6b
mov eax, dword [esi + 4]
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebx
mov ecx, dword [esi + 4]
push 1
push 0x443
push ecx
call ebp
jmp 0x41df7c
mov edx, dword [esi + 4]
push edx
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
mov al, byte [0x43c087]
test al, al
je 0x41dfb4
mov al, byte [0x43caf4]
test al, al
jne 0x41dfb4
mov eax, dword [esi + 4]
push 0x444
push eax
call edi
push 5
push eax
call ebx
mov ecx, dword [esi + 4]
push 1
push 0x444
push ecx
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
mov edx, dword [esi + 4]
push 0x444
push edx
call edi
push 0
push eax
call ebx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8

Function at 0x41e7e0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x244
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x14d]
mov byte [esp + 0x14c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14c]
push 0x104
push eax
mov ecx, esi
call fcn.0041e8d0
lea ecx, [esp + 0x14c]
push 0x43842c
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0xc]
lea eax, [esp + 0x14c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x41e853
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x244
ret
mov al, byte [esp + 0xc]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
test al, 0x10
je 0x41e87a
cmp byte [esp + 0x38], 0x2e
je 0x41e87a
mov edx, dword [esi + 0x34]
lea ecx, [esp + 0x38]
push ecx
push 0
push 0x180
push edx
call edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [esp + 0x10]
push eax
push ebp
call ebx
test eax, eax
je 0x41e8af
test byte [esp + 0x10], 0x10
je 0x41e881
cmp byte [esp + 0x3c], 0x2e
je 0x41e881
mov edx, dword [esi + 0x34]
lea ecx, [esp + 0x3c]
push ecx
push 0
push 0x180
push edx
call edi
jmp 0x41e881
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x244
ret
Function at 0x41e8d0
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x9c
lea eax, [esp + 8]
push esi
mov esi, ecx
push eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x1c], 2
jne 0x41e91c
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
push ecx
push edx
mov ecx, esi
call fcn.0041e9b0
pop esi
add esp, 0x9c
ret 8
lea eax, [esp + 4]
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [esp + 0xa4]
test eax, eax
jne 0x41e96e
mov eax, dword [esp + 4]
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0xc]
push esi
push edx
push 0
push str.Programs
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x41e994
mov edx, dword [esp + 0xa8]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.Start_MenuPrograms
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, 1
pop esi
add esp, 0x9c
ret 8

Function at 0x41e9b0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push esi
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [esp + 0x10]
test eax, eax
jne 0x41ea10
mov ecx, dword [esp + 0x14]
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push esi
push eax
push 0
push str.Common_Programs
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x14], eax
mov eax, 1
pop esi
add esp, 8
ret 8
Function at 0x41ee30
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xc
push edi
mov edi, ecx
mov eax, dword [edi + 4]
push eax
call fcn.00424c00
mov eax, dword [0x43d848]
add esp, 4
cmp eax, 6
push 1
jne 0x41ee5f
mov ecx, dword [edi + 4]
push 0x402
push ecx
call dword [sym.imp.USER32.dll_CheckDlgButton]
jmp 0x41ee78
mov edx, dword [edi + 4]
push 0x406
push edx
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov dword [0x43d848], 7
push 0
mov ecx, edi
call fcn.0041f4b0
mov al, byte [0x43c084]
test al, al
jne 0x41eefd
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push esi
mov dword [esp + 0x10], 0x406
mov dword [esp + 0x14], 0x3f8
mov dword [esp + 0x18], 0x3f7
lea esi, [esp + 0x10]
mov ebx, 3
mov eax, dword [esi]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call ebp
add esi, 4
dec ebx
jne 0x41eeb4
mov edx, dword [edi + 4]
push 0x406
push edx
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
pop esi
pop ebp
test eax, eax
pop ebx
je 0x41eefd
mov dword [0x43d848], 4
mov eax, dword [edi + 4]
push 1
push 0x401
push eax
call dword [sym.imp.USER32.dll_CheckDlgButton]
xor eax, eax
pop edi
add esp, 0xc
ret 8