joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59d340
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
mov esi, ecx
push edi
mov edx, dword [esi + 0x28]
test edx, edx
jle 0x59d372
mov eax, dword [esi + 0x24]
sub eax, edx
test eax, eax
jle 0x59d365
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.00622580
add esp, 0xc
mov eax, dword [esi + 0x28]
sub dword [esi + 0x24], eax
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
sub eax, ecx
test eax, eax
jle 0x59d3d0
push 0
push eax
mov eax, dword [esi + 0x1c]
add eax, ecx
push eax
push dword [esi + 0x5c]
call sub.WS2_32.dll_recv
mov edi, eax
test edi, edi
jns 0x59d3a6
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x59d3a8
pop edi
xor al, al
pop esi
ret
je 0x59d3a1
mov ecx, esi
call fcn.0059cf60
test al, al
je 0x59d3cd
mov edx, dword [esi + 0x1c]
add edx, dword [esi + 0x24]
cmp byte [esi + 0x4c], 0
je 0x59d3cd
mov ecx, dword [esi + 0x54]
add ecx, 4
push edi
push edx
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
add dword [esi + 0x24], edi
pop edi
mov al, 1
pop esi
ret

Function at 0x59d3e0
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0059d2f0
mov edi, eax
test edi, edi
jle 0x59d439
mov ecx, esi
call fcn.0059cf60
test al, al
je 0x59d414
mov edx, dword [esi + 0x38]
add edx, dword [esi + 0x2c]
cmp byte [esi + 0x4c], 0
je 0x59d414
mov ecx, dword [esi + 0x50]
add ecx, 4
push edi
push edx
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [esi + 0x2c]
add eax, dword [esi + 0x38]
push 0
push edi
push eax
push dword [esi + 0x5c]
call sub.WS2_32.dll_send
test eax, eax
jns 0x59d42f
pop edi
xor al, al
pop esi
ret
add dword [esi + 0x38], eax
mov ecx, esi
call fcn.0059d300
pop edi
mov al, 1
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.005835d0

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b4d3e
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x759990]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x7a6f8c]
test al, 1
jne 0x5a446b
or eax, 1
mov dword [0x7a6f8c], eax
mov ecx, 0x7a6f88
mov dword [ebp - 4], 0
call fcn.0058baf0
push 0x6bd1b0
call fcn.00620c9e
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x76a734]
push 0xffffffffffffffff
push 0x3c
call fcn.0058feb0
movdqu xmm0, xmmword [esi + 0x1c]
sub esp, 0x40
mov ecx, 0x7a6f88
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.0058cae0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x5a5e10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
mov byte [ecx + 0x19], al
test al, al
je 0x5a5e2c
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 0x5a75a0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x759990]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [0x7a6fd8], eax
cmp dword [0x7a8d04], eax
je 0x5a76ea
push 8
lea ecx, [ebp - 0x18]
mov dword [0x7a8d04], 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.005aa400
add esp, 0xc
mov dword [0x7a8cd0], eax
cmp dword [0x749ee4], eax
je 0x5a76ea
push 0x7a6fdc
mov dword [0x749ee4], eax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
movzx ecx, word [0x7a6fd8]
mov eax, ecx
and eax, 0x3ff
sub eax, 4
je 0x5a7656
sub eax, 0xd
je 0x5a7643
dec eax
jne case.default.0x5a7668
mov byte [0x7a6fe6], al
mov dword [0x7a84b0], 0x749ed6
jmp 0x5a76cf
mov byte [0x7a6fe6], 1
mov dword [0x7a84b0], 0x749edc
jmp 0x5a76cf
mov eax, ecx
mov byte [0x7a6fe6], 1
shr eax, 0xa
dec eax
cmp eax, 4
ja case.default.0x5a7668
jmp dword [eax*4 + 0x5a76f8]
mov byte [0x7a6fe6], 0
mov dword [0x7a84b0], 0x749eca
jmp 0x5a76cf
mov dword [0x7a84b0], 0x749ed0
jmp 0x5a76cf
push 0xa
lea eax, [ebp - 0x10]
mov dword [0x7a84b0], 0x749ec4
push eax
push 3
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [0x7a84b0]
movsx cx, byte [ebp - 0x10]
mov word [eax], cx
movsx ax, byte [ebp - 0xf]
movzx eax, ax
push eax
call fcn.00629c8e
mov ecx, dword [0x7a84b0]
add esp, 4
mov word [ecx + 2], ax
cmp dword [0x7a8ccc], 0x4e8
je 0x5a76ea
mov eax, dword [0x7a8cd0]
mov dword [0x7a8ccc], eax
call fcn.005a7810
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00622d3e
mov esp, ebp
pop ebp
ret
Function at 0x5a7f40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x759990]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 2
jae 0x5a818d
mov ecx, dword [0x7a6fd8]
cmp dword [0x7a8d00], ecx
je 0x5a81db
cmp byte [0x7a6fce], 0
mov eax, 0x404
mov dword [0x7a8d00], ecx
je 0x5a7fab
cmp cx, ax
jne 0x5a7fab
mov dword [0x7a7088], 0x7000404
mov eax, 0x7000404
mov dword [0x7a708c], 0
jmp 0x5a818f
cmp ecx, 0xe0080404
je 0x5a7fd7
cmp ecx, 0xe0090404
je 0x5a7fd7
cmp ecx, 0xe00a0404
je 0x5a7fd7
cmp ecx, 0xe00b0404
je 0x5a7fd7
cmp ecx, 0xe00e0804
jne 0x5a8179
push 0x3ff
lea eax, [ebp - 0x404]
push eax
push ecx
call sub.IMM32.dll_ImmGetIMEFileNameA
test eax, eax
je 0x5a8179
cmp dword [0x7a6fc4], 0
jne 0x5a809e
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 0x5a809e
push 0xffffffffffffffff
push str.CINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x5a809e
push 0xffffffffffffffff
push str.MSTCIPHA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x5a809e
push 0xffffffffffffffff
push str.PINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x5a809e
push 0xffffffffffffffff
push str.MSSCIPYA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
jne 0x5a8179
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x404]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
movzx esi, word [0x7a6fd8]
mov ebx, eax
test ebx, ebx
je 0x5a8179
call fcn.006264d0
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 0x5a8179
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x408]
push eax
push 0x6d64a0
push dword [ebp - 0x40c]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x5a8179
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 [0x7a6fc4], 0
jne 0x5a81ca
mov eax, 0x404
cmp si, ax
jne 0x5a81a8
cmp ecx, 0x4020000
je 0x5a81ca
cmp ecx, 0x4030000
je 0x5a81ca
cmp ecx, 0x4040000
je 0x5a81ca
cmp ecx, 0x5000000
je 0x5a81ca
cmp ecx, 0x5010000
je 0x5a81ca
cmp ecx, 0x5020000
je 0x5a81ca
cmp ecx, 0x6000000
je 0x5a81ca
mov dword [0x7a7088], 0
mov dword [0x7a708c], 0
xor eax, eax
lea esp, [ebp - 0x420]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00622d3e
mov esp, ebp
pop ebp
ret 4
mov eax, 0x804
cmp si, ax
jne 0x5a8179
cmp ecx, 0x4010000
je 0x5a81ca
cmp ecx, 0x4020000
je 0x5a81ca
cmp ecx, 0x5030000
jne 0x5a8179
mov eax, esi
or eax, ecx
mov dword [0x7a7088], eax
mov eax, dword [edx + 0xc]
mov dword [0x7a708c], eax
mov eax, dword [edi*4 + 0x7a7088]
jmp 0x5a818f
Function at 0x5a8330
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x759990]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x7a6fd8]
push ebx
cmp eax, 0xe00e0804
je 0x5a8502
cmp eax, 0xe0090404
je 0x5a8502
mov ebx, dword [0x7a7088]
test ebx, ebx
je 0x5a8502
xor cl, cl
mov edx, 0x404
mov byte [ebp - 0x109], cl
cmp ax, dx
jne 0x5a84f1
movdqu xmm0, xmmword [str.softwaremicrosoftwindowscurrentversion_]
mov ax, word [0x6d64cc]
and ebx, 0xffff0000
mov word [ebp - 0xe0], ax
cmp ebx, 0x5010000
mov al, byte [0x6d64ce]
mov edx, str.MSTCIPH
movdqu xmmword [ebp - 0x108], xmm0
mov byte [ebp - 0xde], al
mov eax, str.TINTLGNT
movdqu xmm0, xmmword [0x6d64b4]
push esi
cmovb edx, eax
movdqu xmmword [ebp - 0xf8], xmm0
mov esi, edx
movq xmm0, qword [0x6d64c4]
push edi
movq qword [ebp - 0xe8], xmm0
mov al, byte [edx]
inc edx
test al, al
jne 0x5a83e8
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x5a83f8
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 reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop edi
pop esi
test eax, eax
jne 0x5a84dc
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 0x5a84b9
mov eax, dword [ebp - 0x118]
cmp ebx, 0x5000000
ja 0x5a8484
cmp al, 0x22
je 0x5a849a
cmp al, 0x23
je 0x5a849a
cmp ebx, 0x5010000
je 0x5a8494
cmp ebx, 0x5020000
jne 0x5a84b9
sub al, 0x22
cmp al, 2
ja 0x5a84b9
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.00622d3e
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.00622d3e
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x109]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00622d3e
mov esp, ebp
pop ebp
ret
mov al, cl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00622d3e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.00622d3e
mov esp, ebp
pop ebp
ret
Function at 0x5a87b0
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x759990]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x7a6fcc], 0
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
jne 0x5a897b
cmp byte [0x7a8ce8], 0
mov dword [0x7a6fd4], eax
jne 0x5a8812
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x5a8812
push 0x7a8ce4
push 0x6d63d0
push 1
push 0
push 0x709e98
mov byte [0x7a8ce8], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
push 0x7a6fe8
mov dword [0x7a6fe8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x105
lea eax, [ebp - 0x10c]
mov byte [0x7a6fcd], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x5a88fa
lea ecx, [ebp - 0x10c]
dec ecx
nop
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x5a8850
mov eax, dword [0x6d63e0]
mov dword [ecx], eax
mov eax, dword [0x6d63e4]
mov dword [ecx + 4], eax
mov ax, word [0x6d63e8]
mov word [ecx + 8], ax
mov al, byte [0x6d63ea]
mov byte [ecx + 0xa], al
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x7a707c], eax
test eax, eax
je 0x5a88f3
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ImmLockIMC
push eax
call esi
push str.ImmUnlockIMC
push dword [0x7a707c]
mov dword [0x7a6fb4], eax
call esi
push str.ImmLockIMCC
push dword [0x7a707c]
mov dword [0x7a6fb8], eax
call esi
push str.ImmUnlockIMCC
push dword [0x7a707c]
mov dword [0x7a6fbc], eax
call esi
push str.ImmDisableTextFrameService
push dword [0x7a707c]
mov dword [0x7a6fc0], eax
call esi
pop esi
test eax, eax
je 0x5a88fa
push 0xffffffffffffffff
call eax
jmp 0x5a88fa
mov byte [0x7a6fcd], 1
push dword [0x7a6fd4]
mov byte [0x7a6fcc], 1
call sub.IMM32.dll_ImmGetContext
push eax
mov dword [edi + 4], eax
push dword [0x7a6fd4]
call sub.IMM32.dll_ImmReleaseContext
call fcn.005a75a0
call fcn.005a7570
push 2
call fcn.005a97c0
add esp, 4
call fcn.005a9b80
test eax, eax
setne byte [0x7a6fce]
call fcn.005a7710
cmp byte [0x7a6fce], 0
je 0x5a897b
mov eax, dword [0x7a6fd8]
and eax, 0x3ff
cmp eax, 4
jne 0x5a896a
call fcn.005a7980
mov byte [0x7a6fd1], 1
test eax, eax
jne 0x5a8971
mov byte [0x7a6fd1], 0
push 0
call fcn.005a9d20
add esp, 4
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
call fcn.00622d3e
mov esp, ebp
pop ebp
ret 4
Function at 0x5a8fd0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b4f3b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x759990]
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 0x5a90b9
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x5a90b9
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
lea ecx, [ebp - 0x828]
call fcn.0045fe90
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 0x5a90a2
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 [0x7a8cd0]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
lea eax, [ebp - 0x810]
mov ecx, edi
push eax
call fcn.005a8990
mov ecx, dword [0x7a84b4]
test ecx, ecx
je 0x5a90a2
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x814], 0x10
jb 0x5a90b9
push dword [ebp - 0x828]
call fcn.00460bc0
add esp, 4
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.00622d3e
mov esp, ebp
pop ebp
ret

Function at 0x5ab680
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 0x5ab699
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 0x5b14a0
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 0x5b14b0
mov edx, dword [ecx]
jmp 0x5b14b2
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 0x5b14e3
lea ecx, [ecx]
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc esi
xor eax, ecx
cmp esi, edi
jb 0x5b14d0
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x5b19a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b56a0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x759990]
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 0x5b1b60
jmp 0x5b19f0
mov eax, dword [eax + ebx]
add ebx, 4
cmp dword [edx + 0x1420], 0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ebx
je 0x5b1a35
mov ecx, dword [edx + 0x141c]
mov eax, dword [edx + 0x142c]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x5b1a26
mov ecx, dword [ebp - 0x44]
lea esi, [ebp - 0x50]
add eax, 0xffffffe4
mov dword [ebp - 0x50], eax
jmp 0x5b1a3f
mov ecx, dword [ebp - 0x44]
lea esi, [ebp - 0x50]
mov dword [ebp - 0x50], 0
jmp 0x5b1a3f
mov dword [ebp - 0x60], 0
lea esi, [ebp - 0x60]
mov esi, dword [esi]
test esi, esi
je 0x5b1b53
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.00460580
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00561400
add esp, 8
cmp dword [ebp - 0x14], 0x10
mov byte [ebp - 4], 2
jb 0x5b1a9b
push dword [ebp - 0x28]
call fcn.00460bc0
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 0x5b1ae3
mov edi, edi
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc edi
xor eax, ecx
cmp edi, ebx
jb 0x5b1ad0
cmp dword [ebp - 0x58], eax
je 0x5b1b1b
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x5b1b00
push dword [ebp - 0x40]
call fcn.00460bc0
add esp, 4
mov esi, dword [esi + 0x1c]
test esi, esi
je 0x5b1b0c
add esi, 0xffffffe4
jmp 0x5b1b0e
xor esi, esi
test esi, esi
jne 0x5b1a50
mov ebx, dword [ebp - 0x54]
jmp 0x5b1b4d
mov ecx, dword [esi + 0x18]
call fcn.005b4680
mov ecx, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x54]
add ecx, ebx
push ecx
mov ecx, eax
call fcn.005b8f40
add ebx, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 0x10
jb 0x5b1b4d
push dword [ebp - 0x40]
call fcn.00460bc0
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 0x5b19f0
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.00622d3e
mov esp, ebp
pop ebp
ret 4
Function at 0x5b3c80
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, ecx
push 0x6d4fa0
lea esi, [edi + 0x255]
push esi
call fcn.00624b34
add esp, 8
test eax, eax
je 0x5b3caa
push eax
call fcn.006249f9
add esp, 4
mov al, 1
pop edi
pop esi
ret
cmp byte [edi + 0x364], 0
je 0x5b3cb8
pop edi
xor al, al
pop esi
ret
push 0x6d71ac
push esi
call fcn.00624b34
mov esi, eax
add esp, 8
test esi, esi
je 0x5b3cb3
push esi
push 1
push 4
push 0x6d6a40
call fcn.00626b52
push esi
push 1
push 4
push 0x6d6a44
call fcn.00626b52
push esi
push 1
lea eax, [edi + 0x150]
push 4
push eax
call fcn.00626b52
push esi
call fcn.006249f9
add esp, 0x34
mov al, 1
pop edi
pop esi
ret

Function at 0x5b3d10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
cmp dword [edx + 0x13e4], 0x20
je 0x5b3d24
xor al, al
pop ebp
ret 4
cmp byte [edx + 0x365], 0
jne 0x5b3d65
cmp dword [edx + 0x13e8], 0x10
push esi
push edi
lea edi, [edx + 0x13d4]
jb 0x5b3d40
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 0x5b3d45
pop edi
mov byte [edx + 0x365], 1
pop esi
mov al, 1
pop ebp
ret 4
Function at 0x5b4aa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b6bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x759990]
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 0x5b4bd1
cmp byte [ebx + 0x46], 0
je 0x5b4bd1
mov eax, dword [ebx]
push 0xffff
call dword [eax + 0xc]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
jne 0x5b4aff
xor al, al
jmp 0x5b4bd3
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 0x5b4b6a
dec eax
je 0x5b4b6e
sub eax, 2
je 0x5b4bba
xor bl, bl
jmp 0x5b4bbc
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 0x5b4ba0
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00626b52
add esp, 0x10
cmp esi, eax
jne 0x5b4b66
cmp byte [ebx + 0x46], 0
je 0x5b4bba
test esi, esi
jne 0x5b4b30
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0045ee60
jmp 0x5b4b30
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x5b4bcd
push dword [ebp - 0x28]
call fcn.00460bc0
add esp, 4
mov al, bl
jmp 0x5b4bd3
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.00622d3e
mov esp, ebp
pop ebp
ret
Function at 0x5b8bd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b5fb0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x759990]
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.00460580
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.005809a0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.005b8ba0
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 0x5b8c93
jmp 0x5b8c80
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc esi
xor eax, ecx
cmp esi, edi
jb 0x5b8c80
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.005b95e0
mov esi, dword [eax]
test esi, esi
jne 0x5b8cb2
mov byte [ebp - 0x41], 0
jmp 0x5b8d1b
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.005835d0
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 0x5b8d2c
push dword [ebp - 0x40]
call fcn.00460bc0
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x5b8d4f
push dword [ebp - 0x28]
call fcn.00460bc0
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.00622d3e
mov esp, ebp
pop ebp
ret 0x10