joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ff0
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0
push eax
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x411d78
push 0x411cb0
push 0
mov dword [0x411e40], eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
jne 0x40202a
pop esi
ret
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0xea60
push 0x3e9
push esi
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
pop esi
ret

Function at 0x4021fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410040]
jne 0x402206
repz ret
jmp fcn.004029f8

Function at 0x40a53c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040506b
and dword [ebp - 4], 0
cmp dword [0x411ba0], 0
mov ebx, eax
jne 0x40a5ed
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a69e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a69e
push eax
call fcn.00404ff9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x411ba0], eax
call esi
push eax
call fcn.00404ff9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x411ba4], eax
call esi
push eax
call fcn.00404ff9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x411ba8], eax
call esi
push eax
call fcn.00404ff9
pop ecx
mov dword [0x411bb0], eax
test eax, eax
je 0x40a5ed
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404ff9
pop ecx
mov dword [0x411bac], eax
mov eax, dword [0x411bac]
cmp eax, ebx
je 0x40a645
cmp dword [0x411bb0], ebx
je 0x40a645
push eax
call fcn.00405074
push dword [0x411bb0]
mov esi, eax
call fcn.00405074
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a645
test edi, edi
je 0x40a645
call esi
test eax, eax
je 0x40a63c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a63c
test byte [ebp - 0xc], 1
jne 0x40a645
or dword [ebp + 0x10], 0x200000
jmp 0x40a67e
mov eax, dword [0x411ba4]
cmp eax, ebx
je 0x40a67e
push eax
call fcn.00405074
pop ecx
test eax, eax
je 0x40a67e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a67e
mov eax, dword [0x411ba8]
cmp eax, ebx
je 0x40a67e
push eax
call fcn.00405074
pop ecx
test eax, eax
je 0x40a67e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x411ba0]
call fcn.00405074
pop ecx
test eax, eax
je 0x40a69e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a6a0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4022c0
Capabilities:
Check if file exists
Get file attributes
Get file size
Read file on windows

Disassembly:
sub esp, 0x110
lea eax, [esp + 0xc]
push ebx
push esi
push edi
push str.SYSTEMCurrentControlSetServices_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x18]
push str.Nationalivd
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push 0xf003f
push 0
push eax
push getpeername
call dword [0x408de8]
test eax, eax
je 0x402315
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
lea ecx, [esp + 0x18]
push 0x104
push ecx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.KERNEL32.dll_RtlZeroMemory]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push 0
push str.ImagePath
push ecx
call dword [0x408de4]
test eax, eax
je 0x402366
mov edx, dword [esp + 0x10]
push edx
call dword [0x408de0]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
mov eax, dword [esp + 0x10]
push eax
call dword [0x408de0]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40238d
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push 0
push 0
push 3
push 0
push 1
lea edx, [esp + 0x2c]
push closesocket
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4023ba
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4023de
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x402400
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0xc]
push 0
push eax
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x402432
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x120]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov esi, eax
test esi, esi
jne 0x402462
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
mov eax, dword [esp + 0xc]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_UpdateResourceA]
push eax
push ebx
push 0
push 0x66
push 0xa
push esi
call ebp
mov edi, eax
test edi, edi
je 0x40249b
push str.Nationalivd
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push str.Nationalivd
push 0
push 0x65
push 0xa
push esi
call ebp
mov edi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
pop ebp
test eax, eax
push ebx
jne 0x4024bc
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x110
ret
Function at 0x3000c2fb
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x3000e730
call fcn.3000c781
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x30012128
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x3000c09a
cmp eax, esi
jne 0x3000c08d
xor esi, esi
inc esi
mov ebx, esi
jmp 0x3000c09d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x3000c074
xor esi, esi
inc esi
mov eax, dword [0x30012124]
cmp eax, esi
jne 0x3000c0b0
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x3000c0df
mov eax, dword [0x30012124]
test eax, eax
jne 0x3000c0d9
mov dword [0x30012124], esi
push 0x30001290
push 0x30001288
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x3000c0df
jmp 0x3000c207
mov dword [0x30011ddc], esi
mov eax, dword [0x30012124]
cmp eax, esi
jne 0x3000c103
push 0x30001284
push 0x30001278
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x30012124], 2
test ebx, ebx
jne 0x3000c10f
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x30012134], 0
je 0x3000c133
push 0x30012134
call fcn.3000c709
pop ecx
test eax, eax
je 0x3000c133
push 0
push 2
push 0
call dword [0x30012134]
mov eax, dword [sym.imp.MSVCR80.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x3000c18f
test al, al
je 0x3000c14d
cmp dword [ebp - 0x1c], 0
jne 0x3000c18f
mov al, byte [esi]
test al, al
je 0x3000c15d
cmp al, 0x20
ja 0x3000c15d
inc esi
mov dword [ebp - 0x20], esi
jmp 0x3000c14d
test byte [ebp - 0x3c], 1
je 0x3000c169
movzx eax, word [ebp - 0x38]
jmp 0x3000c16c
push 0xa
pop eax
push eax
push esi
push 0
push 0x30000000
call main
mov dword [0x30011dd8], eax
cmp dword [0x30011dcc], 0
jne 0x3000c1e3
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp al, 0x22
jne 0x3000c19e
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR80.dll__ismbblead]
pop ecx
test eax, eax
je 0x3000c1b1
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x3000c13a
cmp dword [0x30011ddc], 0
jne 0x3000c1f2
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x30011dd8]
jmp 0x3000c213
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.301b1000
ret
call fcn.3000bf21
jmp 0x3000c03a
Function at 0x405a03
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x405a12
pop dword [ebp - 4]
mov eax, 0xf5b13548
add eax, 0xa8f24ca
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xf7f9bf73
sub dword [ebp - 0x14], 0xa9a77a28
mov dword [ebp - 0x10], 0xca998582
add dword [ebp - 0x10], 0x6799c6c3
mov dword [ebp - 0xc], 0x9537bb44
sub dword [ebp - 0xc], 0x48eb7716
mov dword [ebp - 8], 0xa84de275
sub dword [ebp - 8], 0xa84de275
lea eax, [ebp - 0x14]
push eax
mov eax, 0xf6b43819
sub eax, 0xf673b715
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x1135a19d
sub dword [ebp - 0x14], 0x9cc33847
mov dword [ebp - 0x10], 0xccf3f14c
add dword [ebp - 0x10], 0x74787029
mov dword [ebp - 0xc], 0x519a9041
add dword [ebp - 0xc], 0x11d4dc2b
mov dword [ebp - 8], 0x56f27c81
sub dword [ebp - 8], 0x56f27c81
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0xbe563b6c
add eax, 0x41ea4594
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x38f3c
push 0
call eax
mov ecx, 0x1961fe4d
sub ecx, 0x1961ae6a
mov edx, eax
mov esi, 0x46e400
add esi, dword [ebp - 4]
mov ebx, 0x6f7c7440
sub ebx, 0xadb349e3
mov edi, dword [esi]
xor edi, ebx
mov dword [edx], edi
add edx, 0xae8aa317
add edx, 0x51755ced
add esi, 4
loop 0x405b2e
add eax, 0x3ed28c97
sub eax, 0x3ed15a38
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x405cce
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x425f30
push esi
call fcn.00406212
push esi
call fcn.00405c71
mov edi, eax
test edi, edi
jne 0x405cef
xor eax, eax
jmp 0x405d47
push edi
call fcn.004064a6
test byte [0x42a258], 0x80
je 0x405d0c
mov ax, word [edi]
test ax, ax
je 0x405ceb
cmp ax, 0x5c
je 0x405ceb
sub edi, esi
sar edi, 1
jmp 0x405d26
call fcn.00406555
test eax, eax
je 0x405d20
test byte [eax], 0x10
je 0x405ceb
push esi
call fcn.00405c12
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405d12
call fcn.00405bc6
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405dc2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405de1
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405de7
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_CreateFileW]
ret 0xc
Function at 0x10008920
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [esp + 0x40]
mov dword [esp + 4], 0x1032d331
mov dword [esp], eax
call fcn.1001cdb0
test eax, eax
mov edi, eax
je 0x10008a40
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.102d9f0e
mov dword [esp], edi
mov esi, eax
call fcn.102da321
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], edi
mov ebx, eax
call fcn.102d9f0e
mov edx, eax
mov eax, esi
shr edx, 0x1f
shr eax, 0x1f
mov ecx, edx
or cl, al
jne 0x10008a27
test ebx, ebx
je 0x10008a27
lea eax, [ebx + 0x25]
mov dword [esp], eax
call fcn.102d6fbe
test eax, eax
je 0x10008a04
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.102da552
mov edx, ebx
cmp byte [esi + ebx - 1], 0xa
mov ebp, eax
je 0x100089df
lea edx, [ebx + 1]
mov byte [esi + ebx], 0xa
mov byte [esi + edx], 0
mov dword [esp], edi
call fcn.102da66a
cmp ebx, ebp
je 0x10008a44
mov eax, dword [esi - 4]
mov dword [esp], eax
call fcn.102d6d32
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
add ebx, 2
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.malloc_of_size__d_failed_n
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.10004000
mov dword [esp], edi
call fcn.102da66a
add esp, 0x2c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x100089fc
mov eax, esi
jmp 0x100089fc
Function at 0x100e9de0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
cmp byte [esi + 2], 1
je 0x100e9df2
mov eax, 0xfffffffc
add esp, 0x24
ret
mov dword [esi + 4], 0x10481
mov dword [esi + 8], 0x10336158
call fcn.100e93f0
mov dword [esi + 0xc], eax
lea eax, [esp]
push eax
mov dword [esi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x10], ecx
xor eax, eax
add esp, 0x24
ret
Function at 0x101109e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
mov edx, dword [esp + 0x1c]
mov ecx, dword [0x10506be8]
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov esi, eax
mov eax, dword [0x10506bd8]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x6c]
and eax, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + eax*4 + 0x18]
add ebx, 0x17c
sub ebp, esi
push edi
mov byte [esp + 0x13], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 5
mov dword [esp + 0x18], ebp
jmp 0x10110a39
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x78]
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0xf0]
push edx
push ecx
add ebp, esi
push ebp
push esi
call dword [esp + 0x2c]
mov edi, eax
add esp, 0x10
test edi, edi
je 0x10110ac7
mov edx, dword [esp + 0x34]
cmp dword [edx + 0xf0], 2
jle 0x10110ac7
mov eax, dword [esp + 0x30]
test byte [eax + 0xc], 8
je 0x10110ac7
cmp dword [esp + 0x24], 0
je 0x10110a8d
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x78]
push edx
call fcn.1011ec60
add esp, 4
jmp 0x10110a92
mov eax, 0x10336da0
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ebx - 0x20]
shr edx, 0xe
and edx, 1
push edx
mov edx, dword [ebx]
push ecx
push edx
push edi
push 0x3f
push eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0xf0]
push 0x10336aa0
push ecx
push ebp
push esi
call fcn.101102b0
add esp, 0x28
mov edi, eax
xor eax, eax
cmp edi, dword [esp + 0x40]
jge 0x10110b0a
cmp word [esi + 2], ax
jne 0x10110b0a
cmp word [esi + 0x10], ax
jne 0x10110b0a
cmp dword [esp + 0x3c], eax
je 0x10110b04
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 0xec]
test ecx, ecx
je 0x10110af4
cmp ecx, 5
jne 0x10110b04
movzx ecx, word [esi]
cmp cx, 0xffff
jl 0x10110b0a
test cx, cx
jle 0x10110b0f
jmp 0x10110b0a
cmp word [esi], 0
je 0x10110b0f
mov eax, 1
mov edi, dword [esp + 0x14]
mov ecx, edi
shl al, cl
dec edi
add ebx, 4
sub esi, 0xffffff80
or byte [esp + 0x13], al
cmp edi, 0xffffffff
mov dword [esp + 0x14], edi
jg 0x10110a35
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x1013f5b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x37c]
mov dword [esi], vtable.COpenCodecVideoEncoderX264.0
test eax, eax
je 0x1013f5d0
push eax
call fcn.1001a5c0
add esp, 4
mov eax, dword [esi + 0x440]
test eax, eax
je 0x1013f5e3
push eax
call fcn.102d6d32
add esp, 4
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1013f5f3
push eax
call fcn.102d6d32
add esp, 4
add esi, 0x448
mov ecx, esi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1013f600
sub ecx, edx
sar ecx, 1
je 0x1013f618
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10140310
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x2c]
mov dword [edi], vtable.COpenCodecVideoEncoderXVID.0
test eax, eax
je 0x10140334
push 0
push 0
push 1
push eax
call fcn.100e9fb0
add esp, 0x10
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x10140344
push eax
call fcn.102d6d32
add esp, 4
lea edx, [edi + 0x50]
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10140350
sub ecx, esi
sar ecx, 1
je 0x10140368
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 0x44]
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [edi + 0x44]
mov dword [eax + 4], eax
mov dword [edi + 0x48], 0
cmp ecx, dword [edi + 0x44]
je 0x10140393
mov esi, dword [ecx]
push ecx
call fcn.1016ddd0
add esp, 4
mov ecx, esi
cmp esi, dword [edi + 0x44]
jne 0x10140381
push dword [edi + 0x44]
call fcn.1016ddd0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1014d4b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
push esi
movzx esi, word [eax]
push edi
test ebx, ebx
je 0x1014d548
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jle 0x1014d53c
mov dword [ebp + 0xc], ecx
mov eax, dword [ebx + 4]
cmp eax, 1
ja 0x1014d4fd
mov edi, 0x1f
lea ecx, [ebx + 8]
sub edi, eax
mov edx, edi
call fcn.10148980
mov edx, eax
mov ecx, edi
mov eax, dword [ebx]
shl eax, cl
or edx, eax
add dword [ebx + 4], edi
mov dword [ebx], edx
dec dword [ebx + 4]
mov eax, esi
mov edx, dword [ebx]
mov ecx, dword [ebx + 4]
and eax, dword [ebp - 4]
shr edx, cl
xor ecx, ecx
and edx, 1
test ax, ax
setne cl
add esi, esi
xor dx, cx
imul dx, word [ebp + 8]
xor dx, si
dec dword [ebp + 0xc]
movzx esi, dx
jne 0x1014d4d5
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
pop edi
mov word [ecx], si
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov word [eax], si
mov eax, ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x10]
test edi, edi
jle 0x1014d583
mov bx, word [ebp + 8]
mov edx, edi
mov edi, dword [ebp - 4]
mov eax, esi
xor ecx, ecx
and eax, edi
test ax, ax
setne cl
add esi, esi
imul cx, bx
xor cx, si
movzx esi, cx
dec edx
jne 0x1014d558
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
pop edi
mov word [ecx], si
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov word [eax], si
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1014d590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
mov eax, edx
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edi
movzx esi, word [edi]
test ebx, ebx
je 0x1014d622
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 8], ecx
test ecx, ecx
jle 0x1014d64f
mov dword [ebp - 0xc], ecx
mov edi, edi
mov eax, dword [ebx + 4]
cmp eax, 8
ja 0x1014d5e8
mov edi, 0x1f
lea ecx, [ebx + 8]
sub edi, eax
mov edx, edi
call fcn.10148980
mov edx, eax
mov ecx, edi
mov eax, dword [ebx]
shl eax, cl
or edx, eax
add dword [ebx + 4], edi
mov dword [ebx], edx
add dword [ebx + 4], 0xfffffff8
mov eax, esi
mov edx, dword [ebx]
mov ecx, dword [ebx + 4]
shr edx, cl
shr eax, 8
xor edx, eax
shl esi, 8
mov eax, dword [ebp - 4]
and edx, 0xff
xor si, word [eax + edx*2]
dec dword [ebp + 8]
movzx esi, si
jne 0x1014d5c0
mov eax, dword [ebp - 8]
pop edi
mov word [eax], si
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
test edx, edx
jle 0x1014d64f
mov ebx, edx
jmp 0x1014d630
movzx ecx, si
shr ecx, 8
shl esi, 8
xor si, word [eax + ecx*2]
movzx esi, si
dec edx
jne 0x1014d630
mov word [edi], si
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov word [edi], si
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1014d660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
shl ebx, 4
add ebx, edi
cmp dword [edx + 0x28], 0
movzx eax, word [edi + 0x44]
mov dword [ebp - 4], eax
jne 0x1014d6c2
movdqu xmm0, xmmword [edx]
mov eax, dword [edx + 0x28]
lea ecx, [ebp - 0x30]
mov dword [ebp - 8], eax
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmm0, xmmword [edx + 0x10]
movdqu xmmword [ebp - 0x20], xmm0
movq xmm0, qword [edx + 0x20]
movq qword [ebp - 0x10], xmm0
call fcn.10141440
sub eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x30]
js 0x1014d6bc
mov edx, eax
call fcn.101430c0
jmp 0x1014d727
neg eax
mov edx, eax
jmp 0x1014d722
mov ecx, dword [edx + 0x20]
mov eax, dword [edx + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx + 0x1c]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ecx*8]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 8], 0
test edx, edx
js 0x1014d720
call fcn.101430c0
jmp 0x1014d727
neg edx
call fcn.10143030
mov eax, dword [ebx + 4]
mov esi, eax
test eax, eax
jns 0x1014d734
neg esi
test eax, eax
jle 0x1014d742
mov ebx, dword [ebx + 8]
mov eax, ebx
and eax, 0xfffffff8
cmp eax, esi
jl 0x1014d744
mov ebx, esi
mov edx, dword [edi + 0x30]
lea ecx, [ebp - 4]
mov eax, ebx
and ebx, 7
sar eax, 3
test edx, edx
je 0x1014d768
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1014d590
add esp, 8
shl eax, 3
jmp 0x1014d781
mov dx, word [edi + 0x36]
shl eax, 3
push eax
lea eax, [ebp - 0x30]
push eax
movzx eax, word [edi + 0x34]
push eax
call fcn.1014d4b0
add esp, 0xc
sub esi, eax
test ebx, ebx
je 0x1014d7a2
mov dx, word [edi + 0x36]
lea eax, [ebp - 0x30]
push ebx
push eax
movzx eax, word [edi + 0x34]
lea ecx, [ebp - 4]
push eax
call fcn.1014d4b0
add esp, 0xc
sub esi, eax
test esi, esi
je 0x1014d805
mov ebx, dword [edi + 0x30]
test ebx, ebx
je 0x1014d7e7
cmp esi, 8
jle 0x1014d7e7
movzx ecx, word [ebp - 4]
mov edx, esi
sar edx, 3
xor eax, eax
test edx, edx
jle 0x1014d7da
mov dword [ebp + 8], edx
movzx eax, cx
shr eax, 8
shl ecx, 8
xor cx, word [ebx + eax*2]
movzx ecx, cx
dec edx
jne 0x1014d7c4
mov eax, dword [ebp + 8]
movzx ecx, cx
shl eax, 3
mov dword [ebp - 4], ecx
sub esi, eax
jmp 0x1014d7ea
mov ecx, dword [ebp - 4]
test esi, esi
je 0x1014d814
movzx eax, word [edi + 0x34]
lea ecx, [ebp - 4]
mov dx, word [edi + 0x36]
push esi
push 0
push eax
call fcn.1014d4b0
add esp, 0xc
mov ax, word [ebp - 4]
mov word [edi + 0x44], ax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov word [edi + 0x44], cx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1014e110
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, edx
xor esi, esi
test edi, edi
je 0x1014e131
mov edi, edi
mov edx, dword [ecx]
lea ecx, [ecx + 4]
mov eax, edx
sar eax, 0x1f
xor eax, edx
or esi, eax
dec edi
jne 0x1014e120
bsr ecx, esi
pop edi
mov dword [ebp - 4], 0
setne al
pop esi
test al, al
je 0x1014e155
mov eax, 0x1f
sub eax, ecx
xor ecx, ecx
dec eax
cmovs eax, ecx
mov esp, ebp
pop ebp
ret
mov eax, 0x20
xor ecx, ecx
dec eax
cmovs eax, ecx
mov esp, ebp
pop ebp
ret