joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10053070
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bcb80
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100f51d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x14], esi
mov ebx, ecx
xor edi, edi
call fcn.10012770
mov ecx, eax
test ecx, ecx
je 0x1005321b
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x10053225
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x10]
push dword [esi]
push str.SOFTWARE_s
push eax
call fcn.1004e430
add esp, 0xc
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
mov esi, dword [ebp - 0x10]
push 2
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10010e10
test eax, eax
mov eax, dword [ebp - 0x20]
jne 0x100531a2
mov edx, dword [ebx]
test edx, edx
je 0x100531a2
mov ecx, edx
lea ebx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10053130
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push 0x100e6eec
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1005319f
mov edi, dword [ebp - 0x14]
mov ecx, 0x100f9160
mov edx, 0x100
mov edi, dword [edi]
sub edi, ecx
nop
lea eax, [edx + 0x7ffffefe]
test eax, eax
je 0x10053190
movzx eax, word [edi + ecx]
test ax, ax
je 0x10053190
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10053170
jmp 0x10053194
test edx, edx
jne 0x10053197
sub ecx, 2
xor eax, eax
mov word [ecx], ax
lea edi, [eax + 1]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 1
test eax, eax
je 0x100531b8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10053207
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x1005322c
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10010ca0
call edx
jmp 0x100530c7
call edx
jmp 0x10053207
Function at 0x10053920
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bcd2c
mov eax, dword fs:[0]
push eax
sub esp, 0xca0
mov eax, dword [0x100f51d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, ecx
mov dword [ebp - 0xcac], eax
xor ebx, ebx
call fcn.10014f70
mov dword [ebp - 0xca4], ebx
mov dword [ebp - 0xca0], ebx
mov dword [ebp - 0xc9c], ebx
mov dword [ebp - 4], ebx
call fcn.10012770
mov ecx, eax
test ecx, ecx
je 0x10053b1c
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x10053b26
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [ebp - 0xc94], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0xc94]
push dword [esi]
push str.SOFTWARE_sLiveup
push eax
call fcn.1004e430
mov esi, dword [ebp - 0xc94]
lea ecx, [ebp - 0xca4]
add esp, 0xc
push 0x201
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10010e10
mov edi, dword [ebp - 0xca4]
test eax, eax
jne 0x10053aa7
push 0xc80
lea eax, [ebp - 0xc90]
push 0
push eax
call fcn.10097030
add esp, 0xc
mov dword [ebp - 0xc98], 0xc80
lea eax, [ebp - 0xc98]
push eax
lea eax, [ebp - 0xc90]
push eax
lea eax, [ebp - 0xca8]
push eax
push 0
push str.macbak
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10053aa7
mov eax, dword [ebp - 0xca8]
cmp eax, 1
je 0x10053a3e
cmp eax, 2
jne 0x10053aa7
mov ecx, dword [ebp - 0xc98]
test ecx, ecx
je 0x10053a5e
test cl, 1
jne 0x10053aa7
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0xc92], 0
je 0x10053a67
jmp 0x10053aa7
xor eax, eax
mov word [ebp - 0xc90], ax
shr ecx, 1
cmp ecx, 0x640
jae 0x10053aa7
lea edx, [ebp - 0xc90]
lea ecx, [edx + 2]
lea ebx, [ebx]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10053a80
sub edx, ecx
lea eax, [ebp - 0xc90]
mov ecx, dword [ebp - 0xcac]
sar edx, 1
push edx
push eax
call fcn.10016cf0
mov ebx, 1
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10053ad8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x10053b2d
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10053af4
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xca4], 0
mov dword [ebp - 0xca0], 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10071699
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10010ca0
call edx
jmp 0x1005399a
call edx
jmp 0x10053ad8
Function at 0x10054aa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bcfa6
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x100f51d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x22c], esi
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x228], 0
push eax
push 0
push str.DriverDesc
push esi
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x21c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x10054b7b
mov eax, dword [ebp - 0x220]
cmp eax, 1
je 0x10054b58
cmp eax, 2
jne 0x10054b7b
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x10054c29
test al, 1
jne 0x10054b7b
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x10054c32
cmp dword [edi], 0
jne 0x10054ca6
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
push 1
push str.NDIInterfaces
push esi
call fcn.10010e10
mov esi, dword [ebp - 0x238]
test eax, eax
jne 0x10054c83
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push str.LowerRange
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10054c83
mov eax, dword [ebp - 0x220]
cmp eax, 1
je 0x10054c0c
cmp eax, 2
jne 0x10054c83
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x10054c50
test al, 1
jne 0x10054c83
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x10054c59
jmp 0x10054c83
xor eax, eax
mov word [ebp - 0x218], ax
push str.Wireless
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
je 0x10054b7b
mov dword [edi], 1
jmp 0x10054ca6
xor eax, eax
mov word [ebp - 0x218], ax
push str.wlan
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
jne 0x10054c7d
push str.vwifi
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
je 0x10054c83
mov dword [edi], 1
mov byte [ebp - 4], 0
test esi, esi
je 0x10054c9c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov dword [ebp - 0x228], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10071699
mov esp, ebp
pop ebp
ret
Function at 0x100591e8
Capabilities:
Enumerate pe sections

Disassembly:
and al, 8
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x10059221
mov ecx, dword [eax + 8]
test ecx, ecx
leave
jne 0x10059208
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x10059219
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x10059223
inc edi
add eax, 0x28
cmp edi, esi
jb 0x100591fe
xor eax, eax
pop edi
pop esi

Function at 0x10059429
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.100591a6
or al, 0x76
mov esi, 0xa8458d87
push eax
call fcn.100591b6
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.1005916b
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x10059494
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.100591a6
invalid

Function at 0x10059d3d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x5225b], al
inc dword [eax]
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.100591b6
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1005916b
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.100591a6
jl 0x10059e2e
pop ebx
push ss
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.100591b6
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1005916b
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.100591a6
scasb al, byte es:[edi]
pop ebx
dec ebp
invalid
test esp, ebp
cli
invalid
Function at 0x1006e490
Capabilities:
Get common file path

Disassembly:
mov eax, 0x108
call fcn.10071fa0
mov eax, dword [0x100f51d4]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push edi
mov edi, dword [esp + 0x114]
test edi, edi
je 0x1006e52d
push 0x104
lea eax, [esp + 0xc]
push 0
push eax
call fcn.10097030
add esp, 0xc
lea eax, [esp + 8]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, eax
test esi, esi
je 0x1006e52d
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 0x103
sub ecx, eax
cmp esi, ecx
jae 0x1006e52d
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 8]
push 0x100cf2c0
push eax
call esi
push edi
lea eax, [esp + 0xc]
push eax
call esi
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10071699
add esp, 0x108
ret
mov ecx, dword [esp + 0x10c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.10071699
add esp, 0x108
ret
Function at 0x10072cb0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x100f51d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x23c], 0
push esi
push edi
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x10072eb1
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x10072eb1
push 0
lea eax, [ebp - 0x23c]
push eax
push 0x118
lea eax, [ebp - 0x184]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10072eb1
cmp dword [ebp - 0x184], 0x54444851
jne 0x10072eb1
cmp dword [ebp - 0x180], 0x118
ja 0x10072eb1
push 0
lea eax, [ebp - 0x23c]
mov ecx, 0x46
push eax
push 0xb4
lea eax, [ebp - 0x238]
push eax
push dword [ebx]
lea edi, [ebx + 0xb8]
lea esi, [ebp - 0x184]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10072eb1
lea eax, [ebp - 0x238]
mov ecx, ebx
push eax
call fcn.10072ed0
test eax, eax
je 0x10072eb1
mov eax, dword [ebx]
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x248], 0
cmp eax, 0xffffffff
je 0x10072eb1
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x10072eb1
lea eax, [ebp - 0x240]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
je 0x10072eb1
cmp dword [ebp - 0x240], 0
jne 0x10072eb1
cmp esi, dword [ebx + 0x3e4]
ja 0x10072eb1
push esi
call fcn.10071a70
mov edi, eax
add esp, 4
test edi, edi
je 0x10072eb1
push 0
lea eax, [ebp - 0x248]
push eax
push esi
push edi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10072e7f
push 0xb4
lea eax, [edi + 0x118]
push 0
push eax
call fcn.10097030
lea eax, [ebp - 0x6c]
push eax
call fcn.10074740
push esi
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.10074e90
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10074660
add esp, 0x24
lea edx, [ebx + 4]
lea ecx, [ebp - 0x14]
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10072e7f
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10072e64
mov dword [ebp - 0x244], 1
push edi
call fcn.100716db
add esp, 4
cmp dword [ebp - 0x244], 0
je 0x10072eb1
pop edi
pop esi
mov dword [ebx + 0x3dc], 1
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10071699
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10071699
mov esp, ebp
pop ebp
ret
Function at 0x10072ed0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x100f51d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0xbc], 0
push dword [edi + 0x3e0]
push 0x80
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.10074f40
add esp, 0x14
cmp dword [ebp - 0xbc], 0x74
jne 0x10072fa9
lea eax, [ebp - 0xa8]
push str.www.360.cn
push eax
call fcn.100a62ba
add esp, 8
test eax, eax
jne 0x10072fa9
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xc0]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x10072fa9
cmp dword [ebp - 0xc0], 0
jne 0x10072fa9
cmp eax, dword [edi + 0x3e4]
ja 0x10072fa9
cmp eax, dword [ebp - 0x58]
jne 0x10072fa9
lea eax, [edi + 0x1d0]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.100a62ba
add esp, 8
test eax, eax
jne 0x10072fa9
push esi
add edi, 4
lea esi, [ebp - 0xb8]
mov ecx, 0x2d
mov eax, 1
rep movsd dword es:[edi], dword [esi]
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10071699
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.10071699
mov esp, ebp
pop ebp
ret 4
Function at 0x10072fc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0x1c], 0
je 0x1007316c
mov edx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], esi
mov dword [ebp + 0x1c], ebx
push edi
mov edi, dword [ebp + 0xc]
cmp esi, 0x10
jb 0x10073040
mov eax, esi
shr eax, 4
mov dword [ebp - 8], eax
sub edx, ebx
mov eax, edi
sub eax, ebx
mov ecx, ebx
mov dword [ebp - 0xc], eax
mov ebx, 4
mov esi, eax
mov eax, dword [edx + ecx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
mov dword [esi + ecx - 4], eax
sub ebx, 1
jne 0x10073004
push dword [ebp + 0x14]
push edi
push edi
call fcn.100736e0
mov esi, dword [ebp - 4]
mov edx, edi
mov ebx, dword [ebp + 0x1c]
sub esi, 0x10
add ebx, 0x10
mov dword [ebp - 4], esi
add esp, 0xc
mov dword [ebp + 0x1c], ebx
add edi, 0x10
sub dword [ebp - 8], 1
jne 0x10072ff2
test esi, esi
je 0x1007314c
mov ecx, edx
xor eax, eax
sub ecx, ebx
mov dword [ebp - 0xc], ecx
mov ecx, edi
sub ecx, ebx
mov dword [ebp - 0x10], ecx
mov ecx, 1
sub ecx, ebx
mov dword [ebp - 0x14], ecx
mov ecx, 2
sub ecx, ebx
mov dword [ebp - 0x18], ecx
mov ecx, 3
sub ecx, ebx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0xc]
lea esp, [esp]
cmp eax, esi
jae 0x100730fc
mov esi, dword [ebp - 0x10]
add ebx, eax
mov cl, byte [ecx + ebx]
xor cl, byte [ebx]
mov byte [esi + ebx], cl
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 4]
add ecx, ebx
cmp ecx, esi
jae 0x100730fb
mov ecx, dword [ebp + 0x1c]
add ecx, 2
mov dword [ebp - 8], ecx
mov cl, byte [ecx + eax - 1]
xor cl, byte [eax + edx + 1]
mov byte [edi + eax + 1], cl
mov ecx, dword [ebp - 0x18]
add ecx, ebx
cmp ecx, esi
jae 0x100730f6
mov ecx, dword [ebp - 8]
mov cl, byte [ecx + eax]
xor cl, byte [eax + edx + 2]
mov byte [edi + eax + 2], cl
mov ecx, dword [ebp - 0x1c]
add ecx, ebx
cmp ecx, esi
jae 0x100730f1
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp + 0x1c]
mov cl, byte [ecx + eax + 1]
xor cl, byte [eax + edx + 3]
mov byte [edi + eax + 3], cl
add eax, 4
mov ecx, dword [ebp - 0xc]
cmp eax, 0x10
jb 0x10073080
jmp 0x1007311e
add eax, 3
jmp 0x100730fc
add eax, 2
jmp 0x100730fc
inc eax
cmp eax, 0x10
jae 0x1007311e
mov ebx, 0x10
lea ecx, [eax + edi]
sub edx, edi
sub ebx, eax
lea ecx, [ecx]
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub ebx, 1
jne 0x10073110
push dword [ebp + 0x14]
push edi
push edi
call fcn.100736e0
add esp, 0xc
mov edx, edi
cmp esi, 0x10
jbe 0x1007314c
mov ebx, dword [ebp + 0x1c]
sub esi, 0x10
add ebx, 0x10
mov dword [ebp - 4], esi
add edi, 0x10
mov dword [ebp + 0x1c], ebx
test esi, esi
jne 0x10073048
mov ecx, dword [ebp + 0x18]
mov eax, dword [edx]
pop edi
pop esi
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10073190
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100743a0
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x10073c50
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10073e70
add esp, 0xc
test eax, eax
js 0x10073e62
mov eax, dword [esi + 0xf0]
push ebx
push edi
xor ebx, ebx
lea edi, [eax*4]
test edi, edi
jle 0x10073cd9
mov eax, dword [ebp + 0x10]
lea esi, [esi + edi*4]
add esi, 8
add eax, 8
nop
mov edx, dword [eax - 8]
lea eax, [eax + 0x10]
mov ecx, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [eax - 0x18], ecx
add ebx, 4
mov ecx, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [eax - 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0xc], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x10073c90
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0xf0]
mov ebx, 1
cmp eax, ebx
jle 0x10073e5e
lea edi, [esi + 4]
lea esp, [esp]
movzx eax, byte [edi + 0xd]
lea edi, [edi + 0x10]
mov edx, dword [edi - 4]
inc ebx
movzx ecx, byte [eax*4 + 0x100cfbe0]
mov eax, edx
shr eax, 0x18
mov ecx, dword [ecx*4 + 0x100d0fe0]
movzx eax, byte [eax*4 + 0x100cfbe0]
xor ecx, dword [eax*4 + 0x100d07e0]
movzx eax, byte [edi - 2]
movzx eax, byte [eax*4 + 0x100cfbe0]
xor ecx, dword [eax*4 + 0x100d0be0]
movzx eax, dl
mov edx, dword [edi]
movzx eax, byte [eax*4 + 0x100cfbe0]
xor ecx, dword [eax*4 + 0x100d13e0]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi - 4], ecx
movzx ecx, byte [eax*4 + 0x100cfbe0]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x100d0be0]
movzx eax, byte [eax*4 + 0x100cfbe0]
xor ecx, dword [eax*4 + 0x100d0fe0]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x100cfbe0]
xor ecx, dword [eax*4 + 0x100d07e0]
movzx eax, dl
mov edx, dword [edi + 4]
movzx eax, byte [eax*4 + 0x100cfbe0]
xor ecx, dword [eax*4 + 0x100d13e0]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi], ecx
movzx ecx, byte [eax*4 + 0x100cfbe0]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x100d0be0]
movzx eax, byte [eax*4 + 0x100cfbe0]
xor ecx, dword [eax*4 + 0x100d0fe0]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x100cfbe0]
xor ecx, dword [eax*4 + 0x100d07e0]
movzx eax, dl
mov edx, dword [edi + 8]
movzx eax, byte [eax*4 + 0x100cfbe0]
xor ecx, dword [eax*4 + 0x100d13e0]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi + 4], ecx
movzx ecx, byte [eax*4 + 0x100cfbe0]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x100d0be0]
movzx eax, byte [eax*4 + 0x100cfbe0]
xor ecx, dword [eax*4 + 0x100d0fe0]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x100cfbe0]
xor ecx, dword [eax*4 + 0x100d07e0]
movzx eax, dl
movzx eax, byte [eax*4 + 0x100cfbe0]
xor ecx, dword [eax*4 + 0x100d13e0]
mov dword [edi + 8], ecx
cmp ebx, dword [esi + 0xf0]
jl 0x10073cf0
pop edi
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x10074740
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x1008be3f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1008be8e
mov esi, dword [ebp + 0x18]
lea eax, [ebp + 0x10]
push edi
push eax
push esi
push dword [ebp + 0x14]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1008be8e
cmp esi, dword [ebp + 0x10]
je 0x1008be89
push 0x100e185c
push 1
push edi
push edi
call fcn.1008b4d4
jmp 0x1008be9c
xor eax, eax
inc eax
jmp 0x1008bea1
mov eax, 0x100e185c
push eax
push eax
push edi
push edi
call fcn.1008b562
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
ret