joyce8/EMBER2024-capa huggingface dataset:
Function at 0x568944
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x1c], ebx
test dl, dl
je 0x568967
add esp, 0xfffffff0
call fcn.00405490
mov dword [ebp - 4], ecx
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00406d70
xor eax, eax
push ebp
push 0x568af6
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00404f2c
xor eax, eax
push ebp
push 0x568a79
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00406e14
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
lea edx, [ebx + 1]
mov eax, dword [ebp - 8]
add eax, 8
call fcn.00407104
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
push esi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x568a6f
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x568b20
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x568a6f
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x2c]
mov ecx, 1
mov eax, 0x568b60
call fcn.00415b1c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
add eax, 0xc
call fcn.00406d88
mov eax, dword [ebp - 8]
mov byte [eax + 4], 1
xor esi, esi
mov ebx, 0x5a7a58
lea ecx, [ebp - 0x30]
mov edx, dword [ebx]
mov eax, dword [ebp - 8]
call fcn.00568c1c
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
lea eax, [eax + esi*4 + 0x10]
call fcn.00406d88
inc esi
add ebx, 4
cmp esi, 0xa
jne 0x568a4a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x568acb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x568afd
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00406d80
lea eax, [ebp - 0x1c]
call fcn.00406d78
lea eax, [ebp - 4]
call fcn.00406d78
ret
Function at 0x569e74
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x569f50
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x569ee5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x104
call fcn.0040426c
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
mov eax, esi
mov edx, ebx
call fcn.00406f34
mov eax, ebx
call fcn.00404288
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x569f35
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x569f57
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00406d80
ret

Function at 0x56a6b4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x56a78a
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x56a73c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov ecx, eax
lea edx, [ebp - 0x208]
mov eax, ebx
call fcn.00406ec4
cmp dword [ebx], 0
jne 0x56a732
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x20c]
call fcn.00418dec
mov ecx, dword [ebp - 0x20c]
mov dl, 1
mov eax, dword [0x40e98c]
call fcn.0041978c
call fcn.00405a34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x56a771
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56a791
lea eax, [ebp - 0x20c]
call fcn.00406d78
ret

Function at 0x56a84c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x56a922
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x56a8d4
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov ecx, eax
lea edx, [ebp - 0x208]
mov eax, ebx
call fcn.00406ec4
cmp dword [ebx], 0
jne 0x56a8ca
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x20c]
call fcn.00418dec
mov ecx, dword [ebp - 0x20c]
mov dl, 1
mov eax, dword [0x40e98c]
call fcn.0041978c
call fcn.00405a34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x56a909
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56a929
lea eax, [ebp - 0x20c]
call fcn.00406d78
ret
Function at 0x56af00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 8], edx
xor eax, eax
push ebp
push 0x56b001
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x56afa2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x210]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathW
mov ecx, eax
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 8]
call fcn.00406ec4
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00413724
cmp dword [ebp - 0x214], 0
je 0x56af98
lea ecx, [ebp - 0x218]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [0x5a8044]
mov eax, dword [eax]
call fcn.0057b9a4
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 8]
call fcn.00406d88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x56afe3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56b008
lea eax, [ebp - 0x218]
mov edx, 2
call fcn.00406d80
ret

Function at 0x56b488
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffeec
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 4], 6
setae al
add esp, 0x114
ret
Function at 0x573138
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x57314d
add esp, 0xfffffff0
call fcn.00405490
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x5732fd
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 4]
add eax, 4
xor edx, edx
call fcn.00406d88
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x2d], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x2e], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x2f], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x31], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x32], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x33], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x34], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x35], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x36], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x37], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x38], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x39], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x3c], 0xffffff
mov eax, dword [ebp - 4]
mov byte [eax + 0x40], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x41], 1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x48], 0x18
mov eax, dword [ebp - 4]
mov dword [eax + 0x4c], 0xc
mov eax, dword [ebp - 4]
mov byte [eax + 0x50], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x5c], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x7c], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x7d], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1f4], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1f5], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1f6], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1f7], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1f8], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1f9], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1fa], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1fb], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1fc], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x220], 0
mov eax, dword [ebp - 4]
add eax, 0x58
mov edx, 0x573360
call fcn.00406d88
mov eax, dword [ebp - 4]
add eax, 0x64
mov edx, 0x573360
call fcn.00406d88
mov eax, dword [ebp - 4]
mov byte [eax + 0x221], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x228], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x230], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x248], 0
mov eax, dword [ebp - 4]
add eax, 0x244
xor edx, edx
call fcn.00406d88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x573330
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x573348
call fcn.004054e8
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x57a968
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x57aae7
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
xor eax, eax
push ebp
push 0x57aa81
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 1
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0057c87c
test al, al
jne 0x57a9c5
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57aac4
lea eax, [ebp - 0x1c]
xor ecx, ecx
mov edx, 0x10
call fcn.004048c8
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x44
call fcn.004048c8
mov dword [ebp - 0x60], 0x44
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00406ddc
lea edx, [ebp - 0x64]
mov eax, esi
call fcn.00413724
cmp dword [ebp - 0x64], 0
je 0x57aa31
push 0x57ab04
push dword [ebp - 0xc]
push 0x57ab04
push 0x57ab14
lea edx, [ebp - 0x68]
mov eax, esi
call fcn.00413724
push dword [ebp - 0x68]
lea eax, [ebp - 4]
mov edx, 5
call fcn.00407340
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00406e14
push eax
push 0
call sub.kernel32.dll_CreateProcessW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x57aa75
push 0xffffffffffffffff
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x57aa77
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57aac4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57aaee
lea eax, [ebp - 0x6c]
mov edx, 3
call fcn.00406d80
lea eax, [ebp - 4]
call fcn.00406d78
ret
Function at 0x57abd8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x57ad5e
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x57ad03
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x3c
call fcn.004048c8
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], 0x40
mov eax, 0x57ad74
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 8]
call fcn.00406e14
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
call fcn.00406e14
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 1
lea eax, [ebp - 0x50]
push eax
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x57acbb
cmp byte [ebp + 8], 0
je 0x57acf9
mov eax, dword [0x5a7f54]
mov eax, dword [eax]
call fcn.004fa200
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp dword [ebp - 0x14], 0x103
jne 0x57aca3
mov eax, dword [0x5a7f54]
mov eax, dword [eax]
cmp byte [eax + 0xa4], 0
je 0x57ac71
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
jmp 0x57acf9
mov byte [ebp - 9], 0
xor edx, edx
push ebp
push 0x57acdc
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.0041bdd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57acf9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57ad48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57ad65
lea eax, [ebp - 0x54]
call fcn.00406d78
ret
Function at 0x57e814
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x57e9eb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x25c]
mov ecx, 0x57ea08
mov edx, dword [ebp - 4]
call fcn.0040725c
mov eax, dword [ebp - 0x25c]
call fcn.00406e14
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x57e9cd
xor eax, eax
push ebp
push 0x57e9c6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x57e944
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a7f54]
mov eax, dword [eax]
call fcn.004fa200
test dword [ebp - 0x258], 0x10
jbe 0x57e907
cmp word [ebp - 0x22c], 0x2e
je 0x57e907
mov eax, dword [ebp + 8]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x22c]
mov ecx, 0x104
call fcn.00406f88
push dword [ebp - 0x264]
push 0x57ea18
lea eax, [ebp - 0x260]
mov edx, 3
call fcn.00407340
mov eax, dword [ebp - 0x260]
call fcn.0057e814
pop ecx
jmp 0x57e922
mov eax, dword [ebp - 0x23c]
mov edx, eax
neg eax
add eax, dword [ebp - 0x238]
xor edx, edx
mov ecx, dword [ebp + 8]
add dword [ecx - 8], eax
adc dword [ecx - 4], edx
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x57e89f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57e9a9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57e9cd
cmp dword [ebp - 8], 0xffffffff
je 0x57e9c5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57e9f2
lea eax, [ebp - 0x268]
mov edx, 4
call fcn.00406d80
ret

Function at 0x580684
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5807a8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x58073c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x26]
xor ecx, ecx
mov edx, 0x1e
call fcn.004048c8
lea eax, [ebp - 0x226]
xor ecx, ecx
mov edx, 0x200
call fcn.004048c8
lea eax, [ebp - 0x226]
mov edx, dword [ebp - 8]
call fcn.004156e4
xor eax, eax
mov dword [ebp - 0x26], eax
lea eax, [ebp - 0x226]
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x22], 3
mov word [ebp - 0x16], 0x10
or word [ebp - 0x16], 4
lea eax, [ebp - 0x26]
push eax
call sub.shell32.dll_SHFileOperationW
test eax, eax
sete bl
test bl, bl
je 0x58072a
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0057de50
test al, al
jne 0x58072e
xor eax, eax
jmp 0x580730
mov al, 1
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x58078f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5807af
lea eax, [ebp - 0x22c]
call fcn.00406d78
ret
Function at 0x58d6a8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push 0
mov eax, dword [0x5a7f54]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x5a7f54]
mov eax, dword [eax]
mov ebx, dword [eax + 0x170]
push ebx
call sub.user32.dll_GetWindowLongW
and eax, 0xfffbffff
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x5a7f54]
push ebx
call sub.user32.dll_SetWindowLongW
push 5
mov eax, dword [0x5a7f54]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x40a6a2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edx, 0x80000000
mov eax, dword [esi]
mov dword [esi + 4], ebx
lea ecx, [ebp - 0x14]
and byte [eax], bl
call fcn.004a58a0
cmp dword [ebp - 0x14], 0x80000004
jb 0x40a6fb
lea edx, [ebx - 0x7ffffffe]
lea ecx, [ebp - 0x14]
call fcn.004a58a0
lea edi, [ebp - 0x14]
mov dword [ebp - 4], 4
mov edx, dword [edi]
mov ecx, esi
call fcn.0040a746
add edi, 4
dec dword [ebp - 4]
jne 0x40a6e4
inc ebx
cmp ebx, 3
jb 0x40a6cc
mov ecx, esi
call fcn.00402bce
mov ecx, esi
call fcn.00402b91
cmp dword [esi + 4], 0
jne 0x40a741
xor edx, edx
lea ecx, [ebp - 0x14]
call fcn.004a58a0
push 1
pop edi
mov eax, edi
mov ecx, esi
shr eax, 1
xor eax, edi
mov edx, dword [ebp + eax*4 - 0x14]
call fcn.0040a746
inc edi
cmp edi, 4
jb 0x40a71c
mov ecx, esi
call fcn.00402bce
mov ecx, esi
call fcn.00402b91
pop edi
pop esi
pop ebx
leave
ret
Function at 0x413c8b
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x4aa09f
call fcn.004a50c0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00402f84
and dword [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.00402f84
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00402f84
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.00402f84
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.00402f84
and byte [esi + 0x3c], 0
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 4
call fcn.00402f84
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 5
call fcn.00402f84
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4144a6
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x4aa1ab
call fcn.004a50c0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0040309c
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.0040309c
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.0040309c
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.0040309c
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.0040309c
mov al, byte [edi + 0x3c]
lea ecx, [esi + 0x40]
mov byte [esi + 0x3c], al
lea eax, [edi + 0x40]
push eax
mov byte [ebp - 4], 4
call fcn.0040309c
add edi, 0x4c
lea ecx, [esi + 0x4c]
push edi
mov byte [ebp - 4], 5
call fcn.0040309c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x41a0c3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 4]
push ebx
push esi
mov esi, dword [ecx]
xor edx, edx
push edi
test eax, eax
mov ebx, 0x159a55e5
mov edi, 0x1f123bb5
mov dword [ebp - 4], eax
jbe 0x41a113
mov eax, 0xffff
mov ecx, ebx
and ecx, eax
imul ecx, ecx, 0x9069
shr ebx, 0x10
add ebx, ecx
mov ecx, edi
and ecx, eax
imul ecx, ecx, 0x4650
shr edi, 0x10
add edi, ecx
mov ecx, edi
xor cl, byte [ebp + 8]
mov byte [edx + esi], cl
inc edx
cmp edx, dword [ebp - 4]
jb 0x41a0e7
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41a11a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ecx + 4]
and dword [ebp - 4], 0
mov ecx, dword [ecx]
push ebx
push edi
push 1
pop edx
mov edi, 0x159a55e5
test eax, eax
mov ebx, 0x1f123bb5
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], edx
jbe 0x41a2de
push esi
mov esi, 0xffff
jmp 0x41a157
push 1
pop edx
mov eax, edi
and eax, esi
imul eax, eax, 0x9069
shr edi, 0x10
add edi, eax
mov eax, ebx
and eax, esi
imul eax, eax, 0x4650
shr ebx, 0x10
add ebx, eax
mov eax, edi
shl eax, 0x10
add eax, ebx
xor eax, dword [ebp + 0xc]
mov ecx, eax
and ecx, edx
shr eax, 1
test ecx, ecx
mov dword [ebp - 8], eax
je 0x41a2c5
cmp dword [ebp - 4], 0x400
jb 0x41a2c5
lea ecx, [ebp - 8]
call fcn.0041a2e4
mov ecx, eax
mov eax, dword [ebp - 8]
shr dword [ebp - 8], 3
and eax, 7
inc ecx
test eax, eax
mov dword [ebp - 0xc], ecx
je 0x41a28e
lea ecx, [ebp - 8]
call fcn.0041a2e4
add dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
push 1
pop eax
shl eax, cl
cmp eax, dword [ebp - 4]
jae 0x41a1e3
push 1
inc ecx
pop eax
shl eax, cl
cmp eax, dword [ebp - 4]
jb 0x41a1d5
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
cmp eax, ecx
mov dword [ebp - 0x10], eax
jbe 0x41a1f0
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x15
mov dword [ebp - 0x18], 5
ja 0x41a204
mov dword [ebp - 0x18], 4
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
push 1
pop eax
shl eax, cl
mov ecx, edi
and ecx, esi
imul ecx, ecx, 0x9069
shr edi, 0x10
add edi, ecx
mov ecx, ebx
and ecx, esi
dec eax
imul ecx, ecx, 0x4650
shr ebx, 0x10
add ebx, ecx
mov ecx, edi
shl ecx, 0x10
add ecx, ebx
and eax, edx
xor ecx, dword [ebp + 0xc]
add eax, 6
cmp eax, dword [ebp - 0x10]
mov edx, ecx
mov dword [ebp - 8], edx
ja 0x41a207
mov dword [ebp - 0x24], 1
mov ecx, eax
mov eax, dword [ebp - 0x24]
shl eax, cl
dec eax
and eax, edx
cmp eax, dword [ebp - 4]
jb 0x41a287
mov eax, edi
and eax, esi
imul eax, eax, 0x9069
shr edi, 0x10
add edi, eax
mov eax, ebx
and eax, esi
mov edx, edi
imul eax, eax, 0x4650
shr ebx, 0x10
add ebx, eax
shl edx, 0x10
add edx, ebx
xor edx, dword [ebp + 0xc]
jmp 0x41a207
mov ecx, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 4]
cmp ecx, eax
jbe 0x41a29d
mov dword [ebp - 0xc], eax
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
add dword [ebp - 4], ecx
add eax, edx
mov dword [ebp - 0x24], eax
sub eax, dword [ebp - 0x18]
test ecx, ecx
jbe 0x41a2d1
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x24]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 0x10]
jne 0x41a2b8
jmp 0x41a2d1
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
inc dword [ebp - 4]
mov byte [ecx + edx], al
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x20]
jb 0x41a154
pop esi
pop edi
pop ebx
leave
ret 8