joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42fdef
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c7f90
call fcn.00493f4c
push ecx
push esi
mov esi, ecx
test byte [esi + 9], 0x10
je 0x42fe0b
push 1
pop eax
jmp 0x42ffe3
test byte [esi + 4], 1
jne 0x42fe22
push dword [esi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42fe22
or dword [esi + 8], 1
push ebx
lea eax, [esi + 0x44]
push edi
push eax
lea ecx, [esi + 0x128]
call fcn.004b3e88
lea eax, [esi + 0x48]
lea ecx, [esi + 0x12c]
push eax
call fcn.004b3e88
lea edi, [esi + 0x130]
lea eax, [esi + 0x94]
push eax
mov ecx, edi
call fcn.004b3e88
mov ecx, edi
call fcn.004acad9
mov ecx, edi
call fcn.004aca4d
mov eax, dword [edi]
cmp dword [eax - 8], 0
jne 0x42fe7d
push dword [esi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
mov ecx, edi
call fcn.004b3ed8
lea ebx, [esi + 0x2fc]
mov edi, 0x504964
push edi
mov ecx, ebx
call fcn.004b3ed8
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
xor edx, edx
cmp eax, edx
jl 0x42fecb
jg 0x42fea2
cmp ecx, edx
jbe 0x42fecb
push edx
push edx
push edx
push eax
lea eax, [ebp - 0x10]
push ecx
push eax
call fcn.0042651c
add esp, 0x18
and dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.004b3e88
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b3d41
lea ebx, [esi + 0x300]
push edi
mov ecx, ebx
call fcn.004b3ed8
lea ecx, [esi + 0x304]
push edi
call fcn.004b3ed8
lea ecx, [esi + 0x308]
push edi
call fcn.004b3ed8
lea ecx, [esi + 0x30c]
push edi
call fcn.004b3ed8
lea ecx, [esi + 0x38]
call fcn.00436322
mov edi, eax
test edi, edi
je 0x42ffcc
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x38]
test ecx, ecx
jl 0x42ff2f
jg 0x42ff1f
test eax, eax
jbe 0x42ff2f
push ecx
push eax
push str._d_f
push ebx
call fcn.004ac9f7
add esp, 0x10
mov eax, dword [edi + 0x58]
cmp eax, 0x2d0
jne 0x42ff40
push str.HD_720
jmp 0x42ff76
cmp eax, 0x438
jne 0x42ff4e
push str.HD_1080
jmp 0x42ff76
cmp eax, 0x5a0
jne 0x42ff5c
push str.QHD_2K
jmp 0x42ff76
cmp eax, 0x870
jne 0x42ff6a
push str.UHD_4K
jmp 0x42ff76
cmp eax, 0x10e0
jne 0x42ff81
push str.UHD_8K
lea ecx, [esi + 0x304]
call fcn.004b3ed8
mov eax, dword [edi + 0x54]
mov ebx, str._dx_d
test eax, eax
jle 0x42ffa6
mov ecx, dword [edi + 0x58]
test ecx, ecx
jle 0x42ffa6
push ecx
push eax
lea eax, [esi + 0x308]
push ebx
push eax
call fcn.004ac9f7
add esp, 0x10
mov eax, dword [edi + 0x80]
test eax, eax
jle 0x42ffcc
mov edi, dword [edi + 0x84]
test edi, edi
jle 0x42ffcc
push edi
push eax
lea eax, [esi + 0x30c]
push ebx
push eax
call fcn.004ac9f7
add esp, 0x10
lea eax, [esi + 0xc]
lea ecx, [esi + 0x310]
push eax
call fcn.004b3e88
or byte [esi + 9], 0x10
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x43005b
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c7fa4
call fcn.00493f4c
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp dword [eax - 8], 0
je 0x43008b
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43008b
push dword [esi + 0x10]
mov ecx, esi
call fcn.00430348
test eax, eax
je 0x4300fd
test byte [esi + 4], 1
jne 0x4300d8
mov eax, dword [0x500318]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.00430111
test eax, eax
jne 0x4300cc
push dword [ebp - 0x10]
mov ecx, esi
call fcn.00430348
test eax, eax
jne 0x4300cc
or byte [esi + 5], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b3d41
jmp 0x4300fd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b3d41
push 0x4eaebc
push dword [esi + 0x128]
call fcn.00494005
pop ecx
test eax, eax
pop ecx
jne 0x430101
mov ecx, esi
call fcn.004301b2
test eax, eax
jne 0x430101
or byte [esi + 5], 2
xor eax, eax
jmp 0x430104
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x430066
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c7fa4
call fcn.00493f4c
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp dword [eax - 8], 0
je 0x43008b
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43008b
push dword [esi + 0x10]
mov ecx, esi
call fcn.00430348
test eax, eax
je 0x4300fd
test byte [esi + 4], 1
jne 0x4300d8
mov eax, dword [0x500318]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.00430111
test eax, eax
jne 0x4300cc
push dword [ebp - 0x10]
mov ecx, esi
call fcn.00430348
test eax, eax
jne 0x4300cc
or byte [esi + 5], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b3d41
jmp 0x4300fd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b3d41
push 0x4eaebc
push dword [esi + 0x128]
call fcn.00494005
pop ecx
test eax, eax
pop ecx
jne 0x430101
mov ecx, esi
call fcn.004301b2
test eax, eax
jne 0x430101
or byte [esi + 5], 2
xor eax, eax
jmp 0x430104
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x430111
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c7fb8
call fcn.00493f4c
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0xc]
cmp dword [eax - 8], 0
je 0x43019a
test byte [ebx + 4], 1
jne 0x43019a
and dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], str..jpg
mov dword [ebp - 0x1c], str..jpeg
mov dword [ebp - 0x18], str..png
mov dword [ebp - 0x14], str..bmp
lea esi, [ebp - 0x20]
push dword [esi]
mov eax, dword [ebx + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0041a6fd
add esp, 0xc
and dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.004b3e88
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004b3d41
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4301ae
inc dword [ebp - 0x10]
add esi, 4
cmp dword [ebp - 0x10], 4
jb 0x430158
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
xor eax, eax
jmp 0x43019d

Function at 0x431c43
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c8248
call fcn.00493f4c
sub esp, 0x4c
push dword [ebp + 8]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431da3
push ebx
push esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.004b3db5
xor ebx, ebx
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], ebx
call fcn.0042b4c8
push ebx
lea ecx, [ebp - 0x58]
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0042b572
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.004b3db5
mov eax, dword [0x500318]
mov dword [ebp - 0x10], eax
push 0x4f97f0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004b4132
lea ecx, [ebp - 0x38]
call fcn.0049323c
push ebx
lea ecx, [ebp - 0x38]
push dword [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00493301
xor esi, esi
cmp eax, ebx
je 0x431d64
push edi
lea ecx, [ebp - 0x38]
call fcn.00493527
lea ecx, [ebp - 0x38]
mov edi, eax
call fcn.004934ea
test eax, eax
jne 0x431d5b
lea eax, [ebp + 8]
lea ecx, [ebp - 0x38]
push eax
call fcn.004935f6
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.004b3e88
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.004b3d41
mov eax, dword [ebp - 0x38]
push 0x10
lea ecx, [ebp - 0x38]
call dword [eax + 0x38]
cmp eax, ebx
je 0x431d37
cmp dword [ebp + 0x10], ebx
je 0x431d5b
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.00431c43
jmp 0x431d59
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 8], ebx
je 0x431d4e
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
call fcn.0042b64a
test eax, eax
je 0x431d5b
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.00431a10
add esi, eax
cmp edi, ebx
jne 0x431cd5
pop edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.0049327b
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004b3d41
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004b3d41
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.0042b536
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004b3d41
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x431db1
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4c825d
call fcn.00493f4c
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x1e8]
cmp eax, edi
jne 0x431dd6
call fcn.00431e6c
push 1
pop eax
jmp 0x431e4e
push 0x74
call fcn.004afe6b
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x431df2
push esi
call fcn.004303ff
jmp 0x431df4
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, edi
mov dword [esi + 0x1f8], eax
je 0x431e28
push edi
push edi
push 4
mov ecx, eax
call fcn.004af319
test eax, eax
jne 0x431e2d
mov ecx, dword [esi + 0x1f8]
cmp ecx, edi
je 0x431e22
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x1f8], edi
or eax, 0xffffffff
jmp 0x431e4e
mov eax, dword [esi + 0x1f8]
push edi
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 0x1f8]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x431e6c
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4c8271
call fcn.00493f4c
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x168]
test eax, eax
jne 0x431e8b
push 1
pop eax
jmp 0x431ef1
xor ebx, ebx
lea esi, [edi + 0x1fc]
push 0x78
call fcn.004afe6b
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x431eb1
push edi
push ebx
mov ecx, eax
call fcn.004304b9
jmp 0x431eb3
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi], eax
test eax, eax
je 0x431f1c
push 0
push 0
push 4
mov ecx, eax
call fcn.004af319
test eax, eax
je 0x431f00
mov eax, dword [esi]
push 0xffffffffffffffff
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc ebx
add esi, 4
cmp ebx, 2
jl 0x431e93
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
mov ecx, dword [edi + ebx*4 + 0x1fc]
lea esi, [edi + ebx*4 + 0x1fc]
test ecx, ecx
je 0x431f19
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [esi], 0
or eax, 0xffffffff
jmp 0x431ef1

Function at 0x4321cc
Capabilities:
Check if file exists

Disassembly:
push dword [0x504a10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4321f1
push 0
push 0x414
push dword [0x504a10]
call fcn.0041a503
add esp, 0xc
ret
Function at 0x43714c
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c8c28
call fcn.00493f4c
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, 0x50496c
push str._sMediaProbe.exe
push edi
call fcn.004ac9f7
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [0x50496c]
call esi
test eax, eax
jne 0x437190
push str.MediaProbe.exe
mov ecx, edi
call fcn.004b3ed8
push ebx
mov edi, 0x504970
push str._sMediaEncode.exe
push edi
call fcn.004ac9f7
add esp, 0xc
push dword [0x504970]
call esi
test eax, eax
jne 0x4371bc
push str.MediaEncode.exe
mov ecx, edi
call fcn.004b3ed8
push dword [0x504970]
lea eax, [ebp - 0x14]
push eax
call fcn.0041a5f2
pop ecx
pop ecx
and dword [ebp - 4], 0
push str.Presets
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004b3fe6
push eax
mov ecx, 0x504974
mov byte [ebp - 4], 1
call fcn.004b3e88
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004b3d41
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b3d41
push ebx
mov edi, 0x504978
push str._sMediaPlay.exe
push edi
call fcn.004ac9f7
add esp, 0xc
push dword [0x504978]
call esi
test eax, eax
jne 0x437233
push str.MediaPlay.exe
mov ecx, edi
call fcn.004b3ed8
cmp dword [0x50497c], 0
jne 0x437337
mov eax, dword [0x500318]
mov dword [ebp + 8], eax
push 2
lea eax, [ebp + 8]
pop edi
push ebx
push str._s_avcodec_60.dll
push eax
mov dword [ebp - 4], edi
call fcn.004ac9f7
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x437273
mov dword [0x50497c], 6
cmp dword [0x50497c], 0
jne 0x43732b
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_59.dll
push eax
call fcn.004ac9f7
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x4372a5
mov dword [0x50497c], 5
cmp dword [0x50497c], 0
jne 0x43732b
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_58.dll
push eax
call fcn.004ac9f7
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x4372d3
mov dword [0x50497c], 4
cmp dword [0x50497c], 0
jne 0x43732b
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_57.dll
push eax
call fcn.004ac9f7
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x437301
mov dword [0x50497c], 3
cmp dword [0x50497c], 0
jne 0x43732b
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_56.dll
push eax
call fcn.004ac9f7
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43732b
mov dword [0x50497c], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004b3d41
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [0x504980], 1
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x437352
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [0x504978]
call esi
test eax, eax
je 0x437372
xor eax, eax
push eax
push eax
push eax
push dword [0x504978]
jmp 0x4373a2
push dword [0x504970]
call esi
test eax, eax
je 0x43738b
xor eax, eax
push eax
push eax
push eax
push dword [0x504970]
jmp 0x4373a2
push dword [0x50496c]
call esi
test eax, eax
je 0x4373aa
xor eax, eax
push eax
push eax
push eax
push dword [0x50496c]
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
ret

Function at 0x43786b
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4c8c66
call fcn.00493f4c
push ecx
push ebx
push esi
push edi
push 1
mov esi, ecx
pop edi
mov dword [ebp - 0x10], esi
and dword [esi + 8], 0
mov dword [esi + 4], 0xbb8
mov dword [esi], 0x4d1fac
mov dword [esi + 0xc], edi
mov eax, dword [0x500318]
and dword [ebp - 4], 0
lea ebx, [esi + 0x20]
mov dword [ebx], eax
mov eax, dword [0x500318]
mov dword [esi + 0x24], eax
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 2
call fcn.004092ec
and dword [esi + 0x10], 0
and dword [esi + 0x1c], 0
mov dword [esi], 0x4d20d0
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov eax, dword [0x50497c]
test eax, eax
je 0x4378ec
cmp eax, 2
jg 0x4378ec
push str.windib
mov ecx, ebx
call fcn.004b3ed8
push str.dsound
jmp 0x4378fd
push 0x4fa418
mov ecx, ebx
call fcn.004b3ed8
push str.winmm
lea ecx, [esi + 0x24]
call fcn.004b3ed8
mov ecx, dword [ebp - 0xc]
xor eax, eax
or dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x30], 0x64
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4aba10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00494040
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4abadb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4abadb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4aba8e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4aba99
or bh, 8
and edi, 0x8000000
je 0x4abab4
mov eax, dword [0x5087bc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4abadb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
movzx ecx, byte [eax]
mov byte [0x40b968], cl
movzx edx, byte [eax + 1]
mov byte [0x40b969], dl
movzx ecx, byte [eax + 2]
mov byte [0x40b96a], cl
movzx edx, byte [eax + 3]
mov byte [0x40b96b], dl
movzx ecx, byte [eax + 4]
mov byte [0x40b96c], cl
movzx edx, byte [eax + 5]
mov byte [0x40b96d], dl
movzx ecx, byte [eax + 6]
mov byte [0x40b96e], cl
movzx edx, byte [eax + 7]
mov byte [0x40b96f], dl
movzx ecx, byte [eax + 8]
mov byte [0x40b970], cl
movzx edx, byte [eax + 9]
mov byte [0x40b971], dl
movzx ecx, byte [eax + 0xa]
mov byte [0x40b972], cl
movzx edx, byte [eax + 0xb]
mov byte [0x40b973], dl
movzx ecx, byte [eax + 0xc]
mov byte [0x40b974], cl
movzx edx, byte [eax + 0xd]
mov byte [0x40b975], dl
movzx ecx, byte [eax + 0xe]
mov byte [0x40b976], cl
movzx edx, byte [eax + 0xf]
mov byte [0x40b977], dl
movzx ecx, byte [eax + 0x10]
mov byte [0x40b978], cl
movzx edx, byte [eax + 0x11]
mov byte [0x40b979], dl
movzx ecx, byte [eax + 0x12]
mov byte [0x40b97a], cl
movzx edx, byte [eax + 0x13]
mov byte [0x40b97b], dl
movzx ecx, byte [eax + 0x14]
mov byte [0x40b97c], cl
movzx edx, byte [eax + 0x15]
mov byte [0x40b97d], dl
movzx ecx, byte [eax + 0x16]
mov byte [0x40b97e], cl
movzx edx, byte [eax + 0x17]
mov byte [0x40b97f], dl
movzx ecx, byte [eax + 0x18]
mov byte [0x40b980], cl
movzx edx, byte [eax + 0x19]
mov byte [0x40b981], dl
movzx ecx, byte [eax + 0x1a]
mov byte [0x40b982], cl
movzx edx, byte [eax + 0x1b]
mov byte [0x40b983], dl
movzx ecx, byte [eax + 0x1c]
mov byte [0x40b984], cl
movzx edx, byte [eax + 0x1d]
mov byte [0x40b985], dl
movzx ecx, byte [eax + 0x1e]
mov byte [0x40b986], cl
movzx edx, byte [eax + 0x1f]
mov byte [0x40b987], dl
mov esi, 0xa
mov eax, 0x40b985

Function at 0x4016e0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov esi, eax
mov edi, 0x40ba48
sub edi, esi
mov edx, 4
push ebx
jmp 0x401700
jmp loc.0041102e

Function at 0x401880
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
test eax, eax
je 0x4018f3
push ebx
push edi
dec eax
mov edi, 0x40ba58
shr eax, 4
sub edi, esi
inc eax
jmp loc.00410f76
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401900
Capabilities:
Create process on windows
Get file size
Read file via mapping
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x40a03c]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
push 0x104
call fcn.00401b6b
push 0x104
mov esi, eax
call fcn.00401b6b
add esp, 8
push 0x3e8
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov esi, eax
push 0
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0
push 2
push 0
push esi
mov edi, eax
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
lea edi, [eax + edi - 1]
mov eax, edi
mov bl, 0xe2
cmp byte [eax], bl
je 0x40199e
dec eax
inc dword [esp + 0x10]
jmp 0x401993
cmp byte [eax - 1], bl
jne 0x4019ad
cmp byte [eax - 2], bl
jne 0x4019ad
cmp byte [eax - 3], bl
je 0x4019b4
dec eax
inc dword [esp + 0x10]
jmp 0x401993
mov esi, dword [esp + 0x10]
push esi
call fcn.00401b6b
mov ecx, eax
mov dword [esp + 0x20], ecx
add esp, 4
mov eax, edi
lea ecx, [ecx + esi - 1]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, bl
je 0x4019dc
mov byte [ecx], dl
dec eax
dec ecx
jmp 0x4019d0
cmp byte [eax - 1], bl
jne 0x4019eb
cmp byte [eax - 2], bl
jne 0x4019eb
cmp byte [eax - 3], bl
je 0x4019f1
mov byte [ecx], bl
dec eax
dec ecx
jmp 0x4019d0
mov eax, edi
xor esi, esi
mov cl, 0xe3
cmp byte [eax], cl
je 0x4019ff
dec eax
inc esi
jmp 0x4019f7
cmp byte [eax - 1], cl
jne 0x401a0e
cmp byte [eax - 2], cl
jne 0x401a0e
cmp byte [eax - 3], cl
je 0x401a12
dec eax
inc esi
jmp 0x4019f7
mov ecx, 0xfffffffc
sub ecx, dword [esp + 0x10]
push 4
push 0x3000
add esi, ecx
push esi
push 0
lea edi, [eax + 1]
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test esi, esi
je 0x401a4b
sub edi, ebx
mov ecx, esi
mov dl, byte [edi + eax]
mov byte [eax], dl
inc eax
dec ecx
jne 0x401a42
mov eax, dword [esp + 0x1c]
call fcn.00401000
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [0x40ba58], eax
mov eax, dword [esp + 0x2c]
mov dword [0x40ba5c], ecx
mov dword [0x40ba64], eax
mov eax, esi
mov ecx, ebx
mov dword [0x40ba60], edx
call fcn.00401880
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push 0x409254
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x401abe
or eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00401b0d
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
add ebx, 0x10
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
push edi
call esi
push 1
push 0
push 0
push 0x409254
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00401b0d
mov esp, ebp
pop ebp
ret