joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406720
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5289e3
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x581980]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x234], ax
xor edi, edi
push 0x3f
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall2144Browser
lea esi, [ebp - 0x234]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
call fcn.00403af0
mov byte [ebp - 4], 1
call fcn.00459940
test eax, eax
je 0x40679a
push 0x4b
mov eax, str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall2144Browser
call fcn.00403af0
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call fcn.004f50f0
mov eax, dword [ebp - 0x234]
mov esi, 8
add esp, 0xc
cmp dword [ebp - 0x220], esi
jae 0x4067d1
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x238]
push ecx
push 1
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406866
mov ecx, dword [ebp - 0x238]
lea edx, [ebp - 0x23c]
push edx
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push str.DisplayIcon
push ecx
mov dword [ebp - 0x23c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406866
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x564e58
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], esi
jae 0x406848
lea eax, [ebp + 8]
push 1
push 0
push eax
lea ecx, [ebp - 0x218]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, 1
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x220], esi
jb 0x40688a
mov eax, dword [ebp - 0x234]
push eax
call fcn.004f287e
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], cx
cmp dword [ebp + 0x1c], esi
jb 0x4068b8
mov edx, dword [ebp + 8]
push edx
call fcn.004f287e
add esp, 4
mov eax, edi
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.004f2889
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4068e0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5289e3
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x581980]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x234], ax
xor edi, edi
push 0x3b
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall2144
lea esi, [ebp - 0x234]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
call fcn.00403af0
mov byte [ebp - 4], 1
call fcn.00459940
test eax, eax
je 0x40695a
push 0x47
mov eax, str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall2144
call fcn.00403af0
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call fcn.004f50f0
mov eax, dword [ebp - 0x234]
mov esi, 8
add esp, 0xc
cmp dword [ebp - 0x220], esi
jae 0x406991
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x238]
push ecx
push 1
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406a26
mov ecx, dword [ebp - 0x238]
lea edx, [ebp - 0x23c]
push edx
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push str.DisplayIcon
push ecx
mov dword [ebp - 0x23c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406a26
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x564e58
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], esi
jae 0x406a08
lea eax, [ebp + 8]
push 1
push 0
push eax
lea ecx, [ebp - 0x218]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, 1
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x220], esi
jb 0x406a4a
mov eax, dword [ebp - 0x234]
push eax
call fcn.004f287e
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], cx
cmp dword [ebp + 0x1c], esi
jb 0x406a78
mov edx, dword [ebp + 8]
push edx
call fcn.004f287e
add esp, 4
mov eax, edi
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.004f2889
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x406aa0
Capabilities:
Create process on windows
Get common file path
Get program files directory
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5289a3
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x581980]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push edi
push 0x26
lea eax, [ebp - 0x218]
push eax
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor ecx, ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x406b05
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x234]
call fcn.00403af0
push str.Internet_Exploreriexplore.exe
mov edx, esi
push edx
lea eax, [ebp - 0x250]
push eax
mov byte [ebp - 4], 1
call fcn.00402000
mov ecx, dword [ebp + 8]
mov esi, 8
add esp, 0xc
cmp dword [ebp + 0x1c], esi
jae 0x406b51
lea ecx, [ebp + 8]
mov eax, dword [ebp - 0x250]
cmp dword [ebp - 0x23c], esi
jae 0x406b65
lea eax, [ebp - 0x250]
push 1
push edi
push ecx
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x23c], esi
jb 0x406b8d
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.004f287e
add esp, 4
xor edx, edx
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], edi
mov word [ebp - 0x250], dx
cmp dword [ebp - 0x220], esi
jb 0x406bbd
mov eax, dword [ebp - 0x234]
push eax
call fcn.004f287e
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], cx
cmp dword [ebp + 0x1c], esi
jb 0x406be7
mov edx, dword [ebp + 8]
push edx
call fcn.004f287e
add esp, 4
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.004f2889
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4078d0
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov esi, ecx
mov ecx, str.click
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x407907
test dx, dx
je 0x407903
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x407907
add eax, 4
add ecx, 4
test dx, dx
jne 0x4078e1
xor eax, eax
jmp 0x40790c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4079c3
mov eax, dword [edi + 0x108]
cmp eax, dword [esi + 0x3cc]
jne 0x40795d
mov eax, dword [esi - 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0xf020
push 0x112
push eax
call edi
mov esi, dword [esi + 0x3c0]
test esi, esi
je 0x4079cc
push 0
push 0xf020
push 0x112
push esi
call edi
pop edi
pop esi
pop ebp
ret 4
cmp eax, dword [esi + 0x3d0]
jne 0x4079c3
mov ecx, dword [esi - 0x1c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x4e8], 0
jne 0x4079a2
push 0
push 0
lea edx, [esi - 0x20]
push edx
push 0x406c50
push 0
push 0
mov dword [esi + 0x4f0], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi - 0x20]
call fcn.00405fb0
mov eax, dword [esi - 0x1c]
push 0
push 0
push 0x471
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebp
ret 4
add esi, 0xfffffff0
push esi
call fcn.00411330
pop edi
pop esi
pop ebp
ret 4
Function at 0x409a40
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0xf060
push esi
mov esi, ecx
jne 0x409ab3
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.00405fb0
cmp dword [esi + 0x508], 0
jne 0x409a99
push 0
push 0
push esi
push 0x406c50
push 0
push 0
mov dword [esi + 0x510], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esi + 4]
push 0
push 0
push 0x471
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsZoomed]
push edi
push eax
call ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov edi, eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi + 8]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 4]
push eax
call ebx
cmp eax, edi
je 0x409b3f
push 1
lea ebx, [esi + 0x230]
push str.maxbtn
call fcn.0040b100
push 1
push str.restorebtn
mov esi, eax
call fcn.0040b100
mov ebx, eax
test esi, esi
je 0x409b3f
test ebx, ebx
je 0x409b3f
mov edx, dword [esi]
mov edx, dword [edx + 0xcc]
cmp edi, 1
sete al
movzx ecx, al
push ecx
mov ecx, esi
call edx
mov eax, dword [ebx]
mov eax, dword [eax + 0xcc]
test edi, edi
sete cl
movzx edx, cl
push edx
mov ecx, ebx
call eax
mov eax, dword [ebp + 0xc]
and eax, 0xfff0
pop edi
pop ebx
cmp eax, 0xf120
jne 0x409b59
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov eax, dword [ebp + 0x10]
pop esi
pop ebp
ret 0x10
Function at 0x409f10
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528966
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x581980]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x254]
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40a090
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call fcn.004f50f0
mov edx, dword [ebp - 0x254]
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0
push 0
push str.NewsClientStratRun
push edx
mov dword [ebp - 0x258], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40a083
call fcn.00457950
xor ecx, ecx
push ecx
mov word [ebp - 0x234], cx
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
call fcn.00402710
push str.NewsClient.exe__runhide
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x250]
push eax
mov dword [ebp - 4], 0
call fcn.00402000
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x234]
mov byte [ebp - 4], 1
call fcn.00402120
mov esi, 8
cmp dword [ebp - 0x23c], esi
jb 0x40a038
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.004f287e
add esp, 4
mov ecx, dword [ebp - 0x224]
mov eax, dword [ebp - 0x234]
add ecx, ecx
cmp dword [ebp - 0x220], esi
jae 0x40a054
lea eax, [ebp - 0x234]
mov edx, dword [ebp - 0x254]
push ecx
push eax
push 1
push 0
push str.NewsClientStratRun
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 0x220], esi
jb 0x40a083
mov eax, dword [ebp - 0x234]
push eax
call fcn.004f287e
add esp, 4
mov ecx, dword [ebp - 0x254]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.004f2889
mov esp, ebp
pop ebp
ret

Function at 0x40b430
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
xor esi, esi
call edi
test ax, ax
jns 0x40b448
mov esi, 8
push 2
call edi
test ax, ax
jns 0x40b454
or esi, 1
push 1
call edi
test ax, ax
jns 0x40b460
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x40b46c
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x40b478
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x40c3d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov ebx, eax
cmp dword [edi + 0x1c0], esi
jle 0x40c423
jmp 0x40c3f0
mov eax, dword [edi + 0x1bc]
mov byte [ebp - 1], 0
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [ebp - 1]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ebx
push eax
call edx
cmp byte [ebp - 1], 0
jne 0x40c5c1
inc esi
cmp esi, dword [edi + 0x1c0]
jl 0x40c3f0
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x40c54a
sub eax, 4
je 0x40c497
sub eax, 2
jne 0x40c53f
push ebx
mov dword [ebp + 8], eax
call fcn.004f3b79
mov ecx, dword [edi + 0x13c]
add esp, 4
mov word [ebp + 8], ax
mov edx, dword [ecx]
mov edx, dword [edx + 0xfc]
push inet_addr
lea eax, [ebp + 8]
push eax
push 0x40ff70
call edx
mov esi, eax
test esi, esi
je 0x40c53f
mov eax, dword [esi]
mov edx, dword [eax + 0xf0]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 0x140], 0
je 0x40c53f
mov ecx, dword [edi + 0x154]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x150]
mov word [ebp - 0x10], bx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
xor esi, esi
call ebx
test ax, ax
jns 0x40c4ee
mov esi, 8
push 2
call ebx
test ax, ax
jns 0x40c4fa
or esi, 1
push 1
call ebx
test ax, ax
jns 0x40c506
or esi, 2
push 0x10
call ebx
test ax, ax
jns 0x40c512
or esi, 4
push 0x12
call ebx
test ax, ax
jns 0x40c51e
or esi, 0x20
mov word [ebp - 0xe], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x140]
mov dword [ebp - 0x1c], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x108]
lea eax, [ebp - 0x24]
push eax
call edx
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp ebx, 9
jne 0x40c53f
cmp dword [edi + 0x140], 0
je 0x40c5ae
mov ecx, dword [edi + 0x140]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x40c5ae
mov ecx, dword [edi + 0x140]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd4]
call edx
test al, al
je 0x40c5ae
mov ecx, dword [edi + 0x140]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push str.RichEditUI
call edx
push eax
call fcn.004f37a2
add esp, 8
test eax, eax
je 0x40c5ae
mov eax, dword [edi + 0x140]
cmp byte [eax + 0x4dd], 0
jne 0x40c53f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setns bl
call fcn.0040ecb0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40e790
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
push edi
mov edi, eax
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi]
cmp eax, ecx
je 0x40e7b8
cmp esi, dword [edi + 0x140]
je 0x40e7b8
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x140]
cmp esi, eax
je 0x40e8c7
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
je 0x40e833
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], esi
call ebx
mov ecx, dword [edi + 0x140]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
lea edx, [esp + 8]
push edx
call eax
mov ecx, dword [edi + 0x140]
push 0
push 0
push str.killfocus
call fcn.0040f190
mov dword [edi + 0x140], 0
test esi, esi
je 0x40e8c7
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
cmp eax, edi
jne 0x40e8c7
mov edx, dword [esi]
mov eax, dword [edx + 0xc8]
mov ecx, esi
call eax
test al, al
je 0x40e8c7
mov edx, dword [esi]
mov eax, dword [edx + 0xd4]
mov ecx, esi
call eax
test al, al
je 0x40e8c7
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [edi + 0x140], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 8], 0x15
mov dword [esp + 0xc], esi
call ebx
mov ecx, dword [edi + 0x140]
mov dword [esp + 0x10], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x108]
lea eax, [esp + 8]
push eax
call edx
mov ecx, dword [edi + 0x140]
push 0
push 0
push str.setfocus
call fcn.0040f190
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415520
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, edx
mov edx, dword [ebp + 0x10]
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp + 8]
push edi
mov dword [esi + 0x24], edx
mov dword [esi + 0x35c], eax
mov dword [esi + 0x360], 0
mov dword [esi + 0x28], ecx
mov dword [esi + 0x364], 6
test eax, eax
jne 0x41556d
call fcn.00418630
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push ebx
call eax
lea edi, [esi + 0x10]
call fcn.00418630
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push edi
call eax
mov ecx, dword [esi + 0x35c]
test ecx, ecx
jne 0x41558c
mov edi, dword [ebx]
jmp 0x415595
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov edi, dword [eax]
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
test eax, eax
je 0x4155ab
call fcn.00411870
test al, al
je 0x4155f2
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
test eax, eax
jne 0x4155c1
call fcn.004117d0
test al, al
je 0x4155f2
mov ecx, dword [0x5875f4]
mov edx, dword [esi]
mov eax, dword [edx]
push esi
push ecx
push 0
push edi
push 0
push 0
push 0
push 0
push SysReAllocString
push 0
mov ecx, esi
call eax
push eax
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 4], eax
mov edi, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push edi
call ebx
test eax, eax
je 0x41560e
push edi
call ebx
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x415602
mov ecx, dword [esi + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41e030
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x41e037
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x41e10d
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x567e10]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x567e10]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x567e10]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x567e10]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x567e10]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x567e10]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x567e10]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x567e10]
add ecx, 8
sub edx, 8
dec esi
jne 0x41e050
pop edi
test edx, edx
je 0x41e12a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x567e10]
inc ecx
dec edx
jne 0x41e111
not eax
pop esi
ret

Function at 0x41e8c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ebx
imul esi, dword [ebp + 0xc]
cmp byte [edi], 0
je 0x41e8f6
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 4]
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41e8ec
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
div ebx
pop esi
pop ebp
ret
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x41e907
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x10]
add eax, ecx
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
call fcn.004f4d50
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop esi
pop ebp
ret

Function at 0x41e930
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x41e963
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 8]
push eax
push edi
lea ecx, [ebp - 1]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41e95e
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x41e98e
mov eax, dword [esi + 0x14]
push ebx
mov ebx, dword [esi + 0x18]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x41e975
sub eax, ebx
mov edi, eax
mov edx, dword [esi + 0x10]
push edi
add edx, ebx
push edx
lea eax, [ebp - 1]
push eax
call fcn.004f4d50
add esp, 0xc
add ebx, edi
mov dword [esi + 0x18], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x41e9a3
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x41e99d
cmp byte [esi + 8], 0
je 0x41e99d
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret