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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea970
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x53f1e4]
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 [0x5431e4], bl
jne 0x4447f0
or dword [0x5431e4], ebx
call fcn.00442d10
push 0x4ecbd0
call fcn.004b4336
add esp, 4
xor esi, esi
cmp dword [0x543160], esi
je 0x444962
test byte [0x5431e4], bl
jne 0x44481e
or dword [0x5431e4], ebx
call fcn.00442d10
push 0x4ecbd0
call fcn.004b4336
add esp, 4
cmp dword [0x543148], 8
mov eax, dword [0x543134]
jae 0x444831
mov eax, 0x543134
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x444962
test byte [0x5431e4], bl
jne 0x444860
or dword [0x5431e4], ebx
call fcn.00442d10
push 0x4ecbd0
call fcn.004b4336
add esp, 4
lea eax, [ebp - 0x58]
mov edi, vtable.CVersionHelp.0
push eax
mov ecx, 0x5430e0
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
call fcn.00444e90
mov dword [ebp - 4], esi
test byte [0x5431e4], bl
jne 0x4448a5
or dword [0x5431e4], ebx
call fcn.00442d10
push 0x4ecbd0
call fcn.004b4336
add esp, 4
lea ecx, [ebp - 0x44]
push ecx
mov ecx, 0x543150
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
call fcn.00444e90
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.00444d90
test al, al
jne 0x444962
mov edx, dword [0x53ef48]
mov eax, dword [edx + 0xc]
mov ecx, 0x53ef48
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
push 0x50a8a0
mov byte [ebp - 4], 2
call fcn.0042a770
push eax
mov edx, str.Setup
lea ecx, [ebp - 0x2c]
call fcn.0042ade0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x44491a
lea eax, [ebp - 0x2c]
push 0x50a8b0
push eax
lea edi, [ebp - 0x30]
call fcn.00408a70
mov esi, dword [ebp - 0x30]
add esp, 8
xor edx, edx
mov ecx, esi
call fcn.00443df0
lea ecx, [ebp - 0x2c]
test eax, eax
jne 0x444966
call fcn.00404a50
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444962
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x44498c
call fcn.00404a50
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44498a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
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.004b1c2d
mov esp, ebp
pop ebp
ret
Function at 0x444b80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5f30
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x53f1e4]
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 [0x5431e4], 1
mov dword [ebp - 0x4c], edi
jne 0x444bd1
or dword [0x5431e4], 1
call fcn.00442d10
push 0x4ecbd0
call fcn.004b4336
add esp, 4
push 0xffffffffffffffff
push edi
xor eax, eax
push 0x543134
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.00404530
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x444c04
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x444c60
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x444c1a
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x444c34
push 1
mov eax, 0x5062dc
lea ecx, [ebp - 0x2c]
call fcn.00403f00
mov dword [ebx + 0x10], edi
xor edx, edx
mov dword [ebx + 0x14], 7
lea edi, [ebp - 0x2c]
mov esi, ebx
mov word [ebx], dx
call fcn.00404350
cmp dword [ebp - 0x18], 8
jb 0x444d16
mov eax, dword [ebp - 0x2c]
push eax
jmp 0x444d0e
test byte [0x5431e4], 1
jne 0x444c82
or dword [0x5431e4], 1
call fcn.00442d10
push 0x4ecbd0
call fcn.004b4336
add esp, 4
movzx ecx, byte [0x5431c5]
push ecx
lea esi, [ebp - 0x48]
call fcn.00405180
add esp, 4
push 1
mov eax, 0x5062dc
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00403f00
push 7
mov eax, 0x50a8b0
mov ecx, esi
call fcn.00403f00
push 1
mov eax, 0x5062dc
mov ecx, esi
call fcn.00403f00
mov dword [ebx + 0x10], edi
xor edx, edx
mov edi, esi
mov dword [ebx + 0x14], 7
mov esi, ebx
mov word [ebx], dx
call fcn.00404350
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x444cf1
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b1c22
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], esi
jb 0x444d16
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b1c22
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.004b1c2d
mov esp, ebp
pop ebp
ret
Function at 0x44a4b0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
test byte [0x5431e8], 1
jne 0x44a4eb
or dword [0x5431e8], 1
call fcn.0044d4c0
push 0x4ecbe0
call fcn.004b4336
add esp, 4
mov esi, 0x5431f0
call fcn.0044f900
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov al, 1
pop esi
ret

Function at 0x44b3d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x53f1e4]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [0x5431e8], 1
jne 0x44b402
or dword [0x5431e8], 1
call fcn.0044d4c0
push 0x4ecbe0
call fcn.004b4336
add esp, 4
push str.WEMedia.exe
lea eax, [ebp - 0x20]
push 0x543244
push eax
call fcn.00403a10
mov eax, dword [ebp - 0x20]
add esp, 0xc
cmp dword [ebp - 0xc], 8
jae 0x44b424
lea eax, [ebp - 0x20]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0xc], 8
jb 0x44b452
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004b1c22
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b1c2d
mov esp, ebp
pop ebp
ret

Function at 0x44d1f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x53f1e4]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [0x5431e8], 1
jne 0x44d222
or dword [0x5431e8], 1
call fcn.0044d4c0
push 0x4ecbe0
call fcn.004b4336
add esp, 4
push str.WEMedia.exe
lea eax, [ebp - 0x20]
push 0x543244
push eax
call fcn.00403a10
mov eax, dword [ebp - 0x20]
add esp, 0xc
cmp dword [ebp - 0xc], 8
jae 0x44d244
lea eax, [ebp - 0x20]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0xc], 8
jb 0x44d272
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004b1c22
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b1c2d
mov esp, ebp
pop ebp
ret
Function at 0x44e760
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebad6
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x53f1e4]
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 0x44e83c
test byte [0x5436ec], 1
jne 0x44e7e6
or dword [0x5436ec], 1
push 0x543670
mov dword [ebp - 4], eax
call fcn.00432d70
push 0x4ecb60
mov byte [0x5436e8], 0
call fcn.004b4336
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x50a890
push 0x543670
mov edx, str.Error
lea ecx, [ebp - 0x48]
call fcn.0042ade0
mov edi, eax
mov esi, ebx
mov dword [ebp - 4], 1
call fcn.00404350
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], 8
jb 0x44e826
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b1c22
add esp, 4
mov ecx, dword [ebp - 0x4c]
push 3
push 0x50d844
call fcn.00404960
xor al, al
jmp 0x44e94f
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 0x44e89b
push 0x50a89c
call fcn.0042a770
push eax
mov edx, str.Error
lea ecx, [ebp - 0x48]
call fcn.0042ade0
mov edi, eax
mov esi, ebx
mov dword [ebp - 4], 2
call fcn.00404350
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], 8
jb 0x44e826
mov edx, dword [ebp - 0x48]
push edx
jmp 0x44e81e
lea edx, [esi + 0x54]
mov dword [ebp - 0x5c], esi
mov esi, 8
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x60], 0x44e710
cmp dword [edx + 0x14], esi
jb 0x44e8b7
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 0x44e8d0
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00404960
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.00405960
add esp, 4
test al, al
sete bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], esi
jb 0x44e922
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b1c22
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 0x44e94d
mov ecx, dword [ebp - 0x4c]
push 3
push 0x50d690
call fcn.00404960
xor al, al
jmp 0x44e94f
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.004b1c2d
mov esp, ebp
pop ebp
ret 4
Function at 0x44f7e0
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eba80
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x53f1e4]
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.0040f3c0
push eax
mov eax, str.WEMediaCefPlugin.7z
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.004039a0
add esp, 4
lea esi, [ebx + 0x98]
mov edi, eax
mov byte [ebp - 4], 1
call fcn.00404350
mov edi, 8
cmp dword [ebp - 0x18], edi
jb 0x44f851
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b1c22
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], edi
jb 0x44f876
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b1c22
add esp, 4
cmp dword [esi + 0x14], edi
jb 0x44f87d
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44f88c
mov al, 1
jmp 0x44f8af
push 0
push 0
push ebx
push 0x44fb00
push 0
push 0
call fcn.004b4b99
xor ecx, ecx
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.004b1c2d
mov esp, ebp
pop ebp
ret

Function at 0x44f900
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x54307c], 1
mov eax, dword [esi + 0x4c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44f962
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x44f951
cmp dword [ebp - 4], 0x103
jne 0x44f951
mov edx, dword [esi + 0x4c]
push 0x3e8
push edx
call edi
mov eax, dword [esi + 0x4c]
push 0x22b
push eax
call ebx
mov ecx, dword [esi + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x4c], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x44f9a8
lea edx, [ebp - 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x44f997
cmp dword [ebp - 4], 0x103
jne 0x44f997
mov eax, dword [esi + 0x50]
push 0x3e8
push eax
call edi
mov ecx, dword [esi + 0x50]
push 0x22b
push ecx
call ebx
mov edx, dword [esi + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x50], 0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4517d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4de8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x53f1e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, 1
test byte [0x5431e8], bl
jne 0x45181f
or dword [0x5431e8], ebx
call fcn.0044d4c0
push 0x4ecbe0
call fcn.004b4336
add esp, 4
push 0xffffffffffffffff
xor esi, esi
push esi
xor eax, eax
push 0x543244
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
call fcn.00404530
mov dword [ebp - 4], esi
cmp dword [ebp - 0x1c], esi
jne 0x45185c
cmp dword [ebp - 0x18], 8
jb 0x4518f0
mov ecx, dword [ebp - 0x2c]
push ecx
jmp 0x4518e8
push 0xb
mov eax, str.WEMedia.exe
lea ecx, [ebp - 0x2c]
call fcn.00403f00
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x451877
lea eax, [ebp - 0x2c]
push ebx
push esi
push esi
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
test byte [0x54366c], bl
jne 0x4518c6
or dword [0x54366c], ebx
push 0x4ecca0
mov dword [0x543650], esi
mov dword [0x543654], esi
mov dword [0x543658], esi
mov dword [0x54365c], esi
mov dword [0x543660], esi
mov dword [0x543668], esi
call fcn.004b4336
add esp, 4
mov edx, dword [0x543650]
push esi
push esi
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0x18], 8
jb 0x4518f0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b1c22
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b1c2d
mov esp, ebp
pop ebp
ret
Function at 0x4548c0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x53f1e4]
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 0x454938
lea ecx, [ebp - 0x10]
push ecx
push 0x50f0e8
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.004b1c2d
mov esp, ebp
pop ebp
ret

Function at 0x454950
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5405e4]
push esi
mov esi, 8
push edi
cmp dword [0x5405f8], esi
jae 0x45496d
mov eax, 0x5405e4
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x454a14
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x454a1c
mov ecx, dword [0x540600]
cmp dword [0x540614], esi
jae 0x4549a4
mov ecx, 0x540600
mov eax, dword [0x54061c]
cmp dword [0x540630], esi
jae 0x4549b6
mov eax, 0x54061c
push ecx
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x4549de
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 [0x5430d8]
test eax, eax
je 0x454a14
cmp dword [eax + 8], 2
mov edi, eax
jl 0x454a14
push str.Main.cpp
push 2
push ecx
mov eax, esp
mov dword [ebp - 4], esp
push eax
mov ecx, 0x50f10c
mov esi, 0x184
call fcn.00408620
push edi
mov ecx, esi
call fcn.0042c420
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 0x457130
Capabilities:
Check os version
Get common file path
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x53f1e4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x35c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x118
lea ecx, [ebp - 0x334]
push 0
push ecx
mov dword [ebp - 0x338], 0x11c
call fcn.004b9c60
add esp, 0xc
lea edx, [ebp - 0x338]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4571a4
cmp dword [ebp - 0x334], 6
setae al
test al, al
je 0x4571a4
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x45719b
mov eax, dword [eax]
push eax
call fcn.0040e720
add esp, 4
push 0x10
call fcn.00430fb0
add esp, 4
push 0xb
call fcn.00430fb0
add esp, 4
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.004b9c60
add esp, 0xc
push 0
push 2
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4571f2
mov eax, dword [0x5062dc]
mov dword [edi], eax
lea eax, [ebp - 0x218]
add eax, 0xfffffffe
mov edi, edi
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x457210
mov ecx, dword [0x50a8b0]
mov edx, dword [0x50a8b4]
mov dword [eax], ecx
mov ecx, dword [0x50a8b8]
mov dword [eax + 4], edx
mov edx, dword [0x50a8bc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x218]
push eax
call fcn.00405440
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
call fcn.004b1c2d
mov esp, ebp
pop ebp
ret
Function at 0x457260
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 0x457418
lea edi, [esi + 0x1c]
mov ebx, 8
mov dword [ebp - 0x10], edi
cmp dword [edi + 0x14], ebx
jb 0x457286
mov eax, dword [edi]
jmp 0x457288
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x457418
cmp dword [edi + 0x14], ebx
jb 0x4572a0
mov eax, dword [edi]
jmp 0x4572a2
mov eax, edi
push eax
mov ecx, esi
call fcn.00457420
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 0x4572ee
fadd dword [0x510ef0]
fdivr qword [0x510f68]
xor edi, edi
mov dword [ebp - 8], edi
fstp dword [ebp - 0xc]
cmp ecx, edi
jbe 0x457373
mov dword [ebp - 4], edi
add ebx, dword [ebp - 4]
cmp dword [ebx + 0x14], 8
jb 0x45730e
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [esi + 0x54]
test ebx, ebx
je 0x45734c
lea edx, [edi + 1]
mov dword [ebp - 8], edx
fild dword [ebp - 8]
test edx, edx
jns 0x45732f
fadd dword [0x510ef0]
fmul dword [ebp - 0xc]
fadd qword [0x510f60]
call fcn.004bab70
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 0x457303
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 0x457406
mov dword [ebp - 4], edi
add ebx, dword [ebp - 4]
cmp dword [ebx + 0x14], 8
jb 0x4573a0
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, dword [esi + 0x54]
test ebx, ebx
je 0x4573e2
mov eax, dword [ebp - 8]
lea ecx, [edi + eax + 1]
mov dword [ebp - 0x14], ecx
fild dword [ebp - 0x14]
test ecx, ecx
jns 0x4573c5
fadd dword [0x510ef0]
fmul dword [ebp - 0xc]
fadd qword [0x510f60]
call fcn.004bab70
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 0x457395
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], 8
jb 0x457411
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 0x458380
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e45fe
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x53f1e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
test byte [0x543530], 1
jne 0x4583e4
or dword [0x543530], 1
mov dword [ebp - 4], 0
call fcn.00459860
push 0x4ecc10
call fcn.004b4336
add esp, 4
mov esi, 0x543538
call fcn.0045abe0
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x459bd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb348
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x53f1e4]
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 [0x5431e4], 1
jne 0x459c32
or dword [0x5431e4], 1
call fcn.00442d10
push 0x4ecbd0
call fcn.004b4336
add esp, 4
push 0xffffffffffffffff
push 0
push 0x543134
lea ecx, [edi + 0x24]
call fcn.00404530
cmp dword [edi + 0x38], 8
mov ecx, dword [edi + 0x34]
jb 0x459c51
mov eax, dword [edi + 0x24]
jmp 0x459c54
lea eax, [edi + 0x24]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x459c6b
push 1
mov eax, 0x5062dc
lea ecx, [edi + 0x24]
call fcn.00403f00
push 0
push 0
push edi
push fcn.0045ace0
push 0
push 0
call fcn.004b4b99
add esp, 0x18
mov dword [edi + 0x60], 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.004b1c2d
mov esp, ebp
pop ebp
ret