joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bc80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffce4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov bl, 1
push ebp
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041b9c4
pop ecx
test al, al
jne 0x41bda8
push 0x104
lea eax, [ebp - 0x111]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0x104
lea eax, [ebp - 0x31c]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameW
push ebp
lea edx, [ebp - 0x31c]
lea eax, [ebp - 0x111]
mov cl, 1
call fcn.0041b9c4
pop ecx
test al, al
jne 0x41bda8
push 0x104
lea eax, [ebp - 0x111]
push eax
mov eax, dword [0x549658]
push eax
call sub.KERNEL32.dll_GetModuleFileNameA
push 0x104
lea eax, [ebp - 0x31c]
push eax
mov eax, dword [0x549658]
push eax
call sub.KERNEL32.dll_GetModuleFileNameW
push ebp
lea edx, [ebp - 0x31c]
lea eax, [ebp - 0x111]
mov cl, 1
call fcn.0041b9c4
pop ecx
test al, al
jne 0x41bda8
lea eax, [ebp - 0x111]
push eax
push 0x104
call sub.KERNEL32.dll_GetCurrentDirectoryA
lea eax, [ebp - 0x31c]
push eax
push 0x104
call sub.KERNEL32.dll_GetCurrentDirectoryW
push ebp
lea edx, [ebp - 0x31c]
lea eax, [ebp - 0x111]
xor ecx, ecx
call fcn.0041b9c4
pop ecx
test al, al
jne 0x41bda8
push 0x104
lea eax, [ebp - 0x111]
push eax
call sub.KERNEL32.dll_GetSystemDirectoryA
push 0x104
lea eax, [ebp - 0x31c]
push eax
call sub.KERNEL32.dll_GetSystemDirectoryW
push ebp
lea edx, [ebp - 0x31c]
lea eax, [ebp - 0x111]
xor ecx, ecx
call fcn.0041b9c4
pop ecx
mov ebx, eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41c674
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov edi, dword [ebp + 0xc]
cmp byte [ebp + 8], 0
je 0x41c69f
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
push ebx
call sub.KERNEL32.dll_VirtualProtectEx
test eax, eax
je 0x41c6b3
lea eax, [ebp - 8]
push eax
push edi
mov eax, dword [ebp - 4]
push eax
push esi
push ebx
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
jne 0x41c6b7
xor eax, eax
jmp 0x41c6b9
mov al, 1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x41c874
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax], 0
je 0x41c90b
push 2
lea ecx, [ebp - 2]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.0041c648
test al, al
je 0x41c90b
cmp word [ebp - 2], 0x5a4d
jne 0x41c90b
push 4
lea ecx, [ebp - 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov edx, dword [edx]
add edx, 0x3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.0041c648
test al, al
je 0x41c90b
push pe_nt_image_headers32
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov edx, dword [edx]
add edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.0041c648
test al, al
je 0x41c90b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp dword [eax], 0x4550
jne 0x41c90b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
test byte [eax + 0x17], 0x20
je 0x41c90f
xor eax, eax
jmp 0x41c911
mov al, 1
test al, al
je 0x41c92e
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx]
movzx ecx, word [ebp - 2]
add edx, ecx
add edx, 0x78
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov dword [ecx], edx
pop ecx
pop ecx
pop ebp
ret
Function at 0x41ce28
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, eax
xor edi, edi
push esi
push 0x2bb
call fcn.0040c024
mov ebx, eax
test ebx, ebx
je 0x41d031
cmp dword [0x547fe0], 0
jne 0x41ce6a
mov dl, 1
mov eax, dword [0x547c1c]
call fcn.0040ab88
mov dword [0x547fe0], eax
cmp dword [0x547fe4], 0
jne 0x41ce84
mov dl, 1
mov eax, dword [0x547c50]
call fcn.0040ab88
mov dword [0x547fe4], eax
mov byte [ebp - 0x24a], 0xb8
mov dword [ebp - 0x249], ebx
mov byte [ebp - 0x245], 0xb9
lea eax, [ebx + 0x235]
mov dword [ebp - 0x244], eax
mov word [ebp - 0x240], 0xd1ff
xor eax, eax
mov dword [ebp - 0x23e], eax
xor eax, eax
mov dword [ebp - 0x23a], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0041cdec
mov dword [ebp - 0x236], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x14]
push eax
call sub.KERNEL32.dll_lstrlenW
add eax, eax
mov word [ebp - 0x22d], ax
mov ax, word [ebp - 0x22d]
add ax, 2
mov word [ebp - 0x22b], ax
lea eax, [ebx + 0x25]
mov dword [ebp - 0x229], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x14]
push eax
lea eax, [ebp - 0x225]
push eax
call sub.KERNEL32.dll_lstrcpyW
mov eax, dword [0x547fe4]
mov dword [ebp - 0x1d], eax
mov eax, dword [0x547fe0]
mov dword [ebp - 0x19], eax
cmp dword [ebp - 0x236], 0
je 0x41d031
lea eax, [ebp - 0x10]
push eax
push 0x236
lea eax, [ebp - 0x24a]
push eax
push ebx
push esi
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x41d031
cmp dword [ebp - 0x10], 0x236
jne 0x41d031
lea eax, [ebp - 0x10]
push eax
push 0x85
push 0x54829c
lea eax, [ebx + 0x235]
push eax
push esi
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x41d031
cmp dword [ebp - 0x10], 0x85
jne 0x41d031
lea eax, [ebp - 0x10]
push eax
push 5
lea eax, [ebp - 9]
push eax
mov eax, dword [ebp - 0x236]
push eax
push esi
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x41d031
cmp dword [ebp - 0x10], 5
jne 0x41d031
lea eax, [ebp - 0x10]
push eax
push 5
lea eax, [ebp - 9]
push eax
lea eax, [ebx + 0x18]
push eax
push esi
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x41d031
cmp dword [ebp - 0x10], 5
jne 0x41d031
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
mov eax, dword [ebp - 0x236]
push eax
push esi
call sub.KERNEL32.dll_VirtualProtectEx
test eax, eax
je 0x41d031
mov byte [ebp - 9], 0xe9
sub ebx, dword [ebp - 0x236]
sub ebx, 5
mov dword [ebp - 8], ebx
lea eax, [ebp - 0x10]
push eax
push 5
lea eax, [ebp - 9]
push eax
mov eax, dword [ebp - 0x236]
push eax
push esi
call sub.KERNEL32.dll_WriteProcessMemory
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 5
mov eax, dword [ebp - 0x236]
push eax
push esi
call sub.KERNEL32.dll_VirtualProtectEx
mov edi, 1
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41d1a4
Capabilities:
Get number of processors

Disassembly:
mov eax, dword gs:[0x60]
mov edx, dword gs:[0x64]
ret
Function at 0x41e9ac
Capabilities:
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0
push 1
push 0
push 0
push 0
push 0xffffffffffffffff
push 1
push 0
push 1
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
call fcn.0041d8c8
mov ebx, eax
test bl, bl
je 0x41ea02
test esi, 4
jne 0x41ea0d
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.dll_ResumeThread
jmp 0x41ea0d
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_TerminateProcess
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4210e8
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
xor eax, eax
mov dword [ebp - 0x150], eax
xor eax, eax
push ebp
push 0x42118d
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
lea eax, [ebp - 0x150]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
call fcn.00403720
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
xor ecx, ecx
call fcn.0041f498
mov ebx, eax
test bl, bl
je 0x421174
mov eax, dword [ebp - 0x140]
push eax
call sub.KERNEL32.dll_CloseHandle
push 0x64
mov eax, dword [ebp - 0x12c]
push eax
call sub.KERNEL32.dll_WaitForSingleObject
push 0
mov eax, dword [ebp - 0x12c]
push eax
call sub.KERNEL32.dll_TerminateThread
mov eax, dword [ebp - 0x144]
push eax
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebp - 0x12c]
push eax
call sub.KERNEL32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421194
lea eax, [ebp - 0x150]
call fcn.00403528
ret
Function at 0x42142c
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 0x421616
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x54842c], 0
jne 0x4215fb
lea eax, [ebp - 4]
push eax
push 0x28
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call sub.ADVAPI32.dll_OpenProcessToken
test eax, eax
je 0x4215f4
xor eax, eax
push ebp
push 0x4215ed
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 0x4215d6
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 0x4215d0
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [0x547d54]
call fcn.00406d08
mov eax, dword [ebp - 0x24]
call fcn.0040397c
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x421504
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x28]
mov eax, dword [0x547d58]
call fcn.00406d08
mov eax, dword [ebp - 0x28]
call fcn.0040397c
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x421537
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x547d5c]
call fcn.00406d08
mov eax, dword [ebp - 0x2c]
call fcn.0040397c
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x42156a
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov esi, dword [ebx]
dec esi
test esi, esi
jl 0x4215bc
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 0x421587
cmp eax, dword [ebp - 0x10]
je 0x4215b8
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 0x42159c
cmp eax, dword [ebp - 0x18]
je 0x4215b8
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 0x4215b1
cmp eax, dword [ebp - 0x20]
je 0x4215b8
or dword [ebx + edi*4 + 0xc], 2
inc ecx
dec esi
jne 0x421574
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 0x4215f4
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_CloseHandle
ret
mov byte [0x54842c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42161d
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040354c
ret
Function at 0x426d2a
Capabilities:
Terminate process

Disassembly:
push 0x28
mov eax, 0x4f1824
call fcn.004d2924
lea eax, [ebp - 0x34]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0042b941
push 1
push str.msiexec.exe
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00476a40
pop ecx
pop ecx
test eax, eax
jne 0x426e07
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push str.DoMsiTrackerStop:_no_msiexec.exe_currently_running
push eax
call fcn.00478610
pop ecx
pop ecx
call fcn.004265e2
pop ecx
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push str.DoMsiTrackerStop:_uninjecting_services.exe
push eax
call fcn.00478610
pop ecx
pop ecx
call fcn.004265e2
pop ecx
push ebx
push dword [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.services.exe
call fcn.004247e9
call fcn.004268e5
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.0047fa60
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.00478610
add esp, 0xc
call fcn.004265e2
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042201a
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], bl
call fcn.0044c34b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042201a
mov eax, esi
call fcn.004d29fc
ret
mov esi, dword [ebp - 0x28]
cmp esi, dword [ebp - 0x24]
jbe 0x426e14
call fcn.004cbff1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x24]
cmp dword [ebp - 0x28], esi
jbe 0x426e2a
call fcn.004cbff1
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x426e36
cmp eax, dword [ebp - 0x34]
je 0x426e3b
call fcn.004cbff1
cmp dword [ebp - 0x18], esi
je 0x426d7a
lea esi, [ebp - 0x1c]
call fcn.00424d35
push dword [eax]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
call fcn.00424d35
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push dword [eax]
cmp edi, ebx
je 0x426e8f
push str.DoMsiTrackerStop:_killing_msiexec.exe_PID__d
push ecx
call fcn.00478610
add esp, 0xc
call fcn.004265e2
pop ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x426ea3
push str.DoMsiTrackerStop:_cant_open_msiexec.exe_PID__d
push ecx
call fcn.00478610
add esp, 0xc
call fcn.004265e2
pop ecx
lea esi, [ebp - 0x1c]
call fcn.00424d5d
jmp 0x426e1d
Function at 0x427022
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push 0x45c
mov eax, 0x4eeef8
call fcn.004d298d
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.004774f0
pop ecx
lea eax, [ebp - 0x460]
push eax
call fcn.00478940
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.00478610
add esp, 0x10
call fcn.00426ff2
mov eax, dword [0x5455ac]
pop ecx
cmp eax, edi
jne 0x4270b9
push edi
push edi
push edi
push edi
push str.http_cameyo_streaming
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [0x5455ac], eax
cmp eax, edi
je 0x4271aa
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 0x42717d
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 0x501960
push eax
call fcn.004cc0c0
pop ecx
pop ecx
test eax, eax
jne 0x42716f
mov esi, 0x4000
push esi
call fcn.004cc1d4
pop ecx
mov ebx, eax
lea eax, [ebp - 0x468]
push eax
push esi
push ebx
jmp 0x42714c
add edi, dword [ebp - 0x468]
cmp dword [ebp - 0x468], esi
jne 0x42715c
lea eax, [edi + 0x4000]
push eax
push ebx
call fcn.004ccd9e
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 0x427121
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 0x4271aa
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.00478610
add esp, 0xc
call fcn.00426ff2
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.004d2a10
ret
Function at 0x42a281
Capabilities:
Terminate process

Disassembly:
push 0x10
mov eax, 0x4f3561
call fcn.004d2924
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.00478610
add esp, 0xc
call fcn.004279be
pop ecx
call fcn.004bcd4c
push eax
lea ecx, [ebp - 0x14]
call fcn.0042636d
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.004247e9
push 3
call fcn.00492290
mov esi, dword [ebp - 0x14]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x42a2f5
lea ecx, [esi - 0x10]
call fcn.0042201a
xor al, al
jmp 0x42a377
push eax
push esi
push dword [ebp + 8]
call fcn.00427f14
add esp, 0xc
mov byte [ebp - 0xd], al
test al, al
jne 0x42a36c
push 0
push 0x5c
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004774f0
pop ecx
lea eax, [ebp - 0x1c]
push eax
call fcn.00478940
add esp, 0xc
mov esi, eax
push 0x4ffab0
lea eax, [ebp - 0x18]
push str.Not_a_correct__s_package
push eax
mov byte [ebp - 4], 1
call fcn.00478610
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.004d29fc
ret
Function at 0x42a856
Capabilities:
Enumerate files on windows

Disassembly:
push 0x274
mov eax, 0x4eee71
call fcn.004d298d
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.004cca60
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.00478610
add esp, 0x10
call fcn.004279be
mov eax, esp
mov dword [ebp - 0x26c], esp
lea ecx, [ebp + 8]
push ecx
push str.EngineStamps_
push eax
call fcn.00424a8d
lea eax, [ebp - 0x278]
add esp, 0xc
push eax
mov ecx, esi
call fcn.0048a1c0
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x274]
push str._s..stamp
push eax
call fcn.00478610
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.00478610
add esp, 0xc
call fcn.004279be
pop ecx
cmp ebx, 0xffffffff
je 0x42aa4b
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x268]
call fcn.004247e9
push ecx
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x280], esp
push 0x4ff58c
call fcn.004247e9
push ecx
mov byte [ebp - 4], 6
lea eax, [ebp - 0x268]
mov dword [ebp - 0x27c], esp
mov ecx, esp
push eax
call fcn.00424ecd
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.004247e9
push edi
mov ecx, esi
call fcn.0048a1c0
pop ecx
pop ecx
lea edi, [ebp - 0x26c]
mov byte [ebp - 4], 5
call fcn.00477ed0
add esp, 0xc
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 8
call fcn.00424eee
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.00478610
add esp, 0xc
call fcn.004279be
lea eax, [ebp - 0x268]
mov dword [ebp - 0x270], esp
mov ecx, esp
push eax
call fcn.00424ecd
call fcn.0047bbb0
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 0x42a93e
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x50107c
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x270], esp
mov ecx, esp
push eax
xor edi, edi
call fcn.00424ecd
call fcn.00478fe0
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.004d2a10
ret
Function at 0x42ca1f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x10
mov eax, 0x4f22e6
call fcn.004d2924
lea eax, [ebp + 8]
xor ebx, ebx
push eax
mov ecx, 0x54529c
mov dword [ebp - 4], ebx
call fcn.00424eee
lea eax, [ebp + 8]
mov esi, 0x545000
push eax
mov ecx, esi
call fcn.00424eee
push 1
push ecx
mov dword [ebp - 0x14], esp
mov ecx, esp
push esi
call fcn.00424ecd
lea edi, [ebp - 0x14]
call fcn.00478520
pop ecx
pop ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00424eee
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.00424991
mov edi, 0x4ff58c
push edi
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00424df8
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 0x42cabf
push edi
mov ecx, esi
call fcn.0042620e
mov esi, dword [0x545000]
call fcn.0047b240
push dword [0x545000]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42cb0c
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.Diff_Init:_Cannot_create_TempDir
call fcn.004247e9
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.General
mov byte [ebp - 4], 3
call fcn.004247e9
push 3
mov byte [ebp - 4], bl
call fcn.0047d7f0
add esp, 0xc
push 0x545030
call fcn.0042cb65
mov esi, 0x50107c
push esi
mov ecx, 0x545004
call fcn.00425392
push esi
mov ecx, 0x54500c
call fcn.00425392
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
call fcn.004247e9
mov esi, 0x545060
call fcn.0042cc1d
call fcn.00461950
call fcn.00466c20
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042201a
xor eax, eax
inc eax
call fcn.004d29fc
ret