joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409ac0
Capabilities:
Delete file

Disassembly:
sub esp, 0x40c
mov eax, dword [0x6e8ddc]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push ebp
push esi
push str.Making_sure_extracted_files_exists_n
call fcn.005bbca0
add esp, 4
push 1
lea ebx, [edi + 0x4e0]
push 1
mov ecx, ebx
call fcn.005c9dc0
mov eax, dword [edi + 0x5f8]
sub eax, dword [edi + 0x5f4]
xor ebp, ebp
sar eax, 2
test eax, eax
jbe 0x409bae
mov edi, edi
mov ecx, dword [edi + 0x5f8]
sub ecx, dword [edi + 0x5f4]
sar ecx, 2
cmp ebp, ecx
jb 0x409b28
call fcn.005e2d36
mov edx, dword [edi + 0x5f4]
mov esi, dword [edx + ebp*4]
test byte [esi + 0x116], 1
je 0x409b96
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.005bc9d0
add esp, 0xc
test al, al
je 0x409b69
mov edx, dword [esp + 0x10]
cmp edx, dword [esi + 0x112]
jne 0x409b69
mov eax, dword [esp + 0xc]
cmp eax, dword [esi + 0x10a]
je 0x409b96
push esi
push str.restoring__s_n
call fcn.005bbca0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
push 0x6bb388
push esi
mov ecx, ebx
call fcn.005cac30
test al, al
je 0x409bda
mov ecx, dword [edi + 0x5f8]
sub ecx, dword [edi + 0x5f4]
inc ebp
sar ecx, 2
cmp ebp, ecx
jb 0x409b10
mov ecx, ebx
call fcn.005c9f20
push str.Making_sure_extracted_files_exists___finished_n
call fcn.005bbca0
mov ecx, dword [esp + 0x418]
add esp, 4
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005e1b37
add esp, 0x40c
ret
push esi
lea edx, [esp + 0x18]
push str.Cant_extract_file__s_nPlease_delete_this_file_manually
push edx
call fcn.00401ac0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
mov eax, edi
call fcn.00408710
int3
Function at 0x40a0f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610430
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6e8ddc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [esi + 0x20dec], 0
je 0x40a147
push 0
push 0x349
push str..Updater.cpp
push str.status___STATUS_Checking
call fcn.005bbf90
add esp, 0x10
mov ecx, esi
call fcn.00408770
call fcn.00408960
test al, al
je 0x40a172
mov ecx, esi
call fcn.004089d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, esi
mov byte [esi + 0x98], 1
call fcn.00408c60
mov dword [esi + 0x20dec], eax
lea eax, [esi + 0x20df5]
push 0x6ba72f
push eax
call fcn.00401ac0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 8
mov ebx, 5
jmp 0x40a1b0
cmp dword [esi + 0x20dec], ebx
jne 0x40a2b0
mov ecx, dword [esi + 0x21760]
mov eax, dword [0x795550]
or eax, dword [0x795554]
mov dword [0x795540], ecx
mov edx, dword [esi + 0x21764]
mov dword [0x795544], edx
je 0x40a209
call fcn.00402bd0
test al, al
je 0x40a209
push 0
push 0
push 0x795540
push 0x402890
push 0
push 0
call fcn.005e2477
add esp, 0x18
mov dword [0x795708], eax
call fcn.00408cc0
call fcn.00408e10
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x5e4]
push ecx
push eax
push str.current_build_version_d__updater_data_version_d_n
call fcn.005bbca0
mov eax, dword [esi + 0x5e4]
add esp, 0xc
cmp eax, dword [esi + 0x1c]
jne 0x40a23d
mov eax, esi
call fcn.0040a020
mov ebx, esi
call fcn.004090b0
mov ecx, esi
call fcn.004097b0
call fcn.00409f80
push str.Validating_game_data_n
call fcn.005bbca0
add esp, 4
lea edx, [esi + 0x20df5]
push str.Validating_game_data
push edx
call fcn.00401ac0
add esp, 8
lea eax, [esi + 0x21600]
push eax
lea ecx, [esi + 0x215f8]
push ecx
push 0
lea ecx, [esi + 0x4e0]
call fcn.005cd7d0
test al, al
jne 0x40a29c
push str.Game_data_is_damaged__please_restart_launcher_to_repair_damaged_files
mov eax, esi
call fcn.00408710
push str.Validating_game_data___finished_n
call fcn.005bbca0
add esp, 4
mov eax, esi
call fcn.0040a020
push 0x32
call edi
jmp 0x40a1b0

Function at 0x40b7c0
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 0x21638], 0
je 0x40b7e2
push 0
push 0x5c7
push str..Updater.cpp
push str.mainThread___NULL
call fcn.005bbf90
add esp, 0x10
cmp dword [esi + 0x21658], 0
je 0x40b804
push 0
push 0x5c8
push str..Updater.cpp
push str.loginThread___NULL
call fcn.005bbf90
add esp, 0x10
push ebx
push edi
push 0
push 0
push esi
push 0x40a380
push 0
push 0
call fcn.005e2477
push 0
push 0
push esi
push 0x40ac50
push 0
push 0
mov dword [esi + 0x21638], eax
call fcn.005e2477
add esp, 0x30
mov dword [esi + 0x21c88], eax
lea edi, [esi + 0x21648]
mov ebx, 3
push 0
push 0
push esi
push 0x40ac60
push 0
push 0
call fcn.005e2477
mov dword [edi], eax
add esp, 0x18
add edi, 4
sub ebx, 1
jne 0x40b846
pop edi
pop ebx
ret
Function at 0x40b8f0
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push str.CUpdater::Stop___n
mov esi, eax
call fcn.005bbca0
add esp, 4
cmp byte [esi + 0x20df4], 0
jne 0x40b913
mov eax, dword [esi + 0x21640]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x7784d4
call edi
lea eax, [esi + 0x20dd4]
push eax
mov dword [esp + 0x14], eax
call edi
mov eax, dword [esi + 0x21638]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
cmp eax, ebx
je 0x40b958
push ebx
push eax
call edi
mov ecx, dword [esi + 0x21638]
push ecx
call ebp
mov dword [esi + 0x21638], ebx
mov eax, dword [esi + 0x21c88]
cmp eax, ebx
je 0x40b975
push ebx
push eax
call edi
mov edx, dword [esi + 0x21c88]
push edx
call ebp
mov dword [esi + 0x21c88], ebx
mov eax, dword [esi + 0x21658]
cmp eax, ebx
je 0x40b992
push ebx
push eax
call edi
mov eax, dword [esi + 0x21658]
push eax
call ebp
mov dword [esi + 0x21658], ebx
add esi, 0x21648
mov ebx, 3
lea ecx, [ecx]
mov eax, dword [esi]
test eax, eax
je 0x40b9b6
push 0
push eax
call edi
mov ecx, dword [esi]
push ecx
call ebp
mov dword [esi], 0
add esi, 4
sub ebx, 1
jne 0x40b9a0
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edx
call esi
push 0x7784d4
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x40dce0
Capabilities:
Set registry value

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMANUT_TESTV1WarZ
push bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40dd39
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40dd10
mov ecx, dword [esp]
sub eax, edx
inc eax
push eax
push esi
push 1
push 0
push str.username
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret

Function at 0x40dd40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SoftwareMANUT_TESTV1WarZ
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40dd90
mov edx, dword [esp + 0xc]
lea ecx, [esp + 4]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x10]
push str.username
push eax
mov dword [esp + 0x1c], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add esp, 8
ret 4
Function at 0x40dec0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x6e8ddc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0x4c
mov dword [ebp - 0x10], edi
call fcn.005e82fe
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
jne 0x40df08
cmp edi, ebx
je 0x40def5
mov dword [edi], 0x6d
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e1b37
mov esp, ebp
pop ebp
ret
push 0x4c
push ebx
push esi
call fcn.005e5290
push 0x614c
push 1
mov dword [esi + 0x34], ebx
mov dword [esi + 0x14], ebx
call fcn.005eb2d6
mov edi, eax
add esp, 0x14
cmp edi, ebx
jne 0x40df55
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x40df39
mov dword [eax], 0x6d
push esi
call fcn.005e816b
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e1b37
mov esp, ebp
pop ebp
ret
push 0x614c
push ebx
push edi
call fcn.005e5290
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x48], edi
mov dword [edi + 4], ebx
mov dword [edi + 0x38], ebx
mov dword [edi], 8
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x48]
mov dword [esi + 0x44], ecx
mov ecx, dword [eax + 0x3c]
add esp, 0xc
cmp ecx, ebx
je 0x40df97
push 6
lea edx, [ebp - 0xc]
push edx
push esi
call ecx
add esp, 0xc
jmp 0x40dfab
mov eax, dword [eax + 0x38]
push eax
push 6
lea ecx, [ebp - 0xc]
push 1
push ecx
call fcn.005e7a97
add esp, 0x10
cmp eax, 6
je 0x40dfdf
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x40dfbd
mov dword [eax], 0x66
push edi
call fcn.005e816b
push esi
call fcn.005e816b
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e1b37
mov esp, ebp
pop ebp
ret
push 3
lea edx, [ebp - 0xc]
push edx
push str.GIFVER
mov byte [ebp - 6], bl
call fcn.005e5948
add esp, 0xc
test eax, eax
je 0x40e008
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x40dfbd
mov dword [eax], 0x67
jmp 0x40dfbd
mov ebx, esi
call fcn.0040e070
test eax, eax
jne 0x40e042
push edi
call fcn.005e816b
push esi
call fcn.005e816b
mov eax, dword [ebp - 0x10]
add esp, 8
test eax, eax
je 0x40dfcc
pop edi
pop esi
mov dword [eax], 0x68
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e1b37
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [esi + 0x40], 0
cmp byte [ebp - 9], 0x39
sete al
xor ecx, ebp
mov dword [edi + 0x6148], eax
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.005e1b37
mov esp, ebp
pop ebp
ret
Function at 0x40e070
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebx + 0x48]
test byte [eax], 8
jne 0x40e089
mov dword [ebx + 0x40], 0x6f
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
push ebx
mov esi, ebx
call fcn.0040e840
add esp, 4
test eax, eax
je 0x40e21c
lea ecx, [ebx + 4]
push ecx
call fcn.0040e840
add esp, 4
test eax, eax
je 0x40e21c
mov eax, dword [ebx + 0x48]
mov ecx, dword [eax + 0x3c]
push edi
xor edi, edi
cmp ecx, edi
je 0x40e0cc
push 3
lea edx, [ebp - 4]
push edx
push ebx
call ecx
add esp, 0xc
jmp 0x40e0e0
mov eax, dword [eax + 0x38]
push eax
push 3
lea ecx, [ebp - 4]
push 1
push ecx
call fcn.005e7a97
add esp, 0x10
cmp eax, 3
je 0x40e110
mov esi, dword [ebx + 0x14]
mov dword [ebx + 0x40], 0x66
cmp esi, edi
je 0x40e105
mov edx, dword [esi + 0xc]
push edx
call fcn.005e816b
push esi
call fcn.005e816b
add esp, 8
mov dword [ebx + 0x14], edi
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov dl, byte [ebp - 4]
movzx eax, dl
mov ecx, eax
shr ecx, 4
and ecx, 7
inc ecx
mov dword [ebx + 8], ecx
movzx ecx, byte [ebp - 3]
mov esi, eax
shr esi, 3
and eax, 7
mov dword [ebx + 0xc], ecx
mov cl, byte [ebp - 2]
and esi, 1
inc eax
mov byte [ebx + 0x10], cl
test dl, dl
jns 0x40e20e
push edi
mov ecx, eax
mov edi, 1
shl edi, cl
call fcn.0040f080
add esp, 4
mov dword [ebx + 0x14], eax
test eax, eax
jne 0x40e169
pop edi
mov dword [ebx + 0x40], 0x6d
pop esi
mov esp, ebp
pop ebp
ret
mov dword [eax + 8], esi
mov edx, dword [ebx + 0x14]
xor edi, edi
cmp dword [edx], edi
jle 0x40e211
xor esi, esi
jmp 0x40e180
mov eax, dword [ebx + 0x48]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x40e198
push 3
lea eax, [ebp - 4]
push eax
push ebx
call ecx
add esp, 0xc
jmp 0x40e1ac
mov ecx, dword [eax + 0x38]
push ecx
push 3
lea edx, [ebp - 4]
push 1
push edx
call fcn.005e7a97
add esp, 0x10
cmp eax, 3
jne 0x40e1f0
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0xc]
movzx edx, byte [ebp - 4]
mov byte [esi + ecx], dl
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0xc]
movzx edx, byte [ebp - 3]
mov byte [ecx + esi + 1], dl
mov eax, dword [ebx + 0x14]
movzx edx, byte [ebp - 2]
mov ecx, dword [eax + 0xc]
mov byte [ecx + esi + 2], dl
mov eax, dword [ebx + 0x14]
inc edi
add esi, 3
cmp edi, dword [eax]
jl 0x40e180
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 0x14]
call fcn.0040f120
pop edi
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x40], 0x66
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x14], edi
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40e230
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0x48]
test byte [eax], 8
jne 0x40e249
mov dword [esi + 0x40], 0x6f
xor eax, eax
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x40e25e
push 1
lea eax, [ebp - 1]
push eax
push esi
call ecx
add esp, 0xc
jmp 0x40e272
mov ecx, dword [eax + 0x38]
push ecx
push 1
lea edx, [ebp - 1]
push 1
push edx
call fcn.005e7a97
add esp, 0x10
cmp eax, 1
je 0x40e284
mov dword [esi + 0x40], 0x66
xor eax, eax
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 1]
cmp al, 0x21
je 0x40e2c4
cmp al, 0x2c
je 0x40e2b5
cmp al, 0x3b
je 0x40e2a6
mov dword [edi], 0
mov dword [esi + 0x40], 0x6b
xor eax, eax
mov esp, ebp
pop ebp
ret
mov dword [edi], 4
mov eax, 1
mov esp, ebp
pop ebp
ret
mov dword [edi], 2
mov eax, 1
mov esp, ebp
pop ebp
ret
mov dword [edi], 3
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40e5d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 0x48]
test byte [eax], 8
jne 0x40e5ed
mov dword [esi + 0x40], 0x6f
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x40e602
push 1
lea eax, [ebp - 1]
push eax
push esi
call ecx
add esp, 0xc
jmp 0x40e616
mov ecx, dword [eax + 0x38]
push ecx
push 1
lea edx, [ebp - 1]
push 1
push edx
call fcn.005e7a97
add esp, 0x10
cmp eax, 1
je 0x40e629
mov dword [esi + 0x40], 0x66
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
call fcn.0040e640
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40e640
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [esi + 0x48]
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x40e65d
push 1
lea ecx, [ebp - 1]
push ecx
push esi
call eax
add esp, 0xc
jmp 0x40e671
mov edx, dword [edi + 0x38]
push edx
push 1
lea eax, [ebp - 1]
push 1
push eax
call fcn.005e7a97
add esp, 0x10
cmp eax, 1
jne 0x40e6b9
mov cl, byte [ebp - 1]
test cl, cl
jbe 0x40e6c7
lea eax, [edi + 0x44]
mov byte [eax], cl
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx + 0x3c]
mov dword [ebx], eax
inc eax
test edx, edx
je 0x40e69d
movzx ecx, byte [ebp - 1]
push ecx
push eax
push esi
call edx
add esp, 0xc
jmp 0x40e6b1
mov edx, dword [ecx + 0x38]
movzx ecx, byte [ebp - 1]
push edx
push ecx
push 1
push eax
call fcn.005e7a97
add esp, 0x10
movzx edx, byte [ebp - 1]
cmp eax, edx
je 0x40e6cd
mov dword [esi + 0x40], 0x66
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov dword [ebx], 0
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x40e840
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x40e85c
push 2
lea eax, [ebp - 4]
push eax
push esi
call ecx
add esp, 0xc
jmp 0x40e870
mov ecx, dword [eax + 0x38]
push ecx
push 2
lea edx, [ebp - 4]
push 1
push edx
call fcn.005e7a97
add esp, 0x10
cmp eax, 2
je 0x40e882
mov dword [esi + 0x40], 0x66
xor eax, eax
mov esp, ebp
pop ebp
ret
mov ax, word [ebp - 4]
movzx ecx, ah
movzx edx, al
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edx
mov dword [eax], ecx
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40e8a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [edi + 0x48]
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x40e8bd
push 1
lea ecx, [ebp - 1]
push ecx
push edi
call eax
add esp, 0xc
jmp 0x40e8d1
mov edx, dword [esi + 0x38]
push edx
push 1
lea eax, [ebp - 1]
push 1
push eax
call fcn.005e7a97
add esp, 0x10
cmp eax, 1
jne 0x40e919
mov cl, byte [ebp - 1]
test cl, cl
jbe 0x40e927
lea eax, [esi + 0x44]
mov byte [eax], cl
mov ecx, dword [edi + 0x48]
mov edx, dword [ecx + 0x3c]
mov dword [ebx], eax
inc eax
test edx, edx
je 0x40e8fd
movzx ecx, byte [ebp - 1]
push ecx
push eax
push edi
call edx
add esp, 0xc
jmp 0x40e911
mov edx, dword [ecx + 0x38]
movzx ecx, byte [ebp - 1]
push edx
push ecx
push 1
push eax
call fcn.005e7a97
add esp, 0x10
movzx edx, byte [ebp - 1]
cmp eax, edx
je 0x40e938
mov dword [edi + 0x40], 0x66
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebx], 0
mov byte [esi + 0x44], 0
mov dword [esi + 0x34], 0
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40e950
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, eax
mov esi, dword [edi + 0x48]
mov eax, dword [esi + 0x3c]
xor ebx, ebx
cmp eax, ebx
je 0x40e973
push 1
lea ecx, [ebp - 1]
push ecx
push edi
call eax
add esp, 0xc
jmp 0x40e987
mov edx, dword [esi + 0x38]
push edx
push 1
lea eax, [ebp - 1]
push 1
push eax
call fcn.005e7a97
add esp, 0x10
cmp eax, 1
jb 0x40e99c
movzx ecx, byte [ebp - 1]
cmp ecx, 8
jle 0x40e9a5
mov dword [edi + 0x40], 0x66
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
shl eax, cl
mov dword [esi + 8], ecx
inc ecx
mov edx, 1
mov dword [esi + 0xc], eax
inc eax
mov dword [esi + 0x10], eax
inc eax
shl edx, cl
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov eax, 0x1002
mov byte [esi + 0x44], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
lea edi, [esi + 0x2144]
mov dword [esi + 0x1c], edx
mov ecx, 0x1000
rep stosd dword es:[edi], eax
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ed40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov cl, byte [esi]
push edi
test cl, cl
jne 0x40ede3
mov ecx, dword [ebx + 0x48]
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x40ed63
push 1
push esi
push ebx
call eax
add esp, 0xc
jmp 0x40ed74
mov eax, dword [ecx + 0x38]
push eax
push 1
push 1
push esi
call fcn.005e7a97
add esp, 0x10
cmp eax, 1
je 0x40ed85
mov dword [ebx + 0x40], 0x66
xor eax, eax
pop edi
pop ebp
ret
mov al, byte [esi]
test al, al
jne 0x40ed97
mov dword [ebx + 0x40], 0x70
xor eax, eax
pop edi
pop ebp
ret
mov ecx, dword [ebx + 0x48]
mov edx, dword [ecx + 0x3c]
lea edi, [esi + 1]
test edx, edx
je 0x40edb1
movzx ecx, al
push ecx
push edi
push ebx
call edx
add esp, 0xc
jmp 0x40edc4
mov edx, dword [ecx + 0x38]
push edx
movzx eax, al
push eax
push 1
push edi
call fcn.005e7a97
add esp, 0x10
mov cl, byte [esi]
movzx edx, cl
cmp eax, edx
jne 0x40ed79
mov al, byte [edi]
mov edx, dword [ebp + 8]
dec cl
mov byte [edx], al
mov byte [edi], 2
mov byte [esi], cl
mov eax, 1
pop edi
pop ebp
ret
mov al, byte [esi + 1]
mov edi, dword [ebp + 8]
movzx edx, al
mov dl, byte [edx + esi]
inc al
dec cl
mov byte [edi], dl
mov byte [esi + 1], al
mov byte [esi], cl
mov eax, 1
pop edi
pop ebp
ret
Function at 0x410740
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [esp + 4]
add edx, 0xc
mov dword [esp + 4], edx
jmp sym._PLAY_TEST.exe_ZSTD_CCtxParams_getParameter
Function at 0x454120
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7fc
mov eax, dword [0x6e8ddc]
xor eax, esp
mov dword [esp + 0x7f4], eax
push ebx
push ebp
push esi
push edi
xor esi, esi
push 0x40
lea eax, [esp + 0x80]
push esi
push eax
mov edi, ecx
mov dword [esp + 0x84], esi
call fcn.005e5290
add esp, 0xc
push 0x44
lea ecx, [esp + 0x38]
push esi
push ecx
mov dword [esp + 0x3c], esi
call fcn.005e5290
mov ebx, dword [edi]
add edi, 4
add esp, 0xc
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
cmp ebx, 0x10
jbe 0x454186
mov eax, 0xffffffd4
jmp 0x45430e
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x81c]
lea ecx, [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x81c]
lea edx, [esp + 0x50c]
push edx
call fcn.00453710
add esp, 0x10
mov dword [esp + 0x2c], eax
cmp eax, 0xffffff88
ja 0x45430e
mov edi, dword [esp + 0x1c]
cmp edi, ebx
ja 0x45417c
mov dword [esp + 0x14], edi
cmp dword [esp + edi*4 + 0x78], esi
jne 0x4541e0
dec edi
cmp dword [esp + edi*4 + 0x78], esi
je 0x4541d5
mov dword [esp + 0x14], edi
xor ebp, ebp
lea eax, [ebp + 1]
lea ebx, [edi + 1]
mov dword [esp + 0x20], ebp
cmp ebx, eax
jbe 0x454203
mov ecx, ebp
add ebp, dword [esp + eax*4 + 0x78]
mov dword [esp + eax*4 + 0x34], ecx
inc eax
cmp eax, ebx
jb 0x4541f0
mov dword [esp + 0x20], ebp
mov esi, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x34], ebp
test esi, esi
jbe 0x45423b
movzx edx, byte [esp + eax + 0x500]
mov ecx, dword [esp + edx*4 + 0x34]
mov byte [esp + ecx*2 + 0x600], al
inc eax
lea edi, [ecx + 1]
mov dword [esp + edx*4 + 0x34], edi
mov byte [esp + ecx*2 + 0x601], dl
cmp eax, esi
jb 0x454211
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x1c]
xor esi, esi
lea eax, [esi + 1]
dec edx
mov dword [esp + 0x34], esi
cmp ebx, eax
jbe 0x454272
mov ebp, dword [esp + eax*4 + 0x78]
lea ecx, [eax + edx]
shl ebp, cl
mov edi, esi
mov dword [esp + eax*4 + 0xc0], edi
inc eax
add esi, ebp
cmp eax, ebx
jb 0x454251
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
sub ecx, edi
mov edi, dword [esp + 0x24]
inc ecx
sub edi, ecx
inc edi
cmp ecx, edi
jae 0x4542d7
mov edx, ecx
neg edx
mov eax, ecx
shl eax, 4
shl edx, 4
add eax, ecx
sub edx, ecx
lea eax, [esp + eax*4 + 0xc4]
add edx, edx
mov dword [esp + 0x18], eax
add edx, edx
cmp ebx, 1
jbe 0x4542c4
lea esi, [ebx - 1]
jmp 0x4542b0
mov ebp, dword [edx + eax]
shr ebp, cl
add eax, 4
sub esi, 1
mov dword [eax - 4], ebp
jne 0x4542b0
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
inc ecx
add eax, 0x44
sub edx, 0x44
mov dword [esp + 0x18], eax
cmp ecx, edi
jb 0x4542a3
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
inc ecx
push ecx
push edx
lea eax, [esp + 0xc8]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x38]
push ebp
lea edx, [esp + 0x614]
push edx
push eax
push ecx
call fcn.0045aaf0
mov eax, dword [esp + 0x4c]
add esp, 0x20
mov ecx, dword [esp + 0x804]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005e1b37
add esp, 0x7fc
ret