joyce8/EMBER2024-capa huggingface dataset:
Function at 0x476170
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [esp + 0x30], eax
movsd xmm1, qword [0x7b99e0]
xorpd xmm0, xmm0
ucomisd xmm1, xmm0
jne 0x4762f4
jp 0x4762f4
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0xc], eax
call esi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x7b99f0]
mov ecx, dword [0x7bafb8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x14]
jg 0x476319
mov eax, dword [0x7b9a00]
mov ecx, dword [0x7bafb8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x14]
jg 0x476352
rdtsc
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea ebx, [esp + 0x28]
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub esi, dword [0x7b99f8]
sbb edi, dword [0x7b99fc]
movd xmm0, edi
movd xmm1, esi
punpckldq xmm1, xmm0
punpckldq xmm1, xmmword [0x6fac00]
subpd xmm1, xmmword [0x6fac10]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
divsd xmm0, qword [esp + 0x20]
xorpd xmm1, xmm1
movsd xmm2, qword [0x733348]
ucomisd xmm2, xmm0
ja 0x4762f4
mov eax, dword [esp + 8]
sub eax, dword [0x7b99e8]
mov ecx, dword [esp + 4]
sbb ecx, dword [0x7b99ec]
movd xmm1, ecx
movd xmm2, eax
punpckldq xmm2, xmm1
punpckldq xmm2, xmmword [0x6fac00]
subpd xmm2, xmmword [0x6fac10]
movapd xmm1, xmm2
unpckhpd xmm1, xmm2
addsd xmm1, xmm2
divsd xmm1, xmm0
movsd qword [0x7b99e0], xmm1
movsd qword [esp + 0x18], xmm1
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.006c9121
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x7b99f0
call fcn.006c9157
add esp, 4
cmp dword [0x7b99f0], 0xffffffff
jne 0x4761e2
rdtsc
mov dword [0x7b99e8], eax
mov dword [0x7b99ec], edx
push 0x7b99f0
call fcn.006c91cd
add esp, 4
jmp 0x4761e2
push 0x7b9a00
call fcn.006c9157
add esp, 4
cmp dword [0x7b9a00], 0xffffffff
jne 0x476203
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [0x7b99fc], ecx
mov dword [0x7b99f8], eax
push 0x7b9a00
call fcn.006c91cd
add esp, 4
jmp 0x476203
Function at 0x477880
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [esp + 0x18], eax
mov edi, dword [ecx + 0x38]
test edi, edi
jne 0x477916
mov esi, ecx
mov dword [esp + 0x14], 0x9ff00ff
mov dword [esp + 0xc], 0x63736964
mov dword [esp + 0x10], 0x65647261
mov byte [esp + 0x14], 0x64
lea eax, [esp + 0xc]
mov edi, esp
push eax
push edi
call fcn.004777f0
push 0x48
call fcn.006c90b6
add esp, 4
mov ebx, eax
mov ecx, eax
push edi
push dword [esi + 0x28]
lea eax, [esp + 0x14]
push eax
call fcn.00476650
mov edi, dword [esi + 0x38]
mov dword [esi + 0x38], ebx
test edi, edi
je 0x477900
mov ecx, edi
call fcn.004766c0
push edi
call fcn.006c90e6
add esp, 4
cmp byte [esp + 0x17], 0
jns 0x477913
push dword [esp + 0xc]
call fcn.006c90e6
add esp, 4
mov edi, dword [esi + 0x38]
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.006c9121
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x47c690
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test bl, bl
mov dword [ebp - 0x10], ecx
lea edx, [eax + ecx]
mov dword [ebp - 0x18], ebx
lea edi, [esi + ebx]
cmovs edi, edx
cmovs esi, eax
sub edi, esi
cmp edi, 4
jb 0x47c6fd
mov edx, esi
mov eax, edi
nop word [eax + eax]
imul ecx, dword [edx], 0x5bd1e995
mov ebx, ecx
shr ebx, 0x18
xor ebx, ecx
imul ecx, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, ecx
add edx, 4
add edi, 0xfffffffc
cmp edi, 3
ja 0x47c6d0
cmp edi, 1
jne 0x47c706
jmp 0x47c722
mov eax, edi
mov edx, esi
cmp edi, 1
je 0x47c722
cmp edi, 2
je 0x47c719
cmp edi, 3
jne 0x47c72d
movzx ecx, byte [edx + 2]
shl ecx, 0x10
xor eax, ecx
movzx ecx, byte [edx + 1]
shl ecx, 8
xor eax, ecx
movzx ecx, byte [edx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov edx, dword [ebp - 0x14]
mov edi, dword [edx + 4]
xor ecx, ecx
test edi, edi
je 0x47c898
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov ecx, edi
shr ecx, 1
and ecx, 0x55555555
mov eax, edi
sub eax, ecx
mov ecx, eax
and ecx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, ecx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul eax, ecx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x24], eax
cmp eax, 1
ja 0x47c798
mov eax, edx
lea edx, [edi - 1]
and edx, ebx
jmp 0x47c7a9
mov eax, edx
mov edx, ebx
cmp ebx, edi
jb 0x47c7a9
mov eax, ebx
xor edx, edx
div edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x47c896
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], edi
mov edx, dword [ebp - 0x18]
test dl, dl
mov ecx, dword [ebp - 0x10]
cmovns ecx, edx
mov dword [ebp - 0x10], ecx
mov ebx, dword [eax]
test ebx, ebx
mov ecx, 0
je 0x47c898
mov eax, dword [ebp - 0x20]
add eax, 0xffffffff
mov dword [ebp - 0x18], eax
jmp 0x47c808
and eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
jne 0x47c896
mov ebx, dword [ebx]
test ebx, ebx
je 0x47c896
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x14]
jne 0x47c860
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x47c81d
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x47c7fe
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
js 0x47c878
cmp dword [ebp - 0x10], 0
je 0x47c892
cmp byte [esi], dl
jne 0x47c7fe
add eax, 0xffffffff
xor ecx, ecx
nop dword [eax]
cmp eax, ecx
je 0x47c892
movzx edx, byte [ebx + ecx + 9]
lea edi, [ecx + 1]
cmp dl, byte [esi + ecx + 1]
mov ecx, edi
je 0x47c840
jmp 0x47c7fe
cmp dword [ebp - 0x24], 1
jbe 0x47c7f0
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
jb 0x47c7f3
xor edx, edx
div ecx
mov eax, edx
jmp 0x47c7f3
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x47c892
push eax
push esi
push ecx
call fcn.006cbb2d
add esp, 0xc
test eax, eax
jne 0x47c7fe
mov ecx, ebx
jmp 0x47c898
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x47d8c6
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x890
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [esp + 0x888], eax
lea esi, [esp + 0x88]
push 0x800
push 0
push esi
call fcn.006ccfc0
add esp, 0xc
test ebx, ebx
je 0x47d975
push dword [ebx + 8]
call fcn.0047d9b0
add esp, 4
mov esi, eax
xorps xmm0, xmm0
mov edi, esp
movaps xmmword [edi + 0x70], xmm0
movaps xmmword [edi + 0x60], xmm0
movaps xmmword [edi + 0x50], xmm0
movaps xmmword [edi + 0x40], xmm0
movaps xmmword [edi + 0x30], xmm0
movaps xmmword [edi + 0x20], xmm0
movaps xmmword [edi + 0x10], xmm0
movaps xmmword [edi], xmm0
push 0x80
push edi
push dword [ebx + 0xc]
call fcn.0047d9ef
add esp, 0xc
mov ecx, dword [ebp + 0xc]
test ecx, ecx
mov eax, str.NULLlog___
cmovne eax, ecx
push eax
push dword [ebx + 0x10]
push edi
push esi
push str.__s___s___d_:_s
push 0x800
lea esi, [esp + 0xa0]
push esi
call fcn.0040a410
add esp, 0x1c
jmp 0x47d993
test edi, edi
mov eax, str.NULLlog___
cmovne eax, edi
push eax
push 0x6fab60
push 0x800
push esi
call fcn.0040a410
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x888]
xor ecx, ebp
call fcn.006c9121
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x47e850
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047e4b0
Function at 0x47ebf0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047e860
Function at 0x482000
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004be230
Function at 0x48676a
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 0x48679e
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, esi
call fcn.0041ccb0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x486797
mov dword [esi], ebx
call fcn.0045f9d0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x493820
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov esi, esp
mov dword [esi + 0xb8], ebp
lea edi, [esi + 0xc0]
mov dword [edi - 4], esp
xor eax, eax
dec eax
mov dword [edi + 8], eax
mov dword [edi + 4], 0x4a9070
mov edx, dword fs:[0]
mov dword [edi], edx
mov dword fs:[0], edi
lea ebx, [esi + 0x30]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 0xc]
pcmpeqd xmm0, xmm0
movdqa xmmword [ebx], xmm0
mov dword [esi + 0xc], ecx
push eax
push ebx
call fcn.004a20b0
mov dword [edi + 8], 0
mov ecx, ebx
push 1
call fcn.004aef38
test al, al
je 0x49399d
movdqu xmm0, xmmword [0x7a9568]
movdqa xmmword [esi + 0xa0], xmm0
movdqa xmmword [esi + 0x90], xmm0
movdqa xmmword [esi + 0x80], xmm0
movdqa xmmword [esi + 0x70], xmm0
movdqa xmmword [esi + 0x60], xmm0
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0xc8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0xc8], 0
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
call edi
mov dword [esi + 0xc8], 2
lea ecx, [esi + 0x10]
call fcn.004af144
mov byte [esi + 0x50], 3
mov dword [esi + 0x58], eax
sub esp, 0x78
movaps xmm0, xmmword [esi + 0xa0]
movups xmmword [esp + 0x68], xmm0
movaps xmm0, xmmword [esi + 0x90]
movups xmmword [esp + 0x58], xmm0
movaps xmm0, xmmword [esi + 0x80]
movups xmmword [esp + 0x48], xmm0
movaps xmm0, xmmword [esi + 0x70]
movups xmmword [esp + 0x38], xmm0
movaps xmm0, xmmword [esi + 0x60]
movups xmmword [esp + 0x28], xmm0
movdqu xmm0, xmmword [esi + 0x50]
movdqu xmmword [esp + 0x18], xmm0
mov dword [esp + 0x14], str._s_GetExtractDir_failed__invalid_version_dir
mov dword [esp + 0x10], str.XPluginBase
mov dword [esp + 0xc], str.GetExtractDir
mov dword [esp + 8], 0x401
mov dword [esp + 4], str..._.._applet_third_party_xplugin_src_BasePlugin.cpp
mov dword [esp], 4
call fcn.004ee380
add esp, 0x78
lea ecx, [esi + 0x10]
call fcn.004aeec0
mov dword [esi + 0xc8], 0
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push 0x6fa356
call fcn.004aea40
jmp 0x493a0d
push str.extracted
push 0x738b4e
lea eax, [esi + 0x30]
push eax
call fcn.004af58e
add esp, 0xc
pcmpeqd xmm0, xmm0
lea ecx, [esi + 0x10]
movdqa xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0xffffffff
lea eax, [esi + 0x30]
push eax
call fcn.004aeac0
mov dword [esi + 0xc8], 1
lea ecx, [esi + 0x10]
call fcn.004af144
push eax
call fcn.004feec0
add esp, 4
test al, al
jne 0x4939f9
lea eax, [esi + 0x10]
push eax
call fcn.004ff76e
add esp, 4
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x30]
push eax
call fcn.004aede0
lea ecx, [esi + 0x10]
call fcn.004aeec0
lea ecx, [esi + 0x30]
call fcn.004aeec0
mov eax, dword [esi + 0xc0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x4a08c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov esi, esp
mov dword [esi + 0xb8], ebp
mov dword [esi + 0xc], ecx
lea edi, [esi + 0xc0]
mov dword [edi - 4], esp
xor eax, eax
dec eax
mov dword [edi + 8], eax
mov dword [edi + 4], 0x4a91a0
mov ecx, dword fs:[0]
mov dword [edi], ecx
mov dword fs:[0], edi
lea ebx, [esi + 0x30]
mov dword [ebx + 0x10], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [ebx], xmm0
push ebx
call fcn.004ac050
add esp, 4
mov dword [edi + 8], 0
mov ecx, ebx
push 1
call fcn.004aef38
test al, al
je 0x4a0a3f
movdqu xmm0, xmmword [0x7a9568]
movdqa xmmword [esi + 0xa0], xmm0
movdqa xmmword [esi + 0x90], xmm0
movdqa xmmword [esi + 0x80], xmm0
movdqa xmmword [esi + 0x70], xmm0
movdqa xmmword [esi + 0x60], xmm0
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0xc8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0xc8], 0
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
call edi
mov dword [esi + 0xc8], 3
lea ecx, [esi + 0x10]
call fcn.004af144
mov byte [esi + 0x50], 3
mov dword [esi + 0x58], eax
sub esp, 0x78
movaps xmm0, xmmword [esi + 0xa0]
movups xmmword [esp + 0x68], xmm0
movaps xmm0, xmmword [esi + 0x90]
movups xmmword [esp + 0x58], xmm0
movaps xmm0, xmmword [esi + 0x80]
movups xmmword [esp + 0x48], xmm0
movaps xmm0, xmmword [esi + 0x70]
movups xmmword [esp + 0x38], xmm0
movaps xmm0, xmmword [esi + 0x60]
movups xmmword [esp + 0x28], xmm0
movdqu xmm0, xmmword [esi + 0x50]
movdqu xmmword [esp + 0x18], xmm0
mov dword [esp + 0x14], str._s_GetVersionBaseDir_failed__invalid_plugin_base_dir
mov dword [esp + 0x10], str.XPluginBase
mov dword [esp + 0xc], str.GetVersionBaseDir
mov dword [esp + 8], 0x3cc
mov dword [esp + 4], str..._.._applet_third_party_xplugin_src_BasePlugin.cpp
mov dword [esp], 4
call fcn.004ee380
add esp, 0x78
lea ecx, [esi + 0x10]
call fcn.004aeec0
mov dword [esi + 0xc8], 0
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push 0x6fa356
call fcn.004aea40
jmp 0x4a0afd
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0xc8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0xc8], 0
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
call edi
mov dword [esi + 0xc8], 2
lea ecx, [esi + 0x10]
call fcn.004af144
lea ecx, [esi + 0x30]
push eax
push 0x738b4e
push ecx
call fcn.004af58e
lea ebx, [esi + 0x30]
add esp, 0xc
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.004aeec0
pcmpeqd xmm0, xmm0
movdqa xmmword [edi], xmm0
mov dword [edi + 0x10], 0xffffffff
mov dword [esi + 0xc8], 0
lea ecx, [esi + 0x10]
push ebx
call fcn.004aeac0
mov dword [esi + 0xc8], 1
lea ecx, [esi + 0x10]
call fcn.004af144
push eax
call fcn.004feec0
add esp, 4
test al, al
jne 0x4a0ae9
lea eax, [esi + 0x10]
push eax
call fcn.004ff76e
add esp, 4
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x30]
push eax
call fcn.004aede0
lea ecx, [esi + 0x10]
call fcn.004aeec0
lea ecx, [esi + 0x30]
call fcn.004aeec0
mov eax, dword [esi + 0xc0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x4a2460
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov esi, esp
mov dword [esi + 0xb8], ebp
lea edi, [esi + 0xc0]
mov dword [edi - 4], esp
xor eax, eax
dec eax
mov dword [edi + 8], eax
mov dword [edi + 4], 0x4a9200
mov edx, dword fs:[0]
mov dword [edi], edx
mov dword fs:[0], edi
lea ebx, [esi + 0x30]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 0xc]
pcmpeqd xmm0, xmm0
movdqa xmmword [ebx], xmm0
mov dword [esi + 0xc], ecx
push eax
push ebx
call fcn.004a20b0
mov dword [edi + 8], 0
mov ecx, ebx
push 1
call fcn.004aef38
test al, al
je 0x4a25dd
movdqu xmm0, xmmword [0x7a9568]
movdqa xmmword [esi + 0xa0], xmm0
movdqa xmmword [esi + 0x90], xmm0
movdqa xmmword [esi + 0x80], xmm0
movdqa xmmword [esi + 0x70], xmm0
movdqa xmmword [esi + 0x60], xmm0
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0xc8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0xc8], 0
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
call edi
mov dword [esi + 0xc8], 2
lea ecx, [esi + 0x10]
call fcn.004af144
mov byte [esi + 0x50], 3
mov dword [esi + 0x58], eax
sub esp, 0x78
movaps xmm0, xmmword [esi + 0xa0]
movups xmmword [esp + 0x68], xmm0
movaps xmm0, xmmword [esi + 0x90]
movups xmmword [esp + 0x58], xmm0
movaps xmm0, xmmword [esi + 0x80]
movups xmmword [esp + 0x48], xmm0
movaps xmm0, xmmword [esi + 0x70]
movups xmmword [esp + 0x38], xmm0
movaps xmm0, xmmword [esi + 0x60]
movups xmmword [esp + 0x28], xmm0
movdqu xmm0, xmmword [esi + 0x50]
movdqu xmmword [esp + 0x18], xmm0
mov dword [esp + 0x14], str._s_GetPatchDir_failed__invalid_version_dir
mov dword [esp + 0x10], str.XPluginBase
mov dword [esp + 0xc], str.GetPatchDir
mov dword [esp + 8], 0x41c
mov dword [esp + 4], str..._.._applet_third_party_xplugin_src_BasePlugin.cpp
mov dword [esp], 4
call fcn.004ee380
add esp, 0x78
lea ecx, [esi + 0x10]
call fcn.004aeec0
mov dword [esi + 0xc8], 0
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push 0x6fa356
call fcn.004aea40
jmp 0x4a264d
push str.patch_temp
push 0x738b4e
lea eax, [esi + 0x30]
push eax
call fcn.004af58e
add esp, 0xc
pcmpeqd xmm0, xmm0
lea ecx, [esi + 0x10]
movdqa xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0xffffffff
lea eax, [esi + 0x30]
push eax
call fcn.004aeac0
mov dword [esi + 0xc8], 1
lea ecx, [esi + 0x10]
call fcn.004af144
push eax
call fcn.004feec0
add esp, 4
test al, al
jne 0x4a2639
lea eax, [esi + 0x10]
push eax
call fcn.004ff76e
add esp, 4
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x30]
push eax
call fcn.004aede0
lea ecx, [esi + 0x10]
call fcn.004aeec0
lea ecx, [esi + 0x30]
call fcn.004aeec0
mov eax, dword [esi + 0xc0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x4a8810
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov ebx, edx
mov edi, ecx
lea esi, [ebp - 0x18]
mov dword [esi - 4], esp
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0x4a9280
mov eax, dword fs:[0]
mov dword [esi], eax
mov dword fs:[0], esi
movsd xmm0, qword [edx]
movsd qword [ecx], xmm0
add ecx, 8
lea eax, [edx + 8]
mov dword [ebp - 0x34], ecx
push eax
call fcn.004aede0
mov dword [ebp - 0x20], edi
lea ecx, [edi + 0x1c]
mov dword [ebp - 0x24], ebx
lea eax, [ebx + 0x1c]
mov dword [esi + 8], 0
mov dword [ebp - 0x30], ecx
push eax
call fcn.004aede0
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 0x30]
mov eax, dword [ebp - 0x24]
add eax, 0x30
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x28], ecx
push eax
call fcn.004aede0
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 0x44]
mov eax, dword [ebp - 0x24]
add eax, 0x44
mov dword [ebp - 0x10], 2
push eax
call fcn.004aede0
xor eax, eax
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x58], eax
mov dword [edx + 0x5c], eax
mov dword [edx + 0x60], eax
mov esi, dword [ebp - 0x24]
mov ecx, dword [esi + 0x58]
mov dword [edx + 0x58], ecx
mov ecx, dword [esi + 0x5c]
mov dword [edx + 0x5c], ecx
mov ecx, dword [esi + 0x60]
mov dword [edx + 0x60], ecx
mov dword [esi + 0x60], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], eax
mov dword [edx + 0x64], eax
mov dword [edx + 0x68], eax
mov dword [edx + 0x6c], eax
mov ecx, dword [esi + 0x64]
mov dword [edx + 0x64], ecx
mov ecx, dword [esi + 0x68]
mov dword [edx + 0x68], ecx
mov ecx, dword [esi + 0x6c]
mov dword [edx + 0x6c], ecx
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x64], eax
lea ecx, [edx + 0x70]
lea eax, [esi + 0x70]
mov dword [ebp - 0x10], 3
mov dword [ebp - 0x2c], ecx
push eax
call fcn.0049e3f0
mov eax, 0x80
mov ecx, dword [ebp - 0x20]
add ecx, eax
mov edx, dword [ebp - 0x24]
add edx, eax
mov dword [ebp - 0x10], 4
push edx
call fcn.004a89a0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x20]
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4acff0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov ebx, ecx
lea edi, [ebp - 0x18]
mov dword [edi - 4], esp
xor esi, esi
dec esi
mov dword [edi + 8], esi
mov dword [edi + 4], 0x4ae9a0
mov eax, dword fs:[0]
mov dword [edi], eax
mov dword fs:[0], edi
xor eax, eax
mov dword [ecx], eax
add ecx, 4
mov eax, 0x6fa356
mov dword [ebp - 0x30], ecx
push esi
push eax
call fcn.004aea40
mov dword [ebp - 0x20], ebx
lea ecx, [ebx + 0x18]
xor eax, eax
mov dword [edi + 8], eax
mov dword [ebp - 0x2c], ecx
push esi
mov eax, 0x6fa356
push eax
call fcn.004aea40
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x2c], 0
lea ecx, [eax + 0x30]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x28], ecx
push 0xffffffffffffffff
push 0x6fa356
call fcn.004aea40
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 0x44]
mov dword [ebp - 0x10], 2
mov dword [ebp - 0x24], ecx
push 0xffffffffffffffff
push 0x6fa356
call fcn.004aea40
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x58], 0xfffffffd
xor eax, eax
mov dword [edx + 0x5c], eax
mov dword [edx + 0x60], eax
lea ecx, [edx + 0x7c]
xorps xmm0, xmm0
movups xmmword [edx + 0x68], xmm0
mov byte [edx + 0x78], 0
mov dword [ebp - 0x10], 3
push 0xffffffffffffffff
push 0x6fa356
call fcn.004aea40
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x20]
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4b2fc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, ecx
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
mov edi, esp
push 0x1a
push str..._.._base_files_memory_mapped_file_win.cc
push str.MapImageToMemory
push edi
call fcn.0045f9a0
add esp, 0x10
lea ecx, [esp + 0x10]
push 0
push edi
call fcn.004b4d70
mov ecx, esi
call fcn.00475190
test al, al
je 0x4b30a1
mov ecx, esi
call fcn.004b45c0
sub esp, 0x18
movdqa xmm0, xmmword [0x73b590]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
cmp dword [esi + 0x24], eax
je 0x4b3099
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0x24]
add eax, 1
cmp eax, 2
jb 0x4b307d
call fcn.0045f9d0
push dword [esi + 0x24]
call fcn.00474ca0
add esp, 4
mov dword [esi + 0x24], 0
mov eax, edi
add eax, 1
cmp eax, 2
jb 0x4b308f
mov dword [esi + 0x24], edi
call fcn.0045f9d0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi + 0x24]
lea eax, [edi + 1]
cmp eax, 2
jae 0x4b30c3
xor ebx, ebx
lea ecx, [esp + 0x10]
call fcn.004b4dd0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.006c9121
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
sub esp, 0x14
movdqa xmm0, xmmword [0x73b5a0]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x4b30a1
mov dword [esp], method.ATL::CAtlStringMgr.virtual_20
mov dword [esp + 4], eax
mov ecx, esp
call fcn.0056c3c4
mov eax, dword [eax + 0x50]
mov dword [esi + 0x20], eax
mov bl, 1
jmp 0x4b30a3