joyce8/EMBER2024-capa huggingface dataset:
Function at 0xe7709e
Capabilities:
Encode data using xor

Disassembly:
adc eax, 0x2b061a0e
sbb dword [0x40801a0], edx
or byte [eax + ecx], al
add al, 8
add al, 8
add al, 8
add al, 8
add al, 8
add al, 0xb
or ecx, dword [eax]
push es
push es
adc cl, byte [edi]
or dl, byte [edx]
push es
pop es
or ecx, dword [edx]
adc bh, byte [ecx]
adc eax, dword [0xd0d0511]
push es
push es
adc dword [ebx], ebx
sbb dword [eax], ecx
or edx, dword [eax]
or ebx, dword [edx]
or dword [0x11151021], esi
push edx
add al, 0x41
push es
add eax, 0xf2b1219
add eax, 0x1c094c10
push es
adc al, 0x18
or dh, byte [edx]
push es
sbb dword [edx], ecx
fld dword [ecx]
or eax, 0x706052c
push ss
or al, 0x10
add byte ss:[eax], 0x65
test byte [ecx], al
add al, 8
add al, 0x14
add eax, 0x60e0688
or eax, 0x4d0c045e
add dword [ecx], 4
cmp eax, dword [0x43d2c5b]
or byte [eax + ecx], al
add al, 0xf
in eax, dx
add al, byte [eax + ecx]
add al, 0xc
test byte [edx], al
add al, 8
add al, 0xb
jb 0xe77142
fld qword [edx]
add al, 8
add al, 8
add al, 0xc
js 0xe7713a
or al, 0xa0
add dword [ecx + edx*4], eax
xchg ecx, eax
add dword [edi + esi*2 + 4], edx
lodsd eax, dword [esi]
add dword [edi + 0x1980401], ecx
or al, 0x80
add dword [eax + ebx*4], eax
add dword [eax + eax*4], ecx
add cl, ah
fadd qword [ecx]
psrlw mm0, qword [edx]
add al, 0x2d
xlatb
add dword [edi + ecx], eax
std
add dword [eax + ecx], eax
add al, 0x14
add eax, 0x6c053642
inc ebp
pop ebp
add eax, 0x408042f
adc al, 5
push ds
test eax, 0x4080401
adc al, 5
and esi, ecx
add eax, dword [eax + ecx]
Function at 0x401780
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.004024f0
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.004024f0
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x4017e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x40606c]
test esi, esi
jle 0x401900
mov eax, dword [0x406070]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x401814
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x401897
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x401800
mov dword [esp], ebx
call fcn.004021d0
mov edi, eax
test eax, eax
je 0x401927
mov eax, dword [0x406070]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.00402310
mov edx, dword [0x406070]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401907
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401890
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x4018a0
add dword [0x40606c], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x406070]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401890
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00401780
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x40181e
mov eax, dword [0x406070]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00401780
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00401780
lea esi, [esi]
nop
Function at 0x401e40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x406088
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x406080]
sub esp, 4
test ebx, ebx
je 0x401e95
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x401e8e
test esi, esi
je 0x401e8e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401e70
mov dword [esp], 0x406088
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4021d0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x4021f5
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x402200
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x4021f5
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x402248
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x40223e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40224a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x402230
xor eax, eax
pop ebx
pop esi
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000ad6a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.1000a921
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1000a96c
push eax
push esi
push dword [ebp + 8]
call fcn.1000a921
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1000a95c
adc byte [edx], dh
cli
jnp 0x1000ad67
popfd
jl 0x1000ade1
invalid
invalid
Function at 0x531154
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x53116a
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x531163
mov edx, esp
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov ebx, dword [ebp - 4]
shr ebx, 8
and ebx, 0xff
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, 0xff
mov esi, dword [ebp - 4]
shr esi, 0x18
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
mov esi, dword [esi + 8]
cmp dword [esi - 4], 0x20
jne 0x5311f5
movzx ecx, byte [ecx + 0x5701e0]
mov esi, dword [edx + 0xc]
and esi, 0xff
xor ecx, esi
movzx ebx, byte [ebx + 0x5700e0]
mov esi, dword [edx + 0xc]
shr esi, 8
and esi, 0xff
xor ebx, esi
movzx eax, byte [eax + 0x5700e0]
mov esi, dword [edx + 0xc]
shr esi, 0x10
and esi, 0xff
xor eax, esi
mov esi, dword [ebp - 8]
movzx esi, byte [esi + 0x5701e0]
mov edi, dword [edx + 0xc]
shr edi, 0x18
xor esi, edi
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
mov esi, dword [esi + 8]
cmp dword [esi - 4], 0x18
jl 0x531252
movzx ecx, byte [ecx + 0x5701e0]
mov esi, dword [edx + 8]
and esi, 0xff
xor ecx, esi
movzx ebx, byte [ebx + 0x5701e0]
mov esi, dword [edx + 8]
shr esi, 8
and esi, 0xff
xor ebx, esi
movzx eax, byte [eax + 0x5700e0]
mov esi, dword [edx + 8]
shr esi, 0x10
and esi, 0xff
xor eax, esi
mov esi, dword [ebp - 8]
movzx esi, byte [esi + 0x5700e0]
mov edi, dword [edx + 8]
shr edi, 0x18
xor esi, edi
mov dword [ebp - 8], esi
movzx ecx, byte [ecx + 0x5700e0]
mov esi, dword [edx + 4]
and esi, 0xff
xor ecx, esi
movzx ebx, byte [ebx + 0x5701e0]
mov esi, dword [edx + 4]
shr esi, 8
and esi, 0xff
xor ebx, esi
movzx eax, byte [eax + 0x5700e0]
mov esi, dword [edx + 4]
shr esi, 0x10
and esi, 0xff
xor eax, esi
mov esi, dword [ebp - 8]
movzx esi, byte [esi + 0x5701e0]
mov edi, dword [edx + 4]
shr edi, 0x18
xor esi, edi
mov dword [ebp - 8], esi
movzx ecx, byte [ecx + 0x5700e0]
mov esi, dword [edx]
and esi, 0xff
xor ecx, esi
movzx ebx, byte [ebx + 0x5700e0]
mov esi, dword [edx]
shr esi, 8
and esi, 0xff
xor ebx, esi
movzx eax, byte [eax + 0x5701e0]
mov esi, dword [edx]
shr esi, 0x10
and esi, 0xff
xor eax, esi
mov esi, dword [ebp - 8]
movzx esi, byte [esi + 0x5701e0]
mov edx, dword [edx]
shr edx, 0x18
xor esi, edx
mov dword [ebp - 8], esi
mov edx, dword [ecx*4 + 0x5702e0]
xor edx, dword [ebx*4 + 0x5706e0]
xor edx, dword [eax*4 + 0x570ae0]
mov eax, dword [ebp - 8]
xor edx, dword [eax*4 + 0x570ee0]
mov eax, edx
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x531454
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
and ecx, 0xff
xor ebx, ebx
mov esi, dword [edx + ebx*4]
imul edi, ecx, 0x1010101
xor esi, edi
mov dword [eax + ebx*4], esi
inc ebx
cmp ebx, 0x40
jne 0x53145f
pop edi
pop esi
pop ebx
ret
Function at 0x531478
Capabilities:
Encode data using xor
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
mov edx, 0x5700e0
lea eax, [ebp - 0x100]
call fcn.00531454
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
and edx, 0xff
xor eax, eax
lea ecx, [ebp - 0x100]
mov ebx, eax
add ebx, ebx
mov esi, dword [ebp + 8]
mov esi, dword [esi - 0x20]
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x5700e0]
xor edi, edx
mov edi, dword [edi*4 + 0x5702e0]
mov dword [esi + ebx*4], edi
inc eax
inc ecx
cmp eax, 0x100
jne 0x5314ae
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 8
mov edx, 0x5701e0
lea eax, [ebp - 0x100]
call fcn.00531454
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
shr edx, 8
and edx, 0xff
xor eax, eax
lea ecx, [ebp - 0x100]
mov ebx, eax
add ebx, ebx
mov esi, dword [ebp + 8]
mov esi, dword [esi - 0x20]
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x5700e0]
xor edi, edx
mov edi, dword [edi*4 + 0x5706e0]
mov dword [esi + ebx*4 + 4], edi
inc eax
inc ecx
cmp eax, 0x100
jne 0x531507
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 0x10
mov edx, 0x5700e0
lea eax, [ebp - 0x100]
call fcn.00531454
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
shr edx, 0x10
and edx, 0xff
xor eax, eax
lea ecx, [ebp - 0x100]
mov ebx, eax
add ebx, ebx
mov esi, dword [ebp + 8]
mov esi, dword [esi - 0x20]
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x5701e0]
xor edi, edx
mov edi, dword [edi*4 + 0x570ae0]
mov dword [esi + ebx*4 + 0x800], edi
inc eax
inc ecx
cmp eax, 0x100
jne 0x531561
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 0x18
mov edx, 0x5701e0
lea eax, [ebp - 0x100]
call fcn.00531454
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
shr edx, 0x18
xor eax, eax
lea ecx, [ebp - 0x100]
mov ebx, eax
add ebx, ebx
mov esi, dword [ebp + 8]
mov esi, dword [esi - 0x20]
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x5701e0]
xor edi, edx
mov edi, dword [edi*4 + 0x570ee0]
mov dword [esi + ebx*4 + 0x804], edi
inc eax
inc ecx
cmp eax, 0x100
jne 0x5315b8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5315ec
Capabilities:
Encode data using xor
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
mov edx, 0x5701e0
lea eax, [ebp - 0x100]
call fcn.00531454
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
and edx, 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
and ecx, 0xff
xor eax, eax
lea ebx, [ebp - 0x100]
mov esi, eax
add esi, esi
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
lea esi, [edi + esi*4]
push esi
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x5700e0]
xor esi, ecx
movzx esi, byte [esi + 0x5700e0]
xor esi, edx
mov esi, dword [esi*4 + 0x5702e0]
pop edi
mov dword [edi], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x53162e
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
shr ecx, 8
mov edx, 0x5701e0
lea eax, [ebp - 0x100]
call fcn.00531454
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
shr edx, 8
and edx, 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 8
and ecx, 0xff
xor eax, eax
lea ebx, [ebp - 0x100]
mov esi, eax
add esi, esi
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
lea esi, [edi + esi*4 + 4]
push esi
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x5701e0]
xor esi, ecx
movzx esi, byte [esi + 0x5700e0]
xor esi, edx
mov esi, dword [esi*4 + 0x5706e0]
pop edi
mov dword [edi], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x5316a3
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
shr ecx, 0x10
mov edx, 0x5700e0
lea eax, [ebp - 0x100]
call fcn.00531454
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
shr edx, 0x10
and edx, 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 0x10
and ecx, 0xff
xor eax, eax
lea ebx, [ebp - 0x100]
mov esi, eax
add esi, esi
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
lea esi, [edi + esi*4 + 0x800]
push esi
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x5700e0]
xor esi, ecx
movzx esi, byte [esi + 0x5701e0]
xor esi, edx
mov esi, dword [esi*4 + 0x570ae0]
pop edi
mov dword [edi], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x531719
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
shr ecx, 0x18
mov edx, 0x5700e0
lea eax, [ebp - 0x100]
call fcn.00531454
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
shr edx, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 0x18
xor eax, eax
lea ebx, [ebp - 0x100]
mov esi, eax
add esi, esi
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
lea esi, [edi + esi*4 + 0x804]
push esi
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x5701e0]
xor esi, ecx
movzx esi, byte [esi + 0x5701e0]
xor esi, edx
mov esi, dword [esi*4 + 0x570ee0]
pop edi
mov dword [edi], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x531786
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x54c53c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor ecx, ecx
push ebp
push 0x54c720
push dword fs:[ecx]
mov dword fs:[ecx], esp
test dl, dl
jne 0x54c57b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x35d], 0
je 0x54c57b
mov eax, dword [ebp - 4]
mov byte [eax + 0x35d], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54c72a
test dl, dl
jne 0x54c716
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x350], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x36c], 0
jne 0x54c5bd
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x348], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov edx, 0x64
call fcn.0043c578
jmp 0x54c716
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
cmp dword [eax + 0x30], 0
je 0x54c67a
xor edx, edx
call fcn.0043c578
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
mov dl, 1
call fcn.00444a98
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0054c1f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
call fcn.00444dd8
xor edx, edx
push ebp
push 0x54c62b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
cmp byte [eax + 0x30], 0
je 0x54c621
call fcn.005498f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54c635
mov eax, dword [0x572af0]
mov eax, dword [eax]
cmp word [eax + 0x44], 0
je 0x54c651
mov eax, dword [0x572af0]
mov eax, dword [eax]
xor edx, edx
call fcn.00462bd8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
cmp word [eax + 0x23c], 0
je 0x54c66b
xor edx, edx
call fcn.004e27c0
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0054b604
jmp 0x54c716
mov edx, 0x64
call fcn.0043c578
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
xor edx, edx
call fcn.00444a98
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0054c1f8
xor edx, edx
push ebp
push 0x54c6ca
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
cmp byte [eax + 0x30], 0
je 0x54c6c0
call fcn.0054985c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54c6d4
mov eax, dword [0x572af0]
mov eax, dword [eax]
cmp word [eax + 0x44], 0xffff
je 0x54c6f1
mov eax, dword [0x572af0]
mov eax, dword [eax]
or edx, 0xffffffff
call fcn.00462bd8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
cmp word [eax + 0x23c], 0xffff
je 0x54c70c
or edx, 0xffffffff
call fcn.004e27c0
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0054b604
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54c72a
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x10004d40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc595
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100e9f80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.10004c20
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10004dd3
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 [edi + 8], 0xccccccc
je 0x10004f2f
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.100ac6f2
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100ca000]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100ca000]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10004ed1
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call sub.msvcrt.dll_ceil
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.100ac740
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x10004eb3
cmp ebx, 0x200
jae 0x10004eb1
shl ebx, 3
cmp ebx, ecx
jae 0x10004eb3
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.100075f0
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10004c20
mov edx, dword [eax]
jmp 0x10004ed4
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x10004eff
mov dword [ecx + eax*8], esi
jmp 0x10004f0e
cmp edi, edx
jne 0x10004f08
mov dword [ecx + eax*8], esi
jmp 0x10004f12
cmp dword [ecx + eax*8 + 4], ebx
jne 0x10004f12
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
push str.unordered_map_set_too_long
call fcn.10094fab
int3
Function at 0x10005770
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x100e9f80]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1f4
xorps xmm0, xmm0
mov dword [ebp - 0x204], 0
lea eax, [ebp - 0x1f8]
mov dword [ebp - 0x200], 0xf
push 0
movups xmmword [ebp - 0x214], xmm0
push eax
mov byte [ebp - 0x214], 0
mov dword [ebp - 0x1fc], 0
call sub.msvcrt.dll_memset
push 0x1f3
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.100adf10
mov ecx, dword [ebp - 0x200]
add esp, 0x1c
cmp ecx, 0xf
jbe 0x1000581b
mov edx, dword [ebp - 0x214]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005811
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005873
push ecx
push edx
call fcn.100ac722
add esp, 8
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.10008600
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.100b0f80
add esp, 0x1c
lea eax, [ebp - 0x1fc]
push 0
push 0x100ee450
push 0x1f8
push eax
push dword [0x100e9338]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ac730
mov esp, ebp
pop ebp
ret
call fcn.100adbf0
int3

Function at 0x100058f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100e9f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [0x100ee3d4]
push edi
push eax
push ecx
push esi
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1000595c
xorps xmm0, xmm0
mov eax, ebx
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x10], 0
pop edi
mov dword [ebx + 0x14], 0xf
pop esi
mov byte [ebx], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ac730
mov esp, ebp
pop ebp
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10005924
push dword [ebp - 0x20]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x20]
mov esi, eax
push dword [ebp - 0x24]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [ebp - 0xc], 0
xorps xmm0, xmm0
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x1c]
movups xmmword [ebp - 0x1c], xmm0
push dword [ebp - 0x20]
push esi
call fcn.10004b90
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 4]
xorps xmm0, xmm0
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0
mov eax, ebx
movups xmm0, xmmword [ebp - 0x1c]
mov dword [ebx + 0x14], 0
xor ecx, ebp
pop edi
movups xmmword [ebx], xmm0
pop esi
movq xmm0, qword [ebp - 0xc]
movq qword [ebx + 0x10], xmm0
pop ebx
call fcn.100ac730
mov esp, ebp
pop ebp
ret