joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b440e
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd5a3
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x100ed3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
push str.QQPC02FB3C82_DC18_475c_A75E_B44B90975300MGR
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x70], eax
lea ecx, [ebp - 0x10]
call fcn.10003b20
and dword [ebp - 4], 0
push dword [ebp + 8]
push str.Global97ED6B7B_FABA_4282_B5E8_E5150894AB99
push 0x100d44dc
lea eax, [ebp - 0x10]
push eax
call fcn.10016180
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.1000ba55
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x6c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x6c], 0
je 0x100b44b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100b44b7
mov dword [ebp - 0x14], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10010769
mov eax, dword [ebp - 0x14]
jmp 0x100b44ca
and dword [ebp - 0x18], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10010769
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4
Function at 0x100b5175
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x1c
call fcn.10071d5d
pop ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100b519c
push dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
call fcn.100016bb
mov dword [ebp - 0x10], eax
jmp 0x100b51a0
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
push 0x101091d0
push 0
push dword [ebp - 4]
push 0x100b50f7
push 0
push 0
call fcn.10076136
add esp, 0x18
mov dword [0x101091cc], eax
xor eax, eax
cmp dword [0x101091cc], 0
setne al
mov dword [0x101091d8], eax
mov eax, dword [0x101091d8]
leave
ret 4

Function at 0x100b5202
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push edi
and dword [ebp - 4], 0
push 0x20a
push 0
push str.InstallerSvcEx2014
call fcn.10071b30
add esp, 0xc
push 0x104
push dword [ebp + 8]
push str.InstallerSvcEx2014
call fcn.1007526c
add esp, 0xc
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100b525c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100b5303
push 0xf01ff
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100b5281
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100b52fa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x100b529f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100b52f1
mov dword [ebp - 0x10], 7
cmp dword [ebp - 0x10], 0
jle 0x100b52f1
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
and dword [ebp - 0x2c], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x100b52dd
cmp dword [ebp - 0x28], 4
jne 0x100b52db
jmp 0x100b52f1
jmp 0x100b52e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100b52f1
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x100b52a6
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 4]
pop edi
leave
ret
Function at 0x100b5309
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100b5333
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100b5383
push 0xf01ff
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100b5358
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100b5377
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x100b536e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x100b5385
Capabilities:
Create service
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100b53b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x100b541e
push 0
push 0
push 0
push 0
push 0x100d4a70
push dword [ebp + 8]
push 1
push dword [ebp + 0x18]
push 0x110
push 0xf01ff
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100b53f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x100b5412
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
leave
ret
Function at 0x100b5a9c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100e0de8
push 0x10079920
mov eax, dword fs:[0]
push eax
push ecx
push ecx
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100ed3e0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
and dword [ebp - 0x24], 0
mov eax, dword [ebp + 0x14]
add eax, 5
mov dword [ebp - 0x1c], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.100b562f
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
push dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push dword [eax + 0x210]
call fcn.100b562f
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
je 0x100b5bc8
cmp dword [ebp - 0x28], 0
je 0x100b5bc8
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
cmp eax, 0xe9
jne 0x100b5bc8
push dword [ebp + 0x18]
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1c]
push eax
call fcn.10073b29
add esp, 0xc
test eax, eax
jne 0x100b5bc8
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
push dword [ebp - 0x20]
call fcn.10073b29
add esp, 0xc
test eax, eax
je 0x100b5bc8
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
push 0x40
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100b5bc8
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x100b5bb5
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x1c]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 4], 0xfffffffe
jmp 0x100b5be3
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100b6092
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x108], 0
push 0xff
push 0
lea eax, [ebp - 0x107]
push eax
call fcn.10071b30
add esp, 0xc
push 0x11c
push 0
lea eax, [ebp - 0x228]
push eax
call fcn.10071b30
add esp, 0xc
mov dword [ebp - 0x228], 0x11c
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100b6117
mov dword [ebp - 0x228], 0x114
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x100b6117
xor eax, eax
jmp 0x100b6132
cmp dword [ebp - 0x224], 6
jne 0x100b6130
cmp dword [ebp - 0x220], 1
jb 0x100b6130
xor eax, eax
inc eax
jmp 0x100b6132
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10071b1a
leave
ret

Function at 0x100b613e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x108], 0
push 0xff
push 0
lea eax, [ebp - 0x107]
push eax
call fcn.10071b30
add esp, 0xc
push 0x11c
push 0
lea eax, [ebp - 0x228]
push eax
call fcn.10071b30
add esp, 0xc
mov dword [ebp - 0x228], 0x11c
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100b61c3
mov dword [ebp - 0x228], 0x114
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x100b61c3
xor eax, eax
jmp 0x100b61de
cmp dword [ebp - 0x224], 6
jne 0x100b61dc
cmp dword [ebp - 0x220], 0
jne 0x100b61dc
xor eax, eax
inc eax
jmp 0x100b61de
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10071b1a
leave
ret

Function at 0x100b61ea
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x10], 0
jne 0x100b620a
xor eax, eax
jmp 0x100b62bf
and dword [ebp - 8], 0
call fcn.100b608b
neg eax
sbb eax, eax
and eax, 0x200
add eax, 0x20019
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 0
push dword [ebp + 8]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100b62bd
cmp dword [ebp - 8], 0
je 0x100b62bd
and word [ebp - 0x220], 0
push 0x20a
push 0
lea eax, [ebp - 0x21e]
push eax
call fcn.10071b30
add esp, 0xc
mov dword [ebp - 0xc], 0x20b
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100b62b0
push 0x103
lea eax, [ebp - 0x220]
push eax
push dword [ebp + 0x10]
call fcn.1007526c
add esp, 0xc
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x100b62bf
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x100b62bf
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10071b1a
leave
ret
Function at 0x100b6303
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd8a9
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x22c], 0
lea ecx, [ebp - 0x228]
call fcn.10003b20
and dword [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.10004871
and word [ebp - 0x224], 0
push 0x20a
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.10071b30
add esp, 0xc
push 1
push 0x23
lea eax, [ebp - 0x224]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x228]
call fcn.10003bd7
lea ecx, [ebp - 0x228]
call fcn.100107d6
test eax, eax
jle 0x100b63ea
lea eax, [ebp - 0x228]
push eax
call fcn.100b62cb
pop ecx
push str.TencentQMDownload_
lea ecx, [ebp - 0x228]
call fcn.10009fbf
lea ecx, [ebp - 0x228]
call fcn.1000ba55
push eax
call fcn.10009f95
pop ecx
test eax, eax
jne 0x100b63ea
push 0
lea ecx, [ebp - 0x228]
call fcn.1000ba55
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003b3a
mov eax, dword [ebp - 0x22c]
or eax, 1
mov dword [ebp - 0x22c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.10010769
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10071b1a
leave
ret

Function at 0x100b6431
Capabilities:
Check if file exists
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x21c], 0
mov eax, dword [0x101098c0]
and eax, 1
jne 0x100b6477
mov eax, dword [0x101098c0]
or eax, 1
mov dword [0x101098c0], eax
mov ecx, 0x101098bc
call fcn.10003b20
push 0x100c4aee
call fcn.10072537
pop ecx
mov ecx, 0x101098bc
call fcn.10030a5b
movzx eax, al
test eax, eax
je 0x100b6501
and word [ebp - 0x218], 0
push 0x20a
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10071b30
add esp, 0xc
push 0x208
lea eax, [ebp - 0x218]
push eax
push 0x100d4ee4
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x101098bc
call fcn.10003bd7
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100b6501
push 0
mov ecx, 0x101098bc
call fcn.1000ba55
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x101098bc
mov ecx, dword [ebp + 8]
call fcn.10003b3a
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10071b1a
leave
ret
Function at 0x100b65bd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 3
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 0x18], 1
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push 0x100d5200
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100b661a
jmp 0x100b676d
push dword [ebp + 8]
push 0x100d5250
push 0x103
lea eax, [ebp - 0x128]
push eax
call fcn.10007e18
add esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100b665f
jmp 0x100b6764
mov dword [ebp - 0x18], 4
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x100d5260
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100b6697
jmp 0x100b675b
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 0x103
push 0x104
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.10071b30
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x100d5270
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100b66e2
jmp 0x100b675b
cmp dword [ebp - 0x10], 1
jne 0x100b6712
push 0x100d51fc
call fcn.10071f70
pop ecx
push eax
push 0x100d5280
lea eax, [ebp - 0x128]
push eax
call fcn.100751a9
add esp, 0xc
test eax, eax
jne 0x100b6712
and dword [ebp - 8], 0
jmp 0x100b675b
cmp dword [ebp - 0x10], 1
jne 0x100b6745
push 0x100d5284
call fcn.10071f70
pop ecx
push eax
push 0x100d5288
lea eax, [ebp - 0x128]
push eax
call fcn.100751a9
add esp, 0xc
test eax, eax
je 0x100b6745
mov dword [ebp - 8], 2
jmp 0x100b675b
cmp dword [ebp - 0x10], 2
jne 0x100b6754
mov dword [ebp - 8], 1
jmp 0x100b675b
mov dword [ebp - 8], 3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10071b1a
leave
ret
Function at 0x100b6b3b
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x20], eax
and dword [ebp - 8], 0
jmp 0x100b6b6b
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x100b6b89
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push dword [ecx + eax*4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x18], eax
jmp 0x100b6b64
mov dword [ebp - 0x1c], 0xe3779b90
and dword [ebp - 8], 0
jmp 0x100b6b9d
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
jge 0x100b6bf8
mov eax, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x1c]
xor eax, ecx
mov ecx, dword [ebp - 4]
shr ecx, 5
add ecx, dword [ebp - 0xc]
xor eax, ecx
mov ecx, dword [ebp - 0x20]
sub ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
shl eax, 4
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x1c]
xor eax, ecx
mov ecx, dword [ebp - 0x20]
shr ecx, 5
add ecx, dword [ebp - 0x14]
xor eax, ecx
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x1c]
add eax, 0x61c88647
mov dword [ebp - 0x1c], eax
jmp 0x100b6b96
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push dword [ebp - 0x20]
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
leave
ret
Function at 0x100b6c17
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x20], eax
and dword [ebp - 8], 0
jmp 0x100b6c47
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x100b6c65
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push dword [ecx + eax*4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x18], eax
jmp 0x100b6c40
and dword [ebp - 0x1c], 0
and dword [ebp - 8], 0
jmp 0x100b6c76
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
jge 0x100b6ccd
mov eax, dword [ebp - 0x1c]
sub eax, 0x61c88647
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
shl eax, 4
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x1c]
xor eax, ecx
mov ecx, dword [ebp - 0x20]
shr ecx, 5
add ecx, dword [ebp - 0x14]
xor eax, ecx
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x1c]
xor eax, ecx
mov ecx, dword [ebp - 4]
shr ecx, 5
add ecx, dword [ebp - 0xc]
xor eax, ecx
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
jmp 0x100b6c6f
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push dword [ebp - 0x20]
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
leave
ret

Function at 0x100b7b83
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0x5c
push 0
push dword [ebp + 8]
call fcn.10071b30
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov eax, dword [ebp + 8]
and dword [eax + 0x10], 0
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
mov eax, dword [ebp + 8]
and dword [eax + 0x58], 0
pop ebp
ret
Function at 0x100ba2c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be910
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x25c], 0
lea ecx, [ebp - 0x2c]
call fcn.10001692
and dword [ebp - 4], 0
mov byte [ebp - 0x2d], 0
push 0x208
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.10071b30
add esp, 0xc
push 1
movzx eax, byte [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 0xfffffff7
add eax, 0x23
push eax
lea eax, [ebp - 0x23c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100ba3da
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x258]
call fcn.100016bb
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x264]
lea ecx, [ebp - 0x2c]
call fcn.10001754
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x258]
call fcn.10001729
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100ba39c
push 0x100d52a4
lea ecx, [ebp - 0x2c]
call fcn.10004d60
jmp 0x100ba3a9
push 0x100d52cc
lea ecx, [ebp - 0x2c]
call fcn.10004d60
lea eax, [ebp - 0x2c]
push eax
call fcn.100b8f6f
pop ecx
movzx eax, al
test eax, eax
jne 0x100ba3c9
lea eax, [ebp - 0x2c]
push eax
call fcn.100b9e75
pop ecx
mov byte [ebp - 0x2d], al
jmp 0x100ba3cd
mov byte [ebp - 0x2d], 1
push 0x100d52f0
lea ecx, [ebp - 0x2c]
call fcn.10004d60
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.100016f1
mov eax, dword [ebp - 0x25c]
or eax, 1
mov dword [ebp - 0x25c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10001729
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10071b1a
leave
ret
Function at 0x100ba41b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be940
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 0x31], 0
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.100ba2c0
pop ecx
pop ecx
and dword [ebp - 4], 0
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x30]
call fcn.10004de7
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x100ba4b8
push 1
lea eax, [ebp - 0x50]
push eax
call fcn.100ba2c0
pop ecx
pop ecx
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x50]
call fcn.10004de7
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x50]
call fcn.10001729
cmp dword [ebp - 0x10], 0xffffffff
je 0x100ba4e9
push 0
lea eax, [ebp - 0x54]
push eax
push 0x10
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100ba4e0
cmp dword [ebp - 0x54], 0x10
jne 0x100ba4e0
mov byte [ebp - 0x31], 1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x31]
mov byte [ebp - 0x55], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10001729
mov al, byte [ebp - 0x55]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10071b1a
leave
ret 4