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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5088f8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x541074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0xf70], 0
je 0x492e69
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.00496a80
mov esi, dword [ebp - 0x18]
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.node.dll
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x492ebe
mov dword [str.node.dll], esi
call fcn.00496da0
test eax, eax
je 0x492ebe
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x492e69
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
sub eax, esi
sar eax, 1
push eax
push esi
call fcn.00403ab0
movups xmm0, xmmword [ebp + 8]
sub esp, 0x10
mov ecx, edi
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00492f60
test al, al
jne 0x492f3f
movups xmm0, xmmword [ebp + 8]
sub esp, 0x10
mov ecx, edi
mov eax, esp
movups xmmword [eax], xmm0
call fcn.0049bfd0
test al, al
je 0x492ed3
push 1
mov ecx, edi
call fcn.00495570
mov eax, dword [edi]
lea esi, [edi + 0xf58]
mov eax, dword [eax + 0x1c]
cmp eax, method.ui::ProgressBar.virtual_28
jne 0x492ee8
mov eax, dword [edi + 0x1b0]
jmp 0x492eec
test esi, esi
je 0x492ed3
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
sub eax, esi
sar eax, 1
push eax
push esi
call fcn.00403ab0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, edi
call eax
push esi
mov ecx, eax
call fcn.0042cbe0
movups xmm0, xmmword [0x50e210]
lea esi, [edi + 0xf7c]
mov ecx, edi
push esi
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.0049c310
mov ecx, dword [esi]
test ecx, ecx
je 0x492f22
mov eax, dword [ecx]
push 0xffffffffffffffff
push ecx
call dword [eax + 0xf0]
cmp byte [edi + 0x1010], 0
je 0x492f3f
mov eax, dword [edi + 0xf8c]
cmp word [eax], 0
je 0x492f3f
push eax
mov ecx, edi
call fcn.00494760
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x494760
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5089f0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x541074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
test edi, edi
je 0x494921
mov ecx, dword [esi + 0xf78]
test ecx, ecx
je 0x49485a
cmp byte [esi + 0x1048], 0
je 0x4947dd
mov eax, dword [esi + 0x1b0]
mov al, byte [eax + 0x14b]
test al, al
jne 0x4947dd
push 0
push ecx
call dword [0x5486b0]
mov ecx, dword [esi + 0x1b0]
add esp, 8
push 0x7d0
push 0x79
push esi
call fcn.0042a2e0
mov byte [esi + 0xf71], 0
mov dword [esi + 0x1050], 0
mov eax, dword [esi + 0x10f4]
sub eax, dword [esi + 0x10f0]
cmp eax, 4
jb 0x494813
push dword [esi + 0x1054]
mov ecx, dword [esi + 0x1b0]
push 0x78
push esi
call fcn.0042a2e0
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.00434c60
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x49482c
mov eax, dword [eax]
push eax
push dword [esi + 0xf78]
call dword [0x548a1c]
mov eax, dword [ebp - 0x18]
add esp, 8
cmp eax, 0x10
jb 0x494921
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00403400
jmp 0x494921
cmp dword [esi + 0xf7c], 0
je 0x494921
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, 8
mov dword [ebp - 4], 1
push edi
mov word [ebp - 0x3c], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp byte [esi + 0x1048], 0
mov dword [ebp - 0x34], eax
je 0x4948c4
mov eax, dword [esi + 0x1b0]
cmp byte [eax + 0x14b], 0
jne 0x4948c4
push 0
push dword [esi + 0xf40]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x1b0]
push 0x7d0
push 0x79
push esi
call fcn.0042a2e0
mov byte [esi + 0xf71], 0
mov dword [esi + 0x1050], 0
mov eax, dword [esi + 0x10f4]
sub eax, dword [esi + 0x10f0]
test eax, 0xfffffffc
je 0x4948fc
push dword [esi + 0x1054]
mov ecx, dword [esi + 0x1b0]
push 0x78
push esi
call fcn.0042a2e0
mov eax, dword [esi + 0xf7c]
lea edx, [ebp - 0x3c]
push 0
push 0
push 0
mov ecx, dword [eax]
push 0
push edx
push eax
call dword [ecx + 0xd0]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c8882
mov esp, ebp
pop ebp
ret 4
Function at 0x494b30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp edi, dword [esi + 0xf7c]
jne 0x494c34
cmp dword [esi + 0x1018], 0
jne 0x494bd9
mov eax, dword [esi + 0x1b0]
cmp byte [eax + 0x14b], 0
je 0x494bd9
push 0
push dword [esi + 0xf40]
mov dword [esp + 0x10], str.Internet_Explorer_Hidden
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea ecx, [esp + 8]
push ecx
push 0x494940
push eax
call dword [sym.imp.USER32.dll_EnumThreadWindows]
mov eax, dword [esp + 0xc]
mov dword [esi + 0x1018], eax
test eax, eax
je 0x494bd9
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push esi
push str.BrowserContext
push dword [esi + 0x1018]
mov dword [esi + 0x101c], eax
call dword [sym.imp.USER32.dll_SetPropW]
push 0x495a90
push 0xfffffffffffffffc
push dword [esi + 0x1018]
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp byte [esi + 0x1048], 0
mov byte [esi + 0xf71], 1
je 0x494bfe
push 5
push dword [esi + 0xf40]
mov byte [esi + 0x1048], 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x1b0]
test ecx, ecx
je 0x494c34
push 0x78
push esi
call fcn.0042a430
mov ecx, dword [esi + 0x1b0]
push 0x79
push esi
call fcn.0042a430
push ecx
mov ecx, dword [esi + 0x1b0]
push 0
push 0
push str.LoadOver
push esi
call fcn.0042aca0
mov ecx, dword [esi + 0x1170]
test ecx, ecx
je 0x494c47
push dword [ebp + 0xc]
mov eax, dword [ecx]
push edi
call dword [eax + 0x10]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4966f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508b38
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x541074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.BrowserKernalSwitched
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp byte [ebp + 8], 0
mov byte [esi + 0xf72], 0
je 0x49678e
cvttss2si eax, dword [esi + 0x2d0]
mov edx, dword [esi]
sub esp, 0x10
mov ecx, esi
mov dword [ebp - 0x1c], eax
cvttss2si eax, dword [esi + 0x2d4]
mov dword [ebp - 0x18], eax
cvttss2si eax, dword [esi + 0x2d8]
mov dword [ebp - 0x14], eax
cvttss2si eax, dword [esi + 0x2dc]
mov dword [ebp - 0x10], eax
mov eax, esp
movups xmm0, xmmword [ebp - 0x1c]
movups xmmword [eax], xmm0
call dword [edx + 0x27c]
mov ecx, dword [esi + 0x1b0]
push 0x7d0
push 0x79
push esi
call fcn.0042a2e0
jmp 0x4967ec
mov ecx, dword [esi + 0x1b0]
push 0xc8
push 0x79
push esi
call fcn.0042a2e0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 2
mov eax, 8
push dword [esi + 0xf8c]
mov word [ebp - 0x1c], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 0
push 0
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
mov eax, dword [esi + 0xf7c]
push 0
push 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xd0]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp + 0x24]
cmp eax, 8
jb 0x496801
inc eax
lea ecx, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
call fcn.00403ab0
xor eax, eax
mov dword [ebp + 0x24], 7
mov word [ebp + 0x10], ax
mov eax, dword [ebp + 0x3c]
mov dword [ebp + 0x20], 0
cmp eax, 8
jb 0x49682a
inc eax
lea ecx, [ebp + 0x28]
push eax
push dword [ebp + 0x28]
call fcn.00403ab0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x38
Function at 0x4a32f0
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push dword [ebp + 0x20]
mov esi, ecx
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [eax + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
test eax, eax
jne 0x4a3324
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4a3327
pop esi
pop ebp
ret 0x20
mov dword [esi + 4], eax
cmp dword [esi + 8], 0
je 0x4a3353
push 4
lea eax, [ebp + 8]
mov dword [ebp + 8], 2
push eax
push 0x3f
push dword [esi + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x4a3353
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4a3355
xor eax, eax
pop esi
pop ebp
ret 0x20
Function at 0x4a39d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509124
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x541074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
lea eax, [edi + 0x10]
mov dword [edi], vtable.CConnection.0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x4a3a26
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0x30]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea eax, [edi + 0x48]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov byte [ebp - 4], 4
push 0x138
mov dword [edi + 0x28], 0
mov byte [edi + 0xc], 0
call fcn.004c8893
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.0043a780
push 0
push 0
push 0
push 0xffffffffffffffff
mov dword [edi + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [edi + 0x2c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4a4350
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0xc], 0
jne 0x4a43d2
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x4a43d2
call fcn.0043ae90
test eax, eax
je 0x4a4376
push dword [ebp + 8]
mov ecx, eax
call fcn.0043b240
push ebx
push edi
lea ebx, [esi + 0x30]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x64]
sub eax, dword [esi + 0x60]
sar eax, 2
cmp eax, 5
jge 0x4a43ba
cmp dword [esi + 0x28], eax
jne 0x4a43ba
push 0
push 0
push esi
push 0x4a3dd0
push 0
push 0
call fcn.004ea340
add esp, 0x18
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
lea ecx, [esi + 0x60]
push eax
call fcn.00409560
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 1
push 0
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
pop edi
pop ebx
pop esi
pop ebp
ret 4
Function at 0x4af3e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 8
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x4af3fb
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x4af417
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x4af406
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x4af44d
cmp dword [ecx], edi
jne 0x4af445
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x4af455
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x4af455
cmp dword [ecx], edi
jne 0x4af458
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [edx + 8]
call fcn.004afd40
push edi
call fcn.004c8b2e
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4afa80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5097d5
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x541074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], 0
lea eax, [esi + 0x58]
mov dword [esi + 0x14], 0
xor ecx, ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esi], vtable.ui::ElemPainter.0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x50], vtable.ui::CDuiString.0
mov dword [esi + 0x54], eax
mov word [eax], cx
mov dword [ebp - 4], ecx
lea eax, [esi + 0xe0]
mov dword [esi + 0xd8], vtable.ui::CDuiString.0
mov dword [esi + 0xdc], eax
mov word [eax], cx
mov dword [esi + 0x184], ecx
lea ecx, [esi + 0x188]
mov byte [ebp - 4], 2
call fcn.0043f130
lea ecx, [esi + 0x1a8]
mov byte [ebp - 4], 3
call fcn.0043f130
mov eax, dword [ebp + 8]
lea edi, [esi + 0x160]
mov dword [esi + 8], 1
mov dword [esi + 0x4c], eax
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x4afba1
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [edi + 0x24], 0
mov eax, esi
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 0x4b0ee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa8
mov eax, dword [0x541074]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
cmp byte [esi + 0x3f], 0
jne 0x4b1024
cmp byte [esi + 0x3c], 0
jne 0x4b1118
cmp byte [esi + 0x3e], 0
jne 0x4b0f20
mov byte [esi + 0x3e], 1
cmp byte [esi + 0x40], 0
movss xmm2, dword [esi + 0x38]
mulss xmm2, dword [ebp + 8]
movaps xmm0, xmm2
movss dword [esp + 0xc], xmm2
addss xmm0, dword [esi + 0x30]
movss dword [esi + 0x30], xmm0
je 0x4b1107
movss xmm0, dword [esi + 0x78]
cvtps2pd xmm0, xmm0
andps xmm0, xmmword [0x52af00]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [esi + 0x84]
comiss xmm0, xmm1
jae 0x4b10e4
movss xmm0, dword [esi + 0x7c]
cvtps2pd xmm1, xmm2
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esi + 0x80]
cvtpd2ps xmm1, xmm1
movss dword [esp + 8], xmm0
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
call fcn.004f1010
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
movss xmm0, dword [esi + 0x78]
movaps xmm3, xmm0
mulss xmm0, xmm2
mulss xmm3, dword [0x52ac34]
movss dword [esi + 0x78], xmm0
movss xmm0, dword [0x52acb4]
movaps xmm1, xmm0
subss xmm0, dword [esp + 8]
subss xmm1, xmm2
mulss xmm1, dword [esp + 8]
divss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm3
addss xmm1, dword [esi + 0x7c]
movss dword [esi + 0x7c], xmm1
movss xmm1, dword [esp + 0xc]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x4b103c
movss xmm0, dword [esi + 0x7c]
mov ecx, esi
subss xmm0, dword [esp + 0x10]
cvtps2pd xmm0, xmm0
andps xmm0, xmmword [0x52af00]
cvtpd2ps xmm1, xmm0
call fcn.004b0e90
test al, al
je 0x4b103c
mov dword [esi + 0x78], 0
mov byte [esi + 0x3f], 1
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004c8882
mov esp, ebp
pop ebp
ret 4
mov edi, dword [esi + 0x10]
mov esi, dword [edi]
cmp esi, edi
je 0x4b1118
nop dword [eax]
lea eax, [esp + 0x20]
mov dword [esp + 0x18], vtable.ui::CDuiString.0
push 0xffffffffffffffff
push dword [esi + 0xc]
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x20]
xor eax, eax
mov word [esp + 0x28], ax
call fcn.00434660
mov eax, dword [esi + 0x90]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xa0], eax
movss xmm0, dword [ecx + 0x7c]
subss xmm0, dword [eax + 4]
subss xmm0, dword [eax + 8]
movss dword [eax + 0x10], xmm0
movss xmm0, dword [eax + 8]
addss xmm0, dword [ecx + 0x7c]
lea ecx, [esp + 0x20]
movss dword [eax + 4], xmm0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], vtable.ui::CDuiString.0
cmp eax, ecx
je 0x4b10c6
push eax
call fcn.004e7744
add esp, 4
mov esi, dword [esi]
cmp esi, edi
jne 0x4b1050
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004c8882
mov esp, ebp
pop ebp
ret 4
mov byte [esi + 0x3f], 1
xor al, al
mov dword [esi + 0x78], 0
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004c8882
mov esp, ebp
pop ebp
ret 4
comiss xmm0, dword [esi + 0x2c]
jbe 0x4b1118
mov byte [esi + 0x40], 1
mov dword [esi + 0x30], 0
mov ecx, dword [esp + 0xac]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.004c8882
mov esp, ebp
pop ebp
ret 4
Function at 0x4cbcc8
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 0x401360
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
push 0x201
push 0
push 0x436820
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0
push str.installpath
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4013be
lea eax, [ebp - 8]
push eax
push esi
push 0
push 0
push str.installpath
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x4013dc
mov ecx, 0x104
mov eax, esi
lea esp, [esp]
cmp word [eax], 0
je 0x401404
add eax, 2
dec ecx
jne 0x4013d0
xor eax, eax
cmp word [esi + eax*2 - 2], 0x5c
je 0x4013f6
push 0x435ce4
push 0x104
push esi
call fcn.00401200
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x4013dc
mov eax, 0x104
sub eax, ecx
jmp 0x4013de

Function at 0x401420
Capabilities:
Check os version
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x93c
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
lea eax, [ebp - 0x938]
push 0
push eax
call fcn.00417930
add esp, 0xc
mov dword [ebp - 0x938], 0x114
lea eax, [ebp - 0x938]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x934], 5
jbe 0x401553
push esi
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push eax
call fcn.00417930
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.00417930
push str.USERPROFILE
push 0
lea eax, [ebp - 0x93c]
push 0
push eax
call fcn.00416749
mov eax, dword [ebp - 0x93c]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00416b11
mov esi, eax
add esp, 0x2c
test esi, esi
je 0x401552
push str.USERPROFILE
push dword [ebp - 0x93c]
lea eax, [ebp - 0x93c]
push esi
push eax
call fcn.00416749
movzx eax, word [esi]
push eax
push esi
push str._sAppDataLocalMicrosoftWindowsTemporary_Internet_FilesVirtualized_cProgramDataGID_act.ws
lea eax, [ebp - 0x824]
push 0x208
push eax
call fcn.00401280
movzx eax, word [esi]
push eax
push esi
push str._sAppDataLocalMicrosoftWindowsTemporary_Internet_FilesVirtualized_cProgramDataGID
lea eax, [ebp - 0x414]
push 0x208
push eax
call fcn.00401280
add esp, 0x38
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
call fcn.00416a67
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416230
mov esp, ebp
pop ebp
ret
Function at 0x401570
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00417930
add esp, 0xc
mov dword [0x440970], 0
lea eax, [ebp - 0x20c]
mov dword [0x440974], 0
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40167c
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.0041681d
add esp, 8
test eax, eax
je 0x4015f2
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push eax
push str.__sx64_
push 0x104
push 0x441198
call fcn.00401280
add esp, 0x10
mov dword [ebp - 0x210], 0
push str.IsWow64Process
push str.kernel32
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x401643
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 0x210], 0
lea eax, [ebp - 0x20c]
push str.gidv2.sys
push eax
je 0x40165f
push str.__sx64_s
jmp 0x401664
push str.__s_s
push 0x104
push 0x440978
call fcn.00401280
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
add esp, 0x14
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x401778
lea eax, [ebp - 0x20c]
push eax
push str.__sSysnative_
push 0x104
push 0x4415a8
call fcn.00401280
lea eax, [ebp - 0x20c]
push eax
push str.__sSystem32_
push 0x104
push 0x4413a0
call fcn.00401280
add esp, 0x20
mov dword [ebp - 0x210], 0
push str.IsWow64Process
push str.kernel32
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x401702
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 0x210], 0
lea eax, [ebp - 0x20c]
push str.gidv2.sys
push eax
je 0x40171e
push str.__sSysnativeDrivers_s
jmp 0x401723
push str.__sSystem32Drivers_s
push 0x104
push 0x440b80
call fcn.00401280
add esp, 0x14
lea eax, [ebp - 0x20c]
push str.gidv2.sys
push eax
push str.__sSystem32Drivers_s
push 0x104
push 0x440d88
call fcn.00401280
push str.gidv2.remove
lea eax, [ebp - 0x20c]
push eax
push str.__sSystem32Drivers_s
push 0x104
push 0x440f90
call fcn.00401280
add esp, 0x28
mov ecx, dword [ebp - 4]
mov eax, 0x440970
xor ecx, ebp
pop esi
call fcn.00416230
mov esp, ebp
pop ebp
ret