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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3a68
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x54b1b4]
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 ebx, 1
test byte [0x54f018], bl
jne 0x4451a0
or dword [0x54f018], ebx
call fcn.00443940
push 0x4f5ff0
call fcn.004bc45e
add esp, 4
xor esi, esi
cmp dword [0x54ef94], esi
je 0x44533f
test byte [0x54f018], 1
jne 0x4451cf
or dword [0x54f018], ebx
call fcn.00443940
push 0x4f5ff0
call fcn.004bc45e
add esp, 4
cmp dword [0x54ef7c], 8
mov eax, dword [0x54ef68]
jae 0x4451e2
mov eax, 0x54ef68
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44533f
test byte [0x54f018], 1
jne 0x445212
or dword [0x54f018], ebx
call fcn.00443940
push 0x4f5ff0
call fcn.004bc45e
add esp, 4
lea eax, [ebp - 0x60]
mov edi, vtable.CVersionHelp.0
push eax
mov ecx, 0x54eef8
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
call fcn.00447400
mov dword [ebp - 4], esi
test byte [0x54f018], 1
jne 0x445258
or dword [0x54f018], ebx
call fcn.00443940
push 0x4f5ff0
call fcn.004bc45e
add esp, 4
lea ecx, [ebp - 0x74]
push ecx
mov ecx, 0x54ef84
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
call fcn.00447400
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.00447300
test al, al
jne 0x44533f
mov edx, dword [0x54af28]
mov eax, dword [edx + 0xc]
mov ecx, 0x54af28
call eax
add eax, 0x10
mov dword [ebp - 0x4c], eax
push 0x516918
mov byte [ebp - 4], 2
call fcn.0042ad10
push eax
mov edx, str.Setup
lea ecx, [ebp - 0x2c]
call fcn.0042b380
mov bl, 3
lea esi, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00403e00
mov esi, 8
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], esi
jb 0x4452db
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x4452e6
lea ecx, [ebp - 0x2c]
push eax
push ecx
lea edi, [ebp - 0x4c]
call fcn.00407bd0
add esp, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], esi
jb 0x445307
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004ba3a4
add esp, 4
mov esi, dword [ebp - 0x4c]
xor edx, edx
mov ecx, esi
call fcn.00447120
lea ecx, [ebp - 0x2c]
test eax, eax
jne 0x445343
call fcn.004077e0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44533f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x44536a
call fcn.004077e0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x445368
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
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.004ba3af
mov esp, ebp
pop ebp
ret
Function at 0x445570
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f02b8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x54b1b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
test byte [0x54f018], 1
mov dword [ebp - 0x68], edi
jne 0x4455c1
or dword [0x54f018], 1
call fcn.00443940
push 0x4f5ff0
call fcn.004bc45e
add esp, 4
push 0xffffffffffffffff
push edi
xor eax, eax
push 0x54ef68
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.00407f10
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x4455f4
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44569a
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x44560e
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x445628
push 1
mov eax, 0x510884
lea ecx, [ebp - 0x2c]
call fcn.00407450
cmp dword [0x54c6bc], edi
je 0x445678
mov edi, 0x54c674
mov ecx, str.soyiba
call fcn.00407000
test al, al
jne 0x44566a
mov ecx, 0x5108fc
call fcn.00445790
test al, al
je 0x445676
mov ecx, 0x510900
call fcn.00445790
test al, al
je 0x445676
mov eax, edi
call fcn.00447a80
test al, al
jne 0x445676
lea edx, [ebp - 0x2c]
push edx
call fcn.004469d0
add esp, 4
xor edi, edi
mov dword [ebx + 0x10], edi
xor eax, eax
mov dword [ebx + 0x14], 7
lea edi, [ebp - 0x2c]
mov esi, ebx
mov word [ebx], ax
call fcn.00407640
cmp dword [ebp - 0x18], 8
jmp 0x445765
test byte [0x54f018], 1
jne 0x4456bc
or dword [0x54f018], 1
call fcn.00443940
push 0x4f5ff0
call fcn.004bc45e
add esp, 4
movzx edx, byte [0x54eff9]
push edx
lea esi, [ebp - 0x48]
call fcn.004023f0
add esp, 4
push 1
mov eax, 0x510884
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00407450
lea esi, [ebp - 0x64]
call fcn.00403dc0
push edi
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.00407350
mov byte [ebp - 4], 1
cmp dword [ebp - 0x50], 8
jb 0x445710
mov eax, dword [ebp - 0x64]
push eax
call fcn.004ba3a4
add esp, 4
push 1
mov eax, 0x510884
lea ecx, [ebp - 0x48]
call fcn.00407450
mov dword [ebx + 0x10], edi
xor ecx, ecx
mov dword [ebx + 0x14], 7
lea edi, [ebp - 0x48]
mov esi, ebx
mov word [ebx], cx
call fcn.00407640
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x44574e
mov edx, dword [ebp - 0x48]
push edx
call fcn.004ba3a4
add esp, 4
xor eax, eax
cmp dword [ebp - 0x18], esi
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
jb 0x445773
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004ba3a4
add esp, 4
mov eax, ebx
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.004ba3af
mov esp, ebp
pop ebp
ret
Function at 0x44f240
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4bb6
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x54b1b4]
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 eax, dword [ebp + 8]
push 0xa
push 0x83
push 0
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x44f31c
test byte [0x54f59c], 1
jne 0x44f2c6
or dword [0x54f59c], 1
push 0x54f520
mov dword [ebp - 4], eax
call fcn.00433a60
push 0x4f5f80
mov byte [0x54f598], 0
call fcn.004bc45e
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x515108
push 0x54f520
mov edx, str.Error
lea ecx, [ebp - 0x48]
call fcn.0042b380
mov edi, eax
mov esi, ebx
mov dword [ebp - 4], 1
call fcn.00407640
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], 8
jb 0x44f306
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004ba3a4
add esp, 4
mov ecx, dword [ebp - 0x4c]
push 3
push 0x517d48
call fcn.00408440
xor al, al
jmp 0x44f42f
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
xor edi, edi
push edi
mov dword [ebp - 0x54], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x50], eax
cmp eax, edi
jne 0x44f37b
push 0x515100
call fcn.0042ad10
push eax
mov edx, str.Error
lea ecx, [ebp - 0x48]
call fcn.0042b380
mov edi, eax
mov esi, ebx
mov dword [ebp - 4], 2
call fcn.00407640
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], 8
jb 0x44f306
mov edx, dword [ebp - 0x48]
push edx
jmp 0x44f2fe
lea edx, [esi + 0x54]
mov dword [ebp - 0x5c], esi
mov esi, 8
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x60], 0x44f1f0
cmp dword [edx + 0x14], esi
jb 0x44f397
mov edx, dword [edx]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 7
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44f3b0
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00408440
mov edx, dword [ebp - 0x50]
push ebx
mov ebx, dword [ebp - 0x54]
lea edi, [ebp - 0x60]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 3
call fcn.00402aa0
add esp, 4
test al, al
sete bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], esi
jb 0x44f402
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004ba3a4
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
test bl, bl
je 0x44f42d
mov ecx, dword [ebp - 0x4c]
push 3
push 0x517a20
call fcn.00408440
xor al, al
jmp 0x44f42f
mov al, 1
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.004ba3af
mov esp, ebp
pop ebp
ret 4
Function at 0x453ab0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f224e
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x54b1b4]
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 ebx, 1
xor edi, edi
test byte [0x54f01c], bl
jne 0x453b0c
or dword [0x54f01c], ebx
mov dword [ebp - 4], edi
call fcn.0044d8c0
push 0x4f6000
call fcn.004bc45e
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0xffffffffffffffff
push edi
xor eax, eax
push 0x54f074
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.00407f10
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], edi
jne 0x453b3d
cmp dword [ebp - 0x18], 8
jmp 0x453be0
lea esi, [ebp - 0x48]
call fcn.00403d70
push edi
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00407350
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x453b6c
mov edx, dword [ebp - 0x48]
push edx
call fcn.004ba3a4
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x453b77
lea eax, [ebp - 0x2c]
push ebx
push edi
push edi
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
test byte [0x54f51c], bl
jne 0x453bc6
or dword [0x54f51c], ebx
push 0x4f6040
mov dword [0x54f500], edi
mov dword [0x54f504], edi
mov dword [0x54f508], edi
mov dword [0x54f50c], edi
mov dword [0x54f510], edi
mov dword [0x54f518], edi
call fcn.004bc45e
add esp, 4
mov eax, dword [0x54f500]
push edi
push edi
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push edi
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0x18], esi
jb 0x453bee
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004ba3a4
add esp, 4
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.004ba3af
mov esp, ebp
pop ebp
ret
Function at 0x458bb0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x54b1b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push 0x20
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x458c28
lea ecx, [ebp - 0x10]
push ecx
push 0x519ef4
push esi
mov dword [ebp - 0x14], 1
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 0x18]
push esi
push esi
push 0x10
lea edx, [ebp - 0x14]
push edx
push esi
push eax
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x18]
mov esi, eax
neg esi
sbb esi, esi
push ecx
inc esi
call ebx
push edi
call ebx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ba3af
mov esp, ebp
pop ebp
ret

Function at 0x458c40
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x54c5e8]
push esi
mov esi, 8
push edi
cmp dword [0x54c5fc], esi
jae 0x458c5d
mov eax, 0x54c5e8
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x458d04
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x458d0c
mov ecx, dword [0x54c604]
cmp dword [0x54c618], esi
jae 0x458c94
mov ecx, 0x54c604
mov eax, dword [0x54c620]
cmp dword [0x54c634], esi
jae 0x458ca6
mov eax, 0x54c620
push ecx
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x458cce
push 0
push 0xf120
push 0x112
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [0x54eee0]
test eax, eax
je 0x458d04
cmp dword [eax + 8], 2
mov edi, eax
jl 0x458d04
push str.Main.cpp
push 2
push ecx
mov eax, esp
mov dword [ebp - 4], esp
push eax
mov ecx, 0x519f18
mov esi, 0x297
call fcn.0042ef60
push edi
mov ecx, esi
call fcn.0042cbc0
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45cce0
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [esi + 0x2c], 0
push ebx
push edi
je 0x45ce98
lea edi, [esi + 0x1c]
mov ebx, 8
mov dword [ebp - 0x10], edi
cmp dword [edi + 0x14], ebx
jb 0x45cd06
mov eax, dword [edi]
jmp 0x45cd08
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45ce98
cmp dword [edi + 0x14], ebx
jb 0x45cd20
mov eax, dword [edi]
jmp 0x45cd22
mov eax, edi
push eax
mov ecx, esi
call fcn.0045cea0
mov ebx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x70]
mov edi, dword [esi + 0x60]
sub edi, dword [esi + 0x5c]
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, ecx
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
jns 0x45cd6e
fadd dword [0x51be68]
fdivr qword [0x51bee8]
xor edi, edi
mov dword [ebp - 8], edi
fstp dword [ebp - 0xc]
cmp ecx, edi
jbe 0x45cdf3
mov dword [ebp - 4], edi
add ebx, dword [ebp - 4]
cmp dword [ebx + 0x14], 8
jb 0x45cd8e
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [esi + 0x54]
test ebx, ebx
je 0x45cdcc
lea edx, [edi + 1]
mov dword [ebp - 8], edx
fild dword [ebp - 8]
test edx, edx
jns 0x45cdaf
fadd dword [0x51be68]
fmul dword [ebp - 0xc]
fadd qword [0x51bee0]
call fcn.004c3410
push eax
push 0
push 0x4c9
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ebx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x70]
add dword [ebp - 4], 0x1c
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x45cd83
mov dword [ebp - 8], edi
mov ebx, dword [esi + 0x5c]
mov ecx, dword [esi + 0x60]
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
xor edi, edi
add ecx, edx
je 0x45ce86
mov dword [ebp - 4], edi
add ebx, dword [ebp - 4]
cmp dword [ebx + 0x14], 8
jb 0x45ce20
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, dword [esi + 0x54]
test ebx, ebx
je 0x45ce62
mov eax, dword [ebp - 8]
lea ecx, [edi + eax + 1]
mov dword [ebp - 0x14], ecx
fild dword [ebp - 0x14]
test ecx, ecx
jns 0x45ce45
fadd dword [0x51be68]
fmul dword [ebp - 0xc]
fadd qword [0x51bee0]
call fcn.004c3410
push eax
push 0
push 0x4c9
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ebx, dword [esi + 0x5c]
mov ecx, dword [esi + 0x60]
add dword [ebp - 4], 0x1c
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x45ce15
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], 8
jb 0x45ce91
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45eb00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5338
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x54b1b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
test byte [0x54f018], 1
jne 0x45eb62
or dword [0x54f018], 1
call fcn.00443940
push 0x4f5ff0
call fcn.004bc45e
add esp, 4
push 0xffffffffffffffff
push 0
push 0x54ef68
lea ecx, [edi + 0x24]
call fcn.00407f10
cmp dword [edi + 0x38], 8
mov ecx, dword [edi + 0x34]
jb 0x45eb81
mov eax, dword [edi + 0x24]
jmp 0x45eb84
lea eax, [edi + 0x24]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x45eb9b
push 1
mov eax, 0x510884
lea ecx, [edi + 0x24]
call fcn.00407450
push 0
push 0
push edi
push fcn.00460a50
push 0
push 0
call fcn.004bd3ed
add esp, 0x18
mov dword [edi + 0xa0], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ba3af
mov esp, ebp
pop ebp
ret
Function at 0x460090
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed568
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x54b1b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
test byte [0x54f018], 1
jne 0x4600f2
or dword [0x54f018], 1
call fcn.00443940
push 0x4f5ff0
call fcn.004bc45e
add esp, 4
push 0xffffffffffffffff
push 0
push 0x54ef68
lea ecx, [edi + 0x24]
call fcn.00407f10
cmp dword [edi + 0x38], 8
mov ecx, dword [edi + 0x34]
jb 0x460111
mov eax, dword [edi + 0x24]
jmp 0x460114
lea eax, [edi + 0x24]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x46012b
push 1
mov eax, 0x510884
lea ecx, [edi + 0x24]
call fcn.00407450
mov ecx, dword [edi + 0x9c]
push 0
push 0
push ecx
push 0x4609c0
push 0
push 0
call fcn.004bd3ed
add esp, 0x18
mov dword [edi + 0xa4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ba3af
mov esp, ebp
pop ebp
ret

Function at 0x460190
Capabilities:
Check os version
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f48e0
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x54b1b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x198]
push 0
push eax
mov dword [ebp - 0x19c], 0x11c
call fcn.004c24e0
add esp, 0xc
lea ecx, [ebp - 0x19c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x460259
cmp dword [ebp - 0x198], 6
jb 0x460259
lea esi, [ebp - 0x64]
call fcn.0040f0f0
push eax
mov eax, 0x51aeb4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00406d60
add esp, 4
lea esi, [ebx + 0x5c]
mov edi, eax
mov byte [ebp - 4], 1
call fcn.00407640
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x46023b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004ba3a4
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x50], esi
jb 0x4602c2
mov ecx, dword [ebp - 0x64]
jmp 0x4602b9
lea esi, [ebp - 0x80]
call fcn.0040f0f0
push eax
mov eax, str.cef2623.7z
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 2
call fcn.00406d60
add esp, 4
lea esi, [ebx + 0x5c]
mov edi, eax
mov byte [ebp - 4], 3
call fcn.00407640
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x46029d
mov edx, dword [ebp - 0x48]
push edx
call fcn.004ba3a4
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x6c], esi
jb 0x4602c2
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004ba3a4
add esp, 4
push 0
push 0
push ebx
push 0x460a10
push 0
push 0
call fcn.004bd3ed
xor edx, edx
add esp, 0x18
test eax, eax
mov dword [ebx + 0x94], eax
setne al
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.004ba3af
mov esp, ebp
pop ebp
ret
Function at 0x460300
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4890
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x54b1b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ebp - 0x48]
call fcn.0040f0f0
push eax
mov eax, str._vlcplugins.7z
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00406d60
add esp, 4
lea esi, [ebx + 0x78]
mov edi, eax
mov byte [ebp - 4], 1
call fcn.00407640
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x46036e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004ba3a4
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], esi
jb 0x460393
mov edx, dword [ebp - 0x48]
push edx
call fcn.004ba3a4
add esp, 4
push 0
push 0
push ebx
push 0x460a30
push 0
push 0
call fcn.004bd3ed
xor ecx, ecx
add esp, 0x18
test eax, eax
mov dword [ebx + 0x98], eax
setne al
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.004ba3af
mov esp, ebp
pop ebp
ret
Function at 0x461b00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4efe10
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x54b1b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x461b35
mov eax, dword [esi]
jmp 0x461b37
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461be6
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00467380
add esp, 4
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x461b63
mov eax, dword [eax]
lea ecx, [ebp - 0x30]
push ecx
mov esi, eax
call fcn.004131a0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0x10
jb 0x461b84
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004ba3a4
add esp, 4
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jb 0x461ba0
mov eax, dword [ebx]
jmp 0x461ba2
mov eax, ebx
test eax, eax
je 0x461c02
mov ecx, dword [ebp - 0x30]
cmp dword [ecx - 0xc], 0
jl 0x461bc7
push eax
push ecx
call fcn.004bcc2f
add esp, 8
test eax, eax
je 0x461c02
mov ecx, dword [ebp - 0x30]
sub eax, ecx
cmp eax, 1
jge 0x461c07
lea eax, [ecx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461be6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ba3af
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x30]
jmp 0x461bc7
mov esi, dword [ebx + 0x10]
mov edx, dword [ecx - 0xc]
add esi, eax
cmp esi, edx
jne 0x461bc7
dec eax
js 0x461c47
cmp eax, edx
jg 0x461c47
cmp byte [eax + ecx], 0x40
jne 0x461bc7
lea eax, [ecx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461c43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x461be8
push 0x80070057
call fcn.00407ad0
int3