joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402530
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [0x8112fc]
sub esp, 0x11c
test eax, eax
jne 0x40262e
push ebx
push esi
push edi
push 0x100
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x30]
push eax
call fcn.00404400
add esp, 0xc
xor edi, edi
xor eax, eax
lea ebx, [ebx]
mov byte [esp + eax + 0x28], al
inc eax
cmp eax, 0x100
jb 0x402580
xor esi, esi
mov edi, edi
mov dl, byte [esp + esi + 0x28]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41c100]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x28]
mov byte [esp + esi + 0x28], al
inc esi
mov byte [esp + edi + 0x28], dl
cmp esi, 0x100
jb 0x402590
xor edi, edi
xor ebx, ebx
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0x28]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0x28]
mov byte [esp + edi + 0x28], al
mov byte [esp + ebx + 0x28], cl
movzx eax, byte [esp + edi + 0x28]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x28]
xor al, byte [esi + 0x41c104]
mov byte [esp + esi + 0xc], al
inc esi
cmp esi, 0x1a
jb 0x4025c5
xor edx, edx
lea ecx, [esp + 0xc]
call fcn.00402640
pop edi
pop esi
pop ebx
test eax, eax
je 0x402629
mov eax, dword [eax + 0x18]
test eax, eax
je 0x402629
mov dword [0x8112fc], eax
add esp, 0x11c
ret
mov eax, dword [0x8112fc]
add esp, 0x11c
ret

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

Disassembly:
sub esp, 0x808
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edx
xor ebp, ebp
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x40269b
mov edi, ecx
lea edx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x402660
sub edi, edx
sar edi, 1
cmp edi, 0x200
jb 0x40267c
mov edi, 0x1ff
push edi
push ecx
lea eax, [esp + 0x420]
push eax
lea ebp, [edi + edi]
call fcn.00403380
add esp, 0xc
xor eax, eax
mov word [esp + ebp + 0x418], ax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0xc
jne 0x4026bd
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0x14
je 0x40272f
mov esi, dword [ebx]
cmp esi, ebx
je 0x40272f
test esi, esi
je 0x40272f
cmp word [esi + 0x24], 2
jbe 0x402729
movzx eax, word [esi + 0x2c]
cmp eax, 2
jbe 0x402729
cmp dword [esi + 0x18], 0
je 0x402729
test ebp, ebp
je 0x4026e5
cmp ebp, eax
jne 0x402729
push edi
push dword [esi + 0x30]
lea eax, [esp + 0x20]
push eax
call fcn.00403380
mov edx, dword [esp + 0x1c]
xor eax, eax
add esp, 0xc
mov word [esp + edi*2 + 0x18], ax
test edx, edx
je 0x40270a
cmp edx, dword [esi + 0x18]
jne 0x402729
cmp dword [esp + 0x14], eax
je 0x40273c
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x41c]
push eax
call fcn.00401ce0
add esp, 8
test eax, eax
je 0x40273c
mov esi, dword [esi]
cmp esi, ebx
jne 0x4026c3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x808
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x808
ret
Function at 0x4030b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
sub esp, 0xc08
push ebx
push ebp
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 8], edx
push esi
push edi
test ecx, ecx
je 0x4030fb
xor esi, esi
lea edi, [esp + 0x818]
mov al, byte [esi + ecx]
test al, al
je 0x4030eb
cbw
inc esi
mov word [edi], ax
add edi, 2
cmp esi, 0x1ff
jb 0x4030d1
jmp 0x4030f0
xor eax, eax
mov word [edi], ax
lea edx, [esp + 0x818]
mov dword [esp + 0x10], edx
xor edi, edi
xor ebp, ebp
test edx, edx
je 0x40314b
mov edi, edx
lea ecx, [edi + 2]
jmp 0x403110
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x403110
sub edi, ecx
sar edi, 1
cmp edi, 0x200
jb 0x40312c
mov edi, 0x1ff
push edi
push edx
lea eax, [esp + 0x420]
push eax
lea ebp, [edi + edi]
call fcn.00403380
add esp, 0xc
xor eax, eax
mov word [esp + ebp + 0x418], ax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0xc
jne 0x40316d
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0x14
je 0x4031e0
mov esi, dword [ebx]
cmp esi, ebx
je 0x4031e0
test esi, esi
je 0x4031e0
cmp word [esi + 0x24], 2
jbe 0x4031da
movzx eax, word [esi + 0x2c]
cmp eax, 2
jbe 0x4031da
cmp dword [esi + 0x18], 0
je 0x4031da
test ebp, ebp
je 0x403195
cmp ebp, eax
jne 0x4031da
push edi
push dword [esi + 0x30]
lea eax, [esp + 0x20]
push eax
call fcn.00403380
xor eax, eax
add esp, 0xc
mov word [esp + edi*2 + 0x18], ax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4031ba
cmp eax, dword [esi + 0x18]
jne 0x4031da
cmp dword [esp + 0x10], 0
je 0x4031ed
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x41c]
push eax
call fcn.00401ce0
add esp, 8
test eax, eax
je 0x4031ed
mov esi, dword [esi]
cmp esi, ebx
jne 0x403173
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc08
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc08
ret
Function at 0x403200
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
sub esp, 0x40
push ebx
push esi
push edi
test ecx, ecx
jle 0x403228
mov eax, dword [ebp + 0x10]
lea edx, [ebp + 0x18]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0xc], eax
jmp 0x403236
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
test ecx, ecx
jle 0x40324f
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x40325d
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
test ecx, ecx
jle 0x403276
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x403284
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
test ecx, ecx
jle 0x40329d
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x4032ab
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, edx
mov dword [ebp - 0x30], 0
cdq
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call 0x4032f2
add dword [esp], 5
retf
Function at 0x4042d0
Capabilities:
Check os version

Disassembly:
mov ecx, 1
mov edx, 0x810748
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x4043f9
cmp dword fs:[0xc0], eax
je 0x4042fb
mov dword [0x810744], 1
mov eax, dword fs:[0x18]
push ebx
push esi
mov ebx, 1
mov esi, dword [eax + 0x30]
mov eax, dword [esi + 0xa4]
mov dword [0x81062c], eax
mov eax, dword [esi + 0xa8]
mov dword [0x810630], eax
movzx edx, word [esi + 0xac]
mov dword [0x810634], edx
mov eax, dword [esi + 0xb0]
mov dword [0x810638], eax
mov eax, dword [esi + 0x1f4]
test eax, eax
je 0x40435b
push 0x7f
push eax
push 0x81063c
call fcn.00403380
mov edx, dword [0x810634]
add esp, 0xc
jmp 0x404363
xor eax, eax
mov word [0x81063c], ax
movzx eax, byte [esi + 0xaf]
mov ecx, 0xff
mov word [0x81073c], ax
movzx eax, word [esi + 0xae]
and ax, cx
mov word [0x81073e], ax
movzx eax, word [0x7ffe02d0]
mov word [0x810740], ax
mov ecx, eax
mov byte [0x810742], 0
cmp byte [0x7ffe0268], 0
je 0x4043aa
mov ebx, dword [0x7ffe0264]
pop esi
mov byte [0x810742], bl
cmp ebx, 1
pop ebx
jne 0x4043c4
and ecx, 0xffef
mov word [0x810740], cx
test edx, edx
jne 0x4043f9
call fcn.004042d0
cmp dword [0x81062c], 6
ja 0x4043f9
jb 0x4043e1
cmp dword [0x810630], 4
jae 0x4043f9
call fcn.004042d0
cmp dword [0x81062c], 0xa
jae 0x4043f9
mov dword [0x810634], 1
ret

Function at 0x41b1d2
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
ret
Function at 0x402560
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x4025b8
cmp byte [esi + ebx - 1], 0xa
je 0x40258c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4080a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x402fa0
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
Function at 0x10018ff0
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 0x100c678b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
push esi
mov eax, dword [0x100dd00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x101024c0]
test al, 1
jne 0x1001913b
or eax, 1
mov dword [0x101024c0], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x100d2fa0]
pxor xmm0, xmmword [0x100d2b00]
mov dword [ebp - 0x1c], 0x8f908f90
mov dword [ebp - 0x18], 0xe98fed97
mov word [ebp - 0x14], 0xaf9e
movups xmmword [ebp - 0x2c], xmm0
xor byte [ebp + eax - 0x2c], 0xaf
inc eax
cmp eax, 0x1a
jb 0x10019074
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100190a0
sub ecx, edx
lea eax, [ebp - 0x2c]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10021400
mov byte [ebp - 4], 1
mov edx, dword [0x101025c4]
test edx, edx
je 0x100190c9
mov edx, dword [edx + 0x50]
jmp 0x100190cb
xor edx, edx
mov eax, dword [0x101025bc]
test eax, eax
je 0x100190d9
mov eax, dword [eax + 0x18]
jmp 0x100190db
xor eax, eax
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10018bb0
mov eax, dword [ebp - 0x30]
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x34]
mov dword [0x101024c4], eax
cmp edx, 0x10
jb 0x10019132
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10019123
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10019123
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100c49e0
mov eax, dword [0x101024c4]
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x10019140
mov eax, dword [0x101024c4]
test eax, eax
je 0x10019148
mov ecx, esi
call eax
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 0x10021730
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c6a27
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100dd00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x10], ecx
push 0x418
call fcn.100c4581
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
lea edi, [ebx + 0xc]
xorps xmm0, xmm0
mov ecx, edi
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
mov dword [ebx + 4], 1
mov dword [ebx + 8], 1
mov dword [ebx], 0x100d05fc
mov eax, dword [esi]
push eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov byte [edi + 0x7c], 0
mov dword [edi + 0x3b8], 0
mov dword [edi + 0x3bc], 0
mov dword [edi + 0x3c0], 0
mov byte [edi + 0x3cc], 0
mov dword [edi + 0x3d0], 0
mov byte [edi + 0x3d4], 0
mov dword [edi + 0x3d8], 0
mov dword [edi + 0x3dc], 0
mov dword [edi + 0x3e0], 0
mov dword [edi + 0x3e4], 0
mov dword [edi + 0x3e8], 0
mov dword [edi + 0x3ec], 0
mov word [edi + 0x3fc], 0
call fcn.10019160
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax], edi
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10028d90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100dd00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x10028e4c
cmp byte [esi + 0x3d], 0
je 0x10028e4c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10028e3a
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 0x10028e01
sub eax, 1
je 0x10028e05
sub eax, 2
jne 0x10028e3a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c4565
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10028e23
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 0x10028e3a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c4565
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c4565
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100c4565
mov esp, ebp
pop ebp
ret
Function at 0x1002b4d0
Capabilities:
Contain obfuscated stackstrings
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 0x100c7086
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x100dd00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [0x101078bc]
test al, 1
jne 0x1002b61b
or eax, 1
mov dword [0x101078bc], eax
mov byte [ebp - 4], 1
mov eax, 0x10
movaps xmm0, xmmword [0x100d2fa0]
pxor xmm0, xmmword [0x100d2ce0]
mov dword [ebp - 0x44], 0x96e98fed
mov dword [ebp - 0x40], 0x8fe9e98f
mov word [ebp - 0x3c], 0x9a9e
mov byte [ebp - 0x3a], 0xaf
movups xmmword [ebp - 0x54], xmm0
nop dword [eax]
xor byte [ebp + eax - 0x54], 0xaf
inc eax
cmp eax, 0x1b
jb 0x1002b560
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b590
sub ecx, edx
lea eax, [ebp - 0x54]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.10021400
mov byte [ebp - 4], 2
mov edx, dword [0x101025d0]
test edx, edx
je 0x1002b5b9
mov edx, dword [edx + 0x50]
jmp 0x1002b5bb
xor edx, edx
mov eax, dword [0x101025c8]
test eax, eax
je 0x1002b5c9
mov eax, dword [eax + 0x18]
jmp 0x1002b5cb
xor eax, eax
lea ecx, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.10018bb0
mov eax, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x24]
mov dword [0x101078e0], eax
cmp edx, 0x10
jb 0x1002b617
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b60d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b669
push edx
push ecx
call fcn.100c49e0
add esp, 8
mov byte [ebp - 4], 0
cmp dword [ebx + 0x1c], 0x10
lea ecx, [ebx + 8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x676e6970
cmovae ecx, dword [ebx + 8]
mov dword [ebp - 0x1c], 0x61656863
mov word [ebp - 0x18], 0x74
call dword [0x101078e0]
mov edx, dword [ebx + 0x1c]
cmp edx, 0x10
jb 0x1002b679
mov ecx, dword [ebx + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b66f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002b66f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100c49e0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
Function at 0x1002c0b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x10100308], 0
push ebx
push esi
push edi
je 0x1002c23e
mov ecx, dword [0x10102600]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1002c23e
mov ecx, dword [0x10102684]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x1002c23e
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 0x1002c110
xor edx, edx
test ecx, ecx
je 0x1002c139
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1002c120
cmp edi, 0x5ff56dc5
je 0x1002c148
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x1002c23e
mov ecx, dword [ebp - 4]
jmp 0x1002c0f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x1002c23e
mov edx, dword [edi + 0x88]
test edx, edx
je 0x1002c23e
movss xmm1, dword [0x100d2778]
xor ebx, ebx
cmp edx, 4
jl 0x1002c20b
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 0x1002c1ac
mov dword [ecx - 0xc60], 0x7f7fffff
movss xmm0, dword [ecx - 0x840]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002c1c7
mov dword [ecx - 0x840], 0x7f7fffff
movss xmm0, dword [ecx - 0x420]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002c1e2
mov dword [ecx - 0x420], 0x7f7fffff
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002c1f5
mov dword [ecx], 0x7f7fffff
add ecx, 0x1080
sub esi, 1
jne 0x1002c191
cmp ebx, edx
jl 0x1002c20f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
jle 0x1002c23e
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 0x1002c233
mov dword [ecx], 0x7f7fffff
add ecx, 0x420
sub edx, 1
jne 0x1002c220
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002dc90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x100f05dc]
sub esp, 0xc
push ebx
push esi
push edi
test ecx, ecx
je 0x1002de05
cmp byte [0x100f05e0], 0
je 0x1002de05
mov eax, dword [0x10102794]
cmp dword [eax + ecx], 0
je 0x1002de05
mov eax, dword [0x1010287c]
add eax, 0xffffffa8
xor eax, 0xe6e0e74e
mov dword [eax + ecx], 0x3f800000
mov ecx, dword [0x1010287c]
mov eax, dword [0x100f05dc]
add ecx, 0xffffffa8
xor ecx, 0xe6e0e74e
mov dword [ecx + eax + 0x18], 0x3f800000
mov eax, dword [0x101078dc]
test al, 1
jne 0x1002dd58
or eax, 1
mov dword [0x101078dc], eax
mov eax, dword [0x101025fc]
mov esi, dword [eax + 0x30]
jmp 0x1002dd4c
mov edi, dword [esi + 0xc]
mov ebx, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002dd20
xor edx, edx
test ecx, ecx
je 0x1002dd49
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x1002dd30
cmp ebx, 0x731ec79a
je 0x1002dd50
mov esi, dword [esi + 4]
test esi, esi
jne 0x1002dd10
mov dword [0x10107574], esi
jmp 0x1002dd5e
mov esi, dword [0x10107574]
mov eax, dword [esi]
mov ecx, esi
push 0
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x101078dc]
test al, 2
jne 0x1002ddc8
or eax, 2
mov dword [0x101078dc], eax
mov eax, dword [0x101025fc]
mov edi, dword [eax + 0x30]
jmp 0x1002ddbc
mov esi, dword [edi + 0xc]
mov ebx, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1002dd90
xor edx, edx
test ecx, ecx
je 0x1002ddb9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x1002dda0
cmp ebx, 0x818d5c7e
je 0x1002ddc0
mov edi, dword [edi + 4]
test edi, edi
jne 0x1002dd84
mov dword [0x101078c4], edi
jmp 0x1002ddce
mov edi, dword [0x101078c4]
mov eax, dword [edi]
mov ecx, edi
push 0
mov eax, dword [eax + 0x40]
call eax
movss xmm0, dword [0x100f05f8]
lea ecx, [ebp - 0xc]
mov eax, dword [0x10102710]
push ecx
mov ecx, dword [0x100f05dc]
mov dword [ebp - 0xc], 0
movss dword [ebp - 8], xmm0
mov dword [ebp - 4], 0
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret