joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469bf0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x58a014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [eax], 0x469bd0
push 0
push eax
push 0x469a80
push 0x59f618
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x469cc3
mov esi, dword [ebp + 0xc]
cmp dword [0x59f61c], 0
jne 0x469cd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push dword [0x59f620]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
jne 0x469c86
push 0x14
call fcn.004ac310
add esp, 4
test eax, eax
je 0x469cd1
mov edi, eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
push eax
push dword [0x59f620]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x469cc8
mov ebx, dword [ebp + 8]
mov esi, 0x59f624
push esi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [ebp + 0x10]
mov dword [ebx*4 + 0x59f628], eax
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [ebp + 0xc]
mov dword [edi + ebx*4], eax
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004babe3
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004cc3d0
push edi
call fcn.004ac340
add esp, 4
mov ecx, dword [ebp + 0x10]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
xor esi, esi
jmp 0x469caf
Function at 0x46bbe0
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 [0x58a014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x46bc02
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x46bc37
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x46bc50
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004babe3
mov ecx, esi
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.0046bd10
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004babe3
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.00495280
add esp, 4
test al, al
jne 0x46bc62
xor ebx, ebx
jmp 0x46bc39
call fcn.00502ea0
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x266
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.00502fe0
lea eax, [ebp - 0xb0]
push 0x10
push str.CreateDirectory
push eax
call fcn.004e90c0
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x46bca6
mov eax, dword [esi + 4]
mov esi, dword [esi]
jmp 0x46bca9
and eax, 0x7f
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.0049bff0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x46bcd0
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
jmp 0x46bcd3
and eax, 0x7f
push eax
push ebx
push edi
call fcn.004e90c0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x46bcf5
push dword [ebp - 0xc4]
call fcn.004ba1ee
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.00503040
jmp 0x46bc5e
Function at 0x46bd10
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 [0x58a014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x46bd32
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46bd5b
mov bl, 1
test al, 0x10
je 0x46bdad
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004babe3
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.00495280
add esp, 4
test al, al
je 0x46bdbb
call fcn.00502ea0
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x251
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.00502fe0
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.004e90c0
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x46bdfd
mov eax, dword [esi + 4]
mov esi, dword [esi]
jmp 0x46be00
push 2
call fcn.00495280
add esp, 4
test al, al
jne 0x46bdbf
xor ebx, ebx
jmp 0x46bd44
lea ecx, [ebp - 0xb8]
push 2
push 0x255
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.0043f9d0
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.004e90c0
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x46be27
mov eax, dword [esi + 4]
mov esi, dword [esi]
jmp 0x46be2a
and eax, 0x7f
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.0049bff0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x46be51
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
jmp 0x46be54
and eax, 0x7f
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.0049bff0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x46be86
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
jmp 0x46be89
and eax, 0x7f
push eax
push ebx
push edi
call fcn.004e90c0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x46be76
push dword [ebp - 0xc4]
call fcn.004ba1ee
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.00503040
jmp 0x46bdbb
and eax, 0x7f
push eax
push ebx
push edi
call fcn.004e90c0
add esp, 0xc
push 0x11
push str.:_not_a_directory
push eax
call fcn.004e90c0
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x46bebb
push dword [ebp - 0xc4]
call fcn.004ba1ee
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.0043fe10
jmp 0x46bdbb
Function at 0x46d0d0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x58a014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
mov edx, esi
call fcn.0046bf50
mov eax, dword [esi]
test eax, eax
je 0x46d123
mov ebx, dword [eax + 0x28]
mov edi, dword [eax + 0x2c]
xor esi, esi
cmp ebx, edi
jne 0x46d12a
lea ecx, [ebp - 0x14]
call fcn.0046c930
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004babe3
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 3
jmp 0x46d105
cmp dword [ebx + 0x50], 0
je 0x46d135
add ebx, 0x58
jmp 0x46d101
cmp byte [ebx + 0x1b], 0
jns 0x46d140
mov eax, dword [ebx + 0x10]
jmp 0x46d143
lea eax, [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x46d130
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
je 0x46d174
push ebx
mov dword [ebp - 0x18], edx
push edx
call fcn.0046dd90
add esp, 8
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x46d130
mov ecx, dword [ebp + 8]
push ebx
call fcn.0046dbf0
jmp 0x46d130

Function at 0x46d180
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x58a014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
mov edx, esi
call fcn.0046bf50
mov eax, dword [esi]
test eax, eax
je 0x46d1d3
mov ebx, dword [eax + 0x28]
mov edi, dword [eax + 0x2c]
xor esi, esi
cmp ebx, edi
jne 0x46d1da
lea ecx, [ebp - 0x14]
call fcn.0046c930
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004babe3
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 3
jmp 0x46d1b5
cmp dword [ebx + 0x50], 2
jne 0x46d21d
cmp byte [ebx + 0x1b], 0
jns 0x46d1eb
mov eax, dword [ebx + 0x10]
jmp 0x46d1ee
lea eax, [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x46d21d
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
je 0x46d222
push ebx
mov dword [ebp - 0x18], edx
push edx
call fcn.0046dd90
add esp, 8
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
add ebx, 0x58
jmp 0x46d1b1
mov ecx, dword [ebp + 8]
push ebx
call fcn.0046dbf0
jmp 0x46d21d
Function at 0x477f90
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 - 0x10], eax
test eax, eax
jle 0x47808d
xor eax, eax
inc eax
xor ecx, ecx
cpuid
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov edi, eax
cmp dword [ebp - 0x10], 7
jb 0x4780b8
mov eax, 7
xor ecx, ecx
cpuid
and ebx, 0x20
shr cl, 3
and cl, 1
mov dword [ebp - 0x10], ecx
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 - 0x14]
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 + 0x1a], al
mov eax, ecx
not eax
test eax, 0x1c000000
jne 0x4780c6
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [esi + 0x14], al
mov edx, dword [ebp - 0x14]
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, dword [ebp - 0x10]
mov byte [esi + 0x18], al
mov eax, 0x80000000
xor ecx, ecx
cpuid
cmp eax, 0x80000006
jle 0x4780ca
mov eax, 0x80000007
xor ecx, ecx
cpuid
and dh, 1
mov byte [esi + 0x19], dh
test dh, dh
je 0x4780cf
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
xor ebx, ebx
jmp 0x477fda
xor eax, eax
jmp 0x47805e
mov dh, byte [esi + 0x19]
jmp 0x4780ac
cmp byte [esi + 0x1a], 0
je 0x4780b0
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp ebx, 0x7263694d
jne 0x4780b0
cmp ecx, 0x666f736f
jne 0x4780b0
cmp edx, 0x76482074
jne 0x4780b0
mov byte [esi + 0x19], 1
jmp 0x4780b0

Function at 0x47b2f0
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 [0x58a014]
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 0x47b348
mov esi, dword [ebp - 0xc]
cmp esi, 0xffffffff
je 0x47b34d
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004babe3
mov eax, esi
add esp, 8
pop esi
pop ebp
ret
xor esi, esi
dec esi
jmp 0x47b336
int3
Function at 0x47b350
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 [0x58a014]
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 0x47b3c8
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x47b3b5
cmp ebx, 0xffffffff
je 0x47b3da
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004babe3
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 0x47b3dd
mov ebx, dword [ebp - 0x14]
jmp 0x47b3a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x6d
setne bl
neg ebx
jmp 0x47b3a1
int3
mov edx, dword [ebp + 0xc]
jmp 0x47b377

Function at 0x47b800
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 [0x58a014]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor ebx, ebx
push ebx
push ebx
push ebx
push esi
call fcn.0047b710
add esp, 0x10
or edx, eax
jne 0x47b837
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov bl, 1
test eax, eax
je 0x47b84d
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004babe3
mov eax, ebx
add esp, 0xac
pop esi
pop ebx
pop ebp
ret
push 2
call fcn.00495280
add esp, 4
test al, al
jne 0x47b85f
xor ebx, ebx
jmp 0x47b837
call fcn.00502ea0
lea esi, [ebp - 0xb4]
mov ecx, esi
push eax
push 2
push 0xfb
push str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
call fcn.00502fe0
lea eax, [ebp - 0xac]
push 0xc
push 0x58041e
push eax
call fcn.004e90c0
add esp, 0xc
mov ecx, esi
call fcn.00503040
jmp 0x47b85b
Function at 0x47eb60
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 [0x58a014]
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 0x47ec3b
lea ebx, [ebp - 0x120]
xor edi, edi
push 0x110
push edi
push ebx
call fcn.004bd870
add esp, 0xc
mov dword [ebx - 0xc], 0x11c
sub esp, 0x10
movaps xmm0, xmmword [0x580b30]
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 0x47ec42
lea edi, [ebp - 0x138]
mov dword [edi], 0xc
push 0
call fcn.0047ec90
add esp, 4
mov dword [edi + 4], eax
mov dword [edi + 8], 1
jmp 0x47ec42
xor edi, edi
mov ebx, 3
cmp byte [esi + 0xb], 0
jns 0x47ec4a
mov esi, dword [esi]
sub esp, 0x20
mov dword [esp + 0x1c], edi
movaps xmm0, xmmword [0x580b40]
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.004babe3
mov eax, esi
add esp, 0x12c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x47eec0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov eax, dword [0x58a014]
xor eax, ebp
mov dword [esp + 0x80], eax
cmp byte [ecx + 0xb], 0
js 0x47ef0d
je 0x47ef8d
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 0x47ef39
cmp dword [ecx + 4], 0
je 0x47ef8d
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 0x47ef8d
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.004babe3
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x47f020
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 8
mov esi, ecx
mov eax, dword [0x58a014]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
push eax
push eax
push ecx
push 0x47f090
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
je 0x47f05c
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004babe3
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.00518030
add esp, 0xc
mov ecx, esi
push 0x57ec98
call fcn.005227a0
mov ecx, esi
call fcn.00518060
jmp 0x47f04c
Function at 0x480210
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 0x48f3a0
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 0x48f3b7
mov edx, dword [eax + 4]
mov eax, dword [eax]
jmp 0x48f3ba
and edx, 0x7f
mov ecx, edx
cmp edx, 4
jb 0x48f3f6
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 0x48f3d0
cmp edx, 1
je 0x48f417
cmp edx, 2
je 0x48f40e
cmp edx, 3
jne 0x48f422
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 0x48f940
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 0x48fa0e
movdqa xmm4, xmmword [0x572890]
movdqa xmm5, xmmword [0x5728a0]
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 0x48f990
movdqa xmm4, xmmword [0x5728b0]
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x5728c0]
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 0x48fa92
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 0x48fa6b
movdqa xmm1, xmmword [0x5728c0]
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 [0x5728d0], 0
pxor xmm1, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm1, 3
pclmulqdq xmm0, xmmword [0x5728e0], 0x10
pblendw xmm0, xmm2, 0xfc
pclmulqdq xmm0, xmmword [0x5728f0], 0
pxor xmm0, xmm1
pextrd eax, xmm0, 1
pop ebp
ret
Function at 0x490590
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 0x4905c5
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x4905cc
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4905be
mov dword [esi], ebx
call fcn.00495270
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00495270
push dword [esi]
call fcn.0049e730
add esp, 4
mov dword [esi], 0
jmp 0x4905af
Function at 0x49cba0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x140c
call fcn.004bb510
mov eax, dword [0x58a014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x58bb50]
cmp eax, 0xffffffff
je 0x49ccf3
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
je 0x49ccf3
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.004bd2f0
add esp, 0xc
mov ecx, dword [0x58bb50]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x1414], ecx
push ecx
call fcn.0045c790
add esp, 8
test ebx, ebx
je 0x49cc1b
push ebx
call fcn.004ba22c
add esp, 4
mov eax, dword [0x590abc]
mov ecx, dword [0x58e4fc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x49cd08
mov esi, dword [0x590ab8]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x49cd4d
lea eax, [ebp - 0x1410]
push 0xc00
push 0x58feb8
push eax
call fcn.004bd2f0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov al, 1
mov ecx, 0x101
test al, 1
je 0x49cce3
mov dword [ebp - 0x1418], ecx
xor ebx, ebx
lea edi, [ebp - 0x1408]
xor eax, eax
jmp 0x49cc9c
inc ebx
add edi, 0xc
cmp ebx, 0x100
je 0x49ccda
mov esi, dword [ebp + ebx*8 - 0x810]
test esi, esi
je 0x49cc90
cmp dword [edi - 8], 0
je 0x49cc90
mov ecx, dword [ebp + ebx*8 - 0x80c]
cmp ecx, dword [edi]
jne 0x49cc90
mov ecx, dword [edi - 4]
test ecx, ecx
je 0x49cc90
mov dword [ebp + ebx*8 - 0x810], 0
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov al, 1
jmp 0x49cc90
mov ecx, dword [ebp - 0x1418]
dec ecx
jne 0x49cc78
push 2
push dword [ebp - 0x1414]
call fcn.0045c790
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004babe3
add esp, 0x140c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x590abc
call fcn.004ba267
add esp, 4
cmp dword [0x590abc], 0xffffffff
jne 0x49cc3c
push 4
call fcn.004ba1be
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.0049e6a0
mov dword [0x590ab8], esi
push 0x590abc
call fcn.004ba2dd
add esp, 4
jmp 0x49cc3c
mov ecx, esi
call fcn.0049e6b0
jmp 0x49cc51