joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4096ca
Capabilities:
Encode data using xor
Get session user name
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x447504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.ALLUSERSPROFILE
call fcn.0041c1b8
mov dword [ebp - 0xdc], eax
pop ecx
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0xe0], 0x64
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp - 0x70]
push eax
call fcn.00418c80
mov ebx, eax
xor edi, edi
test ebx, ebx
pop ecx
mov esi, 0x811c9dc5
jle 0x40974c
mov al, byte [ebp + edi - 0x70]
movzx ecx, al
xor ecx, esi
imul ecx, ecx, 0x1000193
mov esi, ecx
movsx eax, al
push esi
push eax
push edi
push str.__d___d__d_n
call fcn.00409ab5
add esp, 0x10
inc edi
cmp edi, ebx
jl 0x409723
test esi, esi
jge 0x409752
neg esi
push 0x64
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.0041a0a0
add esp, 0xc
push esi
lea eax, [ebp - 0xd8]
push 0x440cf0
push eax
call fcn.004197bd
lea eax, [ebp - 0x70]
add esp, 0xc
push eax
xor esi, esi
call fcn.00418c80
test eax, eax
pop ecx
jbe 0x4097a5
lea eax, [ebp + esi - 0x70]
cmp byte [eax], 0x80
jb 0x409796
mov byte [eax], 0x5f
lea eax, [ebp - 0x70]
push eax
inc esi
call fcn.00418c80
cmp esi, eax
pop ecx
jb 0x40978a
push 0x104
call fcn.00418af7
pop ecx
push dword [ebp - 0xdc]
mov esi, eax
push esi
mov byte [esi], 0
call fcn.00418d20
push str.JWUser_
call fcn.004099ef
add esp, 0xc
lea eax, [ebp - 0xd8]
push eax
push esi
call fcn.00418d20
push 0x440248
push esi
call fcn.00418d20
lea eax, [ebp - 0x70]
push eax
push esi
call fcn.00418d20
push esi
call fcn.004099d0
mov ecx, dword [ebp - 4]
add esp, 0x1c
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418a0b
leave
ret
Function at 0x40980a
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x447504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.APPDATA
mov dword [ebp - 0xa0], 0x94
call fcn.0041c1b8
mov esi, eax
test esi, esi
pop ecx
mov ebx, 0x104
je 0x409897
push esi
call fcn.00418c80
cmp eax, 2
pop ecx
jbe 0x409897
cmp byte [esi], 0x5c
jne 0x409897
cmp byte [esi + 1], 0x5c
jne 0x409897
push str._Extractor__Roaming_AppData_directory_detected_n
call fcn.00409ab5
pop ecx
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4098db
cmp dword [ebp - 0x9c], 5
jbe 0x4098a3
push str.LOCALAPPDATA
call fcn.0041c1b8
pop ecx
mov esi, eax
push esi
push str._Extractor__Local_AppData_directory_resolved_to__s_n
call fcn.00409ab5
pop ecx
jmp 0x4098da
push str._Extractor__Local_AppData_directory_detected_n
call fcn.00409ab5
jmp 0x4098da
push str.USERPROFILE
call fcn.0041c1b8
pop ecx
push ebx
mov edi, eax
call fcn.00418af7
pop ecx
mov esi, eax
push edi
push esi
mov byte [esi], 0
call fcn.00418d20
push str.Local_Settings
call fcn.004099ef
add esp, 0xc
push str.Application_Data
call fcn.004099ef
pop ecx
push str._Utils__Validating_directory..._n
call fcn.00409ab5
pop ecx
push esi
push str._Utils__Shared_dir_detected_is__s_n
call fcn.00409ab5
push esi
call fcn.00409437
add esp, 0xc
test eax, eax
je 0x409963
push esi
push str.Checking_if_string_is_cAscii__s_n
call fcn.00409ab5
push esi
xor edi, edi
call fcn.00418c80
add esp, 0xc
test eax, eax
jbe 0x40992a
cmp byte [edi + esi], 0x80
jae 0x409963
push esi
inc edi
call fcn.00418c80
cmp edi, eax
pop ecx
jb 0x409918
push esi
push str.Checking_if__s_contains_a___n
call fcn.00409ab5
push esi
xor edi, edi
call fcn.00418c80
add esp, 0xc
test eax, eax
jbe 0x409956
cmp byte [edi + esi], 0x21
je 0x409963
push esi
inc edi
call fcn.00418c80
cmp edi, eax
pop ecx
jb 0x409944
push str._Utils__Shared_directory_appears_valid._n
call fcn.00409ab5
pop ecx
jmp 0x4099bf
push esi
push str._Utils__The_directory__s_appears_invalid._n
call fcn.00409ab5
push esi
push str._Utils__Trying_the_short_path_instead._n
call fcn.00409ab5
push ebx
call fcn.00418af7
add esp, 0x14
push 0x400
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x4099b1
push edi
push str._Utils__Got_short_path_of__s_n
call fcn.00409ab5
push esi
call fcn.00409437
add esp, 0xc
test eax, eax
je 0x4099b1
mov eax, edi
jmp 0x4099c1
push edi
call fcn.00418a1a
pop ecx
call fcn.004096ca
mov esi, eax
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418a0b
leave
ret
Function at 0x409d30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [0x456de8]
push edi
push str._Windows_Subsystem__Fixing__s_n
call fcn.00409ab5
push 0x444e34
push edi
call fcn.0041a088
add esp, 0x10
mov esi, eax
test esi, esi
mov byte [ebp - 4], 0x50
mov byte [ebp - 3], 0x45
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
push edi
jne 0x409d82
push str._Windows_Subsystem__Could_not_open_file__s_n
call fcn.00409ab5
pop ecx
pop ecx
push 1
call fcn.00419ad0
push str._Windows_Subsystem__Opened__s_n
call fcn.00409ab5
pop ecx
xor ebx, ebx
pop ecx
xor edi, edi
push esi
call fcn.0041b809
pop ecx
push esi
mov dword [ebp - 8], eax
inc ebx
call fcn.0041c980
test eax, eax
pop ecx
jne 0x409e55
mov al, byte [ebp - 8]
cmp al, byte [ebp + edi - 4]
jne 0x409db8
inc edi
jmp 0x409dba
xor edi, edi
cmp edi, 4
jne 0x409d92
cmp ebx, 0xffffffff
mov dword [0x456e90], ebx
je 0x409d7b
lea edi, [ebx + 0x58]
push edi
push 0x58
push ebx
push str._Windows_Subsystem__Found_marker_OK_at__d___d___d__n
call fcn.00409ab5
xor ebx, ebx
push ebx
push edi
push esi
call fcn.0041e671
add esp, 0x1c
push edi
push str._Windows_Subsystem__Skipped_to_relevant_spot__d_n
call fcn.00409ab5
push esi
call fcn.0041b809
add esp, 0xc
push eax
push str._Windows_Subsystem__Was__02X_n
call fcn.00409ab5
push ebx
push edi
push esi
call fcn.0041e671
add esp, 0x14
push esi
push 2
call fcn.0041cb28
push esi
call fcn.00419e24
add esp, 0xc
push ebx
push edi
push esi
call fcn.0041e671
add esp, 0xc
push esi
call fcn.0041b809
pop ecx
push eax
push str._Windows_Subsystem__Now__02X_n
call fcn.00409ab5
push esi
call fcn.00419e24
add esp, 0xc
push esi
call fcn.0041b78d
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push str.SS_edit___PE_sig
push str.Could_not_find_marker:__s_n
jmp 0x409d74

Function at 0x40a006
Capabilities:
Check os version
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x447504]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push str.perm_all
push esi
call fcn.0041a3a0
test eax, eax
pop ecx
pop ecx
jne 0x40a0a5
push str.Permanent_install_for_all_users_n
call fcn.00409ab5
pop ecx
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x40a06a
cmp dword [ebp - 0x9c], 5
jbe 0x40a06a
push str.PROGRAMDATA
call fcn.0041c1b8
pop ecx
jmp 0x40a0cd
push str.ALLUSERSPROFILE
call fcn.0041c1b8
mov edi, eax
mov dword [esp], 0x104
call fcn.00418af7
pop ecx
mov esi, eax
push edi
push esi
mov byte [esi], 0
call fcn.00418d20
push str.Application_Data
call fcn.004099ef
add esp, 0xc
push esi
call fcn.004099d0
pop ecx
jmp 0x40a0cf
push str.perm_user
push esi
call fcn.0041a3a0
test eax, eax
pop ecx
pop ecx
jne 0x40a0bd
push str.Permanent_install_for_current_user_n
jmp 0x40a0c2
push str.Temporary_install_n
call fcn.00409ab5
pop ecx
call fcn.0040980a
mov esi, eax
test esi, esi
jne 0x40a0e5
push str.ERROR:_Unable_to_get_shared_dir_
call fcn.00409ab5
pop ecx
push 1
call fcn.00419ad0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00418a0b
leave
ret
Function at 0x40c260
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x40c280
push 0xd0
push str.._srchashes_sha2_sha256.c
push 0x4384a8
call fcn.0040e3e0
add esp, 0xc
mov dword [esi + 0x2a0], 0
mov dword [esi + 0x278], 0
mov dword [esi + 0x27c], 0
mov dword [esi + 0x280], 0x6a09e667
mov dword [esi + 0x284], 0xbb67ae85
mov dword [esi + 0x288], 0x3c6ef372
mov dword [esi + 0x28c], 0xa54ff53a
mov dword [esi + 0x290], 0x510e527f
mov dword [esi + 0x294], 0x9b05688c
mov dword [esi + 0x298], 0x1f83d9ab
mov dword [esi + 0x29c], 0x5be0cd19
xor eax, eax
pop esi
ret

Function at 0x40c800
Capabilities:
Hash data using sha224

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x40c81d
push 0x2a
push str.c:users_simplehelpworkspace_runner_nativelibtomlibtomcrypt_srchashes_sha2_sha224.c
push 0x4384a8
call fcn.0040e3e0
add esp, 0xc
mov dword [esi + 0x2a0], 0
mov dword [esi + 0x278], 0
mov dword [esi + 0x27c], 0
mov dword [esi + 0x280], 0xc1059ed8
mov dword [esi + 0x284], 0x367cd507
mov dword [esi + 0x288], 0x3070dd17
mov dword [esi + 0x28c], 0xf70e5939
mov dword [esi + 0x290], 0xffc00b31
mov dword [esi + 0x294], 0x68581511
mov dword [esi + 0x298], 0x64f98fa7
mov dword [esi + 0x29c], 0xbefa4fa4
xor eax, eax
pop esi
ret
Function at 0x418a0b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x447504]
jne 0x418a15
repz ret
jmp fcn.0041f355

Function at 0x41e38f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x41e3bc
call fcn.00418f2c
mov dword [eax], esi
call fcn.00418f19
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00421158
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x41e398
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41e3eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00418f3f
pop ecx
call fcn.00418f19
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x41e412
test al, 1
je 0x41e412
test byte [esp + 0xc], 2
je 0x41e412
call fcn.00418f2c
mov dword [eax], 5
call fcn.00418f19
mov dword [eax], 0xd
jmp 0x41e3e2
xor eax, eax
pop esi
ret
Function at 0x4281d7
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004211df
xor ebx, ebx
cmp dword [0x44a9a8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4282ac
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x428217
xor eax, eax
jmp 0x428370
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x428210
push eax
call fcn.0042117c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44a9a8], eax
call esi
push eax
call fcn.0042117c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44a9ac], eax
call esi
push eax
call fcn.0042117c
mov dword [0x44a9b0], eax
lea eax, [ebp - 8]
push eax
call fcn.004198fd
test eax, eax
pop ecx
pop ecx
je 0x42827a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042105c
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4282ac
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042117c
cmp eax, ebx
pop ecx
mov dword [0x44a9b8], eax
je 0x4282ac
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042117c
pop ecx
mov dword [0x44a9b4], eax
mov eax, dword [0x44a9b4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x428325
cmp dword [0x44a9b8], esi
je 0x428325
push eax
call fcn.004211e8
pop ecx
call eax
cmp eax, ebx
je 0x4282f2
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x44a9b8]
call fcn.004211e8
pop ecx
call eax
test eax, eax
je 0x4282f2
test byte [ebp - 0x18], 1
jne 0x428325
lea eax, [ebp - 0xc]
push eax
call fcn.00419934
test eax, eax
pop ecx
je 0x42830d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042105c
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x42831c
or dword [ebp + 0x10], 0x200000
jmp 0x428356
or dword [ebp + 0x10], 0x40000
jmp 0x428356
mov eax, dword [0x44a9ac]
cmp eax, esi
je 0x428356
push eax
call fcn.004211e8
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x428356
mov eax, dword [0x44a9b0]
cmp eax, esi
je 0x428356
push dword [ebp - 4]
push eax
call fcn.004211e8
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x44a9a8]
call fcn.004211e8
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x434b60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
not eax
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp esi, 8
jbe 0x434c2f
test bl, 7
je 0x434b99
nop
movzx ecx, byte [ebx]
dec esi
movzx edx, al
inc ebx
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x43a038]
test bl, 7
jne 0x434b80
mov edi, esi
and esi, 7
and edi, 0xfffffff8
add edi, ebx
cmp ebx, edi
jae 0x434c2f
nop dword [eax + eax]
xor eax, dword [ebx]
add ebx, 4
mov dword [ebp + 0x10], ebx
add dword [ebp + 0x10], 4
mov ebx, dword [ebx]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x43a438]
xor edx, dword [ecx*4 + 0x43a838]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x43b438]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x43b838]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x43a038]
mov ecx, eax
shr ecx, 0x18
movzx eax, al
xor edx, dword [ecx*4 + 0x43b038]
movzx ecx, bl
mov ebx, dword [ebp + 0x10]
xor edx, dword [ecx*4 + 0x43ac38]
xor edx, dword [eax*4 + 0x43bc38]
mov eax, edx
cmp ebx, edi
jb 0x434bb0
test esi, esi
je 0x434c4d
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x43a038]
sub esi, 1
jne 0x434c33
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x434c60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 8
not eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
not esi
cmp edi, 4
jbe 0x434d5a
mov dword [ebp + 0x14], ebx
test bl, 3
je 0x434cb7
nop word [eax + eax]
movzx ecx, byte [ebx]
dec edi
movzx edx, al
inc ebx
shrd eax, esi, 8
xor edx, ecx
shr esi, 8
xor eax, dword [edx*8 + 0x43c038]
xor esi, dword [edx*8 + 0x43c03c]
test bl, 3
jne 0x434c90
mov dword [ebp + 0x14], ebx
mov edx, edi
mov dword [ebp - 8], 0
and edx, 0xfffffffc
mov dword [ebp - 4], 0
and edi, 3
mov dword [ebp + 0xc], edi
lea ecx, [edx + ebx]
add edx, 3
shr edx, 2
cmp ebx, ecx
cmova edx, dword [ebp - 8]
mov dword [ebp - 8], edx
test edx, edx
je 0x434d5a
mov edi, edx
mov ebx, dword [ebx]
xor ebx, eax
mov eax, ebx
shr eax, 0x10
movzx edx, al
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, dword [edx*8 + 0x43c838]
mov edx, dword [edx*8 + 0x43c83c]
xor eax, dword [ecx*8 + 0x43d038]
xor edx, dword [ecx*8 + 0x43d03c]
mov ecx, ebx
shr ecx, 0x18
xor eax, dword [ecx*8 + 0x43c038]
xor edx, dword [ecx*8 + 0x43c03c]
movzx ecx, bl
mov ebx, dword [ebp + 0x14]
add ebx, 4
mov dword [ebp + 0x14], ebx
xor eax, dword [ecx*8 + 0x43d838]
xor edx, dword [ecx*8 + 0x43d83c]
xor eax, esi
mov ecx, dword [ebp - 4]
xor edx, 0
inc ecx
mov esi, edx
mov dword [ebp - 4], ecx
cmp ecx, edi
jb 0x434ce8
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x434d85
nop
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
movzx edx, al
shrd eax, esi, 8
xor edx, ecx
shr esi, 8
xor eax, dword [edx*8 + 0x43c038]
xor esi, dword [edx*8 + 0x43c03c]
sub edi, 1
jne 0x434d60
not esi
not eax
pop edi
mov edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403870
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0xea21bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403a40
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call fcn.0046ae10
jmp fcn.00403870
Function at 0x40d620
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0xea21bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40d7eb
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40d649
mov eax, 0x7000000
jmp 0x40d651
test eax, eax
je 0x40d7c6
mov dword [esp + 0x34], eax
mov ecx, dword [0xea21bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x4a4]
mov ebx, dword [ecx + 0x4a8]
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x4a4], ebx
mov dword [ecx + 0x4a8], ebp
mov dword [esp], edx
call fcn.0046c1c0
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x24]
shr ebx, 0x1b
or ebx, eax
lea eax, [0xe22d20]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x40d7de
cmp edx, 0x21
jae 0x40d7d2
movsd qword [esp + 0x14], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x1c], xmm0
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.00464180
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00464250
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0xc29410]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0xc29468]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40d7a1
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0xc294a0]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, edx
mov ecx, 0x21
call fcn.0046c2a0
mov eax, edx
mov ecx, 0x21
call fcn.0046c370
nop
call fcn.0046ae10
jmp fcn.0040d620
Function at 0x417ce0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0xea21bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x417ede
sub esp, 0x18
mov eax, dword [0xea20c8]
test eax, eax
jne 0x417ec7
nop
nop
lea eax, [0xea20b8]
mov dword [esp], eax
call fcn.0040b200
mov eax, dword [0xea20bc]
test eax, eax
je 0x417d28
cmp dword [eax + 8], 0xcc
jne 0x417d9e
mov edx, dword [0xea20c0]
test edx, edx
jne 0x417d80
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0xea6e70]
mov dword [esp + 8], eax
call fcn.0040d800
mov eax, dword [esp + 0xc]
mov dword [0xea20c0], eax
mov ecx, dword [0xea20c4]
mov dword [eax], ecx
mov eax, dword [0xea20c0]
mov dword [0xea20c4], eax
movzx eax, byte [0xea2780]
test al, al
jne 0x417d80
xor eax, eax
jmp 0x417e98
mov edx, dword [0xea20c0]
mov ebx, dword [edx + 4]
mov dword [0xea20c0], ebx
mov ebx, dword [0xea20bc]
mov dword [edx + 4], ebx
mov dword [0xea20bc], edx
mov edx, dword [0xea20bc]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x417e77
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402f50
mov eax, dword [0xea22a8]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x417df0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x417e30
call fcn.0046c280
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + ecx*4 + 0x10]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x2c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0x14], esi
mov esi, dword [esp + 0x1c]
mov dword [edi + 0x18], esi
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x1c], esi
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov dword [edx + ecx*4 + 0x1c], ebx
mov dword [edx + ecx*4 + 0x20], ebp
mov eax, dword [esp + 0x1c]
mov dword [edx + ecx*4 + 0x14], eax
nop
nop
lea eax, [0xea20b8]
mov dword [esp], eax
call fcn.0040b420
nop
lea eax, [0xea20b4]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004030d0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.0046c2a0
lea edx, [0xe1df28]
movzx ebx, byte [edx + eax]
lea ebp, [0xea2780]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x417d80
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 5
jb 0x417e81
mov ecx, 5
call fcn.0046c290
lea eax, [0x77fecc]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0043a060
nop
call fcn.0046ae10
jmp fcn.00417ce0