joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000cad0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0
mov eax, 0x1004d479
call fcn.10028f42
mov esi, ecx
mov ecx, 0x101f3151
call fcn.10028e96
imul ecx, dword [ebp + 8], 0x18
add ecx, dword [esi + 0x28]
and dword [ebp - 4], 0
call fcn.1000960e
or dword [ebp - 4], 0xffffffff
mov edi, eax
cmp byte [edi], 0
je 0x1000cba9
cmp byte [edi + 1], 0
mov ebx, dword [ebp + 0xc]
jne 0x1000cb2b
test bl, bl
je 0x1000cb2b
cmp byte [esi + 8], 0
jne 0x1000cba9
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1000cb2b
call eax
test eax, eax
jne 0x1000cba9
cmp dword [0x100e3620], 0
je 0x1000cb86
test bl, bl
je 0x1000cb86
cmp byte [edi + 1], 0
jne 0x1000cb6e
mov al, byte [edi]
cmp al, 0x7e
je 0x1000cb6e
push 0x10
movsx edi, al
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1000cb61
movzx edi, byte [edi + esi + 0x434]
mov eax, dword [esi + 4]
test eax, eax
je 0x1000cba9
push edi
call eax
pop ecx
jmp 0x1000cba9
push dword [ebp + 8]
call fcn.1000c2a2
pop ecx
test eax, eax
je 0x1000cb86
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1000cb86
push eax
call ecx
pop ecx
lea ecx, [esi + 0x10]
push edi
call fcn.100270d2
test al, al
je 0x1000cba9
cmp byte [ebp + 0x10], 0
jne 0x1000cba9
imul eax, dword [esi + 0x10], 0x18
mov ecx, esi
push ebx
add eax, dword [esi + 0x1c]
push eax
call fcn.1000c20b
call fcn.10028f1c
ret 0xc

Function at 0x1000d01a
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x100e2ea0], 0
push edi
je 0x1000d031
cmp dword [0x100e2ea4], 0
jne 0x1000d075
push eax
mov eax, dword [esi]
mov dword [0x100e2ea0], eax
pop eax
mov edi, dword [0x100e2ea0]
lea eax, [ebp - 4]
add edi, 0x48
push eax
push 0x40
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
mov dword [edi], 0x1000d078
push eax
push dword [ebp - 4]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x100e2ea0]
mov eax, dword [eax + 0x4c]
mov dword [0x100e2ea4], eax
pop edi
leave
ret

Function at 0x1000e008
Capabilities:
Get graphical window text

Disassembly:
push 0x11c
mov eax, 0x1004d683
call fcn.10028f76
mov esi, dword [ebp + 8]
mov ecx, 0x101f321d
call fcn.10028e96
push 0xff
lea eax, [ebp - 0x110]
push eax
push dword [0x100e2ec0]
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x1000e0d1
lea ecx, [ebp - 0x128]
call fcn.10005a34
and dword [ebp - 4], 0
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000e05c
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.1000e1fc
add esp, 0xc
cmp dword [ebp - 0x118], 0
je 0x1000e0bf
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.1000960e
push eax
push 0x1004ea1c
push esi
call fcn.1000b4cb
mov esi, dword [ebp - 0x118]
add esp, 0xc
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 2
call fcn.1000977b
mov eax, esi
jmp 0x1000e0d3
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 3
call fcn.1000977b
xor eax, eax
call fcn.10028f31
ret 8
Function at 0x10019446
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x101f35dd
call fcn.10028e96
sub dword [ebp + 0xc], 1
jne 0x100194ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x100194ba
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0xff
mov esi, 0x100efa90
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10019489
sub ecx, edx
lea eax, [ecx + 0x100efa90]
jmp 0x100194a0
cmp byte [eax], 0x5c
je 0x100194a4
dec eax
cmp eax, esi
jae 0x1001949a
xor ecx, ecx
push ecx
push ecx
push ecx
push 0x100192e3
push ecx
push ecx
mov byte [eax + 1], cl
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
xor eax, eax
inc eax
pop ebp
ret 0xc

Function at 0x1001bc79
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, 0x101f3665
call fcn.10028e96
lea eax, [esi + 0x30]
push eax
push 0x40
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
pop esi
setne al
pop ebp
ret 8

Function at 0x1003f06b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003eeea

Function at 0x432006
Capabilities:
Encode data using xor

Disassembly:
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x42938b
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
inc dword [0x468578]
movzx ecx, byte [ebp + 0xc]
mov eax, dword [ebp + 0xc]
lea ecx, [ecx + eax - 0x58]
mov dword [0x45599c], ecx
jne 0x4293c8
push 0x468358
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edx, dword [0x455a08]
mov eax, dword [0x455a00]
lea eax, [edx + eax + 5]
jmp 0x4293ce
mov edx, dword [0x455a08]
cmp eax, 4
je 0x4293fd
cmp eax, 0xd
je 0x4293f5
mov ecx, dword [0x4559a0]
lea ecx, [ecx + eax + 0x53]
push esi
movzx esi, cx
mov dword [0x4559a0], ecx
sub ecx, esi
sub ecx, eax
mov eax, ecx
pop esi
jmp 0x429419
mov ecx, dword [ebp + 0xc]
add ecx, 0x13
jmp 0x429413
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x4559a0]
lea eax, [eax + ecx + 0x133c5]
movzx ecx, cl
lea ecx, [ecx + eax - 0x58]
mov dword [0x4559a0], ecx
cmp dword [0x468578], 9
jle 0x429438
and dword [0x468578], 0
movzx ecx, dl
sub eax, ecx
sub eax, edx
add eax, 0x24
mov dword [0x455a00], eax
mov eax, dword [ebp + 8]
pop ebp
ret

Function at 0x4303da
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x454728]
jne 0x4303e4
repz ret
jmp fcn.0043972f
Function at 0x43a1bc
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x454ea8]
je 0x43a1d7
inc edi
cmp edi, 0x17
jb 0x43a1c8
cmp edi, 0x17
jae 0x43a357
push ebp
push 3
call fcn.0043faad
cmp eax, 1
pop ecx
je 0x43a323
push 3
call fcn.0043faad
test eax, eax
pop ecx
jne 0x43a20b
cmp dword [0x4542f0], 1
je 0x43a323
cmp ebx, 0xfc
je 0x43a356
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x456d90
push ebp
call fcn.004395d0
add esp, 0xc
test eax, eax
je 0x43a241
push esi
push esi
push esi
push esi
push esi
call fcn.0042fed4
add esp, 0x14
push 0x104
mov esi, 0x456da9
push esi
push 0
mov byte [0x456ead], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43a285
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004395d0
add esp, 0xc
test eax, eax
je 0x43a285
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0042fed4
add esp, 0x14
push esi
call fcn.00431c10
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43a2ca
push esi
call fcn.00431c10
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4570a4
push 0x4465d4
sub ecx, eax
push ecx
push eax
call fcn.0043c961
add esp, 0x14
test eax, eax
je 0x43a2ca
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0042fed4
add esp, 0x14
jmp 0x43a2cc
xor esi, esi
push 0x4465d0
push ebx
push ebp
call fcn.0043c8f0
add esp, 0xc
test eax, eax
je 0x43a2ec
push esi
push esi
push esi
push esi
push esi
call fcn.0042fed4
add esp, 0x14
push dword [edi*8 + 0x454eac]
push ebx
push ebp
call fcn.0043c8f0
add esp, 0xc
test eax, eax
je 0x43a30e
push esi
push esi
push esi
push esi
push esi
call fcn.0042fed4
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0043f8f0
add esp, 0xc
jmp 0x43a356
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x43a356
cmp ebp, 0xffffffff
je 0x43a356
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x454eac]
push dword [esi]
call fcn.00431c10
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x43f8f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043786d
xor ebx, ebx
cmp dword [0x457330], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x43f9c6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43faa6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43faa6
push eax
call fcn.004377ff
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x457330], eax
call esi
push eax
call fcn.004377ff
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x457334], eax
call esi
push eax
call fcn.004377ff
mov dword [0x457338], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00439f49
test eax, eax
pop ecx
pop ecx
je 0x43f994
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042fed4
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x43f9c6
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004377ff
cmp eax, ebx
pop ecx
mov dword [0x457340], eax
je 0x43f9c6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004377ff
pop ecx
mov dword [0x45733c], eax
mov eax, dword [0x45733c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x43fa4b
cmp dword [0x457340], ecx
je 0x43fa4b
push eax
call fcn.00437876
push dword [0x457340]
mov esi, eax
call fcn.00437876
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x43fa4b
cmp edi, ebx
je 0x43fa4b
call esi
cmp eax, ebx
je 0x43fa18
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43fa18
test byte [ebp - 0x18], 1
jne 0x43fa4b
lea eax, [ebp - 0x10]
push eax
call fcn.00439f80
test eax, eax
pop ecx
je 0x43fa33
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042fed4
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x43fa42
or dword [ebp + 0x10], 0x200000
jmp 0x43fa86
or dword [ebp + 0x10], 0x40000
jmp 0x43fa86
mov eax, dword [0x457334]
cmp eax, dword [ebp - 8]
je 0x43fa86
push eax
call fcn.00437876
cmp eax, ebx
pop ecx
je 0x43fa86
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43fa86
mov eax, dword [0x457338]
cmp eax, dword [ebp - 8]
je 0x43fa86
push eax
call fcn.00437876
cmp eax, ebx
pop ecx
je 0x43fa86
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x457330]
call fcn.00437876
cmp eax, ebx
pop ecx
je 0x43faa6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43faa8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10010190
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], 0
push ebx
push esi
push edi
mov edi, dword [0x1029b530]
mov esi, dword [edi + 0x19b0]
mov dword [ebp - 8], esi
test al, 0x10
jne 0x100102c2
mov ebx, dword [esi + 0x118]
test ebx, ebx
je 0x100101d0
cmp dword [edi + 0x19ec], ebx
jne 0x100102b9
cmp byte [edi + 0xf0], 0
je 0x100102b9
test ebx, ebx
jne 0x1001026c
test al, 8
je 0x100102b9
test byte [esi + 0x11c], 1
jne 0x1001020e
cmp dword [edi + 0x19ec], ebx
je 0x100102b9
cmp dword [edi + 0x1a18], esi
jne 0x100102b9
mov ecx, dword [ebp - 8]
add esi, 0x120
push esi
call fcn.10013ca0
mov ebx, eax
mov eax, dword [ebp - 8]
push ebx
push esi
mov dword [eax + 0x118], ebx
call fcn.10015b40
mov esi, dword [ebp - 8]
mov cl, al
add esp, 8
mov byte [ebp - 1], cl
test cl, cl
je 0x1001025a
cmp byte [edi + 0x3d8], 0
je 0x1001025a
push esi
push ebx
call fcn.1001cdb0
push esi
call fcn.10013160
mov cl, byte [ebp - 1]
add esp, 0xc
mov eax, dword [edi + 0x19ec]
cmp eax, ebx
jne 0x100102b9
mov byte [edi + 0x19f9], cl
jmp 0x10010279
mov eax, dword [edi + 0x19ec]
mov byte [edi + 0x19f9], 0
cmp eax, ebx
jne 0x100102b9
mov ecx, dword [esi + 0xcc]
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [0x1029b530]
cmp byte [eax + 0xf0], 0
je 0x100102b9
movss xmm1, dword [eax + 0x30]
movss xmm0, dword [eax + 0x444]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
jne 0x10010300
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
or ebx, 0xffffffff
mov dword [ebp - 8], esi
mov edx, 0x1019e719
mov al, 0x23
or esi, 0xffffffff
cmp al, 0x23
jne 0x100102e2
cmp byte [edx], al
jne 0x100102e2
cmp byte [edx + 1], al
cmove ebx, esi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x1019e060]
test al, al
jne 0x100102d4
mov esi, dword [ebp - 8]
not ebx
cmp byte [edi + 0x1d3c], 0
jne 0x10010339
call fcn.100111c0
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x1d54], ebx
mov ebx, dword [ebp + 8]
mov dword [edi + 0x1d58], eax
mov byte [edi + 0x1d3c], 1
mov dword [edi + 0x1d40], ebx
mov dword [edi + 0x1d48], 0
jmp 0x1001033c
mov ebx, dword [ebp + 8]
mov eax, dword [edi + 0x1960]
mov dword [edi + 0x1d44], eax
mov byte [edi + 0x1d3d], 1
test bl, 1
jne 0x10010385
call fcn.10010680
cmp dword [edi + 0x1da4], 0
je 0x10010385
test dword [edi + 0x1d98], 0x1000
je 0x10010385
mov eax, dword [edi + 0x19b0]
mov byte [eax + 0x8f], 1
mov dword [eax + 0xa8], 1
test bl, 0x12
jne 0x10010391
and dword [esi + 0x11c], 0xfffffffe
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100117b0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1029b530]
sub esp, 0x1c
test eax, eax
je 0x100117c5
inc dword [eax + 0x374]
push ebx
push esi
push edi
push dword [0x1029b550]
push 0x3b90
call dword [0x101cf328]
add esp, 8
test eax, eax
je 0x100117ee
push dword [ebp + 8]
mov ecx, eax
call fcn.1000b8d0
mov edi, eax
jmp 0x100117f0
xor edi, edi
mov ebx, dword [0x1029b530]
mov esi, 0x1019e669
test ebx, ebx
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], str.Window
mov al, 0x57
cmove ebx, edi
or edx, 0xffffffff
mov dword [ebp - 4], ebx
mov dword [0x1029b530], ebx
or ebx, 0xffffffff
nop
cmp al, 0x23
jne 0x1001182e
cmp byte [esi], al
jne 0x1001182e
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x1019e060]
test al, al
jne 0x10011820
mov esi, dword [edi + 0x2d48]
not edx
mov ecx, dword [edi + 0x2d4c]
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 0x1001efb0
mov dword [ebp - 0x10], 0x1001ef00
mov dword [ebp - 0xc], 0x1001f010
cmp esi, ecx
jne 0x1001190e
inc esi
test ecx, ecx
je 0x10011888
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1001188d
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1001190e
test ebx, ebx
je 0x100118a0
inc dword [ebx + 0x374]
push dword [0x1029b550]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call dword [0x101cf328]
mov ebx, eax
add esp, 8
mov eax, dword [edi + 0x2d50]
test eax, eax
je 0x10011902
mov ecx, dword [edi + 0x2d48]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x2d50]
add esp, 0xc
test ecx, ecx
je 0x100118f2
mov eax, dword [0x1029b530]
test eax, eax
je 0x100118f2
dec dword [eax + 0x374]
push dword [0x1029b550]
push ecx
call dword [0x101cf32c]
add esp, 8
mov dword [edi + 0x2d50], ebx
mov dword [edi + 0x2d4c], esi
mov eax, dword [edi + 0x2d48]
movups xmm0, xmmword [ebp - 0x1c]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x2d50]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 0xc]
movq qword [eax + ecx*8 + 0x10], xmm0
mov eax, edi
inc dword [edi + 0x2d48]
mov byte [edi], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10012f40
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
or eax, 0xffffffff
push ebx
push esi
push edi
mov bl, byte [ecx]
lea esi, [ecx + 1]
or ecx, 0xffffffff
test bl, bl
je 0x10012f85
cmp bl, 0x23
jne 0x10012f67
cmp byte [esi], bl
jne 0x10012f67
cmp byte [esi + 1], bl
cmove eax, ecx
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
mov ecx, 0xffffffff
xor eax, dword [edx*4 + 0x1019e060]
test bl, bl
jne 0x10012f58
mov ebx, dword [0x1029b530]
not eax
mov esi, dword [ebx + 0x19a0]
mov edi, dword [ebx + 0x19a8]
mov ecx, edi
test esi, esi
je 0x10012fc4
nop
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x10012fb8
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x10012fba
mov esi, edx
test esi, esi
jne 0x10012fa0
mov ecx, dword [ebx + 0x19a8]
mov edx, dword [ebx + 0x19a0]
lea ecx, [ecx + edx*8]
cmp edi, ecx
je 0x10012fdd
cmp dword [edi], eax
jne 0x10012fdd
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xcc]
mov eax, dword [ecx + 0xd4]
push esi
push edi
lea esi, [ebp + 8]
mov edi, 4
mov eax, dword [eax + edx*4 - 4]
not eax
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1019e060]
sub edi, 1
jne 0x10013bf0
mov ecx, dword [0x1029b530]
not eax
pop edi
pop esi
cmp dword [ecx + 0x19ec], eax
jne 0x10013c22
mov dword [ecx + 0x19f0], eax
cmp dword [ecx + 0x1a20], eax
jne 0x10013c31
mov byte [ecx + 0x1a24], 1
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1029ad64]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0xcc]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xd4]
lea esi, [ebp - 0x14]
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1019e060]
sub edi, 1
jne 0x10013d14
mov eax, dword [0x1029b530]
not edx
pop edi
pop esi
cmp dword [eax + 0x19ec], edx
jne 0x10013d45
mov dword [eax + 0x19f0], edx
cmp dword [eax + 0x1a20], edx
jne 0x10013d54
mov byte [eax + 0x1a24], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.10139242
mov esp, ebp
pop ebp
ret 4
Function at 0x10014550
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
not ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
test edi, edi
je 0x1001459e
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10014581
cmp edi, 2
jb 0x10014581
cmp byte [esi], cl
jne 0x10014581
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1019e060]
test edi, edi
jne 0x10014567
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x100145cd
cmp cl, 0x23
jne 0x100145b4
cmp byte [esi], cl
jne 0x100145b4
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x1019e060]
test cl, cl
jne 0x100145a5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x10016230
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x1029b530]
cmp byte [esi + 0x2d60], 0
je 0x100162cb
cmp dword [esi + 0x2d68], 0
push edi
lea edi, [esi + 0x2d6c]
je 0x100162bc
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10016276
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1001f950
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.1001f4b0
mov edx, dword [edi]
mov ecx, 0x1029b534
push dword [esi + 0x2d68]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2d74]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebp
ret
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.1001f4b0
pop edi
pop esi
pop ebp
ret
Function at 0x1001a5e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1029b530]
lea edx, [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [eax + 0x19b0]
mov esi, 4
mov ebx, dword [eax + 0xd4]
lea edi, [eax + 0xcc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1019e060]
sub esi, 1
jne 0x1001a620
mov eax, dword [ebp - 4]
not ebx
mov ecx, dword [ebp - 8]
mov esi, dword [eax + 0xd0]
cmp ecx, esi
jne 0x1001a673
inc ecx
test esi, esi
je 0x1001a65c
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1001a661
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1001fa50
mov ecx, dword [edi]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd4]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001c9a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
mov eax, dword [0x1029b530]
mov dword [eax + 0x2d38], 0
je 0x1001ca9e
push esi
push edi
mov edi, dword [0x1029b530]
lea esi, [edi + 0x2d3c]
mov dword [edi + 0x2d38], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1001c9f4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1001f950
xor ecx, ecx
mov dword [esi], 0
cmp dword [esi + 4], ecx
jne 0x1001ca0c
push 8
mov ecx, esi
call fcn.1001f950
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push ebx
mov dword [ebp - 4], 0
mov byte [ecx + eax], 0
inc dword [esi]
cmp dword [edi + 0x2d48], 0
mov ebx, dword [esi]
jle 0x1001ca57
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [edi + 0x2d50]
add eax, ebx
push esi
push eax
push edi
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [ebp - 4]
add esp, 0xc
inc eax
add ebx, 0x18
mov dword [ebp - 4], eax
cmp eax, dword [edi + 0x2d48]
jl 0x1001ca30
mov ebx, dword [esi]
lea eax, [ebx - 1]
neg ebx
push 0x1019e750
push dword [ebp + 8]
sbb ebx, ebx
and ebx, eax
mov eax, dword [edi + 0x2d44]
test eax, eax
mov edi, 0x1029b534
cmovne edi, eax
call fcn.100143a0
mov esi, eax
add esp, 8
test esi, esi
je 0x1001ca9b
push esi
push ebx
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret