joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47d2c7
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0x44
mov eax, 0x48812a
call fcn.00482545
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4ac6a0]
mov esi, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4ac298]
cmp eax, dword [ecx + 4]
jg 0x47d30f
push 0
push dword [ebp + 0xc]
push esi
push dword [0x4ac294]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x47d34a
call fcn.00482503
ret 8
mov edi, 0x4ac298
push edi
call fcn.00481cdd
cmp dword [0x4ac298], 0xffffffff
pop ecx
jne 0x47d2f2
and dword [ebp - 4], 0
mov ecx, 0x4ac294
call fcn.0047d10e
push 0x4888c1
call fcn.00481fad
or dword [ebp - 4], 0xffffffff
push edi
call fcn.00481c8c
pop ecx
pop ecx
jmp 0x47d2f2
push eax
call fcn.0047d387
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x48e518
lea ecx, [ebp - 0x28]
call fcn.00403860
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x50]
call fcn.0047d1b8
push 0x4a16f8
lea eax, [ebp - 0x50]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x47e11e
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push ebx
mov ebx, dword [esp + 0x10]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
cmp edi, 4
jb 0x47e17e
push ebp
mov ebp, edi
shr ebp, 2
push 4
lea eax, [esp + 0x18]
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
push 4
lea eax, [esp + 0x34]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x3c]
add esp, 0x18
xor eax, dword [esp + 0x14]
add ebx, 4
mov ecx, dword [esp + 0x10]
add esi, 4
or ecx, eax
sub edi, 4
mov dword [esp + 0x10], ecx
sub ebp, 1
jne 0x47e140
pop ebp
mov edx, ecx
mov eax, ecx
shr edx, 8
or edx, ecx
shr eax, 0x10
and edx, 0xff00
or edx, eax
movzx eax, cl
shr edx, 8
or edx, eax
test edi, edi
je 0x47e1b1
sub ebx, esi
movzx ecx, byte [ebx + esi]
movzx eax, byte [esi]
xor ecx, eax
or edx, ecx
inc esi
sub edi, 1
jne 0x47e1a0
pop edi
test edx, edx
pop esi
sete al
pop ebx
pop ecx
pop ecx
ret

Function at 0x47e1bc
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push edi
mov edi, dword [esp + 0x20]
test edi, edi
je 0x47e247
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x28]
cmp edi, 4
jb 0x47e22e
mov eax, edi
shr eax, 2
mov dword [esp + 0x2c], eax
push 4
lea eax, [esp + 0x18]
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
push 4
lea eax, [esp + 0x20]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x28]
xor eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push 4
push eax
push ebp
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x24
add ebp, 4
add ebx, 4
add esi, 4
sub edi, 4
sub dword [esp + 0x2c], 1
jne 0x47e1e5
test edi, edi
je 0x47e244
sub ebx, esi
sub ebp, esi
mov al, byte [ebx + esi]
xor al, byte [esi]
mov byte [esi + ebp], al
inc esi
sub edi, 1
jne 0x47e236
pop esi
pop ebp
pop ebx
pop edi
add esp, 0xc
ret
Function at 0x47e24c
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x47e2c4
push ebx
mov ebx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x18]
cmp edi, 4
jb 0x47e2b1
push ebp
mov ebp, edi
shr ebp, 2
push 4
lea eax, [esp + 0x14]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
push 4
lea eax, [esp + 0x34]
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x3c]
xor eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push 4
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x24
add esi, 4
add ebx, 4
sub edi, 4
sub ebp, 1
jne 0x47e26c
pop ebp
test edi, edi
je 0x47e2c2
sub ebx, esi
mov al, byte [ebx + esi]
xor byte [esi], al
inc esi
sub edi, 1
jne 0x47e2b7
pop esi
pop ebx
pop edi
pop ecx
pop ecx
ret

Function at 0x4815f7
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [esp + 8]
mov eax, ecx
mov edx, dword [esp + 4]
add eax, eax
push 4
lea ecx, [ecx*4 - 4]
movups xmm0, xmmword [edx + eax*8]
movups xmm1, xmmword [edx]
movups xmmword [edx], xmm0
movups xmmword [edx + eax*8], xmm1
pop eax
cmp ecx, eax
jbe 0x48163d
aesimc xmm0, xmmword [edx + ecx*4]
aesimc xmm1, xmmword [edx + eax*4]
movups xmmword [edx + eax*4], xmm0
add eax, 4
movups xmmword [edx + ecx*4], xmm1
sub ecx, 4
cmp eax, ecx
jb 0x48161f
aesimc xmm0, xmmword [edx + eax*4]
movups xmmword [edx + eax*4], xmm0
ret
Function at 0x481648
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push edi
push eax
push esi
movups xmm0, xmmword [eax + edi - 0x10]
movaps xmmword [esp + 0x2c], xmm0
call sub.VCRUNTIME140.dll_memcpy
movaps xmm1, xmmword [esp + 0x2c]
mov eax, edi
shr eax, 2
add esp, 0xc
mov edx, eax
mov dword [esp + 0x14], eax
aeskeygenassist xmm0, xmm1, 0
shl edx, 2
lea ecx, [eax + 7]
mov dword [esp + 0x18], 0x48f714
shl ecx, 4
add ecx, esi
mov dword [esp + 0x1c], ecx
pextrd ecx, xmm0, 3
xor ecx, dword [esi]
xor ecx, 1
mov dword [edx + esi], ecx
mov eax, dword [esi + 4]
xor eax, ecx
mov dword [edx + esi + 4], eax
mov ecx, dword [esi + 8]
xor ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esi + eax*4 + 8], ecx
mov eax, dword [esi + 0xc]
xor eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + ecx*4 + 0xc], eax
lea eax, [esi + 0x10]
add eax, edx
jmp 0x481784
cmp edi, 0x18
jne 0x4816f7
mov eax, dword [esi + 0x24]
xor eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
xor ecx, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
pinsrd xmm1, ecx, 3
jmp 0x48173c
cmp edi, 0x20
jne 0x481735
pinsrd xmm1, dword [esi + 0x2c], 3
mov eax, dword [esi + 0x14]
aeskeygenassist xmm0, xmm1, 0
pextrd ecx, xmm0, 2
xor ecx, dword [esi + 0x10]
xor eax, ecx
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0x18]
xor ecx, eax
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x1c]
xor eax, ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
pinsrd xmm1, eax, 3
jmp 0x48173c
pinsrd xmm1, dword [esi + 0x1c], 3
mov eax, dword [esp + 0x18]
add esi, edx
aeskeygenassist xmm0, xmm1, 0
pextrd ecx, xmm0, 3
xor ecx, dword [eax]
add eax, 4
xor ecx, dword [esi]
mov dword [edx + esi], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
xor eax, ecx
mov dword [edx + esi + 4], eax
mov ecx, dword [esi + 8]
xor ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esi + eax*4 + 8], ecx
mov eax, dword [esi + 0xc]
xor eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + ecx*4 + 0xc], eax
lea eax, [edx + 0x10]
add eax, esi
cmp eax, dword [esp + 0x1c]
jne 0x4816d9
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x482f57
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x482f96
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x482f96
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x482f96
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x482f96
cmp dword [ecx + 0x74], 0xe
jbe 0x482f96
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x425388
Capabilities:
Terminate process

Disassembly:
push 0x30
mov eax, 0x4c0867
call fcn.004a922b
lea eax, [ebp - 0x3c]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00425651
push 1
push str.msiexec.exe
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0045f840
pop ecx
pop ecx
test eax, eax
jne 0x425463
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push str.DoMsiTrackerStop:_no_msiexec.exe_currently_running
push eax
call fcn.00461920
pop ecx
pop ecx
call fcn.00424c4b
pop ecx
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push str.DoMsiTrackerStop:_uninjecting_services.exe
push eax
call fcn.00461920
pop ecx
pop ecx
call fcn.00424c4b
pop ecx
push ebx
push dword [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.services.exe
call fcn.0042342e
call fcn.00424f4c
mov esi, eax
lea eax, [ebp - 0x14]
add esp, 0xc
push eax
mov edx, esi
call fcn.004685e0
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.00461920
add esp, 0xc
call fcn.00424c4b
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], bl
call fcn.00434870
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, esi
call fcn.004a9303
ret
mov esi, dword [ebp - 0x30]
cmp esi, dword [ebp - 0x2c]
jbe 0x425470
call fcn.004a44f1
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 0x425486
call fcn.004a44f1
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x425492
cmp eax, dword [ebp - 0x3c]
je 0x425497
call fcn.004a44f1
cmp dword [ebp - 0x18], esi
je 0x4253d8
lea esi, [ebp - 0x1c]
call fcn.0042394e
push dword [eax]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
call fcn.0042394e
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push dword [eax]
cmp edi, ebx
je 0x4254eb
push str.DoMsiTrackerStop:_killing_msiexec.exe_PID__d
push ecx
call fcn.00461920
add esp, 0xc
call fcn.00424c4b
pop ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4254ff
push str.DoMsiTrackerStop:_cant_open_msiexec.exe_PID__d
push ecx
call fcn.00461920
add esp, 0xc
call fcn.00424c4b
pop ecx
lea edi, [ebp - 0x24]
lea esi, [ebp - 0x1c]
call fcn.00425689
jmp 0x425479
Function at 0x4256f7
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push 0x45c
mov eax, 0x4be911
call fcn.004a9294
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.00460830
pop ecx
lea eax, [ebp - 0x460]
push eax
call fcn.00461e30
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.00461920
add esp, 0x10
call fcn.004256c7
mov eax, dword [0x4f3414]
pop ecx
cmp eax, edi
jne 0x42578e
push edi
push edi
push edi
push edi
push str.http_cameyo_streaming
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [0x4f3414], eax
cmp eax, edi
je 0x42587f
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 0x425852
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 0x4cc1c0
push eax
call fcn.004a45c0
pop ecx
pop ecx
test eax, eax
jne 0x425844
mov esi, 0x4000
push esi
call fcn.004a4a82
pop ecx
mov ebx, eax
lea eax, [ebp - 0x468]
push eax
push esi
push ebx
jmp 0x425821
add edi, dword [ebp - 0x468]
cmp dword [ebp - 0x468], esi
jne 0x425831
lea eax, [edi + 0x4000]
push eax
push ebx
call fcn.004a4bf0
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 0x4257f6
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 0x42587f
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.00461920
add esp, 0xc
call fcn.004256c7
pop ecx
mov ecx, dword [ebp - 0x460]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, esi
call fcn.004a9317
ret
Function at 0x426045
Capabilities:
Get system information on windows

Disassembly:
push 4
mov eax, 0x4bd3d9
call fcn.004a922b
mov edi, dword [ebp + 8]
xor esi, esi
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.0042148a
push 4
mov byte [ebp - 4], 1
lea ebx, [edi + 0x74]
call fcn.0049561e
pop ecx
cmp eax, esi
je 0x426077
mov dword [eax], ebx
jmp 0x426079
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], esi
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00423aea
mov eax, dword [ebp + 0x10]
or dword [edi + 4], 0xffffffff
or dword [edi + 8], 0xffffffff
mov dword [edi + 0x18], eax
lea eax, [edi + 0x4c]
push eax
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x20], esi
mov dword [edi + 0x24], esi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], esi
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], esi
mov dword [edi + 0x40], esi
mov dword [edi + 0x44], esi
mov dword [edi + 0x8c], esi
mov dword [edi + 0x48], esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [edi + 0x68]
xor edx, edx
mov eax, 0x400000
div ecx
push dword [ebp + 0x14]
imul eax, ecx
mov dword [edi + 0x70], eax
call fcn.00478bf0
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, edi
call fcn.004a9303
ret 0x10
Function at 0x426169
Capabilities:
Set file attributes

Disassembly:
push 0xc
mov eax, 0x4c15bf
call fcn.004a922b
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.0042342e
and dword [ebp - 4], 0
push 0x5c
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00423ac9
lea eax, [ebp - 0x14]
push eax
call fcn.00461f60
add esp, 8
mov dword [ebp - 0x18], esp
mov edi, esp
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 1
call fcn.00423ac9
call fcn.0047bb90
pop ecx
call fcn.00464340
cmp dword [ebp + 0x18], 0
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop ecx
mov dword [ebp - 0x18], eax
jne 0x426281
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp + 0x18], esp
mov ecx, esp
push eax
call fcn.00423ac9
lea esi, [ebp + 0x18]
call fcn.0047b840
pop ecx
mov edx, dword [ebp + 0xc]
mov byte [ebp - 4], 2
push dword [eax]
mov eax, dword [ebp + 8]
call fcn.00478720
pop ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0042101a
cmp esi, 0x200
jne 0x426296
push 0
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp + 0x18], esp
mov ecx, esp
push eax
call fcn.00423ac9
lea edi, [ebp + 0x18]
call fcn.0047bb90
pop ecx
push dword [eax]
call ebx
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.0042101a
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp + 0x18], esp
mov ecx, esp
push eax
call fcn.00423ac9
lea esi, [ebp + 0x18]
call fcn.0047b840
pop ecx
mov edx, dword [ebp + 0xc]
mov byte [ebp - 4], 3
push dword [eax]
mov eax, dword [ebp + 8]
call fcn.00478720
pop ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0042101a
jmp 0x426296
push dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
call fcn.00478760
pop ecx
pop ecx
mov esi, eax
test esi, esi
jne 0x4262db
cmp dword [ebp + 0x14], esi
je 0x4262c9
push dword [ebp + 0x14]
lea eax, [ebp - 0x10]
push ecx
mov dword [ebp + 0x18], esp
mov ecx, esp
push eax
call fcn.00423ac9
lea edi, [ebp + 0x18]
call fcn.0047bb90
pop ecx
push dword [eax]
call ebx
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.0042101a
cmp dword [ebp - 0x18], 0
jne 0x4262db
push 1
push dword [ebp - 0x14]
call fcn.0046d500
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, esi
call fcn.004a9303
ret
Function at 0x427283
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x14
mov eax, 0x4c0fc5
call fcn.004a922b
push dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 0xd], bl
call fcn.0042342e
push str.VirtApp.ini
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.00427a4f
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x427323
push ebx
push edi
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [esi + 2]
push 1
push eax
call fcn.004a49f3
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push esi
push eax
push edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
shr esi, 1
push esi
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.00426310
add esp, 0xc
test al, al
je 0x42731a
mov byte [ebp - 0xd], 1
push dword [ebp - 0x18]
call fcn.004a4965
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
mov al, byte [ebp - 0xd]
call fcn.004a9303
ret

Function at 0x4275fa
Capabilities:
Enumerate files on windows

Disassembly:
push 0x264
mov eax, 0x4bd38c
call fcn.004a9294
push 0x24c
lea eax, [ebp - 0x25c]
push 0
mov dword [ebp - 4], 1
and dword [ebp - 0x260], 0
push eax
call fcn.004a4b50
push dword [ebp + 8]
lea eax, [ebp - 0x26c]
push str._s..stamp
push eax
call fcn.00461920
mov eax, dword [eax]
add esp, 0x18
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0042101a
cmp esi, 0xffffffff
je 0x4276f8
push ecx
mov dword [ebp - 0x268], esp
mov edi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x268], esp
push 0x4ca088
call fcn.0042342e
push ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x234]
mov ecx, esp
mov dword [ebp - 0x270], esp
push eax
call fcn.0042342e
push ecx
mov dword [ebp - 0x264], esp
mov ebx, esp
push 0x5c
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x264], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 3
call fcn.00423ac9
push ebx
call fcn.00461f60
add esp, 0xc
mov byte [ebp - 4], 1
call fcn.00461470
add esp, 0xc
call fcn.00464fa0
pop ecx
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42766a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x4cc11c
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x264], esp
mov ecx, esp
push eax
xor edi, edi
call fcn.00423ac9
call fcn.00462670
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042101a
call fcn.004a9317
ret
Function at 0x4287e3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x10
mov eax, 0x4c05d8
call fcn.004a922b
lea eax, [ebp + 8]
xor ebx, ebx
push eax
mov ecx, 0x4f3acc
mov dword [ebp - 4], ebx
call fcn.00423aea
lea eax, [ebp + 8]
mov esi, 0x4f38d8
push eax
mov ecx, esi
call fcn.00423aea
push 1
push ecx
mov dword [ebp - 0x14], esp
mov ecx, esp
push esi
call fcn.00423ac9
lea edi, [ebp - 0x14]
call fcn.00461830
pop ecx
pop ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00423aea
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
push 1
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.004235d6
mov edi, 0x4ca088
push edi
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004239f4
test eax, eax
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
setne byte [ebp - 0xd]
add ecx, 0xfffffff0
call fcn.0042101a
cmp byte [ebp - 0xd], bl
je 0x428883
push edi
mov ecx, esi
call fcn.00427a4f
mov esi, dword [0x4f38d8]
call fcn.004643e0
push dword [0x4f38d8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4288d0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.Diff_Init:_Cannot_create_TempDir
call fcn.0042342e
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.General
mov byte [ebp - 4], 3
call fcn.0042342e
push 3
mov byte [ebp - 4], bl
call fcn.00466740
add esp, 0xc
push 0x4f3900
call fcn.00428929
mov esi, 0x4cc11c
push esi
mov ecx, 0x4f38dc
call fcn.00423ef3
push esi
mov ecx, 0x4f38e4
call fcn.00423ef3
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
call fcn.0042342e
push 0x4f3918
call fcn.004289c9
call fcn.00449c50
call fcn.0043eae0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
xor eax, eax
inc eax
call fcn.004a9303
ret
Function at 0x429ba6
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 0x429c3c
lea ecx, [ebp - 0x34]
push ecx
push eax
call ebx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
test eax, eax
jg 0x429c2e
test ecx, ecx
jle 0x429c3c
jmp 0x429c33
sub eax, dword [ebp - 0x28]
add edi, eax
test ecx, ecx
jle 0x429c3c
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
Function at 0x429d99
Capabilities:
Create directory
Create thread

Disassembly:
push 0x30
mov eax, 0x4bf862
call fcn.004a922b
xor esi, esi
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
mov ebx, 0x4ca5b0
push ebx
mov dword [ebp - 0x18], esi
call fcn.0042342e
lea eax, [ebp - 0x10]
push eax
call fcn.00461020
pop ecx
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042101a
push 0x10
call fcn.0049561e
mov edi, eax
pop ecx
cmp edi, esi
je 0x429e00
lea ecx, [edi + 8]
call fcn.0042148a
lea ecx, [edi + 0xc]
call fcn.0042148a
mov dword [0x4f3868], edi
jmp 0x429e06
mov dword [0x4f3868], esi
push ecx
mov edi, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x4ca088
call fcn.0042342e
push ecx
mov dword [ebp - 4], esi
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Troubleshoot.log
call fcn.0042342e
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push ecx
mov dword [ebp - 0x14], esp
mov ecx, esp
push ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
call fcn.0042342e
mov eax, dword [ebp - 0x14]
push eax
call fcn.00461020
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
call fcn.00461470
add esp, 0xc
call fcn.004297bd
lea eax, [ebp - 0x18]
push eax
push esi
push dword [ebp + 8]
push 0x429ac6
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x429e95
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push esi
push esi
push esi
lea eax, [ebp - 0x3c]
push eax
call edi
test eax, eax
jg 0x429e81
mov eax, dword [ebp - 0x34]
call fcn.004a9303
ret 4