joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46cc90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x46ccb2
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
lea ebx, [edx - 4]
add ebx, ecx
mov dword [ebp - 8], ebx
nop dword [eax + eax]
lea eax, [edi + ecx]
cmp eax, ebx
jae 0x46ccd9
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x46ccd6
inc eax
cmp eax, ebx
jb 0x46ccc7
mov ecx, dword [ebp - 4]
mov edx, eax
sub edx, edi
mov edi, eax
sub edx, ecx
sub edi, ecx
cmp eax, ebx
jae 0x46cdb7
cmp edx, 2
jbe 0x46cd6f
xor esi, esi
movzx ebx, byte [eax + 4]
lea ecx, [ebx + 1]
test cl, 0xfe
jne 0x46cda6
movzx ecx, byte [eax + 3]
add edi, 5
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 1]
shl ebx, 8
or ebx, ecx
sub ebx, edi
test esi, esi
je 0x46cd46
and esi, 6
mov edx, ebx
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x46cd44
mov edx, 0x100
shl edx, cl
dec edx
xor ebx, edx
sub ebx, edi
xor esi, esi
mov ecx, ebx
mov byte [eax + 1], bl
shr ecx, 8
mov byte [eax + 2], cl
mov ecx, ebx
shr ebx, 0x18
shr ecx, 0x10
and bl, 1
neg bl
mov byte [eax + 3], cl
mov ecx, dword [ebp - 4]
mov byte [eax + 4], bl
mov ebx, dword [ebp - 8]
jmp 0x46ccc0
mov ecx, edx
shr esi, cl
test esi, esi
je 0x46ccf2
cmp esi, 4
ja 0x46cd98
cmp esi, 3
je 0x46cd98
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x46ccf2
mov ecx, dword [ebp - 4]
or esi, 8
shr esi, 1
inc edi
jmp 0x46ccc0
mov ebx, dword [ebp - 8]
or esi, 8
mov ecx, dword [ebp - 4]
shr esi, 1
inc edi
jmp 0x46ccc0
mov eax, dword [ebp + 0xc]
mov ecx, edx
shr esi, cl
xor ecx, ecx
cmp edx, 2
pop ebx
cmovbe ecx, esi
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x478141
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x478186
call fcn.00476161
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x478186
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4781a2
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004746a4
mov ebx, eax
test edi, edi
je 0x4781a0
test esi, esi
je 0x4781a0
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x478864
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x478922
cmp dword [esi + 0x20], 0
je 0x478922
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x478922
cmp dword [ebp + 8], 0
je 0x478922
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.00476161
push 0x6adb18
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4788f3
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x478922
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.00488799
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x478913
test edi, edi
je 0x478913
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x47891e
mov ecx, esi
call fcn.00478642
mov eax, ebx
jmp 0x478924
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x47cece
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x694527
call fcn.0049be25
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x47cef4
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x47cf54
call fcn.00474f38
push eax
lea ecx, [ebp - 0x10]
call fcn.00451c1b
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x6ac434]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00517722
push eax
call fcn.0044e9eb
add esp, 0x14
test esi, esi
je 0x47cf47
push esi
call fcn.0051829d
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0044ec01
mov eax, ebx
call fcn.0049bdee
ret 8
Function at 0x47d752
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x47d77d
cmp dword [ebx + 0x80], 0
jne 0x47d77d
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.00476161
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.0047d9bd
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x482acd
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x482b20
push esi
push dword [ebp + 8]
call fcn.00482cb6
mov edi, eax
test edi, edi
je 0x482b1b
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x482b1b
mov eax, dword [ebp - 8]
jmp 0x482b32
mov eax, dword [ebp + 0x10]
jmp 0x482b32
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x4840c2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov eax, ecx
push edi
mov edi, esi
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x48410c
call fcn.00476161
push 0xf0
push dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x484109
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x48415c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test esi, esi
je 0x484139
mov ecx, dword [eax]
push dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x6ac434]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
test edi, edi
je 0x484139
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x48415a
mov eax, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [eax + 0xa0]
mov ecx, esi
call dword [0x6ac434]
mov ecx, edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4a1d96
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4b5730
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x696691
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x79b544]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
je 0x4b579f
mov dword [ecx], 0x6b4fbc
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x78], 0
mov dword [ecx + 0x48], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [ecx]
push 8
mov eax, dword [eax + 4]
mov dword [ecx + eax], vtable.Poco::NullIOS.0
lea eax, [ecx + 4]
mov dword [ebp + 8], eax
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00474bfc
mov esi, eax
add esp, 4
test esi, esi
je 0x4b57dd
push 1
mov dword [ebp - 4], 1
call fcn.0049ea62
add esp, 4
mov dword [esi + 4], eax
jmp 0x4b57df
xor esi, esi
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x18]
lea edi, [eax + 0x14]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x10]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [ebp + 8]
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov eax, dword [ecx + 0xc]
mov dword [ecx + 0x38], 0xffffffff
mov byte [ecx + 0x3c], 0
mov dword [eax], 0
mov eax, dword [ecx + 0x1c]
mov dword [eax], 0
mov eax, dword [ecx + 0x2c]
mov dword [eax], 0
mov eax, dword [ecx + 0x10]
mov dword [eax], 0
mov eax, dword [ecx + 0x20]
mov dword [eax], 0
mov eax, dword [ecx + 0x30]
mov dword [eax], 0
mov eax, dword [ebp - 0x14]
mov dword [ecx], vtable.Poco::NullStreamBuf.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 4
Function at 0x4bca10
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x696f59
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x79b544]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.004511d6
lea eax, [esi + 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0x18]
call fcn.004511d6
lea eax, [esi + 0x30]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0x30]
call fcn.004511d6
mov ax, word [esi + 0x48]
lea ecx, [edi + 0x4c]
mov word [edi + 0x48], ax
lea eax, [esi + 0x4c]
push eax
mov byte [ebp - 4], 2
call fcn.004511d6
lea eax, [esi + 0x64]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x64]
call fcn.004511d6
lea eax, [esi + 0x7c]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x7c]
call fcn.004511d6
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4c1120
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69739e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x79b544]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call fcn.004511d6
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
call fcn.004511d6
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 1
mov dword [esi + 0x30], eax
call fcn.004cc940
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0xf
mov byte [esi + 0x48], 0
mov ecx, esi
mov byte [ebp - 4], 3
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
call fcn.004c1440
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4cc630
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6981d6
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x79b544]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], 0
push 0xfffe
mov dword [ebp - 4], 0
mov dword [ebp - 0x6c], 0x7fff
mov dword [ebp - 0x68], 0x7fff
mov byte [ebp - 0x60], 1
call fcn.00474c39
mov edi, eax
add esp, 4
mov dword [ebp - 0x64], edi
push 0x7fff
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4cc732
push 0x7fff
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x4cc745
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
push esi
push edi
mov dword [ebp - 0x58], 1
call fcn.004d0820
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x4cc6f4
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
cmp byte [eax + ecx - 1], 0x5c
je 0x4cc70c
push 1
push 0x770aa0
mov ecx, esi
call fcn.00451956
push edi
call fcn.00474c34
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049b511
mov esp, ebp
pop ebp
ret
push str.Cannot_get_temporary_directory_path
lea ecx, [ebp - 0x28]
call fcn.004511b6
mov byte [ebp - 4], 3
jmp 0x4cc756
push str.Cannot_get_system_directory_long_path_name
lea ecx, [ebp - 0x28]
call fcn.004511b6
mov byte [ebp - 4], 2
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x54]
call fcn.004b77a0
push 0x787a20
lea eax, [ebp - 0x54]
push eax
call fcn.00506dca
int3
Function at 0x4ccb20
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6982ae
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x79b544]
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 edi, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
push esi
call fcn.004d03f0
add esp, 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
test ebx, ebx
je 0x4ccc70
xor ecx, ecx
mov dword [ebp - 0x6c], ebx
mov edx, 2
mov dword [ebp - 0x68], ebx
mul edx
mov byte [ebp - 0x60], 1
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00474c39
mov esi, eax
add esp, 4
mov dword [ebp - 0x64], esi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push esi
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
push edi
lea eax, [ebx - 1]
mov dword [ebp - 0x58], 1
push eax
push esi
call fcn.004d08f0
push esi
call fcn.00474c34
mov edx, dword [ebp - 0x14]
add esp, 0x10
cmp edx, 8
jb 0x4ccc52
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ccc48
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ccc89
push edx
push ecx
call fcn.0049ba50
add esp, 8
mov eax, edi
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.0049b511
mov esp, ebp
pop ebp
ret
push 0
push esi
lea ecx, [ebp - 0x54]
call fcn.004b6fd0
push 0x787d94
lea eax, [ebp - 0x54]
push eax
call fcn.00506dca
call fcn.005122ef
int3
Function at 0x4ccc90
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6982ed
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x79b544]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.004d03f0
add esp, 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edx, dword [ebp - 0x14]
test eax, eax
setne bl
cmp edx, 8
jb 0x4ccd38
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ccd2e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ccd54
push edx
push ecx
call fcn.0049ba50
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049b511
mov esp, ebp
pop ebp
ret
call fcn.005122ef
int3
Function at 0x4cf640
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x698555
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x79b544]
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 esi, ecx
mov eax, dword [esi + 8]
mov dword [ebp - 4], 0
test eax, eax
je 0x4cf69e
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x4cf69e
cmp dword [ebp - 0x58], 0x103
je 0x4cf7a5
lea eax, [ebp + 8]
or edi, 0xffffffff
cmp eax, esi
je 0x4cf6e8
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
test eax, eax
je 0x4cf6b5
lock inc dword [eax]
mov ebx, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esi + 4], edx
mov dword [esi], eax
test ebx, ebx
je 0x4cf6e8
mov eax, edi
lock xadd dword [ebx], eax
dec eax
jne 0x4cf6e8
test ecx, ecx
je 0x4cf6d6
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, ebx
call fcn.004b5f40
push 4
push ebx
call fcn.0049ba50
add esp, 8
lea eax, [ebp - 0x58]
push eax
push 0
push esi
push 0x4cf3d0
push dword [esi + 0x14]
push 0
call fcn.00518c1c
mov ecx, dword [ebp - 0x58]
mov edx, eax
add esp, 0x18
mov dword [esi + 8], edx
mov dword [esi + 0xc], ecx
test edx, edx
jne 0x4cf726
push str.cannot_create_thread
lea ecx, [ebp - 0x28]
call fcn.004511b6
mov byte [ebp - 4], 2
jmp 0x4cf7b6
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4cf74c
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x4cf74c
push str.cannot_set_thread_priority
lea ecx, [ebp - 0x28]
call fcn.004511b6
mov byte [ebp - 4], 3
jmp 0x4cf7b6
mov eax, dword [ebp + 8]
test eax, eax
je 0x4cf787
lock xadd dword [eax], edi
dec edi
jne 0x4cf787
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4cf767
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 0
test esi, esi
je 0x4cf787
mov ecx, esi
call fcn.004b5f40
push 4
push esi
call fcn.0049ba50
add esp, 8
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.0049b511
mov esp, ebp
pop ebp
ret 8
push str.thread_already_running
lea ecx, [ebp - 0x28]
call fcn.004511b6
mov byte [ebp - 4], 1
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x54]
call fcn.004b77a0
push 0x787a20
lea eax, [ebp - 0x54]
push eax
call fcn.00506dca
int3
Function at 0x4cfda0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x4cfdb0
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x4cfdf4
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x4cfdc4
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4cfdf0
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 0x13
ja case.0x4cfde5.4
movzx eax, byte [eax + 0x4cfe18]
jmp dword [eax*4 + 0x4cfe10]
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
push 0
push 0x5e
push str.C:Users_balaji_16098.conandatapoco1.12.4___build781cde8cc9a49e6c636e14055b38a01bdc2e4a83_srcFoundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.004bac70
lea eax, [esi + 4]
push eax
call fcn.004cfe40
in al, dx
std
dec esp
add byte [edi], al
dec byte [eax + eax]
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add ah, cl
int3
Function at 0x4cfe40
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69861d
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x79b544]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x10b
ja 0x4d0013
je case.0x4cfe9f.123
lea eax, [esi - 2]
cmp eax, 0xcc
ja case.0x4cfe9f.4
movzx eax, byte [eax + 0x4d00a8]
jmp dword [eax*4 + 0x4d006c]
push esi
push edi
lea ecx, [ebp - 0x3c]
call fcn.004b6920
push 0x788198
lea eax, [ebp - 0x3c]
push eax
call fcn.00506dca
push esi
push edi
lea ecx, [ebp - 0x3c]
call fcn.004b6710
push 0x788270
lea eax, [ebp - 0x3c]
push eax
call fcn.00506dca
push esi
push edi
lea ecx, [ebp - 0x3c]
call fcn.004b6880
push 0x788150
lea eax, [ebp - 0x3c]
push eax
call fcn.00506dca
push esi
push edi
lea ecx, [ebp - 0x3c]
call fcn.004b6290
push 0x7882b8
lea eax, [ebp - 0x3c]
push eax
call fcn.00506dca
push esi
push edi
lea ecx, [ebp - 0x3c]
call fcn.004b6450
push 0x7883d8
lea eax, [ebp - 0x3c]
push eax
call fcn.00506dca
push esi
push edi
lea ecx, [ebp - 0x3c]
call fcn.004b79f0
push 0x788348
lea eax, [ebp - 0x3c]
push eax
call fcn.00506dca
push esi
push edi
lea ecx, [ebp - 0x3c]
call fcn.004b7560
push 0x788390
lea eax, [ebp - 0x3c]
push eax
call fcn.00506dca
push str.sharing_violation
lea ecx, [ebp - 0x28]
call fcn.004511b6
mov dword [ebp - 4], 0
push esi
push edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x68]
call fcn.004b67b0
push 0x78810c
lea eax, [ebp - 0x68]
push eax
call fcn.00506dca
push str.lock_violation
lea ecx, [ebp - 0x28]
call fcn.004511b6
mov dword [ebp - 4], 1
jmp 0x4cff62
push str.EOF_reached
lea ecx, [ebp - 0x28]
call fcn.004511b6
push esi
push edi
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x68]
call fcn.004b7530
push 0x788390
jmp 0x4cff75
push str.disk_is_full
lea ecx, [ebp - 0x28]
call fcn.004511b6
push esi
push edi
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x68]
call fcn.004b79c0
push 0x788348
jmp 0x4cff75
push str.negative_seek
lea ecx, [ebp - 0x28]
call fcn.004511b6
mov dword [ebp - 4], 4
jmp 0x4cff62
push esi
push edi
lea ecx, [ebp - 0x68]
call fcn.004b7410
push 0x7880a0
jmp 0x4cff75
cmp esi, 0x781
je case.0x4cfe9f.3
cmp esi, 0x1779
je 0x4d0040
push esi
push edi
lea ecx, [ebp - 0x94]
call fcn.004b67e0
push 0x78810c
lea eax, [ebp - 0x94]
jmp 0x4cff78
push 0x1779
push edi
lea ecx, [ebp - 0x68]
call fcn.004b69c0
push 0x788228
jmp 0x4cff75
push esi
push edi
lea ecx, [ebp - 0x68]
call fcn.004b7370
push 0x7881e0
jmp 0x4cff75
Function at 0x4d03a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x4d03c7
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x4d03b4
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4d03dd
shr eax, 4
and al, 1
pop esi
ret
push 0
push 0x9f
push str.C:Users_balaji_16098.conandatapoco1.12.4___build781cde8cc9a49e6c636e14055b38a01bdc2e4a83_srcFoundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.004bac70
lea eax, [esi + 4]
push eax
call fcn.004cfe40
int3