joyce8/EMBER2024-capa huggingface dataset:
Function at 0x106be07
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push dword [ebp + 8]
call fcn.0102bbcd
cmp eax, 0x104
jle 0x106be27
mov eax, 0x80070057
jmp 0x106bfa4
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
xor esi, esi
call fcn.0102aef6
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x106be81
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x106be5f
call esi
mov esi, eax
jmp 0x106be6f
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x106bfa0
mov esi, 0x80004005
jmp 0x106bfa0
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x106bea1
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, edi
mov dword [ebp + 8], eax
jne 0x106bed5
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x106beb3
call esi
mov esi, eax
jmp 0x106bec3
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x106bf96
mov esi, 0x80004005
jmp 0x106bf96
cmp ebx, edi
jbe 0x106bf66
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
jne 0x106bf15
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x106befa
call esi
mov esi, eax
jmp 0x106bf0a
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x106bf8d
mov esi, 0x80004005
jmp 0x106bf8d
push edi
lea ecx, [ebp - 8]
push ecx
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x106bf2e
cmp dword [ebp - 8], ebx
je 0x106bf59
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x106bf40
call esi
mov esi, eax
jmp 0x106bf50
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x106bf59
mov esi, 0x80004005
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp esi, edi
jl 0x106bf8d
mov edi, dword [ebp + 0xc]
push edi
push 1
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov esi, eax
test esi, esi
jl 0x106bf8d
mov eax, dword [edi]
mov edx, dword [eax]
xor ecx, ecx
push ecx
push ebx
push eax
call dword [edx + 0x18]
mov esi, eax
test esi, esi
jge 0x106bf96
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 8
Function at 0x1087fca
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x8c
push ebx
xor ebx, ebx
cmp byte [0x10bd774], bl
je 0x108817b
lea ecx, [ebp - 0x8c]
call fcn.01067b0b
lea eax, [ebp - 0x8c]
push eax
push 1
push 0x10
call fcn.01066354
test eax, eax
lea ecx, [ebp - 0x8c]
jl 0x1088176
push 0xffffffffffffffff
push 0x1015dd0
call fcn.01067f43
test eax, eax
jl 0x1088170
lea ecx, [ebp - 0x20]
call fcn.0102dcc4
lea eax, [ebp - 0x20]
push eax
push ebx
lea ecx, [ebp - 0x8c]
call fcn.01068a5f
test eax, eax
jl 0x1088168
push ebx
push 0x80
push 3
push ebx
push 3
push 0x40000000
push dword [ebp - 0x20]
call fcn.0102aef6
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
jne 0x108806c
mov byte [0x10bd774], bl
jmp 0x1088168
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [ebp - 0x2c]
call fcn.0102dcc4
cmp dword [ebp + 0x10], ebx
movzx eax, word [ebp - 2]
je 0x10880cd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
movzx eax, word [ebp - 4]
push eax
movzx eax, word [ebp - 6]
push eax
movzx eax, word [ebp - 8]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xe]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
push 0x1015d78
push eax
call fcn.0102eaf4
add esp, 0x30
jmp 0x1088103
push dword [ebp + 0xc]
push eax
movzx eax, word [ebp - 4]
push eax
movzx eax, word [ebp - 6]
push eax
movzx eax, word [ebp - 8]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xe]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
push 0x1015d28
push eax
call fcn.0102eaf4
add esp, 0x2c
cmp eax, ebx
jl 0x1088157
push esi
mov esi, dword [sym.imp.msvcrt.dll_wcstombs]
push ebx
push dword [ebp - 0x2c]
push ebx
call esi
add esp, 0xc
cmp eax, ebx
mov dword [ebp + 0x10], eax
jbe 0x1088156
push edi
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
cmp edi, ebx
pop ecx
je 0x1088155
push dword [ebp + 0x10]
push dword [ebp - 0x2c]
push edi
call esi
add esp, 0xc
push ebx
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x10]
mov dword [ebp + 0xc], ebx
push edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
call fcn.0102e62a
lea ecx, [ebp - 0x20]
call fcn.0102e62a
lea ecx, [ebp - 0x8c]
call fcn.010288b2
pop ebx
leave
ret 0xc
Function at 0x108844a
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push 0x1016100
push 0x10160a0
call fcn.01088185
mov ecx, 0x10c0c1c
call fcn.0106aba5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
and eax, 0xfffffffc
push eax
mov ecx, 0x10c0c1c
call fcn.01088352
call fcn.01088402
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
and dword [eax], 0
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0
call dword [sym.imp.msvcrt.dll_exit]
xor eax, eax
inc eax
je 0x10884ad
jmp 0x10884a6
leave
ret 0x1c

Function at 0x109aa86
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov eax, ecx
jne 0x109aa9f
mov eax, 0x80004003
jmp 0x109ab41
push ebx
mov ebx, dword [ebp + 0x10]
cmp ebx, edi
jne 0x109aab1
mov eax, 0x80004003
jmp 0x109ab40
cmp dword [eax + 0x28], edi
push esi
mov dword [ebp + 0x10], edi
je 0x109aadf
mov edx, dword [eax + 0x30]
cmp dword [ebp + 0xc], edx
jae 0x109aac5
mov edx, dword [ebp + 0xc]
mov esi, dword [eax + 0x2c]
mov edi, dword [ebp + 8]
mov ecx, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx], edx
jmp 0x109ab3c
mov ecx, dword [eax + 0x20]
cmp ecx, 0xffffffff
jne 0x109aaf0
mov dword [ebp + 0x10], 0x8000ffff
jmp 0x109ab3c
cmp dword [eax + 0x24], edi
je 0x109aae7
push edi
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x109ab3c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, edi
jne 0x109ab19
push 0x57
pop eax
cmp eax, edi
jg 0x109ab26
call esi
cmp eax, edi
jne 0x109ab39
push 0x57
pop eax
jmp 0x109ab39
call esi
cmp eax, edi
jne 0x109ab2f
push 0x57
pop eax
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
pop esi
pop ebx
pop edi
pop ebp
ret 0xc
Function at 0x10a36f7
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
push edi
lea eax, [ebp - 8]
push eax
mov esi, ecx
push edi
lea ebx, [esi + 0x6c]
push dword [ebx]
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call fcn.0102d33d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10a37e8
mov ecx, ebx
call fcn.0102dd7d
lea ecx, [esi + 0x1a0]
lea edi, [eax + eax + 2]
mov dword [ebp - 0xc], ecx
call fcn.0102dd7d
lea eax, [eax + eax + 2]
mov dword [ebp - 0x10], eax
lea eax, [eax + edi + 0x50]
mov dword [esi + 0x188], eax
add esi, 0x180
push esi
push eax
call fcn.010a6820
test eax, eax
jl 0x10a385e
mov esi, dword [esi]
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
push esi
call dword [eax + 0x18]
test eax, eax
jl 0x10a385e
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10a378f
mov eax, 0x8000ffff
jmp 0x10a385e
mov dword [eax], 0x50
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x50]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 4]
lea ecx, [edi + eax + 0x50]
mov dword [eax + 8], ecx
push dword [ebx]
mov eax, dword [ebp - 4]
push edi
push dword [eax + 4]
call fcn.010a327b
test eax, eax
jl 0x10a385e
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 4]
push dword [ebp - 0x10]
push dword [eax + 8]
call fcn.010a327b
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test esi, esi
jge 0x10a37e4
mov eax, esi
jmp 0x10a385e
xor eax, eax
jmp 0x10a385e
cmp eax, 0x7a
je 0x10a37f3
cmp eax, edi
jle 0x10a385e
jmp 0x10a3854
lea edi, [esi + 0x180]
push edi
push dword [ebp - 8]
call fcn.010a6820
test eax, eax
jl 0x10a385e
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x10a385e
cmp dword [ebp - 4], 0
je 0x10a3785
mov ebx, dword [ebx]
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push ebx
call fcn.0102d33d
test eax, eax
je 0x10a3842
mov ecx, dword [ebp - 8]
xor eax, eax
mov dword [esi + 0x188], ecx
jmp 0x10a385e
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x10a3852
call esi
jmp 0x10a385e
call esi
and eax, 0xffff
or eax, 0x80070000
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10a935a
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x820]
mov dword [esi], 0x1028420
call fcn.0106b5a4
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
and dword [esi + 0x1c], 0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x20], eax
shl eax, 8
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], 0x100
xor ecx, ecx
lea eax, [esi + 0x34]
and dword [eax], 0
inc ecx
add eax, 4
cmp ecx, dword [esi + 0x24]
jb 0x10a93a7
xor eax, eax
lea edi, [esi + 0x434]
mov ecx, 0xfb
rep stosd dword es:[edi], eax
and dword [esi + 0x30], eax
and dword [esi + 0x2c], eax
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x10002080
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x1000a01c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.._Log
lea eax, [ebp - 0x404]
push 0x400
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
lea edi, [ebp - 0x404]
mov ecx, edi
add esp, 0xc
xor ebx, ebx
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100020c0
xor eax, eax
sub ecx, edx
je 0x100020e7
lea ecx, [ecx]
cmp byte [ebp + eax - 0x404], 0x5c
jne 0x100020e2
mov byte [ebp + eax - 0x404], 0x2f
inc eax
cmp eax, ecx
jb 0x100020d0
cmp byte [ebp - 0x404], 0x2e
jne 0x10002102
cmp byte [ebp - 0x403], 0x2f
lea eax, [ebp - 0x402]
cmovne eax, edi
mov edi, eax
push 0x2f
push edi
call dword [sym.imp.MSVCR110.dll_strchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x1000214a
cmp esi, edi
je 0x10002130
lea eax, [ebp - 0x404]
push eax
mov byte [esi], 0
call dword [sym.imp.MSVCR110.dll__mkdir]
add esp, 4
mov ebx, eax
mov byte [esi], 0x2f
lea edi, [esi + 1]
test ebx, ebx
je 0x10002102
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10006ab7
mov esp, ebp
pop ebp
ret
test ebx, ebx
jne 0x10002137
push str.._Log
call dword [sym.imp.MSVCR110.dll__mkdir]
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10006ab7
mov esp, ebp
pop ebp
ret

Function at 0x100022d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push dword [ebp + 8]
mov edi, dword [sym.imp.MSVCR110.dll_sprintf_s]
push 0x100084d0
push 0x1000
push str.._Log
call edi
push dword [ebp + 0xc]
push 0x100084d0
push 0x1000
push str.Log_all
call edi
push str.._Log
call dword [sym.imp.MSVCR110.dll__mkdir]
mov ebx, eax
add esp, 0x24
test ebx, ebx
je 0x10002324
call dword [sym.imp.MSVCR110.dll__errno]
cmp dword [eax], 0x11
jne 0x1000236d
xor ebx, ebx
mov eax, dword [0x1000c584]
push esi
mov esi, dword [eax]
cmp esi, eax
je 0x1000239a
push str.Log_all
push 0x100084d0
lea eax, [esi + 0x2c]
push 0x1000
push eax
call edi
add esp, 0x10
cmp byte [esi + 0xd], 0
jne 0x10002392
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x10002376
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10002392
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10002361
jmp 0x10002392
pop edi
mov eax, 7
pop ebx
pop ebp
ret
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10002390
nop
cmp esi, dword [eax + 8]
jne 0x10002390
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10002380
mov esi, eax
cmp esi, dword [0x1000c584]
jne 0x10002330
pop esi
pop edi
mov eax, ebx
pop ebx
pop ebp
ret
Function at 0x10004230
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc08
mov eax, dword [0x1000a01c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x3ff
lea eax, [ebp - 0xc03]
push 0
push eax
mov byte [ebp - 0xc04], 0
call sub.MSVCR110.dll_memset
push 0x3ff
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call sub.MSVCR110.dll_memset
push 0x3ff
lea eax, [ebp - 0x803]
push 0
push eax
mov byte [ebp - 0x804], 0
call sub.MSVCR110.dll_memset
mov esi, dword [ebp + 0xc]
mov edi, dword [sym.imp.MSVCR110.dll_sprintf_s]
add esp, 0x24
cmp esi, 0xffffffff
jne 0x100042c5
push str.Log_all
push 0x100084d0
lea eax, [ebp - 0x404]
push 0x400
push eax
call edi
add esp, 0x10
jmp 0x10004320
jle 0x10004320
cmp esi, dword [0x1000a038]
jg 0x10004320
mov ecx, dword [0x1000c584]
xor edx, edx
mov eax, dword [ecx]
cmp eax, ecx
setne dl
mov dword [0x1000c57c], eax
test edx, edx
je 0x1000430e
mov ecx, dword [eax + 0x28]
lea ebx, [ebx]
cmp ecx, esi
jne 0x100042f0
add eax, 0x2c
push eax
push 0x100084d0
lea eax, [ebp - 0x404]
push 0x400
push eax
call edi
add esp, 0x10
push ecx
lea eax, [ebp - 0xc08]
push eax
mov ecx, 0x1000c57c
call fcn.10004720
lea eax, [ebp - 0x404]
push eax
push str.._Log
push str._s__s.txt
lea eax, [ebp - 0xc04]
push 0x400
push eax
call edi
push ebx
lea eax, [ebp - 0x404]
push eax
push str.._Log
push str._s__s_s.txt
lea eax, [ebp - 0x804]
push 0x400
push eax
call edi
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0xc04]
push eax
call dword [sym.imp.MSVCR110.dll_rename]
mov ecx, dword [ebp - 4]
add esp, 0x34
xor ecx, ebp
pop edi
pop esi
xor eax, eax
pop ebx
call fcn.10006ab7
mov esp, ebp
pop ebp
ret
Function at 0x8e95cb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edx
push ecx
call fcn.008fe550
mov dword [ebp - 4], 0xc9a027
add esp, 0x14
imul eax, dword [ebp - 4], 0x3a
mov dword [ebp - 4], eax
shr dword [ebp - 4], 1
xor dword [ebp - 4], 0x16d72560
cmp dword [edx + 4], 0x40
jae 0x8e9604
xor eax, eax
jmp 0x8e962d
mov ecx, dword [edx]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x8e9600
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x8e9600
movzx edx, word [eax + 0x18]
mov ecx, dword [ebp - 4]
push esi
xor esi, esi
cmp edx, ecx
cmovne eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x8eadf2
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
push esi
push edi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push edx
push ecx
call fcn.008fe550
mov dword [esp + 0x28], 0xa388f1
lea edi, [ecx + 4]
imul eax, dword [esp + 0x28], 0x56
add esp, 0x10
mov dword [esp + 0x18], eax
xor dword [esp + 0x18], 0x36faa070
mov dword [esp + 0x10], 0x414e38
add dword [esp + 0x10], 0xc63
xor dword [esp + 0x10], 0x3ce93bcb
xor dword [esp + 0x10], 0x5c222bfb
xor dword [esp + 0x10], 0x6087bb60
mov dword [esp + 0x14], 0x7a7bdc
xor dword [esp + 0x14], 0xefd8962d
xor dword [esp + 0x14], 0xefaf4267
mov dword [esp + 0xc], 0x783be8
xor dword [esp + 0xc], 0x19fc23f0
shr dword [esp + 0xc], 0xc
add dword [esp + 0xc], 0xffff9353
xor dword [esp + 0xc], 0xb487
mov edx, dword [ecx]
mov eax, dword [edi]
add edi, 4
xor eax, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
lea esi, [eax + 1]
mov ecx, esi
mov eax, esi
and eax, 0xfffffffc
add eax, 4
and cl, 3
cmovne esi, eax
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
lea eax, [esi + esi]
push eax
push ecx
push ecx
call fcn.008eed0b
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x8eaf3f
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 0x8eaf34
mov ebx, dword [esp + 0x20]
mov ecx, dword [edi]
lea edi, [edi + 4]
xor ecx, ebx
movzx eax, cl
mov word [edx], ax
mov eax, ecx
shr eax, 8
lea edx, [edx + 8]
movzx eax, al
mov word [edx - 6], ax
shr ecx, 0x10
movzx eax, cl
shr ecx, 8
inc ebp
mov word [edx - 4], ax
movzx eax, cl
mov word [edx - 2], ax
cmp ebp, esi
jb 0x8eaefb
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
xor ecx, ecx
pop ebp
mov word [ebx + eax*2], cx
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x18
ret
Function at 0x8eebe1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
push ebx
push ebp
mov ebp, dword [esp + 0x38]
mov eax, ecx
push esi
push edi
push dword [esp + 0x44]
mov dword [esp + 0x1c], eax
push ebp
push edx
push eax
call fcn.008fe550
mov dword [esp + 0x3c], 0x5c1f06
xor esi, esi
mov dword [esp + 0x40], 0xe540c5
add esp, 0x10
mov dword [esp + 0x34], esi
mov ebx, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x10], 0x78dba2
add dword [esp + 0x10], 0xf0ed
shl dword [esp + 0x10], 6
xor dword [esp + 0x10], 0x1e714cff
mov dword [esp + 0x14], 0xca9d55
add dword [esp + 0x14], 0x2afe
xor dword [esp + 0x14], 0xc41638
mov dword [esp + 0x40], 0x66d00c
shr dword [esp + 0x40], 9
add dword [esp + 0x40], 0xffff7587
add dword [esp + 0x40], 0x9b6c
xor dword [esp + 0x40], 0x6fa1f
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x28], eax
mov edi, dword [eax + ebp + 0x78]
add edi, ebp
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
add eax, ebp
mov dword [esp + 0x24], eax
add ecx, ebp
mov eax, dword [edi + 0x24]
add eax, ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
cmp dword [edi + 0x18], esi
jbe 0x8eecf8
mov eax, dword [ecx + ebx*4]
push dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
add eax, ebp
push eax
push dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
call fcn.008fcb11
add esp, 0xc
test eax, eax
je 0x8eecd2
mov ecx, dword [esp + 0x1c]
inc ebx
cmp ebx, dword [edi + 0x18]
jb 0x8eeca4
jmp 0x8eecf8
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
movzx eax, word [eax + ebx*2]
mov esi, dword [esi + eax*4]
add esi, ebp
cmp esi, edi
jb 0x8eecf8
mov ecx, dword [esp + 0x28]
xor eax, eax
mov ecx, dword [ecx + ebp + 0x7c]
add ecx, edi
cmp esi, ecx
cmovb esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x8f2e54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push dword [ebp + 0xc]
mov ebx, edx
push dword [ebp + 8]
push ebx
push ecx
call fcn.008fe550
and dword [ebp - 0xc], 0
add esp, 0x10
mov dword [ebp - 0x10], 0x52fc33
xor edx, edx
mov dword [ebp - 4], 0x6858d9
shr dword [ebp - 4], 6
add dword [ebp - 4], 0xffff4fc0
xor dword [ebp - 4], 0xf123
mov dword [ebp - 8], 0x1230f4
mov eax, dword [ebp - 8]
push 0x1a
pop ecx
div ecx
mov dword [ebp - 8], eax
add dword [ebp - 8], 0xffff88be
xor dword [ebp - 8], 0x3bdd
mov dword [ebp - 8], 0x3843b4
shr dword [ebp - 8], 8
xor dword [ebp - 8], 0x3853
cmp byte [ebx], 0
je 0x8f2f2a
push esi
push edi
mov edi, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 8], 0x1230f4
mov eax, dword [ebp - 8]
div ecx
push 0x1a
mov dword [ebp - 8], eax
add dword [ebp - 8], 0xffff88be
xor dword [ebp - 8], 0x3bdd
mov cl, byte [ebp - 8]
mov esi, dword [ebp - 4]
mov dword [ebp - 8], 0x3843b4
shr dword [ebp - 8], 8
xor dword [ebp - 8], 0x3853
shl esi, cl
mov cl, byte [ebp - 8]
mov edx, dword [ebp - 4]
movsx eax, byte [ebx]
mov dword [ebp - 4], eax
add dword [ebp - 4], esi
shl edx, cl
add dword [ebp - 4], edx
sub dword [ebp - 4], edi
inc ebx
pop ecx
cmp byte [ebx], 0
jne 0x8f2ecc
pop edi
pop esi
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x8f33a6
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
push esi
push edi
push dword [esp + 0x28]
push edx
push ecx
call fcn.008fe550
mov dword [esp + 0x24], 0x9dbbb6
lea edi, [ecx + 4]
or dword [esp + 0x24], 0x917f24fd
add esp, 0xc
shr dword [esp + 0x18], 4
xor dword [esp + 0x18], 0x91b5b10
mov dword [esp + 0x14], 0x7f8f7e
imul eax, dword [esp + 0x14], 0x78
mov dword [esp + 0x14], eax
add dword [esp + 0x14], 0x426c
imul eax, dword [esp + 0x14], 0x2f
mov dword [esp + 0x14], eax
xor dword [esp + 0x14], 0xfa52fe13
mov dword [esp + 0x10], 0x66ea01
xor dword [esp + 0x10], 0xfd75d314
add dword [esp + 0x10], 0x2271
shl dword [esp + 0x10], 2
xor dword [esp + 0x10], 0xf4472ce0
mov dword [esp + 0xc], 0x8f27bc
add dword [esp + 0xc], 0xffffa077
add dword [esp + 0xc], 0xffffaa1e
add dword [esp + 0xc], 0x90da
xor dword [esp + 0xc], 0x81763e
mov edx, dword [ecx]
mov eax, dword [edi]
add edi, 4
xor eax, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
lea esi, [eax + 1]
mov ecx, esi
mov eax, esi
and eax, 0xfffffffc
add eax, 4
and cl, 3
cmovne esi, eax
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push esi
push ecx
push ecx
call fcn.008eed0b
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x8f34f0
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 0x8f34e7
mov ebx, dword [esp + 0x20]
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 0x8f34be
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
pop ebp
mov byte [ebx + eax], 0
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x18
ret
Function at 0x8f5c1b
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
push esi
push ebx
push edx
push ecx
call fcn.008fe550
mov dword [esp + 0x24], 0xace789
add esp, 0x10
shr dword [esp + 0x14], 5
or dword [esp + 0x14], 0x3fe2cf69
xor dword [esp + 0x14], 0x3d7563d
xor dword [esp + 0x14], 0x3c3fdabc
mov dword [esp + 0x10], 0x6f1019
or dword [esp + 0x10], 0xa0894d92
imul eax, dword [esp + 0x10], 0x44
mov dword [esp + 0x10], eax
imul eax, dword [esp + 0x10], 0x7f
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0xad072d9
mov dword [esp + 0x2c], 0xb8bac1
shr dword [esp + 0x2c], 0xa
shl dword [esp + 0x2c], 0xa
xor dword [esp + 0x2c], 0x21fcdc81
xor dword [esp + 0x2c], 0x214d2d04
mov dword [esp + 0x18], 0x56ec8e
shr dword [esp + 0x18], 7
add dword [esp + 0x18], 0xb33f
xor dword [esp + 0x18], 0x68476
mov eax, dword [esi]
mov edx, dword [esi + 4]
add esi, 8
xor edx, eax
mov dword [esp + 0x1c], eax
mov eax, edx
mov dword [esp + 0x20], edx
and eax, 0xfffffffc
mov ecx, edx
add eax, 4
mov edi, edx
and cl, 3
cmovne edi, eax
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edi
push ecx
push ecx
call fcn.008eed0b
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x8f5d45
shr edi, 2
xor eax, eax
lea ecx, [esi + edi*4]
xor edi, edi
mov edx, ecx
sub edx, esi
add edx, 3
shr edx, 2
cmp esi, ecx
cmova edx, eax
test edx, edx
je 0x8f5d3b
mov ecx, ebp
sub ecx, esi
mov eax, dword [esi]
xor eax, dword [esp + 0x1c]
inc edi
mov dword [ecx + esi], eax
lea esi, [esi + 4]
cmp edi, edx
jb 0x8f5d2a
test ebx, ebx
je 0x8f5d45
mov eax, dword [esp + 0x20]
mov dword [ebx], eax
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x14
ret