joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c1cb
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
cmp dword [0x456df0], esi
push edi
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
jne 0x42c223
cmp dword [0x456df4], esi
jne 0x42c223
cmp ebx, 0x10
je 0x42c334
cmp ebx, 0x8000
je 0x42c311
cmp dword [0x456df8], esi
jne 0x42c223
cmp ebx, 0x1c
ja 0x42c261
je 0x42c25c
cmp ebx, 0x18
jne 0x42c223
cmp dword [ebp + 0x10], esi
je 0x42c223
push esi
call dword [sym.imp.USER32.dll_SetCursor]
cmp ebx, dword [0x456e08]
jne 0x42c245
cmp ebx, esi
je 0x42c245
push esi
push esi
push 0x10
push dword [ebp + 8]
call edi
xor eax, eax
cmp dword [0x456e00], esi
setne al
jmp 0x42c255
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0x10], esi
jmp 0x42c2a4
cmp ebx, 0x48
ja 0x42c27f
je 0x42c279
cmp ebx, 0x20
jne 0x42c223
push esi
call dword [sym.imp.USER32.dll_SetCursor]
push 1
pop eax
jmp 0x42c255
cmp dword [ebp + 0x10], 3
jmp 0x42c2a4
mov eax, ebx
sub eax, 0x100
je 0x42c303
sub eax, 4
je 0x42c303
sub eax, 0xfc
je 0x42c2ab
dec eax
je 0x42c303
sub eax, 3
je 0x42c303
sub eax, 3
je 0x42c303
sub eax, 0x11
je 0x42c303
jmp 0x42c223
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp - 8]
sub ecx, dword [0x4591e0]
je 0x42c2c6
cmp ecx, esi
jge 0x42c2c6
neg ecx
mov eax, dword [ebp - 4]
sub eax, dword [0x4591e4]
je 0x42c2d7
cmp eax, esi
jge 0x42c2d7
neg eax
add ecx, eax
cmp ecx, dword [0x45208c]
jbe 0x42c223
push esi
push esi
push 0x10
push dword [ebp + 8]
call edi
mov eax, dword [ebp - 8]
mov dword [0x4591e0], eax
mov eax, dword [ebp - 4]
mov dword [0x4591e4], eax
jmp 0x42c223
push esi
push esi
push 0x10
push dword [ebp + 8]
call edi
jmp 0x42c223
cmp dword [0x456e18], esi
je 0x42c223
mov eax, dword [0x456e00]
cmp eax, esi
je 0x42c274
push dword [ebp + 8]
call eax
jmp 0x42c255
cmp dword [0x456e18], esi
je 0x42c223
push dword [ebp + 8]
call fcn.0042c7e2
test eax, eax
jne 0x42c223
push 0x4591e0
call dword [sym.imp.USER32.dll_GetCursorPos]
xor eax, eax
jmp 0x42c255
Function at 0x42c7e2
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1c
push ebx
push ebp
xor ebp, ebp
push esi
cmp dword [0x456df8], ebp
push edi
jne 0x42c8be
cmp dword [0x456df4], ebp
jne 0x42c8be
cmp dword [0x456e00], ebp
je 0x42c8ad
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x456e1c], ebp
mov esi, eax
je 0x42c833
push esi
push dword [0x456e20]
call fcn.0042c8ca
cmp eax, dword [0x456e1c]
jb 0x42c8ad
mov eax, dword [0x452090]
cmp eax, 0xffffffff
je 0x42c84b
push esi
push eax
call fcn.0042c8ca
cmp eax, 0xc8
jb 0x42c8b7
mov ebx, dword [esp + 0x30]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov esi, 0x113
push 3
push esi
push esi
lea eax, [esp + 0x1c]
push ebx
push eax
mov dword [0x456df8], 1
call edi
push 3
push esi
push esi
lea eax, [esp + 0x1c]
push ebx
push eax
call edi
push ebp
push ebp
push 0x8000
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebp
mov dword [0x456df4], eax
mov dword [0x456df8], ebp
jne 0x42c8a0
push ebp
call dword [sym.imp.USER32.dll_SetCursor]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x452090], eax
jmp 0x42c8b7
mov dword [0x456df4], 1
mov eax, dword [0x456df4]
jmp 0x42c8c0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4

Function at 0x42c8d5
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x42c908
push esi
call edi
mov esi, eax
mov al, byte [esi]
test al, al
je 0x42c900
cmp al, 0x22
jne 0x42c8f1
cmp byte [esi], 0x22
jne 0x42c916
inc esi
jmp 0x42c916
cmp al, 0x20
jbe 0x42c916
push esi
call edi
mov esi, eax
cmp byte [esi], 0x20
ja 0x42c90c
mov al, byte [esi]
test al, al
je 0x42c927
cmp al, 0x20
ja 0x42c927
push esi
call edi
mov esi, eax
jmp 0x42c916
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x18], 1
je 0x42c941
movzx eax, word [ebp - 0x14]
jmp 0x42c944
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.0042bfde
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x433271
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x453210
cmp edx, dword [eax]
je 0x433293
add eax, 8
inc ecx
cmp eax, 0x4532a0
jl 0x433284
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x453210]
jne 0x4333c1
mov eax, dword [0x458de8]
cmp eax, 1
je 0x43339b
test eax, eax
jne 0x4332c4
cmp dword [0x45274c], 1
je 0x43339b
cmp edx, 0xfc
je 0x4333c1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4332fb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0042d930
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0042dd30
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x43333e
lea eax, [ebp - 0x1a4]
push eax
call fcn.0042dd30
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4483d8
push edi
call fcn.00437020
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0042d930
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0042d940
lea eax, [ebp - 0xa0]
push 0x4483b8
push eax
call fcn.0042d940
push dword [esi + 0x453214]
lea eax, [ebp - 0xa0]
push eax
call fcn.0042d940
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00436f8d
add esp, 0x2c
pop edi
jmp 0x4333c1
lea eax, [ebp + 8]
lea esi, [esi + 0x453214]
push 0
push eax
push dword [esi]
call fcn.0042dd30
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4399c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4399cb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x439ace
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x4485a0]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4485a0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4485a0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4485a0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4485a0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4485a0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4485a0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4485a0]
xor eax, edx
inc ecx
dec edi
jne 0x4399e6
pop edi
test esi, esi
je 0x439af0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4485a0]
xor eax, edx
inc ecx
dec esi
jne 0x439ad2
pop esi
pop ebx
not eax
ret

Function at 0x43bd22
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x43bd5a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0043ae3f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0043ae17
jmp 0x43bd66
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x1001fe80
Capabilities:
Encode data using xor

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 0x100ed8dd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x38
push esi
push edi
mov eax, dword [0x1010b0b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebx + 8]
test edx, edx
je 0x1002002c
mov eax, dword [ebx + 0xc]
test byte [eax + 0x1c], 1
je 0x1002002c
cmp byte [edx + 0x54], 0
jne 0x1002002c
mov esi, dword [0x101a8a74]
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edx + 0x2c]
cmp ecx, dword [esi + 0x1c]
jle 0x1001ffd9
movaps xmm0, xmmword [0x100ffa80]
mov eax, 0x10
sub ecx, dword [ebp - 0x14]
pxor xmm0, xmmword [0x100ffc40]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], 0x2c293329
mov word [ebp - 0x18], 0x97a
movups xmmword [ebp - 0x2c], xmm0
xor byte [ebp + eax - 0x2c], 9
inc eax
cmp eax, 0x16
jb 0x1001ff22
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.10026370
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x64a1c]
cmp ecx, dword [edi + 0x64a20]
je 0x1001ff92
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
add dword [edi + 0x64a1c], 0x18
jmp 0x1001ff9f
push eax
push ecx
lea ecx, [edi + 0x64a18]
call fcn.100270c0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x1001ffd5
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001ffcb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001ffcb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100eb980
add esp, 8
mov al, 1
jmp 0x1002002e
cmp dword [eax + 0x84], 4
movss xmm0, dword [edx + 0x68]
subss xmm0, dword [eax + 0x88]
divss xmm0, dword [esi + 0x20]
addss xmm0, dword [0x100ff718]
cvttss2si esi, xmm0
ja 0x1002002c
mov eax, dword [0x1012b1cc]
sub eax, dword [0x1012b1d0]
cmp esi, eax
jge 0x1002002c
mov eax, dword [0x10130dd4]
mov ecx, dword [0x10130dd8]
cmp eax, ecx
je 0x1002002c
nop
cmp dword [eax], 1
je 0x10020044
add eax, 4
cmp eax, ecx
jne 0x10020020
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
cmp eax, ecx
je 0x1002002c
mov eax, dword [ebp - 0x14]
add eax, esi
mov dword [edx + 0x2c], eax
mov al, 1
jmp 0x1002002e
Function at 0x1002d3a0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ecx + 4]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
movss dword [ebp - 0x10], xmm2
cmp ebx, dword [eax + 0xc]
je 0x1002d3c7
cmp ebx, dword [eax + 0x10]
je 0x1002d3c7
cmp ebx, dword [eax + 0x14]
jne 0x1002d451
mov dword [ebp - 0xc], 0x7f676c2d
xor eax, eax
mov dword [ebp - 8], 0x7d796864
mov dword [ebp - 4], 0x97d6760
nop
xor byte [ebp + eax - 0xc], 9
inc eax
cmp eax, 0xc
jb 0x1002d3e0
mov eax, dword [ebx]
lea ecx, [ebp - 0xc]
push 0
push 0
push ecx
mov eax, dword [eax + 0x2c]
mov ecx, ebx
call eax
movzx ecx, byte [ebp + 0xe]
sub esp, 0xc
movss xmm1, dword [0x100ff68c]
mov esi, eax
movd xmm0, ecx
mov ecx, dword [ebp + 0xc]
cvtdq2ps xmm0, xmm0
mov edi, dword [esi]
movzx edx, ch
movzx eax, cl
mov ecx, esi
mulss xmm0, xmm1
movss dword [esp + 8], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 4], xmm0
movd xmm0, eax
mov eax, dword [edi + 0x2c]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp], xmm0
call eax
mov eax, dword [ebx]
movss xmm0, dword [ebp - 0x10]
push ecx
mov ecx, ebx
movss dword [esp], xmm0
mov eax, dword [eax + 0x6c]
call eax
mov eax, dword [ebp + 0xc]
sub esp, 0xc
movss xmm1, dword [0x100ff68c]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [ebx]
movd xmm0, ecx
mov ecx, eax
cvtdq2ps xmm0, xmm0
shr ecx, 8
movzx ecx, cl
movzx eax, al
mulss xmm0, xmm1
movss dword [esp + 8], xmm0
movd xmm0, ecx
mov ecx, ebx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 4], xmm0
movd xmm0, eax
mov eax, dword [edx + 0x70]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp], xmm0
call eax
mov eax, dword [ebx]
mov ecx, ebx
mov esi, dword [ebp + 0x10]
push esi
push 0x400
mov eax, dword [eax + 0x74]
call eax
mov eax, dword [ebx]
mov ecx, ebx
push esi
push 0x4000
mov eax, dword [eax + 0x74]
call eax
mov eax, dword [ebx]
mov ecx, ebx
push esi
push 0x8000
mov eax, dword [eax + 0x74]
call eax
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0xa8]
call eax
test al, al
jne 0x1002d512
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp + 0x14]
push 0x10000000
mov eax, dword [eax + 0x74]
call eax
mov ecx, dword [0x101a8a48]
push 0
push 0
push ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1002ec40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x10135908], 0
push ebx
push esi
push edi
je 0x1002ede9
mov eax, dword [0x101a897c]
cmp eax, dword [0x101a8980]
je 0x1002ec7a
mov edx, eax
call fcn.10030350
mov edi, dword [0x101a897c]
lea eax, [edi + 0x1898]
mov dword [0x101a897c], eax
jmp 0x1002ec87
push eax
mov ecx, 0x101a8978
call fcn.100303d0
mov edi, eax
mov ecx, dword [0x101a8ce8]
lea eax, [edi + 0x64]
mov esi, dword [ebp + 8]
add ecx, 0xffffffa5
xor ecx, 0x42c871f8
mov ecx, dword [ecx + esi + 0xc]
lea ecx, [ecx + ecx*2]
shl ecx, 4
push ecx
push dword [ebp + 0xc]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x101a8a74]
add esp, 0xc
mov ecx, esi
mov eax, dword [eax + 0x10]
mov dword [edi + 0x1864], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [eax]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 8], ecx
mov ecx, esi
mov eax, dword [eax + 8]
mov dword [edi + 0xc], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
call eax
lea ebx, [esi + 4]
mov ecx, dword [eax]
mov dword [edi + 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 0x14], ecx
mov eax, dword [eax + 8]
mov dword [edi + 0x18], eax
test ebx, ebx
je 0x1002ede9
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x20]
call eax
mov dword [ebp + 8], eax
test eax, eax
je 0x1002ede9
mov eax, dword [0x101a8bb8]
cmp dword [eax + esi], 0
jne 0x1002ed2e
mov edx, dword [0x101a8b38]
mov ecx, esi
call edx
mov eax, dword [0x101a8bb8]
mov eax, dword [eax + esi]
mov eax, dword [eax]
test eax, eax
je 0x1002ede9
mov dword [edi + 0x48], eax
mov ecx, dword [0x101a8a50]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x138]
push eax
call edx
mov dword [edi + 0x4c], eax
lea ecx, [esi + 8]
mov eax, dword [ebp + 8]
mov dword [edi + 0x20], eax
mov dword [edi + 0x50], ebx
mov dword [edi + 0x5c], 0
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov eax, dword [0x101a8c68]
add eax, 0xffffffc5
xor eax, 0x42c871d8
mov eax, dword [eax + esi]
mov dword [edi + 0x40], eax
lea eax, [esi + 0xa1c]
mov dword [edi + 0x38], eax
lea eax, [esi + 0xa20]
mov dword [edi + 0x3c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov dword [edi + 0x34], eax
mov ecx, ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x78]
call eax
lea esi, [edi + 0x1868]
mov word [edi + 0x44], ax
mov edx, esi
mov dword [edi + 0x30], 1
lea ecx, [edi + 0x10]
mov dword [edi + 0x24], esi
mov dword [edi + 0x54], esi
call dword [0x101a8b50]
mov eax, dword [edi + 4]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x2c], eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1002ff30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1010b0b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1002ffec
cmp byte [esi + 0x3d], 0
je 0x1002ffec
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1002ffda
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1002ffa1
sub eax, 1
je 0x1002ffa5
sub eax, 2
jne 0x1002ffda
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100eb505
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1002ffc3
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1002ffda
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100eb505
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100eb505
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100eb505
mov esp, ebp
pop ebp
ret
Function at 0x10032970
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x10140214], 0
push ebx
push esi
push edi
je 0x10032afe
mov ecx, dword [0x101a8a14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10032afe
mov ecx, dword [0x101a8a9c]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x10032afe
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x100329d0
xor edx, edx
test ecx, ecx
je 0x100329f9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100329e0
cmp edi, 0x5ff56dc5
je 0x10032a08
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x10032afe
mov ecx, dword [ebp - 4]
jmp 0x100329b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x10032afe
mov edx, dword [edi + 0x88]
test edx, edx
je 0x10032afe
movss xmm1, dword [0x100ff7b0]
xor ebx, ebx
cmp edx, 4
jl 0x10032acb
mov ecx, dword [edi + 0x7c]
lea esi, [edx - 4]
shr esi, 2
add ecx, 0x1078
inc esi
lea ebx, [esi*4]
movss xmm0, dword [ecx - 0xc60]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10032a6c
mov dword [ecx - 0xc60], 0x7f7fffff
movss xmm0, dword [ecx - 0x840]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10032a87
mov dword [ecx - 0x840], 0x7f7fffff
movss xmm0, dword [ecx - 0x420]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10032aa2
mov dword [ecx - 0x420], 0x7f7fffff
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10032ab5
mov dword [ecx], 0x7f7fffff
add ecx, 0x1080
sub esi, 1
jne 0x10032a51
cmp ebx, edx
jl 0x10032acf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
jle 0x10032afe
imul ecx, ebx, 0x420
add ecx, 0x418
add ecx, dword [edi + 0x7c]
sub edx, ebx
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10032af3
mov dword [ecx], 0x7f7fffff
add ecx, 0x420
sub edx, 1
jne 0x10032ae0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100340f0
Capabilities:
Encode data using xor

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 0x100ee4a8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x34
mov eax, dword [0x1010b0b8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 1
cmp dword [ebx + 0x1c], 0
je 0x1003426c
cmp dword [ebx + 0x20], 0x10
lea ecx, [ebx + 0x24]
lea eax, [ebx + 0xc]
cmovae eax, dword [ebx + 0xc]
xor edx, edx
push ecx
push eax
xor ecx, ecx
call fcn.10030a80
mov ecx, dword [ebp - 0x1c]
mov esi, eax
add esp, 8
cmp esi, ecx
ja 0x10034194
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
cmovae ecx, dword [ebp - 0x2c]
mov byte [ecx + esi], 0
jmp 0x100341a1
sub eax, ecx
lea ecx, [ebp - 0x2c]
push 0
push eax
call fcn.10034e60
cmp dword [ebx + 0x20], 0x10
lea eax, [ebx + 0xc]
lea edx, [ebx + 0x24]
cmovae eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
push edx
cmovae ecx, dword [ebp - 0x2c]
lea edx, [esi + 1]
push eax
call fcn.10030a80
movaps xmm0, xmmword [0x100ffa80]
add esp, 8
pxor xmm0, xmmword [0x10100960]
mov eax, 0x10
mov word [ebp - 0x34], 0x2954
mov byte [ebp - 0x32], 9
movups xmmword [ebp - 0x44], xmm0
nop dword [eax]
xor byte [ebp + eax - 0x44], 9
inc eax
cmp eax, 0x13
jb 0x100341f0
mov eax, dword [0x10140610]
lea edx, [ebp - 0x44]
mov dword [ebp - 0x30], eax
mov eax, dword [0x101a8a10]
push edx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x64]
call eax
mov eax, dword [0x101a8a10]
lea edx, [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 0x10
cmovae edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
push edx
push 0x1012ac74
push eax
mov eax, dword [ecx + 0x64]
call eax
mov edx, dword [ebp - 0x18]
add esp, 0xc
cmp edx, 0x10
jb 0x1003426c
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10034262
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100342a4
push edx
push ecx
call fcn.100eb980
add esp, 8
mov edx, dword [ebx + 0x20]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x100342b4
mov ecx, dword [ebx + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100342aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100342aa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100eb980
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100eb505
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret