joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ea40
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40eb15
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40eb30
push ebx
push 0x40eb40
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040513c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403250
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404d24
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x40eac0
mov al, 0x6a
call fcn.0040e660
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040ea14
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x40eac9
call fcn.0040ea14
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40eb1c
lea eax, [ebp - 4]
call fcn.00404c88
ret

Function at 0x40ec30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ecfb
jmp 0x40ecef
cmp dword [esi + 0x10], 0x1000
jne 0x40ecdb
test byte [esi + 0x15], 1
jne 0x40ecdb
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x40ec8c
cmp ebp, 2
je 0x40ec8c
cmp ebp, 0x10
je 0x40ec8c
cmp ebp, 0x20
jne 0x40eca8
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40eca8
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x40ecb9
mov eax, dword [esi]
add eax, ebx
call fcn.0040ec28
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x40ecac
cmp byte [esp + 4], 0
je 0x40ecdb
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ecfb
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x40ec61
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40129d
Capabilities:
Create thread
Resume thread

Disassembly:
lea eax, [esi + 4]
push eax
push 4
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
test eax, eax
je 0x4012eb
mov ecx, dword [0xec72d8]
test ecx, ecx
je 0x4012cd
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
cmp dword [esp + 0xc], 0
je 0x4012e0
push dword [esp + 0xc]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
inc eax
ret 0xc
Function at 0x402d65
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edi, eax
sub eax, dword [esi + 0xb8]
cmp eax, 3
jae 0x402d96
mov eax, dword [esi + 0xc0]
or eax, dword [esi + 0xc4]
jne 0x402de8
mov eax, dword [esi + 0x98]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x10]
test eax, eax
jns 0x402db2
fldz
jmp 0x402f11
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov dword [esi + 0xc0], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xc4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], ecx
mov dword [esi + 0xb8], edi
jmp 0x402deb
mov eax, dword [ebp - 8]
mov ecx, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
and dword [ebp - 0x10], 0
mov dword [ebp - 0xc], ecx
mov ebx, 0x7fffffff
and ecx, ebx
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi + 0xa4]
mov dword [ebp - 0x18], edx
fild qword [ebp - 0x18]
mov edx, dword [esi + 0xa0]
mov edi, 0x80000000
and dword [ebp - 0xc], edi
fild qword [ebp - 0x10]
and dword [ebp - 0x10], 0
mov dword [ebp - 0xc], ecx
and dword [ebp - 0xc], edi
fchs
and ecx, ebx
or eax, dword [ebp - 4]
faddp st(1)
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
fild qword [ebp - 0x18]
fild qword [ebp - 0x10]
fchs
faddp st(1)
fdivp st(1)
fstp qword [ebp - 0x18]
jne 0x402e93
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 8]
sub ecx, dword [esi + 0xc8]
mov eax, dword [ebp - 4]
sbb eax, dword [esi + 0xcc]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
and dword [ebp - 0xc], edi
and eax, ebx
and dword [ebp - 0x10], 0
mov dword [ebp - 4], eax
fild qword [ebp - 8]
fild qword [ebp - 0x10]
fchs
faddp st(1)
fmul qword [0xec5980]
fadd qword [ebp - 0x18]
fstp qword [ebp - 0x18]
mov eax, dword [esi + 0x8c]
fild dword [esi + 0x8c]
test eax, eax
jns 0x402ea9
fadd qword [0x4b91b8]
fmul qword [ebp - 0x18]
call fcn.0042d0e6
mov ecx, dword [esi + 0xac]
cmp edx, ecx
jb 0x402ecd
ja 0x402ec5
cmp eax, dword [esi + 0xa8]
jbe 0x402ecd
mov eax, dword [esi + 0xa8]
mov edx, ecx
mov ecx, dword [esi + 0xd4]
cmp edx, ecx
ja 0x402ee9
jb 0x402ee1
cmp eax, dword [esi + 0xd0]
jae 0x402ee9
mov eax, dword [esi + 0xd0]
mov edx, ecx
mov dword [ebp - 0xc], edx
and dword [ebp - 0xc], edi
mov dword [esi + 0xd4], edx
and edx, ebx
and dword [ebp - 0x10], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
fild qword [ebp - 0x18]
fild qword [ebp - 0x10]
mov dword [esi + 0xd0], eax
fchs
faddp st(1)
pop edi
pop ebx
leave
ret
Function at 0x40c20c
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
push ebx
push esi
xor esi, esi
push edi
xor edx, edx
mov dword [eax + 0x16], esi
movzx edi, byte [eax + esi]
mov ebx, edx
shr ebx, 0x18
xor edi, ebx
shl edx, 8
xor edx, dword [edi*4 + 0xec6248]
inc esi
cmp esi, ecx
jl 0x40c21b
pop edi
pop esi
mov dword [eax + 0x16], edx
pop ebx
ret

Function at 0x410ece
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
fld1
mov eax, 0xec3bfc
fst dword [eax]
sub eax, 4
fmul qword [0x4b9250]
cmp eax, 0xec3800
jge 0x410eda
fstp st(0)
xor ecx, ecx
mov eax, ecx
push 8
shl eax, 0x18
pop edx
test eax, eax
jns 0x410f05
add eax, eax
xor eax, 0x4c11db7
jmp 0x410f07
add eax, eax
dec edx
jne 0x410ef8
mov dword [ecx*4 + 0xec6248], eax
inc ecx
cmp ecx, 0x100
jl 0x410ef0
fld qword [0x4b9218]
mov edx, 0xeb9618
fld qword [0x4b9208]
xor ecx, ecx
and dword [ebp - 4], 0
push 0x20
pop eax
shl eax, cl
mov dword [ecx*4 + 0xec37dc], edx
mov dword [ebp - 8], eax
test eax, eax
jle 0x410f71
fild dword [ebp - 8]
fild dword [ebp - 4]
fadd dword [0x4b91b0]
fdiv st(1)
fmul st(3)
fmul st(2)
fsin
fld st(0)
fmulp st(1)
fmul st(3)
fmul st(2)
fsin
fstp dword [edx]
add edx, 4
inc dword [ebp - 4]
cmp dword [ebp - 4], eax
jl 0x410f47
fstp st(0)
inc ecx
cmp ecx, 8
jl 0x410f2d
fstp st(1)
fstp st(0)
leave
ret

Function at 0x41694a
Capabilities:
Enumerate pe sections

Disassembly:
mov dl, byte [ecx]
push esi
mov esi, eax
xor eax, eax
test dl, 0x40
je 0x416960
and dl, 0xbf
mov byte [ecx], dl
jmp 0x416a18
test dl, 8
jne 0x416a18
test dl, 1
je 0x416a1c
push ebx
mov bl, dl
and bl, 2
push edi
je 0x416988
mov edi, dword [esp + 0x10]
cmp dword [edi + 0x4c], eax
jne 0x4169ed
test dl, dl
js 0x4169ed
cmp bl, al
je 0x4169d3
mov ebx, dword [ecx + 4]
and dl, 0xfd
mov byte [ecx], dl
movzx edx, word [esi + ebx*4 + 6]
mov dword [ecx + 0xc], edx
movzx edi, word [esi + ebx*4 + 0xa]
mov dword [ecx + 0x10], edi
cmp edi, edx
jle 0x4169bd
movzx edx, word [esi + ebx*4 + 8]
movzx eax, word [esi + ebx*4 + 0xc]
sub edi, dword [ecx + 0xc]
sub eax, edx
shl eax, 0x10
cdq
idiv edi
mov dword [ecx + 0x18], eax
movzx eax, word [esi + ebx*4 + 8]
shl eax, 0x10
mov dword [ecx + 0x14], eax
mov eax, dword [ecx + 0xc]
mov dword [ecx + 8], eax
jmp 0x4169ed
mov edi, dword [ecx + 0x18]
add dword [ecx + 0x14], edi
mov edi, dword [ecx + 0x14]
js 0x4169e7
mov eax, 0x400000
cmp edi, eax
jle 0x4169ea
mov dword [ecx + 0x14], eax
inc dword [ecx + 8]
test byte [ecx], 2
pop edi
pop ebx
jne 0x416a18
mov eax, dword [ecx + 4]
movzx edx, word [esi + eax*4 + 0xa]
cmp dword [ecx + 8], edx
jne 0x416a18
movzx edx, byte [esi + 1]
inc eax
cmp eax, edx
jge 0x416a18
push dword [esp + 8]
mov edx, 0x10000
call fcn.004167cd
movsx eax, word [ecx + 0x16]
pop esi
ret 4
Function at 0x41c860
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi]
xor ebx, ebx
cmp edi, ebx
je 0x41ca25
cmp dword [edi + 8], ebx
jne 0x41ca25
mov eax, dword [edi]
test al, 0x20
jne 0x41ca25
push ebx
push dword [ebp + 0x10]
push esi
call fcn.004061ac
test eax, eax
je 0x41ca25
mov eax, dword [edi + 0x60]
cmp eax, ebx
je 0x41c8b0
push dword [edi + 0x64]
push dword [edi + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x70], eax
fild dword [0xea9044]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
test eax, eax
jns 0x41c8ce
fadd dword [0x4b91c4]
fmulp st(1)
fmul dword [0x4b93ec]
call fcn.0042d0e6
mov dword [edi + 0x14], eax
mov eax, dword [edi]
test eax, 0x100000
mov eax, dword [edi + 0x10]
cdq
mov dword [edi + 0x20], 0x32
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
je 0x41c95d
mov eax, dword [edi + 0x10]
sub dword [edi + 0xc], eax
mov edx, dword [edi + 0xc]
je 0x41c916
mov ecx, dword [edi + 4]
push edx
add eax, ecx
push eax
push ecx
call dword [0xea296c]
add esp, 0xc
jmp 0x41c919
or dword [edi], 4
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0xc]
mov dword [edi + 0x10], ebx
cmp ecx, edx
ja 0x41c928
mov ecx, edx
mov dword [edi + 8], ecx
mov eax, dword [esi + 0x78]
cmp eax, ebx
je 0x41c947
cmp dword [eax + 0xc], fcn.00404968
jne 0x41c947
mov eax, 0x4000
cmp ecx, eax
jge 0x41c947
mov dword [edi + 8], eax
cmp edx, dword [edi + 8]
jne 0x41c94f
mov dword [edi + 0xc], ebx
mov eax, dword [esi + 0x10]
mov dword [edi + 0x68], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x6c], eax
jmp 0x41c963
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
push dword [edi + 8]
push dword [edi + 4]
call fcn.00401063
mov dword [edi + 4], eax
cmp eax, ebx
je 0x41ca25
mov eax, dword [edi]
test al, 8
jne 0x41ca12
mov eax, dword [edi + 0x14]
imul eax, dword [0xea904c]
push 0x64
xor edx, edx
pop ecx
div ecx
mov dword [edi + 0x18], eax
call fcn.004061ce
mov ecx, dword [edi + 0x18]
sub ecx, eax
cmp ecx, ebx
jg 0x41c9a7
xor ecx, ecx
mov eax, dword [edi]
mov dword [edi + 0x1c], ecx
test al, 0x40
jne 0x41ca20
push ebx
push edi
push 0x41c779
lea esi, [edi + 0x44]
call fcn.0040129d
cmp dword [0xec72ac], ebx
je 0x41ca20
call fcn.0040564d
mov ebx, dword [eax + 0x1c]
test ebx, ebx
jne 0x41ca0a
mov ebx, dword [0xec72a8]
jmp 0x41ca0a
call fcn.00405764
test eax, eax
jne 0x41ca20
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x3c], 0
je 0x41ca0a
mov esi, ebx
test ebx, ebx
jne 0x41c9fd
mov esi, 0x7d0
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [edi + 0x3c]
cmp eax, esi
jae 0x41ca20
cmp dword [edi + 0x1c], 0
jne 0x41c9db
jmp 0x41ca20
mov eax, dword [edi + 0x60]
cmp eax, ebx
je 0x41ca20
push dword [edi + 0x64]
push ebx
push ebx
call eax
xor eax, eax
inc eax
jmp 0x41ca27
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42c6cf
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push esi
call fcn.00401287
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0xec27c4], eax
call fcn.00401007
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
fild qword [esp + 8]
fld1
fdivrp st(1)
fstp qword [0xec5980]
call fcn.00401bf7
call fcn.0042d0e6
mov dword [0xec6244], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
test byte [0xec728c], 0x20
mov dword [0xea906c], eax
je 0x42c738
mov dword [0xea9040], 2
call fcn.004157ee
call fcn.0041a7c8
call fcn.00407e85
call fcn.00410ece
fnclex
fldcw word [esp + 4]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0xec483c
call esi
push 0xec7250
call esi
push 0xec330c
call esi
push 0xec2dbc
call esi
push 0xec2e80
call esi
push 0xec5958
call esi
xor esi, esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push esi
push esi
push str.No_sound
mov dword [0xec724c], eax
call dword [0xec941c]
pop ecx
push eax
call fcn.00403b6e
push str.BASS_2.4
push 0x10
call fcn.0042c4b6
push 0x4b84ed
push 0x11
call fcn.0042c4b6
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42c7c4
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, dword [0xec32f8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
test esi, esi
je 0x42c7fb
push dword [esi + 0x14]
mov ebx, dword [esi]
call fcn.004010c2
push dword [esi + 0x18]
call fcn.004010c2
lea eax, [esi + 0x2c]
push eax
call edi
push esi
call fcn.004010c2
mov esi, ebx
test ebx, ebx
jne 0x42c7d7
mov esi, dword [0xec3c08]
test esi, esi
je 0x42c823
push dword [esi + 0x14]
mov ebx, dword [esi]
call fcn.004010c2
push dword [esi + 0x18]
call fcn.004010c2
push esi
call fcn.004010c2
mov esi, ebx
test ebx, ebx
jne 0x42c805
push dword [0xea9268]
call fcn.004010c2
push dword [0xeb9604]
call fcn.004010c2
push dword [0xec6230]
call fcn.004010c2
push dword [0xec32fc]
call fcn.004010c2
push dword [0xec32b0]
call fcn.004010c2
mov esi, 0xec32bc
push dword [esi]
call fcn.004010c2
add esi, 8
cmp esi, 0xec32fc
jl 0x42c85f
push dword [0xec329c]
call fcn.004010c2
push 0xec483c
call edi
push 0xec7250
call edi
push 0xec330c
call edi
push 0xec2dbc
call edi
push 0xec2e80
call edi
mov esi, 0xec724c
call fcn.0040130f
push dword [0xea906c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call fcn.004010c2
push dword [0xea906c]
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov eax, dword [0xec72e4]
test eax, eax
je 0x42c8de
mov esi, dword [eax]
push eax
call fcn.004010c2
mov eax, esi
test esi, esi
jne 0x42c8d0
push 0xec5958
call edi
push dword [0xec72b4]
call fcn.004010c2
push dword [0xec72b8]
call fcn.004010c2
pop edi
pop esi
pop ebx
ret
Function at 0x42c8ff
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub eax, 0
je 0x42c95c
dec eax
je 0x42c941
dec eax
je 0x42c929
dec eax
jne 0x42c961
push dword [0xea906c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call fcn.004010c2
push 0
push dword [0xea906c]
jmp 0x42c939
mov eax, dword [0xec2de4]
test eax, eax
je 0x42c961
push eax
push dword [0xec15a8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x42c961
call fcn.0042c6cf
push 0x104
push 0xeb12b8
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
jmp 0x42c961
call fcn.0042c7c4
xor eax, eax
inc eax
ret 4

Function at 0x4312f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0xece840]
push esi
mov esi, edx
test eax, eax
je 0x431306
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 0xe9b094
push 0x104
push 0xece848
call fcn.0042e9b0
add esp, 0x10
test eax, eax
js 0x431360
push dword [ebp + 8]
push 0xe9b094
push 0x104
push 0xecea50
call fcn.0042e9b0
add esp, 0x10
test eax, eax
js 0x431360
push 0
push 0
push 0xece840
push 0x431bf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0xece840], eax
pop esi
pop ebp
ret
push 0x10
push str.Error
push str.Install:_swprintf_nInvalid_path.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
pop ebp
ret

Function at 0x431380
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa54
mov eax, dword [0xec8980]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [0xecece8]
lea eax, [ebp - 0x214]
push edi
mov edi, dword [0xececa8]
push 0xf040b0
push 0xe9b094
push 0x104
push eax
call fcn.0042e9b0
push esi
lea eax, [ebp - 0x214]
push eax
push 0xe9b018
lea eax, [ebp - 0x624]
push 0x104
push eax
call fcn.0042e9b0
add esp, 0x24
test eax, eax
js 0x43145c
push edi
push 0xecea50
push 0xe9b018
lea eax, [ebp - 0x41c]
push 0x104
push eax
call fcn.0042e9b0
add esp, 0x14
test eax, eax
js 0x43145c
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x624]
push eax
push str._E__I__Y___ls____ls_
lea eax, [ebp - 0xa54]
push 0x216
push eax
call fcn.0042e9b0
add esp, 0x14
test eax, eax
js 0x43145c
push 0
push 0
lea eax, [ebp - 0xa54]
push eax
push str.xcopy
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00488f09
mov esp, ebp
pop ebp
ret
push 0x10
push str.Error
push str.ApplyCrack:_swprintf_nInvalid_path.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.00488f09
mov esp, ebp
pop ebp
ret
Function at 0x4316f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0xec8980]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0xecec70]
lea eax, [ebp - 0x210]
push esi
mov esi, dword [0xeced38]
push edi
mov edi, dword [0xecece0]
push 0xecea50
push str._lsuninstall.exe
push 0x104
push eax
call fcn.0042e9b0
add esp, 0x10
test eax, eax
jns 0x43175f
push 0x10
push str.Error
push str.CreateUninstaller:_swprintf_nInvalid_path.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488f09
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x210]
mov ecx, esi
call fcn.00431960
test al, al
je 0x431931
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_ls
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.0042e9b0
add esp, 0x10
test eax, eax
jns 0x4317b6
push 0x10
push str.Error
push str.RegisterUninstaller:_swprintf_nInvalid_path.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, str.CreateUninstaller:_RegisterUninstaller_n
jmp 0x43193c
push 0
lea eax, [ebp - 0x62c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x628]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4317a6
push edi
push 0xecea50
push str._ls_ls_0
lea eax, [ebp - 0x420]
push 0x106
push eax
call fcn.0042e9b0
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esp, 0x14
test eax, eax
js 0x431843
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431814
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x420]
push eax
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0x62c]
call edi
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431850
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push str.DisplayName
push dword [ebp - 0x62c]
call edi
mov ecx, 0xecea50
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431881
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push 0xecea50
push 1
push 0
push str.InstallLocation
push dword [ebp - 0x62c]
call edi
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4318b3
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push ebx
push 1
push 0
push str.Publisher
push dword [ebp - 0x62c]
call edi
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4318e5
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push str.UninstallString
push dword [ebp - 0x62c]
call edi
push dword [ebp - 0x62c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488f09
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, str.CreateUninstaller:_WriteUninstallerExe_n
mov edx, eax
call fcn.0042eb50
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00488f09
mov esp, ebp
pop ebp
ret
Function at 0x441f90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3950
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0xec8980]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.00488f3a
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0048769e
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.00442060
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x442f80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x442fb1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x442fa0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x449460
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3de9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0xec8980]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], eax
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
mov dword [edi], vtable.nanogui::Widget.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
xorps xmm0, xmm0
movups xmmword [edi + 0x10], xmm0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0xf
mov byte [edi + 0x10], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x50]
mov dword [edi + 0x4c], 0x101
push 0
movups xmmword [ecx], xmm0
push 0xe9afc0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0042f9e0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
mov dword [edi + 0x68], 0xffffffff
mov byte [edi + 0x6c], 0
mov dword [edi + 0x70], 0x3f800000
mov dword [edi + 0x74], 0
test eax, eax
je 0x449584
mov edx, dword [eax + 0x44]
mov ecx, eax
sub edx, dword [eax + 0x40]
mov esi, dword [eax]
push edi
sar edx, 2
push edx
call dword [esi + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x45d2f0
Capabilities:
Create directory

Disassembly:
push esi
push edi
mov edi, ecx
push 0
push edi
call fcn.0048ae8d
add esp, 8
lea esi, [eax - 2]
cmp esi, edi
jb 0x45d350
movzx eax, word [esi]
push eax
push 0xea02b0
call fcn.0048ae8d
add esp, 8
test eax, eax
jne 0x45d325
sub esi, 2
cmp esi, edi
jae 0x45d306
pop edi
pop esi
ret
push ebx
movzx ebx, word [esi]
xor eax, eax
push eax
push edi
mov word [esi], ax
call fcn.00499b61
add esp, 8
test eax, eax
je 0x45d34c
mov ecx, edi
call fcn.0045d2f0
push edi
call fcn.00499c37
add esp, 4
mov word [esi], bx
pop ebx
pop edi
pop esi
ret