joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403cf0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x224
mov eax, dword [0x47e880]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, dword [esp + 0x228]
push ebx
push ebp
push esi
push edi
push 0x2c
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], 0
call fcn.0040ab06
mov esi, dword [esp + 0x248]
mov ebx, eax
mov edi, dword [esp + 0x244]
add esp, 4
xor ecx, ecx
mov dword [ebx], ebx
mov dword [ebx + 4], ebx
mov dword [ebx + 8], ebx
mov word [ebx + 0xc], 0x101
mov dword [esp + 0x18], ebx
nop dword [eax]
mov eax, ecx
mov byte [esp + ecx + 0x30], cl
cdq
idiv esi
mov al, byte [edx + edi]
mov byte [esp + ecx + 0x130], al
inc ecx
cmp ecx, 0x100
jl 0x403d50
xor esi, esi
xor edi, edi
mov dl, byte [esp + esi + 0x30]
movzx eax, byte [esp + esi + 0x130]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x403d93
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [esp + edi + 0x30]
mov byte [esp + esi + 0x30], al
inc esi
mov byte [esp + edi + 0x30], dl
cmp esi, 0x100
jl 0x403d70
mov ebp, dword [esp + 0x23c]
xor eax, eax
xor ecx, ecx
xor edi, edi
test ebp, ebp
jle 0x403ebb
nop dword [eax]
inc eax
and eax, 0x800000ff
jns 0x403dcf
dec eax
or eax, 0xffffff00
inc eax
mov bl, byte [esp + eax + 0x30]
movzx esi, bl
add ecx, esi
mov dword [esp + 0x10], eax
and ecx, 0x800000ff
jns 0x403dec
dec ecx
or ecx, 0xffffff00
inc ecx
push 0
push 0
push 0
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0
push 0
movzx eax, byte [esp + edx + 0x38]
mov byte [esp + ecx + 0x38], al
push 0
mov byte [esp + edx + 0x3c], bl
call dword [sym.imp.GDI32.dll_Polyline]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
movzx eax, byte [esp + eax + 0x30]
add eax, esi
movzx eax, al
add eax, ecx
lea ecx, [esp + 0x20]
push eax
push 0
call fcn.00401680
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
movzx eax, byte [edx]
xor byte [ecx + edi], al
mov eax, edx
mov ecx, dword [esp + 0x28]
sub ecx, edx
cmp ecx, 0x1000
jb 0x403e83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403ef1
push ecx
push edx
call fcn.0040ab36
inc edi
mov dword [esp + 0x28], 0
add esp, 8
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
cmp edi, ebp
jge 0x403eb7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
jmp 0x403dc0
mov ebx, dword [esp + 0x18]
push dword [ebx + 4]
lea eax, [esp + 0x1c]
push eax
mov ecx, eax
call fcn.004019a0
push 0x2c
push dword [esp + 0x1c]
call fcn.0040ab36
mov ecx, dword [esp + 0x238]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040ab49
add esp, 0x224
ret
call fcn.0040f5af
int3
Function at 0x41b600
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041b2a2

Function at 0x41b60b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041b431

Function at 0x41ba05
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040b8f0
mov eax, dword [0x47e880]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041a497
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41ba47
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41bba3
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00427370
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x480820]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041cbd5
mov ecx, dword [esi*4 + 0x480820]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41bb9c
cmp eax, dword [edi + ecx + 0x24]
jne 0x41bb9c
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41bb9c
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041cbd5
add esp, 0x14
test edx, edx
jl 0x41bb9c
jg 0x41bb12
test eax, eax
jb 0x41bb9c
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41bb9c
jl 0x41bb2c
cmp dword [ebp - 0x1008], eax
ja 0x41bb9c
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41bb4a
test ebx, ebx
je 0x41bb83
cmp ecx, edi
jae 0x41bb83
mov al, byte [ecx]
cmp al, 0xd
jne 0x41bb64
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41bb70
cmp byte [ecx + 1], 0xa
jne 0x41bb70
inc ecx
jmp 0x41bb70
movzx eax, al
movsx eax, byte [eax + 0x47eb40]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41bb4a
cmp edx, ebx
jne 0x41bb4a
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41bba1
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040ab49
leave
ret
Function at 0x41c073
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x480820]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41c0b3
cmp byte [ebx], 0xa
jne 0x41c0b3
or byte [eax + edi + 0x28], 4
jmp 0x41c0b8
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41c1b6
mov al, byte [edx]
cmp al, 0x1a
je 0x41c198
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41c0e7
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41c10c
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41c116
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41c0c9
jmp 0x41c1b6
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c193
cmp dword [ebp - 0xc], 0
je 0x41c193
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x480820]
test byte [eax + edi + 0x28], 0x48
je 0x41c16d
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41c158
mov byte [esi], dl
jmp 0x41c169
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x480820]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41c1b6
cmp byte [ebp - 1], 0xa
jne 0x41c17c
cmp esi, ebx
jne 0x41c17c
mov byte [esi], 0xa
jmp 0x41c1b5
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041cbf3
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41c1b6
mov byte [esi], 0xd
jmp 0x41c1b5
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x480820]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41c1b2
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41c1b6
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41c1bf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x480820]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41c202
cmp word [esi], dx
jne 0x41c202
or byte [edi + eax + 0x28], 4
jmp 0x41c207
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41c35a
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41c33a
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41c249
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41c27f
cmp eax, edx
jae 0x41c28b
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41c221
jmp 0x41c35a
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c336
cmp dword [ebp - 0x14], 0
je 0x41c336
mov eax, dword [ebx*4 + 0x480820]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41c30e
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41c2d7
mov word [esi], cx
jmp 0x41c30a
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x480820]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x480820]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x480820]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41c35a
pop ebx
cmp word [ebp - 4], bx
jne 0x41c31f
cmp esi, dword [ebp + 0xc]
jne 0x41c31f
mov word [esi], bx
jmp 0x41c357
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041cbf3
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41c35a
push 0xd
jmp 0x41c353
mov ecx, dword [ebx*4 + 0x480820]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41c351
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41c35a
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41f66d
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x47e880]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41f6b8
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041f80c
test al, al
jne 0x41f6b2
sub edx, 2
cmp edx, edi
jne 0x41f698
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41f6da
lea eax, [edi + 2]
cmp edx, eax
je 0x41f6da
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041f5b9
add esp, 0x10
jmp 0x41f7d4
push esi
lea ecx, [ebp - 0x255]
call fcn.0041f80c
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41f71d
push dword [ebp - 0x25c]
jmp 0x41f6ca
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41f75a
cmp word [ebp - 0x226], 0
je 0x41f77b
cmp word [ebp - 0x226], ax
jne 0x41f75a
cmp word [ebp - 0x224], 0
je 0x41f77b
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041f5b9
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41f7c7
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41f734
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41f7af
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41f7d4
push 0x41f3e9
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00425900
add esp, 0x10
jmp 0x41f7a4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ab49
leave
ret

Function at 0x427250
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42727d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42727d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x474e0e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
call fcn.00426b52
push 0
push dword [0x4b7508]
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0x3fe
push 0x500c7e
call fcn.0042de63
mov ecx, dword [ebp + 0xc]
inc eax
cmp al, 3
je 0x474e41
mov byte [ecx], al
nop
nop
nop
nop
nop
nop
nop
nop
call fcn.00423842
mov ecx, dword [ebp + 8]
mov byte [ecx], 2
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 0
call fcn.00426ba0
pop ebp
ret 8
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x403e59
pop dword [ebp - 0x2c]
mov eax, 0x73d60fb5
sub eax, 0x7395d15c
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xe772689
sub dword [ebp - 0x3c], 0xc024e13e
mov dword [ebp - 0x38], 0xc06d7d91
sub dword [ebp - 0x38], 0x8e3a314c
mov dword [ebp - 0x34], 0x7960416e
add dword [ebp - 0x34], 0xd2ec02c0
mov dword [ebp - 0x30], 0x3095029
add dword [ebp - 0x30], 0xfcf6afd7
lea eax, [ebp - 0x3c]
push eax
mov eax, 0xc2e1e74c
sub eax, 0xc2a166c0
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xc3cc5077
sub dword [ebp - 0x3c], 0x4f59e721
mov dword [ebp - 0x38], 0x13bee50e
sub dword [ebp - 0x38], 0xd2528399
mov dword [ebp - 0x34], 0xdd897c90
add dword [ebp - 0x34], 0x85e5efdc
mov dword [ebp - 0x30], 0x3bd5fbdf
add dword [ebp - 0x30], 0xc42a0421
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x830db436
sub eax, 0x82cd3362
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x35e3d
push 0
call eax
mov ecx, 0xa1ba242b
add ecx, 0x5e462067
mov edi, eax
mov ebx, 0xf5abc1d7
sub ebx, 0xf56ab1d7
add ebx, dword [ebp - 0x2c]
mov esi, 0x22ae7b8b
xor dword [ebp - 0x24], eax
mov edx, dword [ebx]
add dword [ebp - 0x14], edx
xor edx, esi
sub dword [ebp - 0xc], 0xabfa3c02
mov dword [edi], edx
xor dword [ebp - 0x14], edx
add edi, 0xee90226f
add edi, 0x116fdd95
add ebx, 4
loop 0x403f75
add eax, 0x23ce07c9
sub eax, 0x23cd02ae
xor ebx, ebx
add ebx, eax
add eax, 0xc310ac29
sub eax, 0xc310ac24
mov ecx, 0x30c51109
sub ecx, 0x30851109
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x10006cd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101058eb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10195134]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
lea esi, [edi + 0xc]
mov dword [ebp - 0x14], edi
lea ecx, [esi + 8]
mov dword [edi], vtable.EventInterface.0
mov dword [ebp - 0x10], esi
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
push 0
mov dword [ebp - 4], 1
push 0x1011f36f
mov byte [esi], 0xff
mov dword [esi + 4], 0xffffffff
call fcn.100188d0
mov word [esi + 0x20], 0
mov byte [esi + 0x22], 0
mov dword [ebp - 4], 2
lea ecx, [esi + 8]
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov al, byte [ebx]
mov byte [esi], al
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
lea eax, [ebx + 8]
cmp ecx, eax
je 0x10006d8b
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x10006d84
mov eax, dword [eax]
push edx
push eax
call fcn.100188d0
mov al, byte [ebx + 0x20]
mov byte [esi + 0x20], al
movzx ecx, byte [ebx + 0x21]
mov byte [esi + 0x21], cl
movzx ecx, byte [ebx + 0x22]
mov byte [esi + 0x22], cl
mov ecx, dword [ebp + 0xc]
mov dword [edi + 8], ecx
call fcn.100c34d3
mov dword [edi + 0x30], eax
mov eax, edi
mov dword [edi + 0x34], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10009d00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10105b40
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10195134]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100da9b5
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.100c390f
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
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 0x1001fa30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x1001fa5b
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1001fa44
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret
Function at 0x1002f860
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x1002f9d9
lea eax, [ecx - 1]
mov esi, dword [0x1019a604]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x1019a60c
lea eax, [edi + edi]
push eax
call fcn.1002ef70
mov ecx, dword [0x1019a604]
lea ebx, [edi - 1]
mov dword [0x1019a618], ebx
mov dword [0x1019a61c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x1002f9d0
nop dword [eax + eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
mov eax, dword [0x1019a60c]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [eax + edi*8]
mov dword [ebp - 4], ebx
lea eax, [eax + edi*8]
mov dword [ebp - 8], eax
cmp ebx, esi
jne 0x1002f923
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x1002f996
mov eax, dword [eax + 4]
mov ebx, dword [ecx + 8]
cmp ebx, dword [eax + 8]
jne 0x1002f95d
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp eax, ecx
je 0x1002f955
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
jmp 0x1002f996
mov edi, eax
cmp dword [ebp - 4], eax
je 0x1002f973
mov eax, dword [eax + 4]
mov edi, eax
cmp ebx, dword [eax + 8]
je 0x1002f9a7
cmp dword [ebp - 4], eax
jne 0x1002f964
mov eax, dword [ecx + 4]
mov dword [ebp - 4], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 4]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], ecx
mov ecx, edx
cmp edx, esi
je 0x1002f9d0
mov ebx, dword [0x1019a618]
jmp 0x1002f8d0
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x1002f996
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.100c366b
int3
Function at 0x1003ab10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [ebx]
mov edi, dword [ebp + 0xc]
not eax
mov dword [ebp - 4], ebx
cmp edi, 8
jb 0x1003abbf
mov ecx, edi
shr ecx, 3
mov dword [ebp + 8], ecx
mov ebx, dword [esi + 4]
sub edi, 8
mov ecx, dword [esi]
add esi, 8
xor ecx, eax
mov eax, ebx
shr eax, 0x10
movzx edx, al
mov eax, ebx
mov dword [ebp + 0xc], ecx
shr eax, 8
movzx ecx, al
mov eax, dword [edx*4 + 0x10131160]
mov edx, dword [ebp + 0xc]
xor eax, dword [ecx*4 + 0x10131560]
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10132160]
mov ecx, edx
shr ecx, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10132560]
mov ecx, ebx
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x10130d60]
mov ecx, edx
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x10131d60]
movzx ecx, bl
xor eax, dword [ecx*4 + 0x10131960]
movzx ecx, dl
xor eax, dword [ecx*4 + 0x10132960]
sub dword [ebp + 8], 1
jne 0x1003ab37
mov ebx, dword [ebp - 4]
test edi, edi
je 0x1003abdd
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10130d60]
sub edi, 1
jne 0x1003abc3
pop edi
not eax
pop esi
mov dword [ebx], eax
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1003ad10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1018b4c8
push 0x100dc330
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10195134]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
push 0x1c
lea eax, [ebp - 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov eax, 0x5a4d
mov ecx, dword [ebp - 0x34]
cmp word [ecx], ax
jne 0x1003adb3
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x1003adb3
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp edi, eax
jb 0x1003adb3
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp edi, eax
jae 0x1003adb3
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x1003adbc
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100da971
mov esp, ebp
pop ebp
ret