joyce8/EMBER2024-capa huggingface dataset:
Function at 0x60029326
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x60099380
call fcn.60095eb0
push ecx
mov eax, dword [0x600b767c]
push esi
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call sym.MovieMk.exe_private:_long_int___thiscall_CWebSettings::LoadSetting_unsigned_short_int_const___class_WTL::CString__const
test eax, eax
jge 0x60029358
mov esi, 0x80004005
jmp 0x6002940f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x6002937d
test eax, eax
mov esi, eax
je 0x6002936e
push eax
call sub.WMMUtil.dll_Ordinal_113
mov ecx, dword [ebp + 0xc]
push esi
push eax
call fcn.60005fd3
jmp 0x6002940d
mov eax, ecx
push 4
cdq
pop esi
idiv esi
test edx, edx
jne 0x6002934e
push ebx
push edi
mov eax, ecx
push esi
cdq
pop ecx
mov ebx, 0xdead
idiv ecx
mov ecx, dword [ebp + 0xc]
push eax
call fcn.600064ad
push 0
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.600064ad
mov ecx, dword [ebp - 0x10]
mov edi, eax
or dword [ecx - 0xc], 0xffffffff
cmp word [eax], 0
je 0x600293e8
lea eax, [ebp + 8]
push eax
push str._4hx
push edi
call dword [sym.imp.MSVCRT.dll_swscanf]
imul ebx, ebx, 0xeed
mov eax, dword [ebp + 8]
add esp, 0xc
inc ebx
add edi, 8
xor eax, ebx
mov word [esi], ax
inc esi
inc esi
cmp word [edi], 0
jne 0x600293bb
and word [esi], 0
mov eax, dword [ebp - 0x10]
pop edi
pop ebx
lea ecx, [eax - 0xc]
cmp ecx, dword [0x600b7680]
je 0x60029403
mov dword [eax - 0xc], 1
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
call fcn.60006515
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.60005fa7
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x600294c4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
cmp dword [esp + 0xc], edx
jle 0x600294fd
mov ecx, dword [esp + 4]
push esi
push edi
mov esi, dword [esp + 0x10]
mov eax, dword [ecx]
mov edi, eax
movzx esi, byte [edx + esi]
and edi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x6009fddc]
xor esi, eax
inc edx
cmp edx, dword [esp + 0x14]
mov dword [ecx], esi
jl 0x600294d2
pop edi
pop esi
ret 0xc

Function at 0x60034f5d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
cmp byte [0x600be211], 0
jne 0x60034fc2
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x84], 2
sete al
test al, al
mov byte [0x600be212], al
je 0x60034fbb
cmp dword [ebp - 0x90], 5
jb 0x60034fb4
cmp dword [ebp - 0x8c], 1
jb 0x60034fb4
mov byte [0x600be213], 1
jmp 0x60034fbb
and byte [0x600be213], 0
mov byte [0x600be211], 1
leave
ret
Function at 0x60040c23
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x14], edi
jne 0x60040c48
push 0x800
mov dword [esi + 0xc], 0x400
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [esi + 0x14], eax
mov edx, dword [esi + 0x14]
cmp edx, edi
je 0x60040d27
cmp dword [esi + 8], 0x80000000
jne 0x60040d27
mov eax, dword [esi + 0x1c]
mov dword [ebp - 4], edi
cmp eax, 1
jne 0x60040cb5
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
shl eax, 1
cmp ecx, 0xffffffff
jne 0x60040c88
mov ecx, dword [esi]
lea ebx, [ebp - 4]
push ebx
push eax
mov edi, dword [ecx]
push edx
push ecx
call dword [edi + 0xc]
jmp 0x60040ca4
push edi
lea edi, [ebp - 4]
push edi
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
test eax, eax
mov dword [esi + 0x24], eax
jl 0x60040d27
mov eax, dword [ebp - 4]
shr eax, 1
mov dword [esi + 0x10], eax
jmp 0x60040d27
cmp eax, edi
jne 0x60040d20
mov edi, dword [esi + 0xc]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.600960a0
mov ebx, esp
test ebx, ebx
je 0x60040d27
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x60040ce6
mov eax, dword [esi]
lea edx, [ebp - 4]
push edx
push edi
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xc]
jmp 0x60040d03
lea ecx, [ebp - 4]
push 0
push ecx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
test eax, eax
mov dword [esi + 0x24], eax
jl 0x60040d27
push dword [esi + 0xc]
push dword [esi + 0x14]
push dword [ebp - 4]
push ebx
push 8
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x60040cb0
mov dword [esi + 0x24], 0x80004005
mov eax, dword [esi + 0x14]
lea esp, [ebp - 0x10]
mov dword [esi + 0x18], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x60040de8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x60040ed6
cmp dword [esi + 8], 0x40000000
jne 0x60040ed6
mov eax, dword [esi + 0x1c]
cmp eax, 1
jne 0x60040e5c
mov edi, dword [esi + 0x10]
mov eax, dword [esi + 4]
shl edi, 1
cmp eax, 0xffffffff
mov ebx, 0x80004005
jne 0x60040e35
mov eax, dword [esi]
lea edx, [ebp - 4]
push edx
push edi
push dword [esi + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
jmp 0x60040e4f
lea edx, [ebp - 4]
push 0
push edx
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, ebx
cmp edi, dword [ebp - 4]
mov dword [esi + 0x24], eax
je 0x60040ecc
mov dword [esi + 0x24], ebx
jmp 0x60040ecc
test eax, eax
jne 0x60040ec5
mov eax, dword [esi + 0xc]
add eax, 3
and al, 0xfc
call fcn.600960a0
mov edi, esp
test edi, edi
je 0x60040ecc
and byte [edi], 0
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0xc]
push edi
push dword [esi + 0x10]
push dword [esi + 0x14]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esi + 4]
cmp ecx, 0xffffffff
jne 0x60040ea7
mov ecx, dword [esi]
lea ebx, [ebp - 4]
push ebx
push eax
mov edx, dword [ecx]
push edi
push ecx
call dword [edx + 0x10]
mov dword [esi + 0x24], eax
jmp 0x60040ecc
lea edx, [ebp - 4]
push ebx
push edx
push eax
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
jmp 0x60040ea2
mov dword [esi + 0x24], 0x80004005
mov eax, dword [esi + 0x14]
and dword [esi + 0x10], 0
mov dword [esi + 0x18], eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x60046edf
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x10]
and dword [esi], 0
test ebx, ebx
jne 0x60046f08
add esi, 4
push esi
call sub.WMMUtil.dll_Ordinal_32
xor eax, eax
pop edi
pop esi
pop ebx
ret 4
push ebx
call sub.WMMUtil.dll_Ordinal_32
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x60046f25
call edi
cmp eax, 2
je 0x60046f25
test eax, eax
jle 0x60046f02
jmp 0x60046f3f
add esi, 4
push ebx
push esi
call sub.WMMUtil.dll_Ordinal_119
test eax, eax
jne 0x60046f00
call edi
test eax, eax
jg 0x60046f3d
call edi
jmp 0x60046f02
call edi
and eax, 0xffff
or eax, 0x80070000
jmp 0x60046f02
Function at 0x60048260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [0x600be400]
push edi
push str.WAVE
push 0x16b
mov dword [ebp - 8], ecx
push esi
call sub.WMMUtil.dll_Ordinal_45
mov edi, eax
test edi, edi
je 0x600482ad
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x600482ad
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x600482b4
mov eax, 0x80004005
jmp 0x60048326
mov esi, dword [ebp + 8]
push 0
mov ecx, esi
call fcn.6004839c
push dword [ebp - 4]
mov ecx, esi
push edi
call fcn.6004832d
mov ecx, esi
call fcn.6004836e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
and dword [esi], 0
fld qword [0x600a0cf0]
push 4
push ecx
push ecx
add esi, 4
fstp qword [esp]
push ecx
push ecx
fldz
fstp qword [esp]
fld qword [0x600a0cf0]
push ecx
push ecx
fstp qword [esp]
push ecx
push ecx
mov ecx, dword [ebp - 8]
fldz
lea eax, [ecx - 0x338]
fstp qword [esp]
neg ecx
sbb ecx, ecx
push esi
and ecx, eax
add ecx, 0x630
call fcn.6004ca98
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x6004e6d0
Capabilities:
Check os version

Disassembly:
cmp dword [0x600be3dc], 0
push esi
push 1
pop esi
jne 0x6004e6f8
push 0x600be348
mov dword [0x600be3dc], esi
mov dword [0x600be348], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 8]
sub eax, 0
je 0x6004e7a1
dec eax
je 0x6004e796
dec eax
je 0x6004e781
dec eax
je 0x6004e778
dec eax
je 0x6004e766
dec eax
je 0x6004e749
dec eax
je 0x6004e722
xor eax, eax
jmp 0x6004e7ac
cmp dword [0x600be358], esi
jne 0x6004e71b
cmp dword [0x600be34c], 4
jne 0x6004e71b
cmp dword [0x600be350], 0xa
jne 0x6004e71b
cmp word [0x600be354], 0x7ce
jne 0x6004e71b
jmp 0x6004e792
cmp dword [0x600be358], esi
jne 0x6004e71b
mov eax, dword [0x600be34c]
cmp eax, 4
ja 0x6004e792
jne 0x6004e71b
cmp dword [0x600be350], 0xa
jmp 0x6004e790
cmp dword [0x600be358], 2
jne 0x6004e71b
cmp dword [0x600be34c], 5
jmp 0x6004e790
cmp dword [0x600be358], 2
jmp 0x6004e787
cmp dword [0x600be358], esi
jne 0x6004e71b
cmp dword [0x600be34c], 4
jb 0x6004e71b
mov eax, esi
jmp 0x6004e7ac
xor eax, eax
cmp dword [0x600be358], 2
jmp 0x6004e7a9
xor eax, eax
cmp dword [0x600be358], esi
sete al
pop esi
ret 4
Function at 0x6005276a
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x6009b602
call fcn.60095eb0
push ecx
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
call fcn.60058da7
xor edi, edi
lea ecx, [ebx + 0x3c]
mov dword [ebp - 4], edi
call fcn.60059301
mov dword [ebx + 0x30], 0x6009e564
mov dword [ebx + 0x34], 0x600a162c
lea ecx, [ebx + 0x58]
mov byte [ebp - 4], 1
mov dword [ebx + 0x38], 0x600a0f2c
call fcn.600797da
lea esi, [ebx + 0x748]
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.6005802f
mov byte [esi + 0xe0], 1
mov dword [esi + 0xe4], edi
mov dword [esi], 0x600a1620
and byte [ebx + 0x85d], 0
and byte [ebx + 0x85e], 0
and byte [ebx + 0x860], 0
push 0x600be1d8
lea ecx, [ebx + 0x868]
mov byte [ebp - 4], 3
mov byte [ebx + 0x85c], 1
mov byte [ebx + 0x85f], 1
mov dword [ebx + 0x864], 2
call fcn.60015dad
mov dword [ebx + 0x86c], edi
lea ecx, [ebx + 0x870]
mov byte [ebp - 4], 5
call fcn.60052916
mov dword [ebx + 0xb30], edi
mov dword [ebx + 0xb34], edi
lea ecx, [ebx + 0xb40]
mov byte [ebp - 4], 6
mov dword [ebx + 0xb38], edi
mov dword [ebx + 0xb3c], edi
call fcn.60052b25
lea esi, [ebx + 0x830]
push 0x2c
push edi
mov dword [ebx + 0xb74], edi
and byte [ebx + 0xb90], 0
push esi
mov dword [ebx + 0xb8c], edi
mov dword [ebx + 0xb94], edi
mov dword [ebx], 0x600a1614
mov dword [ebx + 0x30], 0x600a1610
mov dword [ebx + 0x34], 0x600a160c
mov dword [ebx + 0x38], 0x600a15d4
call sub.MSVCRT.dll_memset
mov dword [esi], 0x2c
lea edi, [ebx + 0x84c]
mov esi, 0x600b7698
mov dword [ebx + 0x838], 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [esi]
push 0x64
movsd dword es:[edi], dword [esi]
and dword [ebx + 0xb28], 0
and dword [ebx + 0xb2c], 0
pop eax
mov dword [ebx + 0xb78], 0xfa
mov dword [ebx + 0xb6c], eax
mov dword [ebx + 0xb70], eax
mov dword [ebx + 0xb7c], 0x81
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ebx + 0xb80], 0x195
mov dword [ebx + 0xb84], 0x186
mov dword [ebx + 0xb88], 0x1c3
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x60057b49
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x6009b900
call fcn.60095eb0
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [0x600be400]
push 0xf1
mov esi, ecx
push dword [ebp + 8]
mov dword [ebp - 0x14], edi
push edi
call sub.WMMUtil.dll_Ordinal_45
test eax, eax
je 0x60057cc9
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x60057cc9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x60057cc9
movzx eax, word [edi + 6]
cmp dword [esi + 0x44], 0
mov ebx, dword [0x600bdc00]
mov dword [ebp - 0x18], eax
jne 0x60057bca
push 1
push eax
movzx eax, word [edi + 4]
push 0x20
push eax
movzx eax, word [edi + 2]
push eax
call ebx
test eax, eax
mov dword [esi + 0x44], eax
je 0x60057cc9
cmp dword [esi + 0xe4], 0
jne 0x60057bf6
movzx eax, word [edi + 6]
push 1
push eax
movzx eax, word [edi + 4]
push 0x20
push eax
movzx eax, word [edi + 2]
push eax
call ebx
test eax, eax
mov dword [esi + 0xe4], eax
je 0x60057cc9
xor eax, eax
push 0x2000
push eax
push eax
push eax
push dword [ebp + 8]
push dword [ebp - 0x14]
call sub.WMMUtil.dll_Ordinal_120
mov dword [ebp - 0x10], eax
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x60057cc9
cmp dword [0x600bf578], ebx
je 0x60057c31
movzx eax, word [edi + 2]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.600492cb
push ebx
mov ebx, dword [0x600bdbec]
push dword [ebp - 0x10]
push dword [esi + 0x44]
call ebx
cmp eax, 0xffffffff
je 0x60057cba
lea eax, [ebp - 0x10]
push eax
call fcn.600493da
test eax, eax
jl 0x60057cba
push 0
push dword [ebp - 0x10]
push dword [esi + 0xe4]
call ebx
cmp eax, 0xffffffff
je 0x60057cba
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jle 0x60057c91
lea eax, [edi + 8]
mov dword [ebp + 8], ecx
mov ebx, eax
mov ax, word [ebx]
test ax, ax
je 0x60057c8a
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x48]
call fcn.600595c8
inc ebx
inc ebx
dec dword [ebp + 8]
jne 0x60057c73
mov eax, dword [esi + 0x4c]
push dword [esi + 0x44]
mov ebx, dword [0x600bdbe8]
mov dword [ebp + 8], eax
call ebx
cmp eax, dword [ebp + 8]
jne 0x60057cba
mov eax, dword [esi + 0x4c]
push dword [esi + 0xe4]
mov dword [ebp + 8], eax
call ebx
cmp eax, dword [ebp + 8]
je 0x60057ccd
cmp dword [ebp - 0x10], 0
je 0x60057cc9
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
jmp 0x60057d0d
movzx ecx, word [edi + 2]
lea eax, [esi + 0xb4]
mov dword [eax], ecx
mov eax, dword [eax]
movzx edx, word [edi + 4]
add eax, 6
lea ecx, [esi + 0xb8]
mov dword [esi + 0xbc], eax
mov eax, edx
add eax, 6
cmp dword [ebp - 0x10], 0
mov dword [ecx], edx
mov dword [esi + 0xc0], eax
je 0x60057d0a
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x6005cecd
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x6009ba28
call fcn.60095eb0
sub esp, 0x100
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
mov dword [esi + 0x98], 0x1388
mov dword [esi + 0x9c], 0x3e8
push dword [ebp + 8]
call fcn.6005d085
xor edi, edi
mov dword [ebp + 8], eax
cmp eax, edi
jl 0x6005d075
push edi
call fcn.6006569d
test eax, eax
je 0x6005cf29
push 1
pop eax
push eax
mov dword [0x600bf578], eax
call dword [0x600bdda0]
push ebx
call fcn.6005fcd5
push str.WMMRes.dll
call sub.WMMUtil.dll_Ordinal_103
lea ebx, [esi + 0xd4c]
push 0x103
push ebx
mov dword [esi + 8], eax
push dword [ebp + 0xc]
call sub.WMMUtil.dll_Ordinal_67
test eax, eax
jne 0x6005cf59
mov word [ebx], di
jmp 0x6005cf80
push ebx
call sub.WMMUtil.dll_Ordinal_113
dec eax
js 0x6005cf80
lea ecx, [esi + eax*2 + 0xd4c]
cmp word [ecx], 0x5c
je 0x6005cf78
dec eax
dec ecx
dec ecx
cmp eax, edi
jge 0x6005cf69
jmp 0x6005cf80
mov word [esi + eax*2 + 0xd4e], di
mov eax, dword [0x600be400]
lea ecx, [ebp - 0x10c]
push 0x80
mov edi, 0xf00e
push ecx
push edi
push eax
call sub.WMMUtil.dll_Ordinal_107
test eax, eax
jne 0x6005cfc7
mov eax, dword [0x600b767c]
mov dword [ebp + 0xc], eax
and dword [ebp - 4], 0
push edi
lea eax, [ebp + 0xc]
push str.Failed_to_load_resource_string__d
push eax
call fcn.600060f9
add esp, 0xc
lea ecx, [ebp + 0xc]
call fcn.60005fa7
mov eax, dword [0x600b767c]
mov dword [ebp + 0x10], eax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
lea eax, [ebp + 0x10]
push str.MUI_04X_
push eax
call fcn.600060f9
add esp, 0xc
lea edi, [esi + 0xf54]
push ebx
push edi
call sub.WMMUtil.dll_Ordinal_111
push dword [ebp + 0x10]
push edi
call sub.WMMUtil.dll_Ordinal_108
lea eax, [ebp - 0x10c]
push eax
push edi
call sub.WMMUtil.dll_Ordinal_108
and word [esi + 0x115c], 0
lea edi, [esi + 0x115c]
push 5
push edi
mov ebx, 0x400
push 0x1e
push ebx
call sub.WMMUtil.dll_Ordinal_170
test eax, eax
jg 0x6005d041
push 0x600b9904
push edi
call sub.WMMUtil.dll_Ordinal_111
and word [esi + 0x1166], 0
add esi, 0x1166
push 5
push esi
push 0xe
push ebx
call sub.WMMUtil.dll_Ordinal_170
test eax, eax
pop ebx
jg 0x6005d06a
push 0x600b7f18
push esi
call sub.WMMUtil.dll_Ordinal_111
lea ecx, [ebp + 0x10]
call fcn.60005fa7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x600666ea
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [0x600bdd28]
mov esi, 0x600bbe94
mov eax, dword [esi - 4]
mov ebx, dword [esi + 4]
cmp eax, 0xffff8001
je 0x6006671f
test eax, eax
push eax
jl 0x60066715
call edi
mov ebx, eax
jmp 0x6006671f
call edi
mov ebx, eax
xor ebx, 0xffffff
mov eax, dword [esi]
cmp eax, 0xffff8002
je 0x60066781
push eax
call edi
mov ecx, eax
cmp ebx, ecx
mov dword [ebp - 8], ecx
je 0x60066781
mov edx, ebx
shr eax, 0x10
shr edx, 0x10
movzx eax, al
movzx edx, dl
add eax, edx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
mov dh, al
xor eax, eax
mov al, ch
xor ecx, ecx
mov cl, bh
movzx eax, al
movzx ecx, cl
add eax, ecx
mov ecx, edx
cdq
sub eax, edx
sar eax, 1
mov cl, al
movzx eax, byte [ebp - 8]
movzx edx, bl
add eax, edx
cdq
sub eax, edx
sar eax, 1
movzx eax, al
shl ecx, 8
or ecx, eax
mov dword [esi + 8], ecx
jmp 0x60066784
mov dword [esi + 8], ebx
add esi, 0x10
cmp esi, 0x600bc024
jl 0x600666fd
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x60066f51
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x6009c4cc
call fcn.60095eb0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ebx, [esi - 0x58]
mov dword [ebx], 0x600a279c
mov dword [esi], 0x600a278c
mov dword [esi + 4], 0x600a2754
mov dword [esi + 8], 0x600a2740
mov dword [esi + 0xc], 0x600a2734
mov dword [esi + 0x10], 0x600a2718
mov dword [esi + 0x14], 0x600a2704
mov eax, dword [esi + 0xec]
lea edi, [esi + 0xec]
test eax, eax
mov dword [ebp - 4], 0xa
je 0x60066fb6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [edi], 0
mov eax, dword [esi + 0xf0]
lea edi, [esi + 0xf0]
test eax, eax
je 0x60066fcf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [edi], 0
mov eax, dword [esi + 0xf4]
lea edi, [esi + 0xf4]
test eax, eax
je 0x60066fe8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [edi], 0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x60066ff6
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov edi, dword [esi + 0x18]
test edi, edi
je 0x6006700f
mov ecx, edi
call fcn.600668a1
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
and dword [esi + 0x18], 0
pop ecx
push 1
mov ecx, ebx
call fcn.6006a2ef
lea ecx, [esi + 0x150]
mov byte [ebp - 4], 9
call fcn.60005fa7
lea ecx, [esi + 0x14c]
mov byte [ebp - 4], 8
call fcn.60005fa7
lea ecx, [esi + 0x148]
mov byte [ebp - 4], 7
call fcn.60005fa7
lea ecx, [esi + 0x12c]
mov byte [ebp - 4], 6
call fcn.600716fa
lea ecx, [esi + 0x120]
mov byte [ebp - 4], 5
call fcn.600716fa
lea ecx, [esi + 0xc8]
mov byte [ebp - 4], 4
call fcn.600670be
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.60066c15
lea eax, [esi - 0x58]
lea ecx, [esi + 0xc]
mov edx, eax
pop edi
neg edx
sbb edx, edx
and edx, ecx
lea ecx, [esi + 8]
mov dword [edx], 0x600a27a8
mov edx, eax
neg edx
sbb edx, edx
and edx, ecx
mov ecx, dword [ebp - 0xc]
neg eax
sbb eax, eax
mov dword [edx], 0x600a27b4
and eax, esi
pop esi
pop ebx
mov dword [eax], 0x600a27c8
mov dword fs:[0], ecx
leave
ret
Function at 0x60079930
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x6009cab6
call fcn.60095eb0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x600a0f2c
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x10], ebx
lea edi, [esi + 0x40]
mov byte [ebp - 4], 1
mov ecx, edi
mov dword [esi + 0x14], ebx
call fcn.6007a926
mov ecx, dword [ebp - 0xc]
mov dword [edi], 0x600a2d14
mov dword [esi], 0x600a2cdc
mov dword [esi + 4], 0x600a2cc0
mov dword [esi + 0x114], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x6007f320
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
cmp eax, 1
je 0x6007f36c
jle 0x6007f367
cmp eax, 3
jg 0x6007f367
push esi
mov esi, dword [ecx]
test esi, esi
je 0x6007f35e
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
sub ecx, eax
push edi
sub edx, eax
mov edi, dword [ecx + eax]
mov ebx, dword [eax]
xor edi, ebx
mov dword [edx + eax], edi
add eax, 4
dec esi
jne 0x6007f34c
pop edi
pop ebx
mov eax, 1
pop esi
ret 0x10
xor eax, eax
ret 0x10
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call fcn.600810b0
mov eax, 1
ret 0x10

Function at 0x6007fcf0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
cmp eax, 1
je 0x6007fd3c
jle 0x6007fd37
cmp eax, 3
jg 0x6007fd37
push esi
mov esi, dword [ecx]
test esi, esi
je 0x6007fd2e
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
sub ecx, eax
push edi
sub edx, eax
mov edi, dword [ecx + eax]
mov ebx, dword [eax]
xor edi, ebx
mov dword [edx + eax], edi
add eax, 4
dec esi
jne 0x6007fd1c
pop edi
pop ebx
mov eax, 1
pop esi
ret 0x10
xor eax, eax
ret 0x10
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call fcn.600815e0
mov eax, 1
ret 0x10