joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4099ec
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409abf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409ad8
push ebx
push 0x409ae4
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a6c
mov al, 0x6a
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.004099c0
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a75
call fcn.004099c0
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409ac6
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b78
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409c2c
jmp 0x409c21
cmp dword [esi + 0x10], 0x1000
jne 0x409c0d
test byte [esi + 0x15], 1
jne 0x409c0d
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409bcc
cmp eax, 2
je 0x409bcc
cmp eax, 0x10
je 0x409bcc
cmp eax, 0x20
jne 0x409be1
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409be1
mov bl, 1
xor ebp, ebp
jmp 0x409bf2
mov eax, dword [esi]
add eax, ebp
call fcn.00409b70
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409be5
test bl, bl
je 0x409c0d
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409c2c
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409ba4
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x99104a
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
pushal
mov eax, 0x9910b9
sub eax, entry0
add eax, dword [0x9910ba]
mov dword [entry0], 0xe9
mov dword [0x99104b], eax
push 0x991009
mov al, byte [0x99102d]
cmp al, 1
je 0x991082
mov eax, 0
jmp 0x991085
mov eax, dword [ebp + 8]
push eax
call fcn.009910be
add esp, 8
cmp eax, 0
je 0x9910af
mov dword [entry0], 0xc2
mov dword [0x99104b], 0xc
push eax
mov eax, dword [0x991029]
call eax
popal
pop ebp
jmp 0x9910b9
jmp 0x5a5cc6
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x402c00
pop dword [ebp - 0x4c]
mov eax, 0x402c00
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x722ee96d
add dword [ebp - 0x5c], 0xdc235bde
mov dword [ebp - 0x58], 0x29d6157
sub dword [ebp - 0x58], 0xd06a1512
mov dword [ebp - 0x54], 0x1940f85a
sub dword [ebp - 0x54], 0xccf4b42c
mov dword [ebp - 0x50], 0xfe8da933
sub dword [ebp - 0x50], 0xfe8da933
lea eax, [ebp - 0x5c]
push eax
mov eax, 0xa3d889b8
sub eax, 0xa3981954
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x8df4d697
sub dword [ebp - 0x5c], 0x19826d41
mov dword [ebp - 0x58], 0x2c76b025
add dword [ebp - 0x58], 0x14f5b150
mov dword [ebp - 0x54], 0x6c785258
add dword [ebp - 0x54], 0xf6f71a14
mov dword [ebp - 0x50], 0x526c812c
add dword [ebp - 0x50], 0xad937ed4
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x9326f4db
sub eax, 0x92e68433
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x39286
push 0
call eax
mov ecx, 0x51e0
mov edx, eax
mov esi, 0x676393da
sub esi, 0x672293da
add esi, dword [ebp - 0x4c]
mov ebx, 0xbc2a7f41
xor dword [ebp - 0x28], eax
mov edi, dword [esi]
xor dword [ebp - 0x30], 0xae4214c0
xor edi, ebx
xor dword [ebp - 0x44], edi
mov dword [edx], edi
add dword [ebp - 0xc], edi
add edx, 0xbd82f832
sub edx, 0xbd82f82e
add esi, 0x9afcab6a
add esi, 0x6503549a
loop 0x402d11
add eax, 0x430af492
add eax, 0xbcf645c1
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x1709058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.017091a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x170907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x170906a
add dl, dl
jne 0x1709089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x17090dc
xor eax, eax
add dl, dl
jne 0x1709096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x170917d
add dl, dl
jne 0x17090a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17090b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17090bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17090c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x17090d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1709075
mov eax, 1
add dl, dl
jne 0x17090ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17090f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x17090e1
sub eax, ebx
mov ebx, 1
jne 0x1709128
mov ecx, 1
add dl, dl
jne 0x170910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1709119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1709105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1709075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x170913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x170914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1709136
cmp eax, 0x7d00
jae 0x170916d
cmp eax, 0x500
jb 0x1709168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1709075
cmp eax, 0x7f
ja 0x1709170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1709075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x170919e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1709075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10015560
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a385b
mov eax, dword fs:[0]
push eax
push ebx
push ecx
push esi
mov eax, dword [0x10242040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
xorps xmm0, xmm0
mov dword [esi], 0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], 0
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x20], 0
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], 0
mov dword [esi + 0x24], 0xffffffff
mov dword [esi + 0x28], 0
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x2c], 0
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x30], 0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], 0
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x38], 0
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x3c], 0
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x44], 0
mov word [esi + 0x48], 0
mov byte [esi + 0x4a], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
movups xmmword [esi + 0x54], xmm0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0xf
mov byte [esi + 0x54], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x94], 0
mov byte [ebp - 4], 1
call fcn.10015440
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10019650
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a3b68
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10242040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea ecx, [edi + 0x54]
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
movzx eax, byte [esi + 0x44]
mov byte [edi + 0x44], al
movzx eax, byte [esi + 0x45]
mov byte [edi + 0x45], al
movzx eax, byte [esi + 0x46]
mov byte [edi + 0x46], al
movzx eax, byte [esi + 0x47]
mov byte [edi + 0x47], al
movzx eax, byte [esi + 0x48]
mov byte [edi + 0x48], al
movzx eax, byte [esi + 0x49]
mov byte [edi + 0x49], al
movzx eax, byte [esi + 0x4a]
mov byte [edi + 0x4a], al
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
lea eax, [esi + 0x54]
push eax
call fcn.10018230
mov dword [ebp - 4], 0
lea ebx, [edi + 0x70]
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x6c], eax
mov dword [ebp + 8], ebx
mov dword [ebx + 0x24], 0
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x94]
test ecx, ecx
je 0x1001975b
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100205f0
Capabilities:
Hash data using fnv

Disassembly:
mov edx, ecx
jmp 0x10021ce0
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
ret
Function at 0x10021720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jns 0x10021736
mov eax, 6
mov dword [esp + 4], eax
jmp 0x1001a9c0
cmp eax, 0x3b9aca00
jge 0x10021746
mov dword [esp + 4], eax
jmp 0x1001a9c0
mov ecx, 0x84
mov eax, edx
mov edx, ecx
ret
Function at 0x100351f0
Capabilities:
Hash data using fnv

Disassembly:
mov edx, ecx
jmp 0x10035200
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
ret

Function at 0x10035920
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
xor esi, esi
push edi
mov edi, 0x811c9dc5
test edx, edx
je 0x10035941
nop dword [eax]
movzx eax, byte [ecx + esi]
inc esi
xor eax, edi
imul edi, eax, 0x1000193
cmp esi, edx
jb 0x10035930
mov eax, edi
pop edi
pop esi
ret
Function at 0x10043a20
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0x103357d4]
push esi
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x103362f4]
cmp eax, dword [ecx + 4]
jle 0x10043ab7
push 0x103362f4
call fcn.1014bbcf
add esp, 4
cmp dword [0x103362f4], 0xffffffff
jne 0x10043ab7
mov eax, dword [0x10335870]
mov esi, dword [eax + 0x30]
test esi, esi
je 0x10043aa2
mov edx, dword [esi + 0xc]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10043a68
sub eax, edi
mov ecx, 0x4fa38bcd
lea edi, [eax + 1]
test edi, edi
je 0x10043a9b
nop dword [eax]
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub edi, 1
jne 0x10043a80
cmp ecx, 0xe586ee45
je 0x10043aa4
mov esi, dword [esi + 4]
test esi, esi
jne 0x10043a60
xor esi, esi
push 0x103362f4
mov dword [0x103362f8], esi
call fcn.1014bb7e
add esp, 4
mov eax, dword [0x103362f8]
pop edi
pop esi
ret

Function at 0x10043ac0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0x103357d4]
push esi
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x103362e4]
cmp eax, dword [ecx + 4]
jle 0x10043b57
push 0x103362e4
call fcn.1014bbcf
add esp, 4
cmp dword [0x103362e4], 0xffffffff
jne 0x10043b57
mov eax, dword [0x10335870]
mov esi, dword [eax + 0x30]
test esi, esi
je 0x10043b42
mov edx, dword [esi + 0xc]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10043b08
sub eax, edi
mov ecx, 0x4fa38bcd
lea edi, [eax + 1]
test edi, edi
je 0x10043b3b
nop dword [eax]
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub edi, 1
jne 0x10043b20
cmp ecx, 0xf3f59b2a
je 0x10043b44
mov esi, dword [esi + 4]
test esi, esi
jne 0x10043b00
xor esi, esi
push 0x103362e4
mov dword [0x103362e8], esi
call fcn.1014bb7e
add esp, 4
mov eax, dword [0x103362e8]
pop edi
pop esi
ret
Function at 0x100441c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [ecx + 0x1c], eax
mov eax, dword [edx + 0x20]
mov dword [ecx + 0x20], eax
mov eax, dword [edx + 0x24]
mov dword [ecx + 0x24], eax
mov eax, dword [edx + 0x28]
mov dword [ecx + 0x28], eax
mov eax, dword [edx + 0x2c]
mov dword [ecx + 0x2c], eax
mov eax, dword [edx + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [edx + 0x34]
mov dword [ecx + 0x34], eax
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x38], eax
mov eax, dword [edx + 0x3c]
mov dword [ecx + 0x3c], eax
mov eax, dword [edx + 0x40]
mov dword [ecx + 0x40], eax
mov eax, dword [edx + 0x44]
mov dword [ecx + 0x44], eax
mov eax, dword [edx + 0x48]
mov dword [ecx + 0x48], eax
mov eax, dword [edx + 0x4c]
mov dword [ecx + 0x4c], eax
mov eax, dword [edx + 0x50]
mov dword [ecx + 0x50], eax
mov eax, dword [edx + 0x54]
mov dword [ecx + 0x54], eax
mov eax, dword [edx + 0x58]
mov dword [ecx + 0x58], eax
mov eax, dword [edx + 0x5c]
mov dword [ecx + 0x5c], eax
mov eax, dword [edx + 0x60]
mov dword [ecx + 0x60], eax
mov eax, dword [edx + 0x64]
mov dword [ecx + 0x64], eax
mov eax, dword [edx + 0x68]
mov dword [ecx + 0x68], eax
mov eax, dword [edx + 0x6c]
mov dword [ecx + 0x6c], eax
mov eax, dword [edx + 0x70]
mov dword [ecx + 0x70], eax
mov eax, dword [edx + 0x74]
mov dword [ecx + 0x74], eax
mov eax, dword [edx + 0x78]
mov dword [ecx + 0x78], eax
mov eax, dword [edx + 0x7c]
mov dword [ecx + 0x7c], eax
mov eax, dword [edx + 0x80]
mov dword [ecx + 0x80], eax
mov eax, dword [edx + 0x84]
mov dword [ecx + 0x84], eax
movzx eax, byte [edx + 0x88]
mov byte [ecx + 0x88], al
mov eax, dword [edx + 0x8c]
mov dword [ecx + 0x8c], eax
mov eax, dword [edx + 0x90]
mov dword [ecx + 0x90], eax
mov eax, dword [edx + 0x94]
mov dword [ecx + 0x94], eax
mov eax, dword [edx + 0x98]
mov dword [ecx + 0x98], eax
mov eax, dword [edx + 0x9c]
mov dword [ecx + 0x9c], eax
mov eax, dword [edx + 0xa0]
mov dword [ecx + 0xa0], eax
movzx eax, byte [edx + 0xa4]
mov byte [ecx + 0xa4], al
mov eax, ecx
ret 4
Function at 0x10048f10
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0x103357d4]
push esi
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10337b6c]
cmp eax, dword [ecx + 4]
jle 0x10048fa7
push 0x10337b6c
call fcn.1014bbcf
add esp, 4
cmp dword [0x10337b6c], 0xffffffff
jne 0x10048fa7
mov eax, dword [0x10335870]
mov esi, dword [eax + 0x30]
test esi, esi
je 0x10048f92
mov edx, dword [esi + 0xc]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10048f58
sub eax, edi
mov ecx, 0x4fa38bcd
lea edi, [eax + 1]
test edi, edi
je 0x10048f8b
nop dword [eax]
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub edi, 1
jne 0x10048f70
cmp ecx, 0x89289ff
je 0x10048f94
mov esi, dword [esi + 4]
test esi, esi
jne 0x10048f50
xor esi, esi
push 0x10337b6c
mov dword [0x10336314], esi
call fcn.1014bb7e
add esp, 4
mov eax, dword [0x10336314]
pop edi
pop esi
ret
Function at 0x1004d020
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0x103357d4]
push esi
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10337b90]
cmp eax, dword [ecx + 4]
jle 0x1004d0b7
push 0x10337b90
call fcn.1014bbcf
add esp, 4
cmp dword [0x10337b90], 0xffffffff
jne 0x1004d0b7
mov eax, dword [0x10335870]
mov esi, dword [eax + 0x30]
test esi, esi
je 0x1004d0a2
mov edx, dword [esi + 0xc]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1004d068
sub eax, edi
mov ecx, 0x4fa38bcd
lea edi, [eax + 1]
test edi, edi
je 0x1004d09b
nop dword [eax]
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub edi, 1
jne 0x1004d080
cmp ecx, 0x2115be40
je 0x1004d0a4
mov esi, dword [esi + 4]
test esi, esi
jne 0x1004d060
xor esi, esi
push 0x10337b90
mov dword [0x10337bd4], esi
call fcn.1014bb7e
add esp, 4
mov eax, dword [0x10337bd4]
pop edi
pop esi
ret
Function at 0x1004d0c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x100c
call fcn.101a2350
mov eax, dword [0x10242040]
xor eax, esp
mov dword [esp + 0x1008], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x103357d4]
push esi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10337bd0]
cmp eax, dword [ecx + 4]
jle 0x1004d1b0
push 0x10337bd0
call fcn.1014bbcf
add esp, 4
cmp dword [0x10337bd0], 0xffffffff
jne 0x1004d1b0
xorps xmm0, xmm0
mov dword [0x10337bc0], 0
push 2
movlpd qword [0x10337ba8], xmm0
movlpd qword [0x10337bb0], xmm0
movlpd qword [0x10337bb8], xmm0
push 0x10337b9c
mov dword [0x10337b9c], 0
mov dword [0x10337ba0], 0
mov dword [0x10337ba4], 0
movups xmmword [0x10337ba8], xmm0
mov dword [0x10337bc0], 0
movq qword [0x10337bb8], xmm0
mov dword [0x10337bc4], 0
mov dword [0x10337bc8], 0
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
push 0x101bb750
call fcn.1014bb08
add esp, 0xc
push 0x10337bd0
call fcn.1014bb7e
add esp, 4
push 0x10337b9c
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x1004d1ca
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
cmp dword [0x10337bc8], 0x7fffffff
jne 0x1004d1e8
push 6
mov dword [0x10337bc8], 0x7ffffffe
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 0x10208bc8
push str.C:Weavelog.txt
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
push 2
push 0
mov esi, eax
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
push 0x1000
lea eax, [esp + 0x24]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x24
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [esp + 0x14]
push 0x1000
push eax
call fcn.10035ce0
push dword [eax + 4]
push dword [eax]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsprintf_s]
lea ecx, [esp + 0x24]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d248
push esi
sub ecx, edx
lea eax, [esp + 0xc]
push ecx
push 1
push eax
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
push 0x10337b9c
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov ecx, dword [esp + 0x1010]
add esp, 4
pop esi
xor ecx, esp
call fcn.1014b7c5
mov esp, ebp
pop ebp
ret