joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ba0b
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
lea eax, [ebp - 0x10]
push esi
push eax
mov ecx, ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], 0x422420
call fcn.0041c970
add eax, 0xc
mov eax, dword [eax]
cmp eax, esi
je 0x41ba47
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov esi, eax
lea ecx, [ebp - 0x10]
call fcn.0040166e
push 0x5c
inc esi
pop edi
mov dword [ebp + 8], edi
push esi
lea eax, [ebp + 8]
push 1
push eax
mov ecx, ebx
call fcn.0040249c
cmp dword [0x42242c], eax
je 0x41bace
lea esi, [eax + 1]
lea ecx, [ebp - 0x10]
push esi
push 0
push ebx
call fcn.004108a4
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0x422424
call fcn.00401876
push 0
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x41bab9
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x10]
call fcn.00401876
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41bac6
test al, 0x10
je 0x41bac6
lea ecx, [ebp - 0x10]
call fcn.0040166e
mov dword [ebp + 8], edi
jmp 0x41ba56
lea ecx, [ebp - 0x10]
call fcn.0040166e
lea ecx, [ebp - 0x20]
call fcn.004016fd
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41ff1a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x428490
cmp edx, dword [eax]
je 0x41ff3c
add eax, 8
inc ecx
cmp eax, 0x428520
jl 0x41ff2d
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x428490]
jne 0x42006a
mov eax, dword [0x428cf8]
cmp eax, 1
je 0x420044
test eax, eax
jne 0x41ff6d
cmp dword [0x4261d4], 1
je 0x420044
cmp edx, 0xfc
je 0x42006a
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41ffa4
lea eax, [ebp - 0x1a4]
push 0x423058
push eax
call fcn.00420940
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00420880
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41ffe7
lea eax, [ebp - 0x1a4]
push eax
call fcn.00420880
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x423054
push edi
call fcn.00420740
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x423038
push eax
call fcn.00420940
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00420950
lea eax, [ebp - 0xa0]
push 0x423034
push eax
call fcn.00420950
push dword [esi + 0x428494]
lea eax, [ebp - 0xa0]
push eax
call fcn.00420950
push 0x12010
lea eax, [ebp - 0xa0]
push 0x42300c
push eax
call fcn.00420fa3
add esp, 0x2c
pop edi
jmp 0x42006a
lea eax, [ebp + 8]
lea esi, [esi + 0x428494]
push 0
push eax
push dword [esi]
call fcn.00420880
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 0x72e8c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1d5000]
mov dword [edi + 0x23fe90], 0x53549aea
push edi
or ebp, 0xffffffff
jmp 0x72e8ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x72e8f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x72e8e0
mov eax, 1
add ebx, ebx
jne 0x72e903
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x72e914
jne 0x72e933
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x72e933
dec eax
add ebx, ebx
jne 0x72e920
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x72e8f8
add ebx, ebx
jne 0x72e92f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x72e985
xor ecx, ecx
sub eax, 3
jb 0x72e94b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x72e9ba
sar eax, 1
mov ebp, eax
jmp 0x72e956
add ebx, ebx
jne 0x72e956
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x72e924
inc ecx
add ebx, ebx
jne 0x72e964
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x72e924
add ebx, ebx
jne 0x72e971
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x72e966
jne 0x72e982
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x72e966
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x72e9a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x72e996
jmp 0x72e8e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x72e9a4
add edi, ecx
jmp 0x72e8e6
pop esi
mov edi, esi
mov ecx, 0xe015
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x72e9c2
cmp byte [edi], 0x28
jne 0x72e9c2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x72e9c7
lea edi, [esi + 0x31d000]
mov eax, dword [edi]
or eax, eax
je 0x72ea3f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x362164]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x362370]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x72e9f4
mov ecx, edi
jns 0x72ea23
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x362378]
or eax, eax
je 0x72ea39
mov dword [ebx], eax
add ebx, 4
jmp 0x72ea11
call dword [esi + 0x362374]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x72ea70
cmp al, 0xef
ja 0x72ea63
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x72ea45
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x72ea52
mov ebp, dword [esi + 0x36237c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x72eaa4
sub esp, 0xffffff80
jmp 0x4a423c
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x51f251ac
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x2d3e1461
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x1002b290
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
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
movzx eax, byte [edx + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
pop ebp
ret 4
Function at 0x100397e0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e4c0d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10285040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [0x10b33e60]
mov eax, dword [ebp + 0xc]
add ebx, 0x7a4232c8
mov edi, dword [ebp + 8]
xor ebx, 0xfcb4fca8
mov dword [ebp - 0x44], eax
mov eax, dword [0x103245b8]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x30], ebx
test eax, eax
jne 0x10039944
mov edi, dword [0x103245b4]
test edi, edi
jne 0x100398f0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x3c], ebx
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ecx + ebx + 0x78]
add ecx, ebx
mov dword [ebp - 0x38], ecx
cmp ecx, ebx
je 0x100398ca
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x100398ca
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, ebx
sub ecx, 4
dec edx
mov dword [ebp - 0x34], ecx
mov edi, 0x7400f5aa
mov dword [ebp - 0x2c], edx
mov ecx, dword [ecx]
add ecx, ebx
mov bl, byte [ecx]
inc ecx
test bl, bl
je 0x100398c0
movsx esi, bl
lea ecx, [ecx + 1]
sub bl, 0x41
mov edx, esi
or edx, 0x20
cmp bl, 0x19
mov bl, byte [ecx - 1]
cmova edx, esi
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x10039892
mov edx, dword [ebp - 0x2c]
cmp edi, 0xa4a12ee2
je 0x100398ce
mov ecx, dword [ebp - 0x34]
mov ebx, dword [eax + 0x18]
test edx, edx
jne 0x10039878
mov eax, dword [eax]
jmp 0x10039853
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x30]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, esi
add eax, esi
movzx eax, word [eax + edx*2]
mov edi, dword [ecx + eax*4]
add edi, esi
mov dword [0x103245b4], edi
lea eax, [ebp - 0x28]
mov ecx, 0x10316568
push eax
call fcn.100442e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
mov eax, dword [0x10b33e60]
cmova ecx, dword [ebp - 0x28]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
push ecx
push dword [eax + 0x170]
call edi
lea ecx, [ebp - 0x28]
mov dword [0x103245b8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10029c40
mov eax, dword [0x103245b8]
mov edi, dword [ebp - 0x40]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call eax
mov ecx, dword [ebx + 0x108]
mov esi, eax
add esp, 8
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ebp - 0x44]
sub eax, dword [ecx]
cdq
xor eax, edx
sub eax, edx
cmp eax, esi
jle 0x1003998a
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov eax, dword [eax + 0x108]
mov eax, dword [eax + 0x1c]
mov dword [ecx], eax
cmp byte [edi], 0
sete al
mov byte [edi], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101e0e46
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10039e20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e4c6f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10285040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov word [esi], 0
lea eax, [esi + 0x3c]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x3f800000
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
push 0x60
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
push 0
push eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
call sub.VCRUNTIME140.dll_memset
mov byte [esi + 0x9c], 0
xorps xmm0, xmm0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
movups xmmword [esi + 0xb0], xmm0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0xf
mov byte [esi + 0xb0], 0
mov dword [ebp - 4], 0
movups xmmword [esi + 0xc8], xmm0
mov dword [esi + 0xd8], 0
mov dword [esi + 0xdc], 0xf
mov byte [esi + 0xc8], 0
movups xmmword [esi + 0xe0], xmm0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0xf
mov byte [esi + 0xe0], 0
mov byte [ebp - 4], 2
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], 0
mov dword [esi + 0x100], 0xbf800000
mov dword [esi + 0x104], 0
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], 0
mov dword [esi + 0x118], 0
push 0x4b0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x120], 0
mov dword [esi + 0x124], 0
add esi, 0x128
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
mov ecx, esi
call fcn.1003a420
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1003fdc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
lea edi, [esi + 2]
je 0x1003fe33
cmp byte [esi + 1], 0
jne 0x1003fe7e
xor ecx, ecx
mov byte [esi + 1], 1
mov dword [esp + 0x10], ecx
nop word [eax + eax]
mov ebx, ecx
xor edx, edx
xor edx, dword [esi + 0x24]
xor ebx, dword [esi + 0x20]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, eax
mov eax, ebx
shrd eax, edx, 7
xor al, byte [edi + ecx]
xor al, bl
mov byte [edi + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0x19
jb 0x1003fdf0
jmp 0x1003fe7e
xor ecx, ecx
mov dword [esp + 0x10], ecx
nop dword [eax]
mov ebx, ecx
xor edx, edx
xor edx, dword [esi + 0x24]
xor ebx, dword [esi + 0x20]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, eax
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [edi + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0x19
jb 0x1003fe40
push ecx
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x1a]
push eax
push edi
call fcn.100424f0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1003ff60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
lea edi, [esi + 2]
je 0x1003ffd3
cmp byte [esi + 1], 0
jne 0x1004001e
xor ecx, ecx
mov byte [esi + 1], 1
mov dword [esp + 0x10], ecx
nop word [eax + eax]
mov ebx, ecx
xor edx, edx
xor edx, dword [esi + 0x14]
xor ebx, dword [esi + 0x10]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, eax
mov eax, ebx
shrd eax, edx, 7
xor al, byte [edi + ecx]
xor al, bl
mov byte [edi + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0xe
jb 0x1003ff90
jmp 0x1004001e
xor ecx, ecx
mov dword [esp + 0x10], ecx
nop dword [eax]
mov ebx, ecx
xor edx, edx
xor edx, dword [esi + 0x14]
xor ebx, dword [esi + 0x10]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, eax
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [edi + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0xe
jb 0x1003ffe0
push ecx
mov ecx, dword [ebp + 8]
lea eax, [esi + 0xf]
push eax
push edi
call fcn.100424f0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10040040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
lea edi, [esi + 2]
je 0x100400b3
cmp byte [esi + 1], 0
jne 0x100400fe
xor ecx, ecx
mov byte [esi + 1], 1
mov dword [esp + 0x10], ecx
nop word [eax + eax]
mov ebx, ecx
xor edx, edx
xor edx, dword [esi + 0x14]
xor ebx, dword [esi + 0x10]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, eax
mov eax, ebx
shrd eax, edx, 7
xor al, byte [edi + ecx]
xor al, bl
mov byte [edi + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0xc
jb 0x10040070
jmp 0x100400fe
xor ecx, ecx
mov dword [esp + 0x10], ecx
nop dword [eax]
mov ebx, ecx
xor edx, edx
xor edx, dword [esi + 0x14]
xor ebx, dword [esi + 0x10]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, eax
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [edi + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0xc
jb 0x100400c0
push ecx
mov ecx, dword [ebp + 8]
lea eax, [esi + 0xd]
push eax
push edi
call fcn.100424f0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10040540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
lea edi, [esi + 2]
je 0x100405b3
cmp byte [esi + 1], 0
jne 0x100405fe
xor ecx, ecx
mov byte [esi + 1], 1
mov dword [esp + 0x10], ecx
nop word [eax + eax]
mov ebx, ecx
xor edx, edx
xor edx, dword [esi + 0x14]
xor ebx, dword [esi + 0x10]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, eax
mov eax, ebx
shrd eax, edx, 7
xor al, byte [edi + ecx]
xor al, bl
mov byte [edi + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0xb
jb 0x10040570
jmp 0x100405fe
xor ecx, ecx
mov dword [esp + 0x10], ecx
nop dword [eax]
mov ebx, ecx
xor edx, edx
xor edx, dword [esi + 0x14]
xor ebx, dword [esi + 0x10]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, eax
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [edi + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0xb
jb 0x100405c0
push ecx
mov ecx, dword [ebp + 8]
lea eax, [esi + 0xc]
push eax
push edi
call fcn.100424f0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10041890
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10285040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1004194c
cmp byte [esi + 0x3d], 0
je 0x1004194c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1004193a
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 0x10041901
sub eax, 1
je 0x10041905
sub eax, 2
jne 0x1004193a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101e0e46
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10041923
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 0x1004193a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101e0e46
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101e0e46
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.101e0e46
mov esp, ebp
pop ebp
ret
Function at 0x10041a20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e50e0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10285040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test byte [esi + 0x3c], 1
lea edi, [esi + 0x3c]
lea edx, [esi + 0x2c]
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x18], edx
lea eax, [esi + 0x20]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
je 0x10041ad7
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10041a7a
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
add edx, dword [ebp - 0x1c]
jmp 0x10041a8e
mov eax, dword [ecx]
mov ecx, dword [edx]
mov edx, dword [eax]
lea eax, [esi + 0x2c]
add edx, dword [ecx]
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
sub edx, eax
mov dword [ebp - 4], 0
cmp edx, 0x1000
jb 0x10041abf
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041ad1
mov eax, ecx
lea edi, [esi + 0x3c]
lea ecx, [esi + 0x20]
mov dword [ebp - 0x10], ecx
push edx
push eax
call fcn.101e12ec
mov ecx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x18]
jmp 0x10041ada
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [ecx]
mov dword [eax], 0
mov eax, dword [edx]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
and dword [edi], 0xfffffffe
mov dword [esi + 0x38], 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 0x10042600
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e5215
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10285040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x14]
imul ebx, ecx, 0x1000193
push ebx
push edi
push eax
call fcn.10042fb0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1004268c
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 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 8
cmp dword [0x10323ecc], 0x9249249
jne 0x100426a3
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x1c], 0x10323ec8
mov dword [ebp - 4], 0
push 0x1c
mov dword [ebp - 0x18], 0
call fcn.101e0e54
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x10323ecc]
mov edi, dword [0x10323ee0]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10271aa0]
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm3, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movaps xmm2, xmm3
addsd xmm0, qword [eax*8 + 0x10271aa0]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [0x10323ec4]
divss xmm2, xmm1
comiss xmm2, xmm0
jbe 0x10042792
divss xmm3, xmm0
movaps xmm0, xmm3
call fcn.1000d410
call fcn.101e1cf0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x10042774
cmp edi, 0x200
jae 0x10042772
shl edi, 3
cmp edi, ecx
jae 0x10042774
mov edi, ecx
push edi
call fcn.10042c70
push ebx
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10042fb0
mov ecx, dword [0x10323ecc]
mov edx, dword [eax]
jmp 0x10042795
mov edx, dword [ebp - 0x14]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x10323ecc], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x10323edc]
mov ecx, dword [0x10323ed0]
and eax, ebx
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x10323ec8]
jne 0x100427c6
mov dword [ecx + eax*8], esi
jmp 0x100427d5
cmp ebx, edx
jne 0x100427cf
mov dword [ecx + eax*8], esi
jmp 0x100427d9
cmp dword [ecx + eax*8 + 4], edi
jne 0x100427d9
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
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