joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53d010
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a255
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6a1450]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x6f449c], edi
mov dword [edi], vtable.CResourceManager.0
lea ecx, [edi + 4]
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.004632c0
mov dword [edi + 4], eax
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 1
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.004632c0
mov dword [edi + 0xc], eax
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 2
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.00467830
mov dword [edi + 0x14], eax
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 3
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
call fcn.004632c0
mov dword [edi + 0x1c], eax
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 4
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
call fcn.004632c0
mov dword [edi + 0x24], eax
lea ecx, [edi + 0x2c]
mov byte [ebp - 4], 5
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.00467830
mov dword [edi + 0x2c], eax
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 6
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
call fcn.00467830
mov dword [edi + 0x34], eax
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], 7
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
call fcn.004632c0
mov dword [edi + 0x3c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x542e40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
mov byte [ecx + 0x19], al
test al, al
je 0x542e5c
push 5
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4
Function at 0x549100
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6a1450]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [0x6e9e6c], eax
cmp dword [0x6ebba4], eax
je 0x54924a
push 8
lea ecx, [ebp - 0x18]
mov dword [0x6ebba4], eax
push ecx
push 0x1004
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.0054bea0
add esp, 0xc
mov dword [0x6ebb64], eax
cmp dword [0x69183c], eax
je 0x54924a
push 0x6e9e70
mov dword [0x69183c], eax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
movzx ecx, word [0x6e9e6c]
mov eax, ecx
and eax, 0x3ff
sub eax, 4
je 0x5491b6
sub eax, 0xd
je 0x5491a3
dec eax
jne case.default.0x5491c8
mov byte [0x6e9e7a], al
mov dword [0x6eb344], 0x69181e
jmp 0x54922f
mov byte [0x6e9e7a], 1
mov dword [0x6eb344], 0x691824
jmp 0x54922f
mov eax, ecx
mov byte [0x6e9e7a], 1
shr eax, 0xa
dec eax
cmp eax, 4
ja case.default.0x5491c8
jmp dword [eax*4 + 0x549258]
mov byte [0x6e9e7a], 0
mov dword [0x6eb344], 0x691812
jmp 0x54922f
mov dword [0x6eb344], 0x691818
jmp 0x54922f
push 0xa
lea eax, [ebp - 0x10]
mov dword [0x6eb344], 0x69180c
push eax
push 3
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [0x6eb344]
movsx cx, byte [ebp - 0x10]
mov word [eax], cx
movsx ax, byte [ebp - 0xf]
movzx eax, ax
push eax
call fcn.005d09d9
mov ecx, dword [0x6eb344]
add esp, 4
mov word [ecx + 2], ax
cmp dword [0x6ebb60], 0x4e8
je 0x54924a
mov eax, dword [0x6ebb64]
mov dword [0x6ebb60], eax
call fcn.00549370
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c9914
mov esp, ebp
pop ebp
ret
Function at 0x549aa0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x6a1450]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 2
jae 0x549ced
mov ecx, dword [0x6e9e6c]
cmp dword [0x6ebba0], ecx
je 0x549d3b
cmp byte [0x6e9e62], 0
mov eax, 0x404
mov dword [0x6ebba0], ecx
je 0x549b0b
cmp cx, ax
jne 0x549b0b
mov dword [0x6e9f1c], 0x7000404
mov eax, 0x7000404
mov dword [0x6e9f20], 0
jmp 0x549cef
cmp ecx, 0xe0080404
je 0x549b37
cmp ecx, 0xe0090404
je 0x549b37
cmp ecx, 0xe00a0404
je 0x549b37
cmp ecx, 0xe00b0404
je 0x549b37
cmp ecx, 0xe00e0804
jne 0x549cd9
push 0x3ff
lea eax, [ebp - 0x404]
push eax
push ecx
call sub.IMM32.dll_ImmGetIMEFileNameA
test eax, eax
je 0x549cd9
cmp dword [0x6e9e58], 0
jne 0x549bfe
mov esi, dword [sym.imp.KERNEL32.dll_CompareStringA]
lea eax, [ebp - 0x404]
push 0xffffffffffffffff
push str.TINTLGNT.IME
push 0xffffffffffffffff
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x549bfe
push 0xffffffffffffffff
push str.CINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x549bfe
push 0xffffffffffffffff
push str.MSTCIPHA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x549bfe
push 0xffffffffffffffff
push str.PINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x549bfe
push 0xffffffffffffffff
push str.MSSCIPYA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
jne 0x549cd9
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x404]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
movzx esi, word [0x6e9e6c]
mov ebx, eax
test ebx, ebx
je 0x549cd9
call fcn.005d08a0
mov eax, esp
push eax
push ebx
push dword [ebp - 0x410]
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x404]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x549cd9
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x408]
push eax
push 0x65ccb4
push dword [ebp - 0x40c]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x549cd9
mov edx, dword [ebp - 0x408]
mov eax, dword [edx + 8]
movzx ecx, al
and eax, 0xffff0000
shl ecx, 8
or ecx, eax
shl ecx, 8
cmp dword [0x6e9e58], 0
jne 0x549d2a
mov eax, 0x404
cmp si, ax
jne 0x549d08
cmp ecx, 0x4020000
je 0x549d2a
cmp ecx, 0x4030000
je 0x549d2a
cmp ecx, 0x4040000
je 0x549d2a
cmp ecx, 0x5000000
je 0x549d2a
cmp ecx, 0x5010000
je 0x549d2a
cmp ecx, 0x5020000
je 0x549d2a
cmp ecx, 0x6000000
je 0x549d2a
mov dword [0x6e9f1c], 0
mov dword [0x6e9f20], 0
xor eax, eax
lea esp, [ebp - 0x420]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c9914
mov esp, ebp
pop ebp
ret 4
mov eax, 0x804
cmp si, ax
jne 0x549cd9
cmp ecx, 0x4010000
je 0x549d2a
cmp ecx, 0x4020000
je 0x549d2a
cmp ecx, 0x5030000
jne 0x549cd9
mov eax, esi
or eax, ecx
mov dword [0x6e9f1c], eax
mov eax, dword [edx + 0xc]
mov dword [0x6e9f20], eax
mov eax, dword [edi*4 + 0x6e9f1c]
jmp 0x549cef
Function at 0x549e90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x6a1450]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x6e9e6c]
push ebx
cmp eax, 0xe00e0804
je 0x54a062
cmp eax, 0xe0090404
je 0x54a062
mov ebx, dword [0x6e9f1c]
test ebx, ebx
je 0x54a062
xor cl, cl
mov edx, 0x404
mov byte [ebp - 0x109], cl
cmp ax, dx
jne 0x54a051
movdqu xmm0, xmmword [str.softwaremicrosoftwindowscurrentversion_]
mov ax, word [0x61889c]
and ebx, 0xffff0000
mov word [ebp - 0xe0], ax
cmp ebx, 0x5010000
mov al, byte [0x61889e]
mov edx, str.MSTCIPH
movdqu xmmword [ebp - 0x108], xmm0
mov byte [ebp - 0xde], al
mov eax, str.TINTLGNT
movdqu xmm0, xmmword [0x618884]
push esi
cmovb edx, eax
movdqu xmmword [ebp - 0xf8], xmm0
mov esi, edx
movq xmm0, qword [0x618894]
push edi
movq qword [ebp - 0xe8], xmm0
mov al, byte [edx]
inc edx
test al, al
jne 0x549f48
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x549f58
mov ecx, edx
lea eax, [ebp - 0x110]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push 0x20019
push 0
mov ecx, edx
lea eax, [ebp - 0x108]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop edi
pop esi
test eax, eax
jne 0x54a03c
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 4
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0
push str.Keyboard_Mapping
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x54a019
mov eax, dword [ebp - 0x118]
cmp ebx, 0x5000000
ja 0x549fe4
cmp al, 0x22
je 0x549ffa
cmp al, 0x23
je 0x549ffa
cmp ebx, 0x5010000
je 0x549ff4
cmp ebx, 0x5020000
jne 0x54a019
sub al, 0x22
cmp al, 2
ja 0x54a019
push dword [ebp - 0x110]
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c9914
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x110]
mov bl, byte [ebp - 0x109]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c9914
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x109]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c9914
mov esp, ebp
pop ebp
ret
mov al, cl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c9914
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.005c9914
mov esp, ebp
pop ebp
ret
Function at 0x54a310
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x6a1450]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x6e9e60], 0
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
jne 0x54a4db
cmp byte [0x6ebb88], 0
mov dword [0x6e9e68], eax
jne 0x54a372
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x54a372
push 0x6ebb84
push 0x618758
push 1
push 0
push 0x63e0a0
mov byte [0x6ebb88], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
push 0x6e9e80
mov dword [0x6e9e80], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x105
lea eax, [ebp - 0x10c]
mov byte [0x6e9e61], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x54a45a
lea ecx, [ebp - 0x10c]
dec ecx
nop
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x54a3b0
mov eax, dword [str.imm32.dll]
mov dword [ecx], eax
mov eax, dword [0x6187b8]
mov dword [ecx + 4], eax
mov ax, word [0x6187bc]
mov word [ecx + 8], ax
mov al, byte [0x6187be]
mov byte [ecx + 0xa], al
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x6e9e7c], eax
test eax, eax
je 0x54a453
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ImmLockIMC
push eax
call esi
push str.ImmUnlockIMC
push dword [0x6e9e7c]
mov dword [0x6e9e48], eax
call esi
push str.ImmLockIMCC
push dword [0x6e9e7c]
mov dword [0x6e9e4c], eax
call esi
push str.ImmUnlockIMCC
push dword [0x6e9e7c]
mov dword [0x6e9e50], eax
call esi
push str.ImmDisableTextFrameService
push dword [0x6e9e7c]
mov dword [0x6e9e54], eax
call esi
pop esi
test eax, eax
je 0x54a45a
push 0xffffffffffffffff
call eax
jmp 0x54a45a
mov byte [0x6e9e61], 1
push dword [0x6e9e68]
mov byte [0x6e9e60], 1
call sub.IMM32.dll_ImmGetContext
push eax
mov dword [edi + 4], eax
push dword [0x6e9e68]
call sub.IMM32.dll_ImmReleaseContext
call fcn.00549100
call fcn.005490d0
push 2
call fcn.0054b310
add esp, 4
call fcn.0054b6d0
test eax, eax
setne byte [0x6e9e62]
call fcn.00549270
cmp byte [0x6e9e62], 0
je 0x54a4db
mov eax, dword [0x6e9e6c]
and eax, 0x3ff
cmp eax, 4
jne 0x54a4ca
call fcn.005494e0
mov byte [0x6e9e65], 1
test eax, eax
jne 0x54a4d1
mov byte [0x6e9e65], 0
push 0
call fcn.0054b870
add esp, 4
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
call fcn.005c9914
mov esp, ebp
pop ebp
ret 4
Function at 0x54ab30
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a97b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x6a1450]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x20], 0
je 0x54ac1d
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x54ac1d
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x54ac1d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x54ac1d
push eax
lea ecx, [ebp - 0x828]
call fcn.0045b980
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0x818]
test ecx, ecx
je 0x54ac12
cmp dword [ebp - 0x814], 0x10
lea edx, [ebp - 0x810]
push 0x400
push edx
push ecx
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
push 0
push dword [0x6ebb64]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
lea eax, [ebp - 0x810]
mov ecx, edi
push eax
call fcn.0054a4f0
mov ecx, dword [0x6eb348]
test ecx, ecx
je 0x54ac12
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x828]
call fcn.0045a9a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c9914
mov esp, ebp
pop ebp
ret

Function at 0x54f260
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60aa7e
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x6a1450]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x6ebbd4]
test al, 1
jne 0x54f2bb
or eax, 1
mov dword [0x6ebbd4], eax
mov ecx, 0x6ebbd0
mov dword [ebp - 4], 0
call fcn.0053e8f0
push 0x613cc0
call fcn.005ca3dd
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x6f86c4]
push 0xffffffffffffffff
push 0x3c
call fcn.00541aa0
movdqu xmm0, xmmword [esi + 0x1c]
sub esp, 0x40
mov ecx, 0x6ebbd0
mov eax, esp
sub esp, 0x18
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [esi + 0x2c]
movdqu xmmword [eax + 0x10], xmm0
movdqu xmm0, xmmword [esi + 0x3c]
movdqu xmmword [eax + 0x20], xmm0
movdqu xmm0, xmmword [esi + 0x4c]
movdqu xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [esi + 0xc]
movups xmmword [esp + 8], xmm0
movss xmm0, dword [esi + 8]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi + 4]
movss dword [esp], xmm0
call fcn.0053f8e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x551170
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0052ba80

Function at 0x556da0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x556db9
xor al, al
pop esi
pop ebp
ret 4
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 4], eax
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x55d530
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0x10
jb 0x55d540
mov edx, dword [ecx]
jmp 0x55d542
mov edx, ecx
mov ecx, dword [ecx + 0x10]
xor eax, eax
push ebx
push esi
add ecx, edx
xor ebx, ebx
push edi
mov edi, ecx
xor esi, esi
sub edi, edx
cmp edx, ecx
cmova edi, ebx
test edi, edi
je 0x55d573
lea ecx, [ecx]
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc esi
xor eax, ecx
cmp esi, edi
jb 0x55d560
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x55da20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60b810
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x6a1450]
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 edx, ecx
mov dword [ebp - 0x48], edx
mov eax, dword [ebp + 8]
mov ebx, 4
mov dword [ebp - 0x4c], eax
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
test ecx, ecx
jle 0x55dbe0
jmp 0x55da70
mov eax, dword [eax + ebx]
add ebx, 4
cmp dword [edx + 0x1420], 0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ebx
je 0x55dab5
mov ecx, dword [edx + 0x141c]
mov eax, dword [edx + 0x142c]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x55daa6
mov ecx, dword [ebp - 0x44]
lea esi, [ebp - 0x50]
add eax, 0xffffffe4
mov dword [ebp - 0x50], eax
jmp 0x55dabf
mov ecx, dword [ebp - 0x44]
lea esi, [ebp - 0x50]
mov dword [ebp - 0x50], 0
jmp 0x55dabf
mov dword [ebp - 0x60], 0
lea esi, [ebp - 0x60]
mov esi, dword [esi]
test esi, esi
je 0x55dbd3
lea esp, [esp]
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0045ad40
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004ab510
add esp, 8
cmp dword [ebp - 0x14], 0x10
mov byte [ebp - 4], 2
jb 0x55db1b
push dword [ebp - 0x28]
call fcn.004dbb70
add esp, 4
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
xor eax, eax
add ecx, edx
mov dword [ebp - 0x14], 0xf
mov ebx, ecx
mov dword [ebp - 0x18], 0
sub ebx, edx
mov byte [ebp - 0x28], 0
xor edi, edi
cmp edx, ecx
cmova ebx, eax
test ebx, ebx
je 0x55db63
mov edi, edi
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc edi
xor eax, ecx
cmp edi, ebx
jb 0x55db50
cmp dword [ebp - 0x58], eax
je 0x55db9b
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x55db80
push dword [ebp - 0x40]
call fcn.004dbb70
add esp, 4
mov esi, dword [esi + 0x1c]
test esi, esi
je 0x55db8c
add esi, 0xffffffe4
jmp 0x55db8e
xor esi, esi
test esi, esi
jne 0x55dad0
mov ebx, dword [ebp - 0x54]
jmp 0x55dbcd
mov ecx, dword [esi + 0x18]
call fcn.00560650
mov ecx, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x54]
add ecx, ebx
push ecx
mov ecx, eax
call fcn.00564cf0
add ebx, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 0x10
jb 0x55dbcd
push dword [ebp - 0x40]
call fcn.004dbb70
add esp, 4
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x4c]
dec ecx
mov dword [ebp - 0x44], ecx
jne 0x55da70
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.005c9914
mov esp, ebp
pop ebp
ret 4
Function at 0x55fc50
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, ecx
push 0x64cbc8
lea esi, [edi + 0x255]
push esi
call fcn.005ca5ef
add esp, 8
test eax, eax
je 0x55fc7a
push eax
call fcn.005ca84b
add esp, 4
mov al, 1
pop edi
pop esi
ret
cmp byte [edi + 0x364], 0
je 0x55fc88
pop edi
xor al, al
pop esi
ret
push 0x64cb98
push esi
call fcn.005ca5ef
mov esi, eax
add esp, 8
test esi, esi
je 0x55fc83
push esi
push 1
push 4
push 0x619150
call fcn.005ca75d
push esi
push 1
push 4
push 0x619154
call fcn.005ca75d
push esi
push 1
lea eax, [edi + 0x150]
push 4
push eax
call fcn.005ca75d
push esi
call fcn.005ca84b
add esp, 0x34
mov al, 1
pop edi
pop esi
ret

Function at 0x55fce0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
cmp dword [edx + 0x13e4], 0x20
je 0x55fcf4
xor al, al
pop ebp
ret 4
cmp byte [edx + 0x365], 0
jne 0x55fd35
cmp dword [edx + 0x13e8], 0x10
push esi
push edi
lea edi, [edx + 0x13d4]
jb 0x55fd10
mov edi, dword [edi]
mov esi, dword [ebp + 8]
xor ecx, ecx
xor dword [edi + ecx*4], esi
inc ecx
mov eax, dword [edx + 0x13e4]
add esi, 0x1000193
shr eax, 2
cmp ecx, eax
jne 0x55fd15
pop edi
mov byte [edx + 0x365], 1
pop esi
mov al, 1
pop ebp
ret 4
Function at 0x560a70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60bc68
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6a1450]
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 ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x560ba1
cmp byte [ebx + 0x46], 0
je 0x560ba1
mov eax, dword [ebx]
push 0xffff
call dword [eax + 0xc]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
jne 0x560acf
xor al, al
jmp 0x560ba3
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
nop
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x560b3a
dec eax
je 0x560b3e
sub eax, 2
je 0x560b8a
xor bl, bl
jmp 0x560b8c
mov byte [ebx + 0x46], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x560b70
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.005ca75d
add esp, 0x10
cmp esi, eax
jne 0x560b36
cmp byte [ebx + 0x46], 0
je 0x560b8a
test esi, esi
jne 0x560b00
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00463380
jmp 0x560b00
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x560b9d
push dword [ebp - 0x28]
call fcn.004dbb70
add esp, 4
mov al, bl
jmp 0x560ba3
mov al, 1
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.005c9914
mov esp, ebp
pop ebp
ret
Function at 0x5649a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60c0f0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x6a1450]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 0x14]
push 0
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0045ad40
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.0052dfb0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00564970
add esp, 0xc
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
xor eax, eax
add ecx, edx
mov byte [ebp - 4], 1
mov edi, ecx
xor esi, esi
sub edi, edx
cmp edx, ecx
cmova edi, eax
test edi, edi
je 0x564a63
jmp 0x564a50
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc esi
xor eax, ecx
cmp esi, edi
jb 0x564a50
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.005654c0
mov esi, dword [eax]
test esi, esi
jne 0x564a82
mov byte [ebp - 0x41], 0
jmp 0x564aeb
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0052ba80
mov edi, eax
mov byte [ebp - 0x41], 1
mov eax, 0xaaaaaaab
add esp, 8
mul edi
movd xmm0, edi
pshufd xmm1, xmm0, 0
mov eax, dword [ebp - 0x58]
shr edx, 1
lea ecx, [edx + edx*2]
sub edi, ecx
mov ecx, dword [ebp - 0x50]
mov dword [eax], edi
movdqu xmm0, xmmword [esi + 4]
mov eax, dword [ebp - 0x4c]
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [esi + 0x14]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [eax]
pxor xmm0, xmm1
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [ecx]
pxor xmm0, xmm1
movdqu xmmword [ecx], xmm0
cmp dword [ebp - 0x2c], 0x10
jb 0x564afc
push dword [ebp - 0x40]
call fcn.004dbb70
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x564b1f
push dword [ebp - 0x28]
call fcn.004dbb70
add esp, 4
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c9914
mov esp, ebp
pop ebp
ret 0x10