joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406eb0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43a480
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x44d6b8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x20], 0
call fcn.0041326b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406efa
push 0x80004005
call fcn.00401270
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edx, [eax + 0x10]
mov dword [esp + 0x10], edx
mov eax, dword [edx - 8]
mov ecx, 1
mov byte [esp + 0x20], cl
sub ecx, dword [edx - 4]
sub eax, 0x1f4
or eax, ecx
jge 0x406f34
push 0x1f4
lea ecx, [esp + 0x14]
call fcn.00401a50
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x28]
push ebp
push 0x1f4
push edx
push 0
push 0x43dd3c
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [esp + 0x10]
test edx, edx
jne 0x406f5d
xor eax, eax
jmp 0x406f73
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406f62
sub eax, esi
js 0x407030
cmp eax, dword [edx - 8]
jg 0x407030
mov dword [edx - 0xc], eax
mov ecx, dword [esp + 0x10]
mov byte [eax + ecx], 0
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00403840
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406fb8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
je 0x406fd2
lea edx, [esp + 0x10]
push edx
lea ecx, [edi + 0xf8]
call fcn.00406770
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406ff7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40701b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret 4
push 0x80070057
call fcn.00401270
int3
Function at 0x4085e0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0xffffffffffffffff
push 0x43a840
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44d6b8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.0041326b
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x408629
push 0x80004005
call fcn.00401270
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
call fcn.0041326b
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x408651
push 0x80004005
call fcn.00401270
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
push ebp
lea ebx, [esi + 0x18]
lea edi, [esi + 0x1c]
push ebp
mov dword [esp + 0x2c], ebp
mov dword [ebx], ebp
mov dword [edi], ebp
mov dword [esi + 0x10], ebp
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebp
jge 0x408688
cmp eax, 0x80010106
jne 0x408708
push ebp
push ebp
push ebp
push 3
push 4
push ebp
push ebp
push 0xffffffffffffffff
push ebp
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
push edi
push 0x443174
push 1
push ebp
push 0x443244
call dword [sym.imp.ole32.dll_CoCreateInstance]
push 0x43e26c
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x18], ebp
jne 0x4086cd
push 0x8007000e
call fcn.00401270
mov edi, dword [edi]
mov ecx, dword [edi]
mov edx, dword [ecx + 0xc]
push ebx
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
push edi
mov byte [esp + 0x48], 1
call edx
push ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x40c799
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x40c7df
call fcn.0040c124
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40c7df
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x40c822
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x40c80b
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x40c80b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40c81f
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4122d7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x41231a
call fcn.0040c124
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41231a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x412335
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00411e8e
test ebx, ebx
mov esi, eax
je 0x412333
test edi, edi
je 0x412333
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x41820b
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 0x418239
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x418257
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00418175
jmp 0x418257
mov eax, dword [esi + 0x14]
test eax, eax
je 0x418257
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00418175
test edi, edi
mov eax, edi
jne 0x418241
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4506b8]
test ecx, ecx
je 0x41831a
jmp 0x41820a
ret 8

Function at 0x425729
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44d6b8]
jne 0x425733
repz ret
jmp fcn.0042bd1c
Function at 0x434ed1
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042b765
xor ebx, ebx
cmp dword [0x451448], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x434fa6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x434f11
xor eax, eax
jmp 0x43506a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x442830
push edi
call esi
cmp eax, ebx
je 0x434f0a
push eax
call fcn.0042b702
mov dword [esp], 0x442820
push edi
mov dword [0x451448], eax
call esi
push eax
call fcn.0042b702
mov dword [esp], 0x44280c
push edi
mov dword [0x45144c], eax
call esi
push eax
call fcn.0042b702
mov dword [0x451450], eax
lea eax, [ebp - 8]
push eax
call fcn.0042795c
test eax, eax
pop ecx
pop ecx
je 0x434f74
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00425bd0
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x434fa6
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042b702
cmp eax, ebx
pop ecx
mov dword [0x451458], eax
je 0x434fa6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042b702
pop ecx
mov dword [0x451454], eax
mov eax, dword [0x451454]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x43501f
cmp dword [0x451458], esi
je 0x43501f
push eax
call fcn.0042b76e
pop ecx
call eax
cmp eax, ebx
je 0x434fec
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x451458]
call fcn.0042b76e
pop ecx
call eax
test eax, eax
je 0x434fec
test byte [ebp - 0x18], 1
jne 0x43501f
lea eax, [ebp - 0xc]
push eax
call fcn.00427993
test eax, eax
pop ecx
je 0x435007
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00425bd0
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x435016
or dword [ebp + 0x10], 0x200000
jmp 0x435050
or dword [ebp + 0x10], 0x40000
jmp 0x435050
mov eax, dword [0x45144c]
cmp eax, esi
je 0x435050
push eax
call fcn.0042b76e
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x435050
mov eax, dword [0x451450]
cmp eax, esi
je 0x435050
push dword [ebp - 4]
push eax
call fcn.0042b76e
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x451448]
call fcn.0042b76e
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4398f2
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x44d6b8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00439887
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00426790
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x439941
cmp dword [ebp - 0x1c], 5
jb 0x439959
jmp 0x439955
cmp dword [ebp - 0x10], 1
jne 0x439959
cmp dword [ebp - 0x1c], 4
ja 0x439955
jne 0x439959
cmp dword [ebp - 0x18], 0
jbe 0x439959
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x443114
call fcn.0043975b
test eax, eax
jge 0x43997a
mov byte [0x44eb74], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00425729
add ebp, 0x78
leave
ret
Function at 0x40a020
Capabilities:
Get common file path
Move file

Disassembly:
sub esp, 0x200
lea eax, [esp]
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x40a0cb
push ebx
push esi
lea ecx, [esp + 8]
push edi
push ecx
lea edx, [esp + 0x110]
push 0x40e394
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, 0x40e38c
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x210]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
test eax, eax
pop ebx
je 0x40a0b5
lea eax, [esp + 0x100]
lea ecx, [esp]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
add esp, 0x200
ret
lea edx, [esp]
lea eax, [esp + 0x100]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
add esp, 0x200
ret

Function at 0x43b62e
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x43b3c1
and ebx, ebx
call fcn.0043b65c
sub esi, 0x68fe0b68
xor dword [edx], edi
sub ebx, ebx
add esi, ebx
inc edx
mov esi, 0xd7a5ea22
and esi, esi
inc esi
cmp edx, ecx
jne fcn.0043b62e
add ebx, ebx
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0xda1af9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
xor edx, edx
xor eax, eax
cmp esi, 1
jne 0xda1b11
push esi
call fcn.00da1638
jmp 0xda1b87
cmp esi, 2
jne 0xda1b2b
push edx
push edx
push esi
push fcn.00da1638
push edx
push edx
call dword [0xda30a4]
xor eax, eax
inc eax
jmp 0xda1b87
cmp esi, 3
jne 0xda1b40
xor esi, esi
xor dl, byte [esi + ecx]
inc esi
cmp esi, 6
jb 0xda1b32
mov byte [ecx + 6], dl
jmp 0xda1b87
cmp esi, 4
jne 0xda1b5f
mov al, byte [ecx + 6]
push 5
pop edx
xor al, byte [edx + ecx]
dec edx
cmp edx, 1
jge 0xda1b4b
xor edx, edx
cmp al, byte [ecx]
sete dl
mov eax, edx
jmp 0xda1b87
cmp esi, 5
jne 0xda1b87
mov esi, dword [ecx + 8]
mov eax, dword [ecx + 0x28]
mov dword [ebp - 4], esi
cmp esi, edx
jne 0xda1b7a
mov dword [ebp - 4], 0x7c59af1e
jmp 0xda1b84
push ecx
mov ecx, 0x10
rol dword [ebp - 4], cl
pop ecx
xor eax, dword [ebp - 4]
pop esi
leave
ret
Function at 0xa022e6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x34
push ebx
push ebp
mov ebp, dword [esp + 0x40]
mov eax, edx
push esi
push edi
push dword [esp + 0x4c]
mov dword [esp + 0x24], eax
push ebp
push eax
push ecx
call fcn.00a07a58
mov dword [esp + 0x44], 0x33fb89
xor esi, esi
mov dword [esp + 0x48], 0x77133b
add esp, 0x10
mov dword [esp + 0x3c], 0x446a5a
xor edx, edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x14], 0xa20f70
shr dword [esp + 0x14], 0xa
imul eax, dword [esp + 0x14], 0x4d
push 0x7f
pop ecx
mov dword [esp + 0x14], eax
xor dword [esp + 0x14], 0xc2f67
mov dword [esp + 0x1c], 0x333a61
add dword [esp + 0x1c], 0xffff5cb1
xor dword [esp + 0x1c], 0x3a08a5
mov dword [esp + 0x10], 0x83be2a
add dword [esp + 0x10], 0xdd8e
mov eax, dword [esp + 0x10]
div ecx
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0xffff9b06
xor dword [esp + 0x10], 0x71dd1
mov dword [esp + 0x18], 0x199411
add dword [esp + 0x18], 0xd4
shr dword [esp + 0x18], 0xc
xor dword [esp + 0x18], 0xc8f47
mov dword [esp + 0x48], 0x7e3421
shr dword [esp + 0x48], 5
or dword [esp + 0x48], 0xefc6ddb2
xor dword [esp + 0x48], 0xefc8ff86
mov eax, dword [ebp + 0x3c]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov ebx, dword [eax + ebp + 0x78]
add ebx, ebp
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
add eax, ebp
mov dword [esp + 0x2c], eax
add ecx, ebp
mov eax, dword [ebx + 0x24]
add eax, ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
jmp 0xa0241c
push dword [esp + 0x48]
mov eax, dword [ecx + edi*4]
mov edx, dword [esp + 0x24]
add eax, ebp
push eax
push dword [esp + 0x20]
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
call fcn.00a1de12
add esp, 0x10
test eax, eax
je 0xa02423
mov ecx, dword [esp + 0x24]
inc edi
cmp edi, dword [ebx + 0x18]
jb 0xa023f1
jmp 0xa02449
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
movzx eax, word [eax + edi*2]
mov esi, dword [esi + eax*4]
add esi, ebp
cmp esi, ebx
jb 0xa02449
mov ecx, dword [esp + 0x30]
xor eax, eax
mov ecx, dword [ecx + ebp + 0x7c]
add ecx, ebx
cmp esi, ecx
cmovb esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0xa0448c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x24]
push ebp
push esi
push edi
push dword [esp + 0x34]
push ebx
push dword [esp + 0x34]
push edx
push ecx
call fcn.00a07a58
mov dword [esp + 0x34], 0xb76dbb
add esp, 0x14
imul eax, dword [esp + 0x20], 0x11
mov dword [esp + 0x20], eax
xor dword [esp + 0x20], 0xc2e496a
mov dword [esp + 0x18], 0xe5153c
imul eax, dword [esp + 0x18], 0x70
mov dword [esp + 0x18], eax
add dword [esp + 0x18], 0xffff580b
xor dword [esp + 0x18], 0x643a87f6
mov dword [esp + 0x14], 0xea82d
shl dword [esp + 0x14], 8
xor dword [esp + 0x14], 0x93b7af5b
xor dword [esp + 0x14], 0x9d12cf02
mov dword [esp + 0x10], 0xad5385
xor dword [esp + 0x10], 0xbaebad85
shr dword [esp + 0x10], 0xd
xor dword [esp + 0x10], 0x4900b
mov dword [esp + 0x30], 0x61b583
add dword [esp + 0x30], 0xffffb230
imul eax, dword [esp + 0x30], 0x43
mov dword [esp + 0x30], eax
add dword [esp + 0x30], 0xaaf6
xor dword [esp + 0x30], 0x197b140b
mov dword [esp + 0x1c], 0x522f11
add dword [esp + 0x1c], 0xffff3646
add dword [esp + 0x1c], 0xffffef94
xor dword [esp + 0x1c], 0x5d6903
mov dword [esp + 0x24], 0xd40501
add dword [esp + 0x24], 0xacc2
xor dword [esp + 0x24], 0xd3b135
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esp + 0x20]
add eax, ebx
mov edx, dword [eax + ecx*8 + 0x78]
test edx, edx
je 0xa0460b
cmp dword [eax + ecx*8 + 0x7c], 0
je 0xa0460b
lea esi, [edx + ebx]
jmp 0xa04604
push dword [esp + 0x30]
lea ecx, [eax + ebx]
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
call fcn.00a0fa30
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0xa04616
mov edi, dword [esi]
mov ebp, dword [esi + 0x10]
add edi, ebx
add ebp, ebx
jmp 0xa045fb
jns 0xa045d3
movzx eax, ax
jmp 0xa045d8
add eax, 2
add eax, ebx
push dword [esp + 0x24]
mov edx, ecx
mov ecx, dword [esp + 0x20]
push eax
call fcn.00a198c9
pop ecx
pop ecx
test eax, eax
je 0xa04616
mov ecx, dword [esp + 0x20]
add edi, 4
mov dword [ebp], eax
add ebp, 4
mov eax, dword [edi]
test eax, eax
jne 0xa045cc
add esi, 0x14
mov eax, dword [esi + 0xc]
test eax, eax
jne 0xa0459c
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
xor eax, eax
jmp 0xa0460e
Function at 0xa04701
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push ebx
push edx
push ecx
call fcn.00a07a58
mov dword [ebp + 8], 0x750a23
add esp, 0xc
imul eax, dword [ebp + 8], 0x12
xor edx, edx
push 0x6c
pop ecx
mov dword [ebp + 8], eax
xor dword [ebp + 8], 0x83ab676
mov dword [ebp - 4], 0xecdb7c
mov eax, dword [ebp - 4]
div ecx
push 0x27
mov dword [ebp - 4], eax
xor edx, edx
mov eax, dword [ebp - 4]
pop esi
div esi
mov dword [ebp - 4], eax
xor dword [ebp - 4], 0xe63
mov dword [ebp - 4], 0x25d14f
imul eax, dword [ebp - 4], 0xe
mov dword [ebp - 4], eax
xor dword [ebp - 4], 0x2117242
cmp byte [ebx], 0
je 0xa047d3
push edi
mov edi, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 4], 0xecdb7c
mov eax, dword [ebp - 4]
div ecx
xor edx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
div esi
push 0x6c
mov dword [ebp - 4], eax
xor dword [ebp - 4], 0xe63
mov cl, byte [ebp - 4]
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0x25d14f
imul eax, dword [ebp - 4], 0xe
shl esi, cl
mov dword [ebp - 4], eax
xor dword [ebp - 4], 0x2117242
mov cl, byte [ebp - 4]
mov edx, dword [ebp + 8]
movsx eax, byte [ebx]
mov dword [ebp + 8], eax
add dword [ebp + 8], esi
shl edx, cl
add dword [ebp + 8], edx
sub dword [ebp + 8], edi
inc ebx
pop ecx
push 0x27
pop esi
cmp byte [ebx], 0
jne 0xa0476d
pop edi
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xa09cf0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push edx
push ecx
call fcn.00a07a58
mov dword [esp + 0x20], 0x2bd3be
lea edi, [ecx + 4]
imul eax, dword [esp + 0x20], 0x6c
mov dword [esp + 0x20], eax
shr dword [esp + 0x20], 3
shl dword [esp + 0x20], 9
xor dword [esp + 0x20], 0x9f58ef8c
mov dword [esp + 0x24], 0x723fa2
add dword [esp + 0x24], 0xffff8e85
shl dword [esp + 0x24], 3
xor dword [esp + 0x24], 0x38ffea7
mov edx, dword [ecx]
mov eax, dword [edi]
add edi, 4
xor eax, edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
lea esi, [eax + 1]
mov eax, esi
mov ecx, esi
and eax, 0xfffffffc
add eax, 4
and cl, 3
cmovne esi, eax
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add esp, 0x10
mov edx, esi
call fcn.00a1e376
mov ebx, eax
mov dword [esp + 0x14], ebx
pop ecx
test ebx, ebx
je 0xa09de3
shr esi, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, ebx
lea ecx, [edi + esi*4]
mov esi, ecx
sub esi, edi
add esi, 3
shr esi, 2
cmp edi, ecx
cmova esi, eax
test esi, esi
je 0xa09dda
mov ebx, dword [esp + 0x18]
mov ecx, dword [edi]
lea edi, [edi + 4]
xor ecx, ebx
mov byte [edx], cl
mov eax, ecx
shr eax, 8
lea edx, [edx + 4]
shr ecx, 0x10
mov byte [edx - 3], al
mov byte [edx - 2], cl
shr ecx, 8
inc ebp
mov byte [edx - 1], cl
cmp ebp, esi
jb 0xa09db1
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
pop ebp
mov byte [ebx + eax], 0
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x10
ret
Function at 0xa0ed45
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x24]
push ebp
push esi
push edi
push ebx
push dword [esp + 0x30]
push edx
push ecx
call fcn.00a07a58
mov dword [esp + 0x30], 0x4eb98b
lea esi, [ecx + 4]
xor edi, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x20], 0x262de5
add dword [esp + 0x20], 0x8dc
shl dword [esp + 0x20], 3
xor dword [esp + 0x20], 0x1367cbe
mov dword [esp + 0x24], 0x58745b
imul eax, dword [esp + 0x24], 0x1c
mov dword [esp + 0x24], eax
xor dword [esp + 0x24], 0x9a2ed6d
mov eax, dword [ecx]
mov edx, dword [esi]
add esi, 4
xor edx, eax
mov dword [esp + 0x28], eax
mov eax, edx
mov dword [esp + 0x2c], edx
and eax, 0xfffffffc
mov ecx, edx
add eax, 4
mov ebp, edx
and cl, 3
cmovne ebp, eax
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add esp, 0xc
mov edx, ebp
call fcn.00a1e376
mov dword [esp + 0x18], eax
pop ecx
test eax, eax
je 0xa0ee21
shr ebp, 2
lea ecx, [esi + ebp*4]
xor ebp, ebp
mov edx, ecx
sub edx, esi
add edx, 3
shr edx, 2
cmp esi, ecx
cmova edx, ebp
test edx, edx
je 0xa0ee17
mov ebp, dword [esp + 0x18]
mov ecx, eax
sub ecx, esi
mov eax, dword [esi]
xor eax, ebp
inc edi
mov dword [ecx + esi], eax
lea esi, [esi + 4]
cmp edi, edx
jb 0xa0ee04
mov eax, dword [esp + 0x14]
test ebx, ebx
je 0xa0ee21
mov ecx, dword [esp + 0x1c]
mov dword [ebx], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret