joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421054
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x42123e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x550414], 0
jne 0x421223
lea eax, [ebp - 4]
push eax
push 0x28
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call sub.ADVAPI32.dll_OpenProcessToken
test eax, eax
je 0x42121c
xor eax, eax
push ebp
push 0x421215
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 3
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_GetTokenInformation
cmp dword [ebp - 8], 0
je 0x4211fe
mov eax, dword [ebp - 8]
add eax, eax
push eax
push 0x40
call sub.KERNEL32.dll_LocalAlloc
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
add eax, eax
push eax
push ebx
push 3
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_GetTokenInformation
test eax, eax
je 0x4211f8
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [0x54fd3c]
call fcn.00406d08
mov eax, dword [ebp - 0x24]
call fcn.0040397c
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x42112c
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x28]
mov eax, dword [0x54fd40]
call fcn.00406d08
mov eax, dword [ebp - 0x28]
call fcn.0040397c
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x42115f
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x54fd44]
call fcn.00406d08
mov eax, dword [ebp - 0x2c]
call fcn.0040397c
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x421192
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov esi, dword [ebx]
dec esi
test esi, esi
jl 0x4211e4
inc esi
xor ecx, ecx
lea edi, [ecx + ecx*2]
mov eax, dword [ebx + edi*4 + 4]
mov edx, dword [ebx + edi*4 + 8]
cmp edx, dword [ebp - 0xc]
jne 0x4211af
cmp eax, dword [ebp - 0x10]
je 0x4211e0
lea eax, [ecx + ecx*2]
mov edx, dword [ebx + eax*4 + 8]
mov eax, dword [ebx + eax*4 + 4]
cmp edx, dword [ebp - 0x14]
jne 0x4211c4
cmp eax, dword [ebp - 0x18]
je 0x4211e0
lea eax, [ecx + ecx*2]
mov edx, dword [ebx + eax*4 + 8]
mov eax, dword [ebx + eax*4 + 4]
cmp edx, dword [ebp - 0x1c]
jne 0x4211d9
cmp eax, dword [ebp - 0x20]
je 0x4211e0
or dword [ebx + edi*4 + 0xc], 2
inc ecx
dec esi
jne 0x42119c
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_AdjustTokenPrivileges
push ebx
call sub.KERNEL32.dll_LocalFree
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42121c
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_CloseHandle
ret
mov byte [0x550414], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421245
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040354c
ret
Function at 0x426110
Capabilities:
Create thread

Disassembly:
push edi
xor edi, edi
push edi
push edi
push edi
push edi
mov dword [esi], vtable.CDelayedNotificationThread.0
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0x54d15c
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x426163
push 0x54d164
push edi
push esi
push 0x42643e
push edi
push edi
call fcn.004d238f
add esp, 0x18
mov dword [0x54d160], eax
cmp eax, edi
je 0x426163
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, esi
pop edi
ret
Function at 0x4273a8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 8
mov eax, 0x4faa67
call fcn.004d89d4
mov ebx, ecx
mov edi, edx
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
xor esi, esi
cmp ecx, esi
je 0x42754f
cmp dword [ebp + 8], esi
je 0x42754f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4273e0
test al, 0x10
jne 0x4273f3
mov esi, 0xa1
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
jmp 0x42755a
mov ecx, edi
call fcn.00427362
test eax, eax
je 0x427408
push ebx
mov esi, edi
call fcn.0042765b
xor esi, esi
call fcn.004270c9
mov eax, dword [ebx]
push esi
push 0x42000000
push 3
push esi
push 3
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x427435
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4273e5
push 0x105c
call fcn.004c2ac2
pop ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x427463
push dword [edi + 0x48]
movzx ecx, byte [edi + 0x44]
push ecx
push dword [ebp + 8]
push ebx
push dword [ebp - 0x10]
push eax
call fcn.00427a4e
mov ebx, eax
jmp 0x427465
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
cmp ebx, esi
jne 0x427485
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0xe
jmp 0x427559
push esi
push ebx
push dword [edi + 4]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [edi + 4], eax
cmp eax, esi
jne 0x4274bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, ebx
mov dword [ebp + 8], eax
call fcn.00427bde
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp + 8]
jmp 0x42755a
cmp dword [edi + 8], esi
jne 0x42750b
push esi
push esi
push esi
push esi
push edi
push 0x427d01
call fcn.004cbcda
cmp eax, esi
jne 0x4274f3
push esi
mov edi, ebx
call fcn.00427bde
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x4274ef
mov eax, 0xa4
jmp 0x42755a
call esi
jmp 0x42755a
mov ecx, dword [eax + 0x2c]
mov dword [edi + 8], ecx
mov ecx, dword [eax + 0x30]
mov dword [edi + 0xc], ecx
mov dword [eax + 0x28], 1
cmp dword [edi + 8], esi
je 0x427545
push dword [edi + 4]
mov esi, ebx
call fcn.00427c1f
mov esi, eax
test esi, esi
je 0x427529
push 0
mov edi, ebx
call fcn.00427bde
jmp 0x4273e5
mov ecx, dword [ebp + 8]
call fcn.00427203
push ebx
mov ecx, edi
call fcn.00427889
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x42755a
mov esi, 0xa4
jmp 0x4273e5
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x57
pop eax
call fcn.004d8aac
ret 4
Function at 0x4291b0
Capabilities:
Terminate process

Disassembly:
push 0x30
mov eax, 0x4fa00c
call fcn.004d89d4
and dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
push eax
call fcn.00424bee
push 1
push str.msiexec.exe
lea ebx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00473640
pop ecx
pop ecx
test eax, eax
jne 0x42928e
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push str.DoMsiTrackerStop:_no_msiexec.exe_currently_running
push eax
call fcn.00475230
pop ecx
pop ecx
call fcn.00428a62
pop ecx
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push str.DoMsiTrackerStop:_uninjecting_services.exe
push eax
call fcn.00475230
pop ecx
pop ecx
call fcn.00428a62
pop ecx
push 0
push dword [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.services.exe
call fcn.004247f5
call fcn.00428d65
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.0047c1e0
add esp, 4
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x18], esp
push dword [eax]
push str.DoMsiTrackerStop:_uninject_services.exe_returned:__s
push ecx
call fcn.00475230
add esp, 0xc
call fcn.00428a62
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042201a
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0
call fcn.004539d3
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042201a
mov eax, esi
call fcn.004d8aac
ret
mov esi, dword [ebp - 0x30]
cmp esi, dword [ebp - 0x2c]
jbe 0x42929b
call fcn.004d1fe1
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], esi
jbe 0x4292b1
call fcn.004d1fe1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4292bd
cmp eax, dword [ebp - 0x3c]
je 0x4292c2
call fcn.004d1fe1
cmp dword [ebp - 0x18], esi
je 0x4291ff
lea esi, [ebp - 0x1c]
call fcn.0042947e
push dword [eax]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
call fcn.0042947e
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push dword [eax]
test edi, edi
je 0x429318
push str.DoMsiTrackerStop:_killing_msiexec.exe_PID__d
push ecx
call fcn.00475230
add esp, 0xc
call fcn.00428a62
pop ecx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42932c
push str.DoMsiTrackerStop:_cant_open_msiexec.exe_PID__d
push ecx
call fcn.00475230
add esp, 0xc
call fcn.00428a62
pop ecx
lea edi, [ebp - 0x24]
lea esi, [ebp - 0x1c]
call fcn.004294a6
jmp 0x4292a4
Function at 0x42950b
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push 0x45c
mov eax, 0x4f6795
call fcn.004d8a3d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x464], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x454], eax
push 0x5c
push ecx
xor edi, edi
mov dword [ebp - 4], edi
mov eax, esp
mov dword [ebp - 0x458], esp
push eax
xor esi, esi
call fcn.00474150
pop ecx
lea eax, [ebp - 0x460]
push eax
call fcn.00475560
add esp, 8
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x458], esp
push dword [ebp + 8]
push dword [ebp - 0x460]
push str._s:_CHttpStreaming::DownloadFileToMemory:__s
push eax
call fcn.00475230
add esp, 0x10
call fcn.004294db
mov eax, dword [0x54d7ec]
pop ecx
cmp eax, edi
jne 0x4295a2
push edi
push edi
push edi
push edi
push str.http_cameyo_streaming
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [0x54d7ec], eax
cmp eax, edi
je 0x429693
push edi
push edi
push edi
push edi
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x45c], eax
cmp eax, edi
je 0x429666
push edi
lea ecx, [ebp - 0x458]
push ecx
lea ecx, [ebp - 0x50]
push ecx
push 0x13
push eax
mov dword [ebp - 0x458], 0x40
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [ebp - 0x50]
push 0x5085d0
push eax
call fcn.004d20b0
pop ecx
pop ecx
test eax, eax
jne 0x429658
mov esi, 0x4000
push esi
call fcn.004d21c4
pop ecx
mov ebx, eax
lea eax, [ebp - 0x468]
push eax
push esi
push ebx
jmp 0x429635
add edi, dword [ebp - 0x468]
cmp dword [ebp - 0x468], esi
jne 0x429645
lea eax, [edi + 0x4000]
push eax
push ebx
call fcn.004d2d8e
pop ecx
pop ecx
mov ebx, eax
lea eax, [ebp - 0x468]
push eax
push esi
lea eax, [ebx + edi]
push eax
push dword [ebp - 0x45c]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x42960a
mov eax, dword [ebp - 0x464]
mov dword [eax], ebx
mov eax, dword [ebp - 0x454]
xor esi, esi
mov dword [eax], edi
inc esi
push dword [ebp - 0x45c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x429693
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x464]
push eax
mov dword [ebp - 0x454], edi
call dword [sym.imp.WININET.dll_InternetGetLastResponseInfoW]
push ecx
mov eax, esp
mov dword [ebp - 0x454], esp
push dword [ebp - 0x460]
push str._s:_CHttpStreaming::DownloadFileToMemory:_out
push eax
call fcn.00475230
add esp, 0xc
call fcn.004294db
pop ecx
mov ecx, dword [ebp - 0x460]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042201a
mov eax, esi
call fcn.004d8ac0
ret
Function at 0x42c67f
Capabilities:
Terminate process

Disassembly:
push 0x10
mov eax, 0x4fb567
call fcn.004d89d4
mov edi, ecx
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push dword [edi + 0x8c]
push str.UnpackUtils_ReadIni_PeContainer_s_
push eax
call fcn.00475230
add esp, 0xc
call fcn.00429ea7
pop ecx
call fcn.004c31da
push eax
lea ecx, [ebp - 0x14]
call fcn.0042249b
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Main
call fcn.004247f5
push 3
call fcn.0048e870
mov esi, dword [ebp - 0x14]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x42c6f3
lea ecx, [esi - 0x10]
call fcn.0042201a
xor al, al
jmp 0x42c775
push eax
push esi
push dword [ebp + 8]
call fcn.0042a3fe
add esp, 0xc
mov byte [ebp - 0xd], al
test al, al
jne 0x42c76a
push 0
push 0x5c
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00474150
pop ecx
lea eax, [ebp - 0x1c]
push eax
call fcn.00475560
add esp, 0xc
mov esi, eax
push 0x5065d0
lea eax, [ebp - 0x18]
push str.Not_a_correct__s_package
push eax
mov byte [ebp - 4], 1
call fcn.00475230
add esp, 0xc
push dword [esi]
push dword [eax]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0042201a
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [esi - 0x10]
call fcn.0042201a
mov al, byte [ebp - 0xd]
call fcn.004d8aac
ret
Function at 0x42cc54
Capabilities:
Enumerate files on windows

Disassembly:
push 0x274
mov eax, 0x4f670e
call fcn.004d8a3d
xor esi, esi
push 0x24c
lea eax, [ebp - 0x260]
push esi
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x264], esi
call fcn.004d2a50
pop ecx
pop ecx
mov eax, esp
mov dword [ebp - 0x26c], esp
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.UnpackUtils_StampLocalCache:_FileNamePortion_s__FullStampLocalCache_s
push eax
call fcn.00475230
add esp, 0x10
call fcn.00429ea7
mov eax, esp
mov dword [ebp - 0x26c], esp
lea ecx, [ebp + 8]
push ecx
push str.EngineStamps_
push eax
call fcn.00424a99
lea eax, [ebp - 0x278]
add esp, 0xc
push eax
mov ecx, esi
call fcn.00486660
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x274]
push str._s..stamp
push eax
call fcn.00475230
add esp, 0x14
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x278]
add ecx, 0xfffffff0
call fcn.0042201a
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push ecx
mov ebx, eax
mov eax, esp
mov dword [ebp - 0x26c], esp
push dword [ebp - 0x274]
push str.UnpackUtils_FullStampLocalCache:_FindMask_s
push eax
call fcn.00475230
add esp, 0xc
call fcn.00429ea7
pop ecx
cmp ebx, 0xffffffff
je 0x42ce49
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x268]
call fcn.004247f5
push ecx
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x280], esp
push 0x5060a8
call fcn.004247f5
push ecx
mov byte [ebp - 4], 6
lea eax, [ebp - 0x268]
mov dword [ebp - 0x27c], esp
mov ecx, esp
push eax
call fcn.00424eff
push ecx
mov dword [ebp - 0x270], esp
mov edi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x270], esp
push str.EngineStamps
mov byte [ebp - 4], 7
xor esi, esi
call fcn.004247f5
push edi
mov ecx, esi
call fcn.00486660
pop ecx
pop ecx
lea edi, [ebp - 0x26c]
mov byte [ebp - 4], 5
call fcn.00474af0
add esp, 0xc
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 8
call fcn.00424f20
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.0042201a
push ecx
mov eax, esp
mov dword [ebp - 0x270], esp
push dword [ebp - 0x268]
push str.UnpackUtils_FullStampLocalCache:_KillFile__s_
push eax
call fcn.00475230
add esp, 0xc
call fcn.00429ea7
lea eax, [ebp - 0x268]
mov dword [ebp - 0x270], esp
mov ecx, esp
push eax
call fcn.00424eff
call fcn.00478330
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.0042201a
lea eax, [ebp - 0x264]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42cd3c
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x507cec
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x270], esp
mov ecx, esp
push eax
xor edi, edi
call fcn.00424eff
call fcn.00475c00
pop ecx
pop ecx
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042201a
call fcn.004d8ac0
ret
Function at 0x42ee16
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x10
mov eax, 0x4f9f5c
call fcn.004d89d4
lea eax, [ebp + 8]
xor ebx, ebx
push eax
mov ecx, 0x54d4ec
mov dword [ebp - 4], ebx
call fcn.00424f20
lea eax, [ebp + 8]
mov esi, 0x54d250
push eax
mov ecx, esi
call fcn.00424f20
push 1
push ecx
mov dword [ebp - 0x14], esp
mov ecx, esp
push esi
call fcn.00424eff
lea edi, [ebp - 0x14]
call fcn.00475140
pop ecx
pop ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00424f20
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042201a
push 1
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.0042499d
mov edi, 0x5060a8
push edi
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00424e2a
test eax, eax
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
setne byte [ebp - 0xd]
add ecx, 0xfffffff0
call fcn.0042201a
cmp byte [ebp - 0xd], bl
je 0x42eeb6
push edi
mov ecx, esi
call fcn.0042810a
mov esi, dword [0x54d250]
call fcn.004779c0
push dword [0x54d250]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42ef03
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.Diff_Init:_Cannot_create_TempDir
call fcn.004247f5
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.General
mov byte [ebp - 4], 3
call fcn.004247f5
push 3
mov byte [ebp - 4], bl
call fcn.00479f70
add esp, 0xc
push 0x54d280
call fcn.0042ef5c
mov esi, 0x507cec
push esi
mov ecx, 0x54d254
call fcn.004253f6
push esi
mov ecx, 0x54d25c
call fcn.004253f6
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
call fcn.004247f5
mov esi, 0x54d2b0
call fcn.0042f014
call fcn.0045eed0
call fcn.00463c30
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042201a
xor eax, eax
inc eax
call fcn.004d8aac
ret
Function at 0x42f66c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x32c
mov eax, dword [0x5470b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
xor eax, eax
cmp dword [esi], ebx
je 0x42f68e
inc eax
jmp 0x42f85c
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
mov dword [ebp - 0x328], ebx
mov dword [ebp - 0x32c], ebx
call fcn.004d2a50
push 0x110
lea eax, [ebp - 0x31c]
push ebx
push eax
call fcn.004d2a50
add esp, 0x18
lea eax, [ebp - 0x320]
push eax
mov dword [ebp - 0x320], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42f85a
cmp dword [ebp - 0x310], 2
jne 0x42f85a
cmp dword [ebp - 0x31c], 5
jb 0x42f85a
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x42f85a
lea eax, [ebp - 0x328]
push eax
push 0x500b0c
push 1
push ebx
push 0x500b1c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x42f83c
mov eax, dword [ebp - 0x328]
mov ecx, dword [eax]
lea edx, [ebp - 0x324]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x42f83c
push edi
push dword [ebp - 0x324]
call fcn.004d2540
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
pop ecx
mov dword [esi + 8], eax
cmp dword [ebp - 0x324], ebx
je 0x42f773
push dword [ebp - 0x324]
call edi
mov eax, dword [ebp - 0x328]
mov ecx, dword [eax]
lea edx, [ebp - 0x324]
push edx
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x42f83b
push dword [ebp - 0x324]
call fcn.004d2540
pop ecx
mov dword [esi + 0xc], eax
cmp dword [ebp - 0x324], ebx
je 0x42f7ad
push dword [ebp - 0x324]
call edi
push dword [esi + 0xc]
lea eax, [ebp - 0x20c]
push str.WinNT:___s
push 0x104
push eax
call fcn.004d4ef6
add esp, 0x10
lea eax, [ebp - 0x32c]
push eax
push 0x5009cc
lea eax, [ebp - 0x20c]
push eax
call sub.ACTIVEDS.dll_ADsGetObject
test eax, eax
jl 0x42f83b
mov eax, dword [ebp - 0x32c]
mov ecx, dword [eax]
lea edx, [ebp - 0x324]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
jl 0x42f83b
mov eax, dword [ebp - 0x32c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x324]
push str.Domain
call fcn.004d20b0
pop ecx
pop ecx
test eax, eax
jne 0x42f825
mov dword [esi + 4], 1
cmp dword [ebp - 0x324], ebx
je 0x42f835
push dword [ebp - 0x324]
call edi
mov dword [esi], 1
pop edi
mov eax, dword [ebp - 0x328]
cmp eax, ebx
je 0x42f84c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esi], ebx
jne 0x42f856
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esi]
jmp 0x42f85c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004d14fc
leave
ret
Function at 0x4324f8
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
cmp dword [0x54d7fc], esi
jne 0x432579
mov dword [0x54d7fc], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.00473a90
pop ecx
test eax, eax
jne 0x432568
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x54d174], eax
cmp dword [0x54d800], esi
jne 0x432555
push esi
push esi
push 0x507cec
call fcn.004d2540
pop ecx
push eax
push 0x432178
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x54d800], eax
push 0x190
push dword [0x54d174]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
ret
push str.This_is_a_System_process__so_skipping_window_display.
push str.GfxServerInit
call fcn.004732c0
pop ecx
pop ecx
pop esi
ret

Function at 0x433b11
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
xor eax, eax
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x14], ecx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x34], ecx
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x24]
push ecx
push eax
call ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call ebx
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x10]
sub esi, dword [ebp - 0xc]
sub edi, dword [ebp - 8]
sub esi, dword [ebp - 0x24]
sub edi, dword [ebp - 0x20]
add esi, dword [ebp - 0x14]
add edi, dword [ebp - 0x18]
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x433ba7
lea ecx, [ebp - 0x34]
push ecx
push eax
call ebx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
test eax, eax
jg 0x433b99
test ecx, ecx
jle 0x433ba7
jmp 0x433b9e
sub eax, dword [ebp - 0x28]
add edi, eax
test ecx, ecx
jle 0x433ba7
sub ecx, dword [ebp - 0x2c]
add esi, ecx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 1
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MoveWindow]
pop edi
pop esi
pop ebx
leave
ret