joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d3c0
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
call fcn.0040d3b8
test al, al
jne 0x40d3d8
mov byte [esp], 1
jmp 0x40d4b1
mov byte [esp], 0
lea eax, [esp + 4]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
mov ebx, eax
test ebx, ebx
jne 0x40d416
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3f0
jne 0x40d416
lea eax, [esp + 4]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov ebx, eax
test ebx, ebx
je 0x40d4b1
mov eax, 0x400
call fcn.00402978
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x400
push esi
push 2
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_GetTokenInformation
mov ebx, eax
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
test ebx, ebx
je 0x40d4a6
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x42c8cc
call sub.advapi32.dll_AllocateAndInitializeSid
mov ebx, dword [esi]
dec ebx
test ebx, ebx
jl 0x40d49c
inc ebx
xor edi, edi
mov eax, dword [esi + edi*8 + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x40d498
mov byte [esp], 1
jmp 0x40d49c
inc edi
dec ebx
jne 0x40d47f
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_FreeSid
test esi, esi
je 0x40d4b1
mov eax, esi
call fcn.004029a8
mov al, byte [esp]
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x40d4cc
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x40d4fd
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x101
call fcn.00404bcc
jmp 0x40d504
mov eax, ebx
call fcn.0040495c
add esp, 0x108
pop ebx
ret
Function at 0x40d814
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e0c
xor eax, eax
push ebp
push 0x40da07
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404c1c
add eax, 2
mov ecx, 3
cdq
idiv ecx
mov edx, eax
shl edx, 2
mov eax, dword [ebp - 8]
call fcn.00404f4c
mov eax, dword [ebp - 4]
call fcn.00404c1c
add eax, 2
mov ecx, 3
cdq
idiv ecx
mov esi, eax
test esi, esi
jle 0x40d97c
mov ebx, 1
mov eax, dword [ebp - 4]
call fcn.00404c1c
lea edx, [ebx + ebx*2]
cmp eax, edx
jge 0x40d8b6
mov eax, dword [ebp - 4]
call fcn.00404c1c
mov edx, ebx
dec edx
lea edx, [edx + edx*2]
sub eax, edx
push eax
lea eax, [ebp - 4]
call fcn.00404e74
mov edx, ebx
dec edx
lea edx, [edx + edx*2]
add eax, edx
lea edx, [ebp - 0xb]
pop ecx
call fcn.00402b1c
jmp 0x40d8d3
lea eax, [ebp - 4]
call fcn.00404e74
mov edx, ebx
dec edx
lea edx, [edx + edx*2]
add eax, edx
lea edx, [ebp - 0xb]
mov ecx, 3
call fcn.00402b1c
mov al, byte [ebp - 0xb]
mov edx, eax
and dl, 0xfc
and edx, 0xff
shr edx, 2
mov ecx, 0x40da20
mov dl, byte [ecx + edx]
mov byte [ebp - 0xf], dl
and al, 3
mov edi, eax
and edi, 0xff
shl edi, 4
mov dl, byte [ebp - 0xa]
mov eax, edx
and al, 0xf0
and eax, 0xff
shr eax, 4
or edi, eax
mov eax, 0x40da20
mov al, byte [eax + edi]
mov byte [ebp - 0xe], al
and dl, 0xf
mov edi, edx
and edi, 0xff
shl edi, 2
mov al, byte [ebp - 9]
mov edx, eax
and dl, 0xc0
and edx, 0xff
shr edx, 6
or edi, edx
mov edx, 0x40da20
mov dl, byte [edx + edi]
mov byte [ebp - 0xd], dl
and al, 0x3f
and eax, 0xff
mov edx, 0x40da20
mov al, byte [edx + eax]
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 8]
call fcn.00404e74
mov edx, ebx
dec edx
shl edx, 2
lea edx, [eax + edx]
lea eax, [ebp - 0xf]
mov ecx, 4
call fcn.00402b1c
inc ebx
dec esi
jne 0x40d87b
mov eax, dword [ebp - 4]
call fcn.00404c1c
mov ecx, 3
cdq
idiv ecx
dec edx
jne 0x40d9c3
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00404c1c
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.00404e74
mov byte [eax + ebx - 2], 0x3d
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00404c1c
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.00404e74
mov byte [eax + ebx - 1], 0x3d
jmp 0x40d9f1
mov eax, dword [ebp - 4]
call fcn.00404c1c
mov ecx, 3
cdq
idiv ecx
cmp edx, 2
jne 0x40d9f1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00404c1c
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.00404e74
mov byte [eax + ebx - 1], 0x3d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40da0e
lea eax, [ebp - 4]
call fcn.0040495c
ret
Function at 0x40dc6c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x40ddb9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, 0x104
call fcn.0040dc58
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
push 0x11
push edi
call sub.shell32.dll_SHGetSpecialFolderLocation
lea edx, [ebp - 0x38]
xor eax, eax
call fcn.00402cc0
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.0040db5c
mov eax, dword [ebp - 0x34]
call fcn.00404e1c
mov edx, eax
mov eax, esi
call fcn.00404b54
call sub.user32.dll_GetActiveWindow
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xc]
push eax
push 0x11
mov eax, dword [ebp - 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, 0x104
call fcn.0040dc58
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x1d0
mov eax, 0x40dc20
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
call fcn.00404e1c
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
push eax
call sub.shell32.dll_SHBrowseForFolderA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40dd9e
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x40dd9e
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x10]
call fcn.00404b54
mov eax, dword [ebp - 0x3c]
call fcn.00404c1c
mov edx, dword [ebp - 0x10]
cmp byte [edx + eax - 1], 0x5c
jne 0x40dd71
mov eax, esi
mov edx, dword [ebp - 0x10]
call fcn.00404b54
jmp 0x40dd9c
lea eax, [ebp - 0x140]
mov edx, dword [ebp - 0x10]
call fcn.00403914
lea edx, [ebp - 0x140]
lea eax, [ebp - 0x40]
call fcn.00404bc0
mov edx, dword [ebp - 0x40]
mov eax, esi
mov ecx, 0x40ddd4
call fcn.00404c68
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ddc0
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.00404980
ret
Function at 0x40de5c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e0c
mov eax, dword [ebp - 8]
call fcn.00404e0c
lea edi, [ebp - 0x44]
xor eax, eax
push ebp
push 0x40df18
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
xor ecx, ecx
mov edx, 0x3c
call fcn.0040333c
mov dword [edi], 0x3c
mov dword [edi + 4], 0x140
call sub.user32.dll_GetActiveWindow
mov dword [edi + 8], eax
mov eax, 0x40df28
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 8]
call fcn.00404e1c
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 4]
call fcn.00404e1c
mov dword [edi + 0x10], eax
mov dword [edi + 0x1c], ebx
push edi
call sub.shell32.dll_ShellExecuteExA
test eax, eax
je 0x40dee1
mov esi, dword [edi + 0x38]
jmp 0x40dee5
xor ebx, ebx
jmp 0x40defd
push 0x32
mov eax, dword [edi + 0x38]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x40dee5
push esi
call sub.kernel32.dll_CloseHandle_1
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40df1f
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404980
ret

Function at 0x40df5c
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e0c
xor eax, eax
push ebp
push 0x40e025
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404e1c
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40e00f
push 0
push ebx
call sub.kernel32.dll_GetFileSize_1
mov edi, eax
push 0
push edi
push 0
push 2
push 0
push ebx
call sub.kernel32.dll_CreateFileMappingA
mov esi, eax
test esi, esi
je 0x40e00f
push 0
push 0
push 0
push 4
push esi
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40e009
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
call sub.IMAGEHLP.DLL_CheckSumMappedFile
push ebx
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
je 0x40e000
mov byte [ebp - 5], 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_UnmapViewOfFile
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e02c
lea eax, [ebp - 4]
call fcn.0040495c
ret
Function at 0x40e1b4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e0c
xor eax, eax
push ebp
push 0x40e229
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x106
lea eax, [ebp - 0x10a]
push eax
mov eax, dword [ebp - 4]
call fcn.00404e1c
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
cmp eax, 1
jbe 0x40e20c
mov eax, ebx
lea edx, [ebp - 0x10a]
mov ecx, 0x106
call fcn.00404bcc
jmp 0x40e213
mov eax, ebx
call fcn.0040495c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e230
lea eax, [ebp - 4]
call fcn.0040495c
ret

Function at 0x40e238
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, ecx
mov esi, edx
mov edi, eax
mov eax, edi
call fcn.00404e1c
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x40e25a
xor eax, eax
jmp 0x40e282
test bl, bl
je 0x40e262
or esi, ebp
jmp 0x40e266
not esi
and esi, ebp
cmp ebp, esi
je 0x40e280
push esi
mov eax, edi
call fcn.00404e1c
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x40e280
xor eax, eax
jmp 0x40e282
mov al, 1
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x411344
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x158
call fcn.0040333c
cmp dword [ebp - 4], 0
je 0x411401
mov eax, dword [ebp - 4]
mov dword [ebx + 0x154], eax
mov ax, word [ebp + 8]
mov edx, dword [ebp - 4]
mov dx, word [edx + 8]
mov word [ebp - 6], dx
cmp ax, word [ebp - 6]
jbe 0x4113b4
movzx eax, ax
push eax
lea edx, [ebp - 0x46]
mov ecx, esi
mov eax, dword [ebp - 4]
call fcn.004112b0
mov eax, dword [ebp - 4]
mov ax, word [eax + 0xa]
movzx ecx, ax
lea edx, [ebx + 0xd4]
lea eax, [ebp - 0x46]
call fcn.00402b1c
jmp 0x4113c4
movzx ecx, ax
lea edx, [ebx + 0xd4]
mov eax, esi
call fcn.00402b1c
movzx edx, word [ebp - 6]
sub edx, 1
jno 0x4113d2
call fcn.00403d38
test dx, dx
jb 0x4113e7
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x36
inc eax
dec dx
jne 0x4113de
mov eax, ebx
mov esi, dword [ebp - 4]
call dword [esi + 0xc]
movzx ecx, word [ebp - 6]
lea edx, [ebx + 0xd4]
mov eax, ebx
mov ebx, dword [ebp - 4]
call dword [ebx + 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x411430
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov dword [esp], edx
mov ebx, eax
mov eax, dword [ebx + 0x154]
test eax, eax
je 0x4114bb
mov dx, word [eax + 8]
mov word [esp + 4], dx
mov esi, eax
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x10]
movzx edx, word [esp + 4]
sub edx, 1
jno 0x411466
call fcn.00403d38
test edx, edx
jl 0x411478
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x6a
inc eax
dec edx
jne 0x411471
mov esi, dword [ebx + 0x154]
mov eax, ebx
call dword [esi + 0xc]
mov esi, dword [ebx + 0x154]
movzx ecx, word [esp + 4]
lea edx, [ebx + 0xd4]
mov eax, ebx
call dword [esi + 0x14]
mov eax, dword [ebx + 0x154]
mov esi, eax
movzx ecx, word [eax + 0xa]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x14]
mov esi, dword [ebx + 0x154]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x10]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x411524
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x10
mov eax, dword [edx]
xchg ah, al
rol eax, 0x10
xchg ah, al
mov dword [ebx], eax
add ebx, 4
add edx, 4
dec ecx
jne 0x41152c
mov ecx, 0x40
mov eax, dword [ebx - 0xc]
xor eax, dword [ebx - 0x20]
xor eax, dword [ebx - 0x38]
xor eax, dword [ebx - 0x40]
rol eax, 1
mov dword [ebx], eax
add ebx, 4
dec ecx
jne 0x411545
pop ebx
ret
Function at 0x411cd8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x411cfe
mov dword [ebp - 0x10], 1
jmp 0x411e77
mov eax, dword [ebp - 4]
cmp word [eax + 0xa], 0
jne 0x411d14
mov dword [ebp - 0x10], 2
jmp 0x411e77
cmp dword [ebp - 8], 0
jne 0x411d21
cmp word [ebp - 0xa], 0
ja 0x411d2e
cmp dword [ebp + 0x18], 0
jne 0x411d3a
cmp word [ebp + 0x14], 0
jbe 0x411d3a
mov dword [ebp - 0x10], 4
jmp 0x411e77
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov ax, word [eax + 0xa]
mov word [ebp - 0x14], ax
mov word [ebp - 0x12], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 4
call fcn.0040333c
movzx eax, word [ebp + 8]
dec eax
movzx edx, word [ebp - 0x14]
mov ecx, edx
cdq
idiv ecx
inc eax
test ax, ax
jbe 0x411e77
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x20]
call fcn.00411cbc
lea eax, [ebp - 0xa8]
xor ecx, ecx
mov edx, 0x40
call fcn.0040333c
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x411e3e
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 1
mov ax, word [ebp - 0xa]
push eax
lea eax, [ebp - 0x200]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00411344
cmp dword [ebp - 0x18], 1
jne 0x411df3
movzx ecx, word [ebp + 0x14]
lea eax, [ebp - 0x200]
mov edx, dword [ebp + 0x18]
call fcn.00411420
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x200]
mov ecx, 4
call fcn.00411420
jmp 0x411e05
movzx ecx, word [ebp - 0x14]
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.00411420
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.00411430
mov cx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x411e32
inc ecx
lea eax, [ebp - 0x68]
lea edx, [ebp - 0xa8]
mov bl, byte [eax]
xor byte [edx], bl
inc edx
inc eax
dec cx
jne 0x411e27
inc dword [ebp - 0x18]
dec dword [ebp - 0x28]
jne 0x411db0
mov cx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x411e6d
inc ecx
lea eax, [ebp - 0xa8]
mov dx, word [ebp - 0x12]
cmp dx, word [ebp + 8]
jae 0x411e67
mov dl, byte [eax]
mov ebx, dword [ebp - 0x1c]
mov byte [ebx], dl
inc word [ebp - 0x12]
inc dword [ebp - 0x1c]
inc eax
dec cx
jne 0x411e4f
dec word [ebp - 0x22]
jne 0x411d81
mov eax, dword [ebp - 0x10]
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x414fa0
Capabilities:
Create thread

Disassembly:
call fcn.0041508f
pop eax
pop edx
pop dword [0x440c64]
pop ecx
test edx, edx
push eax
je 0x414f9f
push ebx
push esi
push edi
push ebp
mov ebx, 0x43ec54
mov ebp, 0x440c78
xor eax, eax
mov dword [ebp - 0x10], eax
test cl, 1
mov esi, 0x414dac
jne 0x414fdb
test cl, 2
lea esi, [esi + 0xc]
jne 0x414fdb
lea esi, [esi - 0x14]
test cl, 8
setne byte [ebp - 0x18]
and cl, 0x10
mov byte [ebp - 0x17], cl
mov edi, ebp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, edx
cmp dword [ebp - 4], eax
jne 0x414ffa
mov word [ebp - 4], 0x8000
push eax
push eax
push eax
push eax
push eax
push eax
push 0x414d94
push 0xffffffffffffffff
push ebx
call sub.winmm.dll_waveOutOpen
call sub.kernel32.dll_HeapCreate
test eax, eax
mov dword [ebx - 8], eax
je 0x415027
mov dword [ebp - 0xc], esi
call fcn.0041581c
xchg edi, eax
call dword [ebp + 8]
test edi, edi
je 0x415093
mov esi, 0x450c88
mov dword [esi + 4], 0x10000
or dword [esi + 0x14], 0xffffffff
push 0xc
mov dword [esi], 0x440c88
pop dword [esi + 0x10]
push 0x20
push esi
push dword [ebx]
call sub.winmm.dll_waveOutPrepareHeader
xor edi, edi
call fcn.00415150
cmp dword [ebx + 4], edi
jne 0x415050
mov dword [ebx + 8], edi
push 0x20
push esi
push dword [ebx]
call sub.winmm.dll_waveOutWrite
test eax, eax
jne 0x415093
push ebp
push edi
push edi
push 0x4150fc
push edi
push edi
call sub.kernel32.dll_CreateThread_2
test eax, eax
mov dword [ebx - 4], eax
je 0x415093
push 0xf
push eax
call sub.kernel32.dll_SetThreadPriority_1
xchg ebx, eax
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x417c8c
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404e1c
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x417ca0
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00404e1c
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x417cc2
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x417d14
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x417da4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x104]
mov ecx, 0x104
call fcn.00404bcc
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.00417b80
mov edx, dword [ebp - 0x108]
mov eax, ebx
mov ecx, 0x417db8
call fcn.00404c68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417dab
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.00404980
ret

Function at 0x41d568
Capabilities:
Create thread

Disassembly:
push ebx
add esp, 0xffffff00
mov eax, dword [0x42e138]
cmp byte [eax], 1
jne 0x41d640
push 0x41d650
push 6
mov ecx, dword [0x42f65c]
mov dl, 1
mov eax, dword [0x40aa84]
call fcn.0040b024
mov ebx, eax
mov dl, 1
mov eax, dword [0x40aa08]
call fcn.00403da4
mov edx, dword [0x42e104]
mov dword [edx], eax
mov dl, 1
mov eax, dword [0x40aa08]
call fcn.00403da4
mov edx, dword [0x42e0cc]
mov dword [edx], eax
mov eax, esp
mov edx, dword [0x42e0f4]
mov edx, dword [edx]
mov ecx, 0xff
call fcn.00404bf8
mov eax, esp
mov ecx, dword [0x42e104]
mov ecx, dword [ecx]
mov edx, ebx
call fcn.00412200
test al, al
je 0x41d640
mov eax, dword [0x42e104]
mov eax, dword [eax]
call fcn.0041cfc0
test al, al
je 0x41d619
mov eax, dword [0x42e148]
push eax
push 0
push 0
push 0x41d530
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov edx, dword [0x42e0fc]
mov dword [edx], eax
mov eax, dword [0x42e0fc]
cmp dword [eax], 0
je 0x41d640
mov eax, ebx
call fcn.00403dd4
mov eax, dword [0x42e0fc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [0x42e0fc]
xor edx, edx
mov dword [eax], edx
add esp, 0x100
pop ebx
ret
Function at 0x41e35c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
push 0x6a
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x6c
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x6b
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x6f
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x6e
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x6d
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x1f6
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x1f7
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x191
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x192
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x1f9
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x1fa
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x1fb
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x1fc
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x193
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x1f8
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x12d
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x12e
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x131
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x12f
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x130
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0xc9
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0xca
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0xcd
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0xcb
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0xcc
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x1f5
push ebx
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x401184
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.00409460
mov eax, dword [0x244ec5c]
mov ecx, dword [0x244e6e8]
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x401243
push ebx
push edi
mov ebx, ecx
mov edi, eax
cmp dword [0x244ec5c], 0x959
jne 0x401232
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push str.Mokigehate_xolega_viricuh_mazu_fiboy
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push str.Yimu_givexohipalipen
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push str.Hipejes_joh_jagibavicedok_lozofowegad_dinomebaxedidox
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
lea eax, [ebp - 0x1000]
push eax
push esi
push str.pajebipew
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call fcn.00401061
add ebx, 8
dec edi
jne 0x4011b0
pop edi
pop ebx
pop esi
leave
ret