joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5456f1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
test eax, eax
jne 0x545749
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x545749
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x545749
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret

Function at 0x545772
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x5457e0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.DisableMMX
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x5457d7
cmp dword [ebp - 0xc], 4
jne 0x5457d7
cmp dword [ebp - 0x10], edi
je 0x5457d7
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [0x7169b4], edi
xor eax, eax
jmp 0x545808
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegCloseKey]
cmp dword [0x7169b4], edi
jge 0x545803
mov dword [0x7169b4], edi
call fcn.0054574d
test eax, eax
je 0x545803
emms
mov dword [0x7169b4], 1
mov eax, dword [0x7169b4]
pop edi
leave
ret

Function at 0x5458e8
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
push ebx
push edi
push 0x25
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
xor bl, bl
and byte [ebp + 0x73], bl
push eax
mov dword [ebp - 0x24], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
jne 0x54591f
inc bl
mov byte [ebp + 0x73], 1
cmp dword [ebp - 0x14], 1
jne 0x545941
cmp dword [ebp - 0x20], 4
ja 0x54594b
jne 0x54593b
cmp dword [ebp - 0x1c], 0xa
jb 0x54593b
cmp word [ebp - 0x18], 0x55d
jae 0x54594b
mov byte [ebp + 0x73], 1
jmp 0x54594b
cmp dword [ebp - 0x14], 2
jne 0x545961
test bl, bl
je 0x54597c
mov eax, dword [ebp + 0x7c]
sub eax, 6
je 0x54596c
dec eax
je 0x545965
sub eax, 3
jne 0x545961
cmp byte [ebp + 0x73], 0
je 0x54598d
xor eax, eax
jmp 0x545995
call fcn.0054580b
jmp 0x545995
cmp byte [ebp + 0x73], 0
jne 0x545961
call fcn.00545843
and eax, 4
jmp 0x545995
cmp dword [ebp + 0x7c], 0xa
je 0x54598d
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.DLL_IsProcessorFeaturePresent]
jmp 0x545995
call fcn.00545843
and eax, 8
pop edi
pop ebx
add ebp, 0x74
leave
ret
Function at 0x562836
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x6c7df8
call fcn.00692bd4
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [esi], 0x6e42a8
mov edi, dword [esi + 0x40]
mov eax, dword [edi]
mov dword [ebp - 4], 4
mov dword [ebp - 0x10], eax
jmp 0x562875
push dword [eax + 0x10]
mov ecx, esi
call fcn.005621a9
lea ecx, [ebp - 0x10]
call fcn.00656a1e
mov eax, dword [ebp - 0x10]
cmp eax, edi
jne 0x562860
mov edi, dword [sym.imp.winmm.dll_timeGetTime]
push ebx
call edi
mov ebx, eax
push 0xffffffffffffffff
mov ecx, esi
call fcn.0056263c
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
call edi
sub eax, ebx
cmp eax, 0x1388
jae 0x5628a6
cmp dword [esi + 0x44], 0
jne 0x562884
mov ecx, esi
call fcn.00562283
push 0x7d0
push esi
call fcn.005840e7
mov edi, dword [esi + 0x40]
mov eax, dword [edi]
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
pop ebx
je 0x5628e4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5628d7
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x10]
call fcn.00656a1e
cmp dword [ebp - 0x10], edi
jne 0x5628c7
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 3
call fcn.00583a0e
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.00562fad
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.00583284
lea ecx, [esi + 8]
mov byte [ebp - 4], 0
call fcn.00583289
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x6e3ff8
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x562842
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x6c7df8
call fcn.00692bd4
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [esi], 0x6e42a8
mov edi, dword [esi + 0x40]
mov eax, dword [edi]
mov dword [ebp - 4], 4
mov dword [ebp - 0x10], eax
jmp 0x562875
push dword [eax + 0x10]
mov ecx, esi
call fcn.005621a9
lea ecx, [ebp - 0x10]
call fcn.00656a1e
mov eax, dword [ebp - 0x10]
cmp eax, edi
jne 0x562860
mov edi, dword [sym.imp.winmm.dll_timeGetTime]
push ebx
call edi
mov ebx, eax
push 0xffffffffffffffff
mov ecx, esi
call fcn.0056263c
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
call edi
sub eax, ebx
cmp eax, 0x1388
jae 0x5628a6
cmp dword [esi + 0x44], 0
jne 0x562884
mov ecx, esi
call fcn.00562283
push 0x7d0
push esi
call fcn.005840e7
mov edi, dword [esi + 0x40]
mov eax, dword [edi]
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
pop ebx
je 0x5628e4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5628d7
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x10]
call fcn.00656a1e
cmp dword [ebp - 0x10], edi
jne 0x5628c7
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 3
call fcn.00583a0e
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.00562fad
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.00583284
lea ecx, [esi + 8]
mov byte [ebp - 4], 0
call fcn.00583289
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x6e3ff8
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x562ff9
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x721bb0]
mov dword [ebp - 4], eax
push ebx
push edi
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x10], bl
lea edi, [ebp - 0xf]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
movsx eax, byte [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push str._c:_
push eax
mov dword [ebp - 0x14], ebx
call fcn.006935d4
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationA]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x14]
pop edi
pop ebx
call fcn.00692fc7
leave
ret
Function at 0x5679e0
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x6c807b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x30]
push esi
push edi
xor esi, esi
cmp eax, esi
mov edi, ecx
mov dword [esp + 8], edi
jne 0x567a1f
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
push ebx
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x10], ebx
jne 0x567a58
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
push ebp
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x18]
push eax
push ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ebp, eax
push ebp
call fcn.0069197a
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
push 0
lea ecx, [esp + 0x20]
push ecx
push ebp
push esi
push ebx
mov byte [esp + 0x4c], 1
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x567ace
test esi, esi
je 0x567aac
push esi
call fcn.00693d31
add esp, 4
test ebx, ebx
je 0x567ab7
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ebp
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov ebx, dword [esi]
add ebx, 8
mov edx, dword [ebx + esi - 4]
lea eax, [ebx + esi]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 4]
test eax, eax
mov dword [esp + 0x40], edx
je 0x567af9
push eax
call fcn.00693d31
add esp, 4
mov dword [edi + 4], 0
mov eax, 0x3531dec1
mul dword [esp + 0x40]
mov eax, dword [esp + 0x10]
mov edi, edx
shr edi, 7
mov ecx, edi
imul ecx, ecx, 0x268
push ecx
mov dword [eax], edi
call fcn.0069197a
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x38], 2
je 0x567b42
push fcn.00577f00
push edi
push 0x268
push eax
call fcn.00401000
mov eax, dword [esp + 0x20]
jmp 0x567b44
xor eax, eax
test eax, eax
mov edi, dword [esp + 0x10]
mov byte [esp + 0x38], 1
mov dword [edi + 4], eax
jne 0x567b83
push esi
call fcn.00693d31
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x567b6c
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ebp
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [esp + 0x2c]
sub ebp, ebx
push ebp
push eax
call fcn.00578370
mov ecx, dword [esp + 0x50]
mov edx, dword [edi + 4]
add esp, 0x10
push 2
push 0
push ecx
mov ecx, dword [0x732630]
push edx
call fcn.005782a0
push esi
call fcn.00693d31
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x567bc9
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esp + 0x30]
pop ebp
pop ebx
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x567be0
Capabilities:
Access peb ldr_data
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x6c807b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x30]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
mov esi, ecx
mov dword [esp + 0xc], esi
jne 0x567c10
mov eax, dword [str.._Script_Game_Chemical.txt]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x10], ebx
jne 0x567c48
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
push ebp
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x18]
push eax
push ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ebp, eax
push ebp
call fcn.0069197a
mov edi, eax
add esp, 4
mov dword [esp + 0x2c], edi
push 0
lea ecx, [esp + 0x20]
push ecx
push ebp
push edi
push ebx
mov byte [esp + 0x4c], 1
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x567cbe
test edi, edi
je 0x567c9c
push edi
call fcn.00693d31
add esp, 4
test ebx, ebx
je 0x567ca7
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ebp
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov ebx, dword [edi]
add ebx, 8
mov edx, dword [ebx + edi - 4]
lea eax, [ebx + edi]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xef4c]
test eax, eax
mov dword [esp + 0x40], edx
je 0x567cef
push eax
call fcn.00693d31
add esp, 4
mov dword [esi + 0xef4c], 0
mov eax, 0xcccccccd
mul dword [esp + 0x40]
mov eax, dword [esp + 0x10]
mov esi, edx
shr esi, 3
lea ecx, [esi + esi*4]
shl ecx, 1
push ecx
mov dword [eax + 0xef48], esi
call fcn.0069197a
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x38], 2
je 0x567d36
push fcn.00577be0
push esi
push 0xa
push eax
call fcn.00401000
mov eax, dword [esp + 0x20]
jmp 0x567d38
xor eax, eax
test eax, eax
mov esi, dword [esp + 0x10]
mov byte [esp + 0x38], 1
mov dword [esi + 0xef4c], eax
jne 0x567d7a
push edi
call fcn.00693d31
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x567d63
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ebp
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [esp + 0x2c]
sub ebp, ebx
push ebp
push eax
call fcn.00578370
mov ecx, dword [esp + 0x50]
mov edx, dword [esi + 0xef4c]
add esp, 0x10
push 2
push 0
push ecx
mov ecx, dword [0x732630]
push edx
call fcn.005782a0
push edi
call fcn.00693d31
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x567dc3
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esp + 0x30]
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x568920
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x6c8150
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x34]
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
mov ebp, ecx
mov dword [esp + 0x24], ebp
jne 0x568950
mov eax, dword [str.._Script_Game_SpeacialCompensation.txt]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x14], esi
jne 0x568988
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
push ebx
mov dword [esp + 0x2c], esi
lea eax, [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
push edi
call fcn.0069197a
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], ebx
push 0
lea ecx, [esp + 0x24]
push ecx
push edi
push ebx
push esi
mov byte [esp + 0x50], 1
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x568a02
test ebx, ebx
je 0x5689e0
push ebx
call fcn.00693d31
add esp, 4
test esi, esi
je 0x5689eb
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ebx
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
mov esi, dword [ebx]
add esi, 8
mov edx, dword [esi + ebx - 4]
lea eax, [esi + ebx]
mov ecx, ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], edx
call fcn.00567ef0
mov ebp, dword [esp + 0x10]
shr ebp, 1
lea eax, [ebp + ebp]
push eax
call fcn.0069197a
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x568a69
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00693d31
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x568a52
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ebx
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x10]
push edx
push ebx
sub edi, esi
push edi
push eax
call fcn.00578370
mov ecx, dword [esp + 0x20]
add esp, 0x10
push 2
push 0
push ecx
mov ecx, dword [0x732630]
push ebx
call fcn.005782a0
xor esi, esi
test ebp, ebp
mov byte [esp + 0x44], 0
jbe 0x568ad7
nop
xor eax, eax
mov ax, word [ebx + esi*2]
test ax, ax
mov dword [esp + 0x24], eax
jne 0x568ab5
inc byte [esp + 0x44]
jmp 0x568ad2
movzx eax, byte [esp + 0x44]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x24]
shl eax, 4
push edx
lea ecx, [eax + ecx + 0xea68]
call fcn.00568770
inc esi
cmp esi, ebp
jb 0x568aa0
mov edx, dword [esp + 0x14]
push edx
call fcn.00693d31
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x568af3
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esp + 0x34]
pop ebx
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x56ca80
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6c826b
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
mov esi, ecx
jne 0x56caac
mov eax, dword [0x7199f0]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x1c], ebx
jne 0x56cae4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
push ebp
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x14]
push eax
push ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ebp, eax
push ebp
mov dword [esp + 0x28], ebp
call fcn.0069197a
mov edi, eax
add esp, 4
mov dword [esp + 0x2c], edi
test edi, edi
mov byte [esp + 0x38], 1
je 0x56cb3c
push 0
lea ecx, [esp + 0x1c]
push ecx
push ebp
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x56cb5e
push edi
call fcn.00693d31
add esp, 4
test ebx, ebx
je 0x56cb47
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ebp
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov ebx, dword [edi]
add ebx, 8
mov edx, dword [ebx + edi - 4]
lea eax, [ebx + edi]
mov dword [esp + 0x28], eax
mov eax, dword [esi]
test eax, eax
mov dword [esp + 0x40], edx
je 0x56cb87
push eax
call fcn.00693d31
add esp, 4
mov dword [esi], 0
mov eax, 0xcb36600d
mul dword [esp + 0x40]
mov ebp, edx
shr ebp, 0xb
mov eax, ebp
imul eax, eax, 0xa14
push eax
mov dword [esi + 4], ebp
call fcn.0069197a
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x38], 2
je 0x56cbcd
push 0x56c890
push ebp
push 0xa14
push eax
call fcn.00401000
mov eax, dword [esp + 0x1c]
jmp 0x56cbcf
xor eax, eax
test eax, eax
mov byte [esp + 0x38], 1
mov dword [esi], eax
jne 0x56cc09
push edi
call fcn.00693d31
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x56cbf2
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ebp
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x40]
push ecx
push eax
mov eax, dword [esp + 0x2c]
sub eax, ebx
push eax
push edx
call fcn.00578370
mov eax, dword [esp + 0x50]
mov ecx, dword [esi]
add esp, 0x10
push 1
push 0
push eax
push ecx
mov ecx, dword [0x732630]
call fcn.005782a0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
imul eax, eax, 0xa14
lea edx, [esi + 8]
push edx
push eax
push ecx
call fcn.0057da41
add esp, 0xc
test eax, eax
push edi
je 0x56cc80
call fcn.00693d31
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00452320
pop ebp
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
call fcn.00693d31
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00452320
mov ecx, dword [esp + 0x30]
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x572d80
Capabilities:
Check for software breakpoints
Encode data using xor
Write file on windows

Disassembly:
mov eax, 0x1008
call fcn.00693490
push ebx
push esi
mov esi, dword [esp + 0x1014]
cmp dword [esi], 0xffffffff
je 0x572f05
mov eax, dword [esi + 0x1034]
test eax, eax
je 0x572dc7
mov ecx, dword [esp + 0x1018]
cmp byte [ecx], 0x21
je 0x572dc7
mov ecx, dword [esi + 0x1038]
cmp ecx, eax
ja 0x572f05
inc ecx
mov dword [esi + 0x1038], ecx
lea ebx, [esi + 4]
push ebx
mov dword [esp + 0xc], ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [esp + 0x1018]
lea edx, [esp + 0x101c]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00694882
add esp, 0xc
lea edx, [esi + 0x101c]
push edx
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
mov eax, fcn.006935d4
cmp byte [eax], 0xcc
je 0x572efe
mov ecx, dword [sym.imp.KERNEL32.DLL_WriteFile]
cmp byte [ecx], 0xcc
je 0x572efe
xor eax, eax
push ebp
mov ax, word [esi + 0x102a]
lea edx, [esp + 0x14]
push edi
push edx
xor ecx, ecx
push eax
mov cx, word [esi + 0x1028]
xor edx, edx
mov dx, word [esi + 0x1026]
xor eax, eax
mov ax, word [esi + 0x1024]
push ecx
push edx
push eax
push 0x71a1d8
lea ebp, [esi + 0x1c]
call fcn.00586540
add esp, 4
push eax
push ebp
call fcn.006935d4
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 0x1c
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x1030]
not ecx
dec ecx
test eax, eax
je 0x572eae
test ecx, ecx
jle 0x572ed8
mov edi, 0xffffffe4
mov eax, ebp
sub edi, esi
mov edx, 2
mov ebx, dword [esi + 0x1030]
add ebx, edx
mov dword [esi + 0x1030], ebx
add bl, 0x43
xor byte [eax], bl
inc eax
lea ebx, [edi + eax]
cmp ebx, ecx
jl 0x572e8d
mov ebx, dword [esp + 0x10]
jmp 0x572ed8
test ecx, ecx
jle 0x572ed8
mov edi, 0xffffffe4
mov eax, ebp
sub edi, esi
mov edx, dword [esi + 0x102c]
lea edx, [edx + edx*2 + 1]
mov dword [esi + 0x102c], edx
add dl, 0x65
xor byte [eax], dl
inc eax
lea edx, [eax + edi]
cmp edx, ecx
jl 0x572ebb
lea eax, [esp + 0x14]
push 0
push eax
push ecx
mov ecx, dword [esi]
push ebp
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop edi
pop ebp
pop esi
mov al, 1
pop ebx
add esp, 0x1008
ret
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
xor al, al
pop ebx
add esp, 0x1008
ret
Function at 0x573740
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x1c]
push 1
push ecx
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
xor edi, edi
call dword [sym.imp.advapi32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x57378b
push edi
push edi
lea edx, [esp + 0x24]
push 1
push edx
call dword [sym.imp.advapi32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x57378b
lea edi, [esp + 0x10]
push 0x71a514
call fcn.005865b0
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateMutexA]
add esp, 4
push eax
push 0
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x5737f3
push 0x71a508
call fcn.005865b0
add esp, 4
push eax
push esi
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x5737f3
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
call esi
push eax
push 0x71a4e4
call fcn.005865b0
add esp, 4
add ebp, 0x20
push eax
push ebp
call fcn.00572d80
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x573813
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 4
mov eax, dword [esp + 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
jne 0x573839
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret 4