joyce8/EMBER2024-capa huggingface dataset:
Function at 0x478ee0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov esi, ecx
mov eax, dword [0x591014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x478f02
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x478f37
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x478f50
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c66e3
mov ecx, esi
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00479010
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c66e3
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.004a2710
add esp, 4
test al, al
jne 0x478f62
xor ebx, ebx
jmp 0x478f39
call fcn.0050b630
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x266
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.0050b760
lea eax, [ebp - 0xb0]
push 0x10
push str.CreateDirectory
push eax
call fcn.004f75f0
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x478fa6
mov eax, dword [esi + 4]
mov esi, dword [esi]
jmp 0x478fa9
and eax, 0x7f
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.004a8d40
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x478fd0
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
jmp 0x478fd3
and eax, 0x7f
push eax
push ebx
push edi
call fcn.004f75f0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x478ff5
push dword [ebp - 0xc4]
call fcn.004c5c98
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.0050b7c0
jmp 0x478f5e
Function at 0x479010
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov esi, ecx
mov eax, dword [0x591014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x479032
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47905b
mov bl, 1
test al, 0x10
je 0x4790ad
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c66e3
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.004a2710
add esp, 4
test al, al
je 0x4790bb
call fcn.0050b630
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x251
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.0050b760
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.004f75f0
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x4790fd
mov eax, dword [esi + 4]
mov esi, dword [esi]
jmp 0x479100
push 2
call fcn.004a2710
add esp, 4
test al, al
jne 0x4790bf
xor ebx, ebx
jmp 0x479044
lea ecx, [ebp - 0xb8]
push 2
push 0x255
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.0044bd70
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.004f75f0
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x479127
mov eax, dword [esi + 4]
mov esi, dword [esi]
jmp 0x47912a
and eax, 0x7f
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.004a8d40
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x479151
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
jmp 0x479154
and eax, 0x7f
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.004a8d40
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x479186
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
jmp 0x479189
and eax, 0x7f
push eax
push ebx
push edi
call fcn.004f75f0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x479176
push dword [ebp - 0xc4]
call fcn.004c5c98
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.0050b7c0
jmp 0x4790bb
and eax, 0x7f
push eax
push ebx
push edi
call fcn.004f75f0
add esp, 0xc
push 0x11
push str.:_not_a_directory
push eax
call fcn.004f75f0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x4791bb
push dword [ebp - 0xc4]
call fcn.004c5c98
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.0044c1b0
jmp 0x4790bb
Function at 0x47a460
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x591014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
mov edx, esi
call fcn.00479250
mov eax, dword [esi]
test eax, eax
je 0x47a4b3
mov ebx, dword [eax + 0x28]
mov edi, dword [eax + 0x2c]
xor esi, esi
cmp ebx, edi
jne 0x47a4ba
lea ecx, [ebp - 0x14]
call fcn.00479cc0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c66e3
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 3
jmp 0x47a495
mov eax, dword [ebp + 8]
add eax, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebx + 0x50], 0
je 0x47a4d2
add ebx, 0x58
cmp ebx, edi
je 0x47a495
jmp 0x47a4c3
cmp byte [ebx + 0x1b], 0
jns 0x47a4dd
mov eax, dword [ebx + 0x10]
jmp 0x47a4e0
lea eax, [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x47a4c9
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
je 0x47a513
mov edx, ecx
mov ecx, dword [ebp - 0x1c]
push ebx
mov dword [ebp - 0x18], edx
push edx
call fcn.0047ade0
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x47a4c9
mov ecx, dword [ebp + 8]
push ebx
call fcn.00529110
jmp 0x47a4c9

Function at 0x47a520
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x591014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
mov edx, esi
call fcn.00479250
mov eax, dword [esi]
test eax, eax
je 0x47a573
mov ebx, dword [eax + 0x28]
mov edi, dword [eax + 0x2c]
xor esi, esi
cmp ebx, edi
jne 0x47a57a
lea ecx, [ebp - 0x14]
call fcn.00479cc0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c66e3
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 3
jmp 0x47a555
mov eax, dword [ebp + 8]
add eax, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebx + 0x50], 2
jne 0x47a5c8
cmp byte [ebx + 0x1b], 0
jns 0x47a594
mov eax, dword [ebx + 0x10]
jmp 0x47a597
lea eax, [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x47a5c8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
je 0x47a5d1
mov edx, ecx
mov ecx, dword [ebp - 0x1c]
push ebx
mov dword [ebp - 0x18], edx
push edx
call fcn.0047ade0
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
add ebx, 0x58
cmp ebx, edi
je 0x47a555
jmp 0x47a583
mov ecx, dword [ebp + 8]
push ebx
call fcn.00529110
jmp 0x47a5c8
Function at 0x484f20
Capabilities:
Reference processor manufacturer constants

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
xor eax, eax
xor ecx, ecx
cpuid
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x48500f
xor eax, eax
inc eax
xor ecx, ecx
cpuid
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], edx
mov edi, eax
cmp dword [ebp - 0x14], 7
mov ebx, 0
jb 0x484f62
mov eax, 7
xor ecx, ecx
cpuid
and ebx, 0x20
mov dword [esi], edi
mov eax, edi
and eax, 0xf
mov dword [esi + 8], eax
shr edi, 0xc
and edi, 3
mov dword [esi + 4], edi
mov ecx, dword [ebp - 0x18]
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [esi + 0xc], al
mov eax, ecx
shr eax, 0x19
and al, 1
mov byte [esi + 0xd], al
shr ecx, 0x1a
and cl, 1
mov byte [esi + 0xe], cl
mov ecx, dword [ebp - 0x10]
mov eax, ecx
and al, 1
mov byte [esi + 0xf], al
mov eax, ecx
shr eax, 9
and al, 1
mov byte [esi + 0x10], al
mov eax, ecx
shr eax, 0x13
and al, 1
mov byte [esi + 0x11], al
mov eax, ecx
shr eax, 0x14
and al, 1
mov byte [esi + 0x12], al
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [esi + 0x13], al
mov eax, ecx
shr eax, 0x1f
mov byte [esi + 0x19], al
mov eax, ecx
not eax
test eax, 0x1c000000
jne 0x48503a
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [esi + 0x14], al
mov edx, dword [ebp - 0x10]
mov ecx, edx
shr ecx, 0x19
and cl, 1
mov byte [esi + 0x17], cl
shr edx, 0xc
and dl, 1
mov byte [esi + 0x15], dl
test al, al
setne al
test ebx, ebx
setne cl
and cl, al
mov byte [esi + 0x16], cl
mov eax, 0x80000000
xor ecx, ecx
cpuid
cmp eax, 0x80000006
jle 0x48503e
mov eax, 0x80000007
xor ecx, ecx
cpuid
and dh, 1
mov byte [esi + 0x18], dh
test dh, dh
je 0x485043
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x484fe6
mov dh, byte [esi + 0x18]
jmp 0x48502e
cmp byte [esi + 0x19], 0
je 0x485032
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp ebx, 0x7263694d
jne 0x485032
cmp ecx, 0x666f736f
jne 0x485032
cmp edx, 0x76482074
jne 0x485032
mov byte [esi + 0x18], 1
jmp 0x485032

Function at 0x487db0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov esi, dword [0x591014]
xor esi, ebp
mov dword [ebp - 8], esi
mov esi, 0x7fffffff
cmp edx, esi
cmovb esi, edx
lea edx, [ebp - 0xc]
mov dword [edx], 0xffffffff
push 0
push edx
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x487e08
mov esi, dword [ebp - 0xc]
cmp esi, 0xffffffff
je 0x487e0d
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004c66e3
mov eax, esi
add esp, 8
pop esi
pop ebp
ret
xor esi, esi
dec esi
jmp 0x487df6
int3
Function at 0x487e10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x591014]
xor ecx, ebp
mov esi, 0x7fffffff
cmp eax, esi
cmovb esi, eax
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x14]
mov ecx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], 0xffffffff
push 0
push eax
push esi
push edx
mov edi, ebx
push ebx
call ecx
test eax, eax
je 0x487e88
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x487e75
cmp ebx, 0xffffffff
je 0x487e9a
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c66e3
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
je 0x487e9d
mov ebx, dword [ebp - 0x14]
jmp 0x487e61
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x6d
setne bl
neg ebx
jmp 0x487e61
int3
mov edx, dword [ebp + 0xc]
jmp 0x487e37

Function at 0x4882c0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0xac
mov esi, dword [ebp + 8]
mov eax, dword [0x591014]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor ebx, ebx
push ebx
push ebx
push ebx
push esi
call fcn.004881d0
add esp, 0x10
or edx, eax
jne 0x4882f7
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov bl, 1
test eax, eax
je 0x48830d
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004c66e3
mov eax, ebx
add esp, 0xac
pop esi
pop ebx
pop ebp
ret
push 2
call fcn.004a2710
add esp, 4
test al, al
jne 0x48831f
xor ebx, ebx
jmp 0x4882f7
call fcn.0050b630
lea esi, [ebp - 0xb4]
mov ecx, esi
push eax
push 2
push 0xfb
push str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
call fcn.0050b760
lea eax, [ebp - 0xac]
push 0xc
push 0x5870ce
push eax
call fcn.004f75f0
add esp, 0xc
mov ecx, esi
call fcn.0050b7c0
jmp 0x48831b
Function at 0x48b860
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x12c
mov esi, dword [ebp + 8]
mov al, byte [ebp + 0xc]
mov ecx, dword [0x591014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xor ecx, ecx
dec ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], ecx
test al, al
je 0x48b93b
lea ebx, [ebp - 0x120]
xor edi, edi
push 0x110
push edi
push ebx
call fcn.004c9370
add esp, 0xc
mov dword [ebx - 0xc], 0x11c
sub esp, 0x10
movaps xmm0, xmmword [0x5877e0]
movups xmmword [esp], xmm0
mov ebx, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
call ebx
mov ecx, 3
push ecx
push 1
push edx
push eax
call ebx
mov ecx, 3
push ecx
push 0x20
push edx
push eax
call ebx
lea ecx, [ebp - 0x120]
mov dword [ecx - 8], 6
mov dword [ecx - 4], edi
mov word [ecx + 0x108], 0
lea ecx, [ebp - 0x12c]
push edx
push eax
push 0x23
push ecx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov ebx, 0x80003
test eax, eax
je 0x48b942
lea edi, [ebp - 0x138]
mov dword [edi], 0xc
push 0
call fcn.0048b990
add esp, 4
mov dword [edi + 4], eax
mov dword [edi + 8], 1
jmp 0x48b942
xor edi, edi
mov ebx, 3
cmp byte [esi + 0xb], 0
jns 0x48b94a
mov esi, dword [esi]
sub esp, 0x20
mov dword [esp + 0x1c], edi
movaps xmm0, xmmword [0x5877f0]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov esi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c66e3
mov eax, esi
add esp, 0x12c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x48bbc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov eax, dword [0x591014]
xor eax, ebp
mov dword [esp + 0x80], eax
cmp byte [ecx + 0xb], 0
js 0x48bc0d
je 0x48bc8d
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movups xmmword [esp + 0x60], xmm0
movups xmmword [esp + 0x50], xmm0
movups xmmword [esp + 0x40], xmm0
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x2c], 0x44
jmp 0x48bc39
cmp dword [ecx + 4], 0
je 0x48bc8d
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movups xmmword [esp + 0x60], xmm0
movups xmmword [esp + 0x50], xmm0
movups xmmword [esp + 0x40], xmm0
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x2c], 0x44
mov ecx, dword [ecx]
lea eax, [esp + 0x70]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
je 0x48bc8d
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
sub esp, 4
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call esi
sub esp, 4
mov ecx, dword [esp + 0x80]
xor ecx, ebp
call fcn.004c66e3
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x48bd20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 8
mov esi, ecx
mov eax, dword [0x591014]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
push eax
push eax
push ecx
push 0x48bd90
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
je 0x48bd5c
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004c66e3
add esp, 8
pop esi
pop ebp
ret
lea esi, [ebp - 0xc]
push 0x1b
push str....._third_partycrashpadcrashpadutil_thread_thread_win.cc
push esi
call fcn.0051fd10
add esp, 0xc
mov ecx, esi
call fcn.0051fd30
push 0xc
push 0x585898
push eax
call fcn.004f75f0
add esp, 0xc
mov ecx, esi
call fcn.0051fd40
jmp 0x48bd4c
Function at 0x48e3c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xa0]
mov eax, dword [eax + 0xc]
mov ecx, dword fs:[0x18]
cmp eax, dword [ecx + 0x24]
sete al
pop ebp
ret
Function at 0x49d720
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 8]
movzx edx, byte [eax + 0xb]
test dl, dl
jns 0x49d737
mov edx, dword [eax + 4]
mov eax, dword [eax]
jmp 0x49d73a
and edx, 0x7f
mov ecx, edx
cmp edx, 4
jb 0x49d776
nop word cs:[eax + eax]
imul esi, dword [eax], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x49d750
cmp edx, 1
je 0x49d797
cmp edx, 2
je 0x49d78e
cmp edx, 3
jne 0x49d7a2
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 4

Function at 0x49dc10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
movdqu xmm4, xmmword [ecx]
movdqu xmm3, xmmword [ecx + 0x10]
movdqu xmm2, xmmword [ecx + 0x20]
movdqu xmm1, xmmword [ecx + 0x30]
movd xmm0, dword [ebp + 0x10]
pxor xmm0, xmm4
add eax, 0xffffffc0
add ecx, 0x40
cmp eax, 0x40
jb 0x49dcde
movdqa xmm4, xmmword [0x5792d0]
movdqa xmm5, xmmword [0x5792e0]
nop word cs:[eax + eax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm6
movdqa xmm6, xmm3
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm3, xmm5, 0x11
pxor xmm3, xmm6
movdqa xmm6, xmm2
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm2, xmm5, 0x11
pxor xmm2, xmm6
movdqa xmm6, xmm1
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm1, xmm5, 0x11
pxor xmm1, xmm6
movdqu xmm6, xmmword [ecx]
pxor xmm0, xmm6
movdqu xmm6, xmmword [ecx + 0x10]
pxor xmm3, xmm6
movdqu xmm6, xmmword [ecx + 0x20]
pxor xmm2, xmm6
movdqu xmm6, xmmword [ecx + 0x30]
pxor xmm1, xmm6
add eax, 0xffffffc0
add ecx, 0x40
cmp eax, 0x3f
ja 0x49dc60
movdqa xmm4, xmmword [0x5792f0]
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x579300]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp eax, 0x10
jb 0x49dd62
movdqu xmm1, xmmword [ecx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add ecx, 0x10
add eax, 0xfffffff0
cmp eax, 0xf
ja 0x49dd3b
movdqa xmm1, xmmword [0x579300]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm2, xmm2
pxor xmm1, xmm1
pblendw xmm1, xmm0, 3
psrldq xmm0, 4
pclmulqdq xmm1, xmmword [0x579310], 0
pxor xmm1, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm1, 3
pclmulqdq xmm0, xmmword [0x579320], 0x10
pblendw xmm0, xmm2, 0xfc
pclmulqdq xmm0, xmmword [0x579330], 0
pxor xmm0, xmm1
pextrd eax, xmm0, 1
pop ebp
ret
Function at 0x49e4d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x49e505
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x49e50c
lea eax, [ebx + 1]
cmp eax, 2
jb 0x49e4fe
mov dword [esi], ebx
call fcn.004a2700
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004a2700
push dword [esi]
call fcn.004ab080
add esp, 4
mov dword [esi], 0
jmp 0x49e4ef

Function at 0x4a11a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ecx
mov eax, dword [0x591014]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, byte [0x597f8c]
and eax, 1
neg eax
cmp eax, 0xfffffffd
je 0x4a12ab
xor ecx, ecx
xor edx, edx
dec edx
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov eax, dword [ecx*8 + 0x57bd00]
test eax, eax
je 0x4a12af
mov dword [ebp - 0x24], ecx
mov ebx, dword [ecx*8 + 0x57bd04]
mov byte [ebp - 0x11], bl
cmp esi, eax
ja 0x4a1210
lea ecx, [ebx*2 - 0x1c]
add ecx, ebp
cmp ecx, eax
ja 0x4a12e3
lea ecx, [ebx + ebx]
push ecx
push eax
push esi
call fcn.004c8df0
add esp, 0xc
mov word [ebp + ebx*2 - 0x1c], 0
movzx eax, byte [ebp - 0x11]
test al, al
jns 0x4a1232
mov ecx, dword [ebp - 0x18]
jmp 0x4a1237
mov ecx, eax
and ecx, 0x7f
xor ebx, ebx
cmp ecx, dword [ebp - 0x28]
ja 0x4a1268
mov bl, 1
test ecx, ecx
je 0x4a12cd
mov edx, esi
test al, al
jns 0x4a1251
mov edx, dword [ebp - 0x1c]
xor edi, edi
mov esi, dword [ebp - 0x2c]
movzx esi, word [esi + edi*2]
cmp si, word [edx + edi*2]
jne 0x4a1290
inc edi
cmp ecx, edi
jne 0x4a1253
mov dword [ebp - 0x20], ecx
test al, al
js 0x4a12d6
test bl, bl
lea esi, [ebp - 0x1c]
jne 0x4a1294
mov ecx, dword [ebp - 0x24]
inc ecx
movzx eax, byte [0x597f8c]
xor eax, 3
cmp ecx, eax
mov edx, 0xffffffff
jb 0x4a11d6
jmp 0x4a12ab
xor ebx, ebx
jmp 0x4a1268
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c66e3
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
jmp 0x4a1297
push str.basic_string_const_char__n__detected_nullptr
push str.__n__0____s___nullptr
push 0x37e
push str....._buildtools_third_partylibc_trunkinclude_string
push str._s:_d:_assertion__s_failed:__s
call fcn.004f96d0
mov dword [ebp - 0x20], 0
jmp 0x4a1268
push dword [ebp - 0x1c]
call fcn.004c5c98
add esp, 4
jmp 0x4a126c
push str.char_traits::copy_overlapped_range
push str.__s2_____s1____s2_____s1__n
push 0x154
push str....._buildtools_third_partylibc_trunkinclude__stringchar_traits.h
jmp 0x4a12c3
Function at 0x4a9640
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x140c
call fcn.004c7010
mov eax, dword [0x591014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x592c20]
cmp eax, 0xffffffff
je 0x4a9793
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
je 0x4a9793
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.004c8df0
add esp, 0xc
mov ecx, dword [0x592c20]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x1414], ecx
push ecx
call fcn.00468fb0
add esp, 8
test ebx, ebx
je 0x4a96bb
push ebx
call fcn.004c5ccc
add esp, 4
mov eax, dword [0x598cac]
mov ecx, dword [0x5954dc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4a97a8
mov esi, dword [0x598ca8]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4a97ed
lea eax, [ebp - 0x1410]
push 0xc00
push 0x5980a8
push eax
call fcn.004c8df0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov al, 1
mov ecx, 0x101
test al, 1
je 0x4a9783
mov dword [ebp - 0x1418], ecx
xor ebx, ebx
lea edi, [ebp - 0x1408]
xor eax, eax
jmp 0x4a973c
inc ebx
add edi, 0xc
cmp ebx, 0x100
je 0x4a977a
mov esi, dword [ebp + ebx*8 - 0x810]
test esi, esi
je 0x4a9730
cmp dword [edi - 8], 0
je 0x4a9730
mov ecx, dword [ebp + ebx*8 - 0x80c]
cmp ecx, dword [edi]
jne 0x4a9730
mov ecx, dword [edi - 4]
test ecx, ecx
je 0x4a9730
mov dword [ebp + ebx*8 - 0x810], 0
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov al, 1
jmp 0x4a9730
mov ecx, dword [ebp - 0x1418]
dec ecx
jne 0x4a9718
push 2
push dword [ebp - 0x1414]
call fcn.00468fb0
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c66e3
add esp, 0x140c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x598cac
call fcn.004c5d07
add esp, 4
cmp dword [0x598cac], 0xffffffff
jne 0x4a96dc
push 4
call fcn.004c5c68
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.004aaff0
mov dword [0x598ca8], esi
push 0x598cac
call fcn.004c5d7d
add esp, 4
jmp 0x4a96dc
mov ecx, esi
call fcn.004ab000
jmp 0x4a96f1