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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004047d8
xor eax, eax
push ebp
push 0x41a292
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404338
lea eax, [ebp - 0xc]
push eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x41a26f
mov eax, ebx
call fcn.004026d8
mov esi, eax
test esi, esi
je 0x41a26f
push esi
push ebx
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x41a266
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x41a2a0
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x41a251
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
call fcn.0040283c
xor eax, eax
mov al, byte [ebp - 0x11e]
xor edx, edx
mov dl, byte [ebp - 0x11d]
shl edx, 8
add eax, edx
xor edx, edx
mov dl, byte [ebp - 0x120]
shl edx, 0x10
add eax, edx
xor edx, edx
mov dl, byte [ebp - 0x11f]
shl edx, 0x18
add eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x18]
mov eax, 8
call fcn.00407c80
push 0x41a2c4
push dword [ebp - 0x18]
push 0x41a2e0
push dword [ebp - 4]
push 0x41a2ec
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.004046b0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
call fcn.00404840
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x41a251
cmp dword [ebp - 0x14], 0
je 0x41a251
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.00408408
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x41a266
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.0041a2f0
mov edx, ebx
mov eax, esi
call fcn.004026f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a299
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040435c
lea eax, [ebp - 4]
call fcn.00404338
ret
Function at 0x41a2f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004047d8
xor eax, eax
push ebp
push 0x41a3bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404338
lea eax, [ebp - 0xc]
push eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x41a39e
mov eax, ebx
call fcn.004026d8
mov esi, eax
test esi, esi
je 0x41a39e
push esi
push ebx
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x41a395
push 0x41a3d4
push dword [ebp - 4]
push 0x41a3f8
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004046b0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
call fcn.00404840
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x41a395
cmp dword [ebp - 0x14], 0
je 0x41a395
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.00408408
mov edx, ebx
mov eax, esi
call fcn.004026f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a3c3
lea eax, [ebp - 0x18]
call fcn.00404338
lea eax, [ebp - 4]
call fcn.00404338
ret

Function at 0x41a3fc
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
cmp dword [0x4204e8], 0xffffffff
jne 0x41a428
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 6
sete al
and eax, 0x7f
mov dword [0x4204e8], eax
mov eax, dword [0x4204e8]
add esp, 0x94
ret

Function at 0x41a914
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebp, edx
mov esi, eax
mov ebx, esi
lea eax, [esp + 4]
push eax
push 0x40
push 6
mov edi, ebx
push edi
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x41a93b
call fcn.0040a998
cmp word [esi], 0x25ff
jne 0x41a97a
add esi, 2
mov eax, dword [esi]
mov esi, dword [eax]
push esp
mov eax, dword [esp + 8]
push eax
push 6
push edi
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x41a960
call fcn.0040a998
mov ebx, esi
lea eax, [esp + 4]
push eax
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x41a97a
call fcn.0040a998
mov byte [ebx], 0xe9
mov eax, ebp
sub eax, esi
sub eax, 5
mov edx, eax
and dl, 0xff
mov byte [ebx + 1], dl
mov edx, eax
shr edx, 8
and dl, 0xff
mov byte [ebx + 2], dl
mov edx, eax
shr edx, 0x10
and dl, 0xff
mov byte [ebx + 3], dl
shr eax, 0x18
and al, 0xff
mov byte [ebx + 4], al
push esp
mov eax, dword [esp + 8]
push eax
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x41a9c1
call fcn.0040a998
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x41bef8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdcc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
mov eax, edi
call fcn.00404338
mov eax, esi
call fcn.004045f0
test eax, eax
jne 0x41bf2e
lea eax, [ebp - 8]
push eax
push 0
push ebx
call sub.shell32.dll_SHGetSpecialFolderLocation
jmp 0x41bf38
mov eax, esi
call fcn.0041be44
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x232]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
call fcn.004047e8
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
call sub.shell32.dll_SHBrowseForFolderA
mov ebx, eax
test ebx, ebx
je 0x41bfa7
lea edx, [ebp - 0x232]
lea eax, [ebp - 0x12d]
call fcn.00408290
lea eax, [ebp - 0x232]
push eax
push ebx
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x41bfa7
mov eax, edi
lea edx, [ebp - 0x232]
mov ecx, 0x105
call fcn.004045a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41c9c8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x104], ecx
test dl, dl
je 0x41c9ed
add esp, 0xfffffff0
call fcn.00403930
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x41caaa
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.004035d0
push 0xff
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.004045a0
mov edx, dword [ebp - 0x104]
lea eax, [esi + 4]
mov ecx, 0x41cad8
call fcn.0040463c
push 0xff
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x108]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.004045a0
mov edx, dword [ebp - 0x108]
lea eax, [esi + 8]
mov ecx, 0x41cad8
call fcn.0040463c
lea eax, [esi + 0xc]
call fcn.00404338
mov byte [esi + 0x10], 0
mov byte [esi + 0x11], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41cab1
lea eax, [ebp - 0x108]
mov edx, 2
call fcn.0040435c
ret
Function at 0x41cb50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcf8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004047d8
mov eax, dword [ebp - 8]
call fcn.004047d8
xor eax, eax
push ebp
push 0x41cbfb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x108]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, 0x41cc0c
lea eax, [ebp - 0x108]
call fcn.00408310
lea eax, [ebp - 0x208]
mov edx, dword [ebp - 4]
call fcn.004082ec
lea eax, [ebp - 0x308]
mov edx, dword [ebp - 8]
call fcn.004082ec
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x208]
push eax
push 0x41cc1c
call sub.kernel32.dll_WritePrivateProfileStringA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41cc02
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040435c
ret

Function at 0x41e328
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x41e330
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x41e42c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x20]
call fcn.0041a078
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 8]
mov ecx, 0x41e444
call fcn.0040463c
push 0x41e45c
push dword [ebp - 8]
push 0x41e468
lea eax, [ebp - 4]
mov edx, 3
call fcn.004046b0
lea eax, [ebp - 0xc]
mov ecx, 0x41e47c
mov edx, dword [esi + 4]
call fcn.0040463c
mov eax, dword [ebp - 0xc]
call fcn.00407ef8
test al, al
je 0x41e404
mov eax, dword [ebp - 8]
call fcn.00407ef8
test al, al
je 0x41e404
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004047e8
lea ecx, [ebp - 0x24]
mov edx, 0x41e494
call fcn.0041a120
mov eax, dword [ebp - 0x24]
mov ecx, 4
mov edx, 1
call fcn.00404848
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.00403054
fstp qword [ebp - 0x18]
wait
fld qword [ebp - 0x18]
fcomp qword [0x42089c]
fnstsw ax
sahf
jae 0x41e3f2
mov byte [esi + 0x10], 1
mov bl, 1
push 0
mov eax, dword [ebp - 4]
call fcn.004047e8
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e433
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0040435c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040435c
ret
Function at 0x41e74c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41e842
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov esi, 0xe
mov edi, 0x4208a4
test bl, bl
je 0x41e7a0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
lea eax, [ebp - 0x10]
mov ecx, dword [edi]
call fcn.0040463c
mov eax, dword [ebp - 0x10]
call fcn.004047e8
push eax
call sub.kernel32.dll_DeleteFileA
test eax, eax
jne 0x41e7a4
xor eax, eax
jmp 0x41e7a6
mov al, 1
mov ebx, eax
add edi, 4
dec esi
jne 0x41e77a
mov dl, 1
mov eax, dword [0x411068]
call fcn.004035d0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41e80d
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor ecx, ecx
mov edx, 0x41e85c
call fcn.0041a660
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x41e80d
inc eax
mov dword [ebp - 0xc], eax
xor esi, esi
lea ecx, [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.004047e8
push eax
call sub.kernel32.dll_DeleteFileA
inc esi
dec dword [ebp - 0xc]
jne 0x41e7ec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041a560
test al, al
je 0x41e827
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040823c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e849
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040435c
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80c004]
jne 0x40100a
repz ret
jmp fcn.0040133d

Function at 0x40403b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x80c004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040270a
and dword [ebp - 0x14], 0
cmp dword [0x80ead4], 0
mov dword [ebp - 0x18], eax
jne 0x4040ee
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404196
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404196
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x80ead4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x80ead8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x80eadc], eax
call edi
push eax
call esi
mov dword [0x80eae4], eax
test eax, eax
je 0x4040ee
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x80eae0], eax
mov eax, dword [0x80eae0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404147
cmp dword [0x80eae4], ecx
je 0x404147
push eax
call esi
push dword [0x80eae4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404147
test ebx, ebx
je 0x404147
call edi
test eax, eax
je 0x40413e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40413e
test byte [ebp - 8], 1
jne 0x404147
or dword [ebp + 0x10], 0x200000
jmp 0x40417a
mov eax, dword [0x80ead8]
cmp eax, dword [ebp - 0x18]
je 0x40417a
push eax
call esi
test eax, eax
je 0x40417a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40417a
mov eax, dword [0x80eadc]
cmp eax, dword [ebp - 0x18]
je 0x40417a
push eax
call esi
test eax, eax
je 0x40417a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x80ead4]
call esi
test eax, eax
je 0x404196
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404198
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret

Function at 0x409cd0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x80cf60]
sub esp, 0x10
push ebx
mov ebx, dword [0x22e0ca0]
push edi
mov edi, dword [0x22e0f7c]
push eax
call fcn.00409be0
add esp, 4
cmp dword [0x22e0f7c], 0x2f
jne 0x409d2d
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.00409c30
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409f90
Capabilities:
Get file size

Disassembly:
mov eax, dword [0x22e0f7c]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
xor esi, esi
nop
cmp eax, 0x8cf
jne 0x409fb2
push 0
push 0
call edi
mov eax, dword [0x22e0f7c]
cmp esi, 0x845013
jne 0x409fc9
mov eax, dword [0x80dd80]
add eax, 0xa231
mov dword [0x22e0f7c], eax
cmp eax, 0x141
jne 0x409fe4
mov dword [0x80f018], 0xec58acac
mov dword [0x80f01c], 0xffffffff
inc esi
cmp esi, 0xbbe2a98
jl 0x409fa0
call fcn.00409d40
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x403015
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x403024
pop dword [ebp - 8]
mov eax, 0x403024
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xe978293c
sub dword [ebp - 0x18], 0x9b25e3f1
mov dword [ebp - 0x14], 0xdba0ddbe
add dword [ebp - 0x14], 0x56926e87
mov dword [ebp - 0x10], 0x71670fe8
add dword [ebp - 0x10], 0xdae53446
mov dword [ebp - 0xc], 0x79967a06
add dword [ebp - 0xc], 0x866985fa
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xd5d16d28
sub dword [ebp - 0x18], 0x615f03d2
mov dword [ebp - 0x14], 0xf177c4ff
sub dword [ebp - 0x14], 0xb00b638a
mov dword [ebp - 0x10], 0x441ed360
sub dword [ebp - 0x10], 0xe0af66f4
mov dword [ebp - 0xc], 0x4856bcb4
add dword [ebp - 0xc], 0xb7a9434c
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x37110
push 0
call eax
mov ecx, 0x481d
xor edx, edx
add edx, eax
mov ebx, 0xcef15a3b
add ebx, 0x315437c5
add ebx, dword [ebp - 8]
mov edi, 0xe06a3f87
sub dword [ebp - 4], ecx
mov esi, dword [ebx]
xor dword [ebp - 4], eax
xor esi, edi
add dword [ebp - 4], 0xea42d278
mov dword [edx], esi
xor dword [ebp - 4], edx
add edx, 0x73a106b1
add edx, 0x8c5ef953
add ebx, 4
loop 0x40312d
add eax, 0x11347
mov ebx, eax
add eax, 0xdfa98a3c
add eax, 0x205675c9
mov ecx, 0xf5e8dc4f
add ecx, 0xa5723b1
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x1000cac3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword fs:[0x2c]
push ebx
push esi
mov esi, dword [0x100139e8]
mov ebx, ecx
push edi
mov edi, edx
mov dword [ebp - 8], edi
mov esi, dword [eax + esi*4]
mov eax, dword [0x10013e80]
cmp eax, dword [esi + 4]
jg 0x1000cb78
lea eax, [ebx + edi]
cmp eax, ebx
ja 0x1000cb01
mov eax, 0x10dd
jmp 0x1000cb71
mov eax, dword [0x10013e7c]
cmp edi, eax
jbe 0x1000cb0f
push 0x32
pop eax
jmp 0x1000cb71
mov edi, dword [ebp + 8]
lea ecx, [ebp - 4]
and dword [ebp - 4], 0
lea esi, [eax - 1]
push ecx
not esi
push dword [edi]
and esi, ebx
push eax
push esi
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
jne 0x1000cb37
call dword [sym.imp.kernel32.dll_GetLastError]
jmp 0x1000cb71
mov ecx, dword [0x10013e7c]
mov eax, dword [ebp - 8]
dec ecx
mov edx, dword [ebp - 4]
dec eax
add eax, ebx
mov dword [edi], edx
not ecx
and ecx, eax
cmp ecx, esi
je 0x1000cb6c
lea eax, [ebp - 4]
push eax
push dword [edi + 4]
push dword [0x10013e7c]
push ecx
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
je 0x1000cb2f
mov edx, dword [ebp - 4]
mov dword [edi + 4], edx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
mov esi, 0x10013e80
push esi
call fcn.1000cd54
cmp dword [0x10013e80], 0xffffffff
pop ecx
jne 0x1000caf3
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x28]
push esi
mov dword [0x10013e7c], eax
call fcn.1000cd54
mov edi, dword [ebp - 8]
pop ecx
jmp 0x1000caf3

Function at 0x1000cd54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x1000cd63
pop dword [ebp - 0x2c]
mov eax, 0x9f0d8bdc
add eax, 0x70f34187
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x377e7
push 0
mov eax, 0x62e142ba
sub eax, 0x52e00256
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x3fd6f24a
sub ecx, 0x3fd6b05a
xor edx, edx
add edx, eax
mov ebx, 0x10018600
add ebx, dword [ebp - 0x2c]
mov esi, 0xab6f5331
add esi, 0x3a863797
xor dword [ebp - 8], edi
mov edi, dword [ebx]
add dword [ebp - 0xc], 0x106adddb
xor edi, esi
sub dword [ebp - 0x28], ebx
mov dword [edx], edi
xor dword [ebp - 8], 0x64d2e92e
add edx, 4
add ebx, 0x6699b288
sub ebx, 0x6699b284
loop 0x1000cdbe
add eax, 0xd9c477bc
sub eax, 0xd9c37d29
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x9f7eabbc
add ecx, 0x70815444
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x4011a6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
push 0x40eab8
inc eax
add byte [ebp - 0xcc03bb], cl
push 0x411b68
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
call fcn.00401c33
xor ecx, ecx
cmp eax, edi
sete cl
push str.Failed_to_open_executable
push ecx
call fcn.0040110b
push 2
push edi
push dword [ebp - 4]
call fcn.00402d7b
push dword [ebp - 4]
call fcn.00402a86
cdq
mov dword [ebp - 0x18], eax
add eax, 0xfffffefc
add esp, 0x24
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], eax
cmp eax, edi
jge 0x401207
mov dword [ebp - 8], edi
push edi
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00402d7b
push dword [ebp - 4]
push 0x104
push 1
push ebx
call fcn.004027a2
push ebx
mov esi, eax
call fcn.00401164
add esp, 0x20
cmp eax, edi
je 0x401249
mov esi, eax
sub eax, ebx
add eax, dword [ebp - 8]
push 5
cdq
pop ecx
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x18], eax
mov esi, edx
jmp 0x4012c7
mov esi, 0x4100000
push esi
call fcn.00402210
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
add eax, 0xfbf00000
pop ecx
mov dword [ebp - 8], eax
cmp eax, edi
jge 0x40126a
mov dword [ebp - 8], edi
push edi
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00402d7b
push dword [ebp - 4]
push esi
push 1
push dword [ebp - 0xc]
call fcn.004027a2
push dword [ebp - 0xc]
mov esi, eax
call fcn.00401164
mov esi, eax
xor eax, eax
cmp esi, edi
setne al
push str.Unable_to_find_an_appended_archive.
mov dword [ebp - 0x14], esi
push eax
call fcn.0040110b
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc]
push 5
add eax, dword [ebp - 8]
pop ecx
push dword [ebp - 0xc]
cdq
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x18], eax
mov esi, edx
call fcn.00401f8c
add esp, 0x2c
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x20]
push 0
sub dword [ebp - 0x18], ecx
push dword [ebp - 0x18]
push dword [ebp - 4]
sbb esi, 0
call fcn.00402d7b
push dword [ebp - 4]
mov edi, 0x104
push edi
push 1
push ebx
call fcn.004027a2
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
mov esi, str.Unable_to_read_from_file
neg eax
push esi
push eax
call fcn.0040110b
mov cx, word [ebx]
mov eax, 0x40eb1c
add esp, 0x24
cmp cx, word [eax]
jne 0x40131a
mov dword [ebp - 0x10], ebx
jmp 0x40136e
mov eax, dword [ebp - 0x18]
add eax, 0xfffffefc
jns 0x401326
xor eax, eax
push 0
push eax
push dword [ebp - 4]
call fcn.00402d7b
push dword [ebp - 4]
push edi
push 1
push ebx
call fcn.004027a2
mov edi, eax
xor eax, eax
cmp eax, edi
sbb eax, eax
neg eax
push esi
push eax
call fcn.0040110b
add esp, 0x24
lea eax, [edi + ebx - 1]
jmp 0x401365
mov dx, word [eax]
mov ecx, 0x40eb1c
cmp dx, word [ecx]
je 0x40136b
dec eax
cmp eax, ebx
jae 0x401357
jmp 0x40136e
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
call fcn.00403039
mov eax, dword [ebp - 0x10]
pop ecx
pop edi
pop esi
leave
ret