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

Disassembly:
push esi
mov esi, ecx
push edi
mov edx, dword [esi + 0x28]
test edx, edx
jle 0x593482
mov eax, dword [esi + 0x24]
sub eax, edx
test eax, eax
jle 0x593475
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.00616180
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 0x5934e0
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 0x5934b6
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x5934b8
pop edi
xor al, al
pop esi
ret
je 0x5934b1
mov ecx, esi
call fcn.00593010
test al, al
je 0x5934dd
mov edx, dword [esi + 0x1c]
add edx, dword [esi + 0x24]
cmp byte [esi + 0x4c], 0
je 0x5934dd
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 0x5934f0
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.00593400
mov edi, eax
test edi, edi
jle 0x593549
mov ecx, esi
call fcn.00593010
test al, al
je 0x593524
mov edx, dword [esi + 0x38]
add edx, dword [esi + 0x2c]
cmp byte [esi + 0x4c], 0
je 0x593524
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 0x59353f
pop edi
xor al, al
pop esi
ret
add dword [esi + 0x38], eax
mov ecx, esi
call fcn.00593410
pop edi
mov al, 1
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00579240

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x659a0e
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x6f77c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x745ca4]
test al, 1
jne 0x59a53b
or eax, 1
mov dword [0x745ca4], eax
mov ecx, 0x745ca0
mov dword [ebp - 4], 0
call fcn.00581780
push 0x661da0
call fcn.0061601e
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x709488]
push 0xffffffffffffffff
push 0x3c
call fcn.00585600
movdqu xmm0, xmmword [esi + 0x1c]
sub esp, 0x40
mov ecx, 0x745ca0
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.00582770
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x59bef0
Capabilities:
Hide graphical window

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6f77c8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [0x745cf0], eax
cmp dword [0x747a1c], eax
je 0x59d69a
push 8
lea ecx, [ebp - 0x18]
mov dword [0x747a1c], 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.005a03b0
add esp, 0xc
mov dword [0x7479e8], eax
cmp dword [0x6e7cfc], eax
je 0x59d69a
push 0x745cf4
mov dword [0x6e7cfc], eax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
movzx ecx, word [0x745cf0]
mov eax, ecx
and eax, 0x3ff
sub eax, 4
je 0x59d606
sub eax, 0xd
je 0x59d5f3
dec eax
jne case.default.0x59d618
mov byte [0x745cfe], al
mov dword [0x7471c8], 0x6e7cee
jmp 0x59d67f
mov byte [0x745cfe], 1
mov dword [0x7471c8], 0x6e7cf4
jmp 0x59d67f
mov eax, ecx
mov byte [0x745cfe], 1
shr eax, 0xa
dec eax
cmp eax, 4
ja case.default.0x59d618
jmp dword [eax*4 + 0x59d6a8]
mov byte [0x745cfe], 0
mov dword [0x7471c8], 0x6e7ce2
jmp 0x59d67f
mov dword [0x7471c8], 0x6e7ce8
jmp 0x59d67f
push 0xa
lea eax, [ebp - 0x10]
mov dword [0x7471c8], 0x6e7cdc
push eax
push 3
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [0x7471c8]
movsx cx, byte [ebp - 0x10]
mov word [eax], cx
movsx ax, byte [ebp - 0xf]
movzx eax, ax
push eax
call fcn.0061ed6e
mov ecx, dword [0x7471c8]
add esp, 4
mov word [ecx + 2], ax
cmp dword [0x7479e4], 0x4e8
je 0x59d69a
mov eax, dword [0x7479e8]
mov dword [0x7479e4], eax
call fcn.0059d7c0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0061693e
mov esp, ebp
pop ebp
ret
Function at 0x59def0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x6f77c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 2
jae 0x59e13d
mov ecx, dword [0x745cf0]
cmp dword [0x747a18], ecx
je 0x59e18b
cmp byte [0x745ce6], 0
mov eax, 0x404
mov dword [0x747a18], ecx
je 0x59df5b
cmp cx, ax
jne 0x59df5b
mov dword [0x745da0], 0x7000404
mov eax, 0x7000404
mov dword [0x745da4], 0
jmp 0x59e13f
cmp ecx, 0xe0080404
je 0x59df87
cmp ecx, 0xe0090404
je 0x59df87
cmp ecx, 0xe00a0404
je 0x59df87
cmp ecx, 0xe00b0404
je 0x59df87
cmp ecx, 0xe00e0804
jne 0x59e129
push 0x3ff
lea eax, [ebp - 0x404]
push eax
push ecx
call sub.IMM32.dll_ImmGetIMEFileNameA
test eax, eax
je 0x59e129
cmp dword [0x745cdc], 0
jne 0x59e04e
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 0x59e04e
push 0xffffffffffffffff
push str.CINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x59e04e
push 0xffffffffffffffff
push str.MSTCIPHA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x59e04e
push 0xffffffffffffffff
push str.PINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x59e04e
push 0xffffffffffffffff
push str.MSSCIPYA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
jne 0x59e129
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x404]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
movzx esi, word [0x745cf0]
mov ebx, eax
test ebx, ebx
je 0x59e129
call fcn.0061b6c0
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 0x59e129
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x408]
push eax
push 0x67aa68
push dword [ebp - 0x40c]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x59e129
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 [0x745cdc], 0
jne 0x59e17a
mov eax, 0x404
cmp si, ax
jne 0x59e158
cmp ecx, 0x4020000
je 0x59e17a
cmp ecx, 0x4030000
je 0x59e17a
cmp ecx, 0x4040000
je 0x59e17a
cmp ecx, 0x5000000
je 0x59e17a
cmp ecx, 0x5010000
je 0x59e17a
cmp ecx, 0x5020000
je 0x59e17a
cmp ecx, 0x6000000
je 0x59e17a
mov dword [0x745da0], 0
mov dword [0x745da4], 0
xor eax, eax
lea esp, [ebp - 0x420]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0061693e
mov esp, ebp
pop ebp
ret 4
mov eax, 0x804
cmp si, ax
jne 0x59e129
cmp ecx, 0x4010000
je 0x59e17a
cmp ecx, 0x4020000
je 0x59e17a
cmp ecx, 0x5030000
jne 0x59e129
mov eax, esi
or eax, ecx
mov dword [0x745da0], eax
mov eax, dword [edx + 0xc]
mov dword [0x745da4], eax
mov eax, dword [edi*4 + 0x745da0]
jmp 0x59e13f
Function at 0x59e2e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x6f77c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x745cf0]
push ebx
cmp eax, 0xe00e0804
je 0x59e4b2
cmp eax, 0xe0090404
je 0x59e4b2
mov ebx, dword [0x745da0]
test ebx, ebx
je 0x59e4b2
xor cl, cl
mov edx, 0x404
mov byte [ebp - 0x109], cl
cmp ax, dx
jne 0x59e4a1
movdqu xmm0, xmmword [str.softwaremicrosoftwindowscurrentversion_]
mov ax, word [0x67aa94]
and ebx, 0xffff0000
mov word [ebp - 0xe0], ax
cmp ebx, 0x5010000
mov al, byte [0x67aa96]
mov edx, str.MSTCIPH
movdqu xmmword [ebp - 0x108], xmm0
mov byte [ebp - 0xde], al
mov eax, str.TINTLGNT
movdqu xmm0, xmmword [0x67aa7c]
push esi
cmovb edx, eax
movdqu xmmword [ebp - 0xf8], xmm0
mov esi, edx
movq xmm0, qword [0x67aa8c]
push edi
movq qword [ebp - 0xe8], xmm0
mov al, byte [edx]
inc edx
test al, al
jne 0x59e398
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x59e3a8
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 connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop edi
pop esi
test eax, eax
jne 0x59e48c
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 0x59e469
mov eax, dword [ebp - 0x118]
cmp ebx, 0x5000000
ja 0x59e434
cmp al, 0x22
je 0x59e44a
cmp al, 0x23
je 0x59e44a
cmp ebx, 0x5010000
je 0x59e444
cmp ebx, 0x5020000
jne 0x59e469
sub al, 0x22
cmp al, 2
ja 0x59e469
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.0061693e
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.0061693e
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x109]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0061693e
mov esp, ebp
pop ebp
ret
mov al, cl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0061693e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.0061693e
mov esp, ebp
pop ebp
ret
Function at 0x59e760
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x6f77c8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x745ce4], 0
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
jne 0x59e92b
cmp byte [0x747a00], 0
mov dword [0x745cec], eax
jne 0x59e7c2
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x59e7c2
push 0x7479fc
push 0x67a8dc
push 1
push 0
push 0x6a1880
mov byte [0x747a00], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
push 0x745d00
mov dword [0x745d00], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x105
lea eax, [ebp - 0x10c]
mov byte [0x745ce5], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x59e8aa
lea ecx, [ebp - 0x10c]
dec ecx
nop
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x59e800
mov eax, dword [str.imm32.dll]
mov dword [ecx], eax
mov eax, dword [0x67a9ac]
mov dword [ecx + 4], eax
mov ax, word [0x67a9b0]
mov word [ecx + 8], ax
mov al, byte [0x67a9b2]
mov byte [ecx + 0xa], al
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x745d94], eax
test eax, eax
je 0x59e8a3
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ImmLockIMC
push eax
call esi
push str.ImmUnlockIMC
push dword [0x745d94]
mov dword [0x745ccc], eax
call esi
push str.ImmLockIMCC
push dword [0x745d94]
mov dword [0x745cd0], eax
call esi
push str.ImmUnlockIMCC
push dword [0x745d94]
mov dword [0x745cd4], eax
call esi
push str.ImmDisableTextFrameService
push dword [0x745d94]
mov dword [0x745cd8], eax
call esi
pop esi
test eax, eax
je 0x59e8aa
push 0xffffffffffffffff
call eax
jmp 0x59e8aa
mov byte [0x745ce5], 1
push dword [0x745cec]
mov byte [0x745ce4], 1
call sub.IMM32.dll_ImmGetContext
push eax
mov dword [edi + 4], eax
push dword [0x745cec]
call sub.IMM32.dll_ImmReleaseContext
call fcn.0059d550
call fcn.0059d520
push 2
call fcn.0059f770
add esp, 4
call fcn.0059fb30
test eax, eax
setne byte [0x745ce6]
call fcn.0059d6c0
cmp byte [0x745ce6], 0
je 0x59e92b
mov eax, dword [0x745cf0]
and eax, 0x3ff
cmp eax, 4
jne 0x59e91a
call fcn.0059d930
mov byte [0x745ce9], 1
test eax, eax
jne 0x59e921
mov byte [0x745ce9], 0
push 0
call fcn.0059fcd0
add esp, 4
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
call fcn.0061693e
mov esp, ebp
pop ebp
ret 4
Function at 0x59ef80
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x659c2b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x6f77c8]
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 0x59f069
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x59f069
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.0045e720
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 0x59f052
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 [0x7479e8]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
lea eax, [ebp - 0x810]
mov ecx, edi
push eax
call fcn.0059e940
mov ecx, dword [0x7471cc]
test ecx, ecx
je 0x59f052
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x814], 0x10
jb 0x59f069
push dword [ebp - 0x828]
call fcn.0045f3d0
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.0061693e
mov esp, ebp
pop ebp
ret

Function at 0x5a1690
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 0x5a16a9
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 0x5a7420
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 0x5a7430
mov edx, dword [ecx]
jmp 0x5a7432
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 0x5a7463
lea ecx, [ecx]
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc esi
xor eax, ecx
cmp esi, edi
jb 0x5a7450
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x5a7910
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65a360
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x6f77c8]
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 0x5a7ad0
jmp 0x5a7960
mov eax, dword [eax + ebx]
add ebx, 4
cmp dword [edx + 0x1420], 0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ebx
je 0x5a79a5
mov ecx, dword [edx + 0x141c]
mov eax, dword [edx + 0x142c]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x5a7996
mov ecx, dword [ebp - 0x44]
lea esi, [ebp - 0x50]
add eax, 0xffffffe4
mov dword [ebp - 0x50], eax
jmp 0x5a79af
mov ecx, dword [ebp - 0x44]
lea esi, [ebp - 0x50]
mov dword [ebp - 0x50], 0
jmp 0x5a79af
mov dword [ebp - 0x60], 0
lea esi, [ebp - 0x60]
mov esi, dword [esi]
test esi, esi
je 0x5a7ac3
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.0045ee10
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.005576b0
add esp, 8
cmp dword [ebp - 0x14], 0x10
mov byte [ebp - 4], 2
jb 0x5a7a0b
push dword [ebp - 0x28]
call fcn.0045f3d0
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 0x5a7a53
mov edi, edi
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc edi
xor eax, ecx
cmp edi, ebx
jb 0x5a7a40
cmp dword [ebp - 0x58], eax
je 0x5a7a8b
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x5a7a70
push dword [ebp - 0x40]
call fcn.0045f3d0
add esp, 4
mov esi, dword [esi + 0x1c]
test esi, esi
je 0x5a7a7c
add esi, 0xffffffe4
jmp 0x5a7a7e
xor esi, esi
test esi, esi
jne 0x5a79c0
mov ebx, dword [ebp - 0x54]
jmp 0x5a7abd
mov ecx, dword [esi + 0x18]
call fcn.005aa5b0
mov ecx, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x54]
add ecx, ebx
push ecx
mov ecx, eax
call fcn.005aed20
add ebx, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 0x10
jb 0x5a7abd
push dword [ebp - 0x40]
call fcn.0045f3d0
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 0x5a7960
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.0061693e
mov esp, ebp
pop ebp
ret 4
Function at 0x5a9bb0
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, ecx
push 0x6794c8
lea esi, [edi + 0x255]
push esi
call fcn.00619da4
add esp, 8
test eax, eax
je 0x5a9bda
push eax
call fcn.00619c69
add esp, 4
mov al, 1
pop edi
pop esi
ret
cmp byte [edi + 0x364], 0
je 0x5a9be8
pop edi
xor al, al
pop esi
ret
push 0x67b6cc
push esi
call fcn.00619da4
mov esi, eax
add esp, 8
test esi, esi
je 0x5a9be3
push esi
push 1
push 4
push 0x67af60
call fcn.0061bd42
push esi
push 1
push 4
push 0x67af64
call fcn.0061bd42
push esi
push 1
lea eax, [edi + 0x150]
push 4
push eax
call fcn.0061bd42
push esi
call fcn.00619c69
add esp, 0x34
mov al, 1
pop edi
pop esi
ret

Function at 0x5a9c40
Capabilities:
Encode data using xor

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65b7b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6f77c8]
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 0x5aab11
cmp byte [ebx + 0x46], 0
je 0x5aab11
mov eax, dword [ebx]
push 0xffff
call dword [eax + 0xc]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
jne 0x5aaa3f
xor al, al
jmp 0x5aab13
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 0x5aaaaa
dec eax
je 0x5aaaae
sub eax, 2
je 0x5aaafa
xor bl, bl
jmp 0x5aaafc
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 0x5aaae0
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0061bd42
add esp, 0x10
cmp esi, eax
jne 0x5aaaa6
cmp byte [ebx + 0x46], 0
je 0x5aaafa
test esi, esi
jne 0x5aaa70
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0045d6f0
jmp 0x5aaa70
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x5aab0d
push dword [ebp - 0x28]
call fcn.0045f3d0
add esp, 4
mov al, bl
jmp 0x5aab13
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.0061693e
mov esp, ebp
pop ebp
ret
Function at 0x5ae9d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65ac40
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x6f77c8]
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.0045ee10
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.005765d0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.005ae9a0
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 0x5aea93
jmp 0x5aea80
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc esi
xor eax, ecx
cmp esi, edi
jb 0x5aea80
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.005af4f0
mov esi, dword [eax]
test esi, esi
jne 0x5aeab2
mov byte [ebp - 0x41], 0
jmp 0x5aeb1b
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00579240
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 0x5aeb2c
push dword [ebp - 0x40]
call fcn.0045f3d0
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x5aeb4f
push dword [ebp - 0x28]
call fcn.0045f3d0
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.0061693e
mov esp, ebp
pop ebp
ret 0x10