joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401410
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x50], 0
jmp 0x401436
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x50]
movsx edx, byte [ecx]
test edx, edx
je 0x40145a
cmp dword [ebp - 0x50], 0x40
jae 0x40145a
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x50]
mov dl, byte [eax]
mov byte [ebp + ecx - 0x40], dl
jmp 0x40142d
mov eax, dword [ebp - 0x50]
mov byte [ebp + eax - 0x40], 0
mov ecx, dword [ebp - 0x50]
movsx edx, byte [ebp + ecx - 0x44]
cmp edx, 0x2e
je 0x4014c4
mov eax, dword [ebp - 0x50]
mov byte [ebp + eax - 0x40], 0x2e
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
mov byte [ebp + edx - 0x40], 0x64
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov byte [ebp + ecx - 0x40], 0x6c
mov edx, dword [ebp - 0x50]
add edx, 1
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov byte [ebp + eax - 0x40], 0x6c
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
mov byte [ebp + edx - 0x40], 0
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
mov ecx, dword fs:[0x30]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x6c], edx
jmp 0x4014ea
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x48], 0
je 0x401561
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 0x18], 0
je 0x401561
cmp dword [ebp - 0x74], 0
jne 0x401561
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x5c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x78]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x40152b
jmp 0x4014e2
mov ecx, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x70]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x5c]
add eax, dword [edx + 0xc]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
push ecx
lea edx, [ebp - 0x40]
push edx
call section..text
add esp, 8
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x40155f
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
jmp 0x4014e2
cmp dword [ebp - 0x74], 0
jne 0x40158b
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x64]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
call ecx
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0x64]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x74]
mov esp, ebp
pop ebp
ret
Function at 0x401880
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
jmp 0x4018b2
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x18], 0
je 0x4018e9
cmp dword [ebp - 0x10], 0
jne 0x4018e9
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004015a0
add esp, 0x18
mov dword [ebp - 0x10], eax
jmp 0x4018aa
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x51d6a3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0051c594
and dword [ebp - 4], 0
cmp dword [0x5272d8], 0
mov ebx, eax
jne 0x51d754
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x51d805
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x51d805
push eax
call fcn.0051c522
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x5272d8], eax
call esi
push eax
call fcn.0051c522
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x5272dc], eax
call esi
push eax
call fcn.0051c522
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5272e0], eax
call esi
push eax
call fcn.0051c522
pop ecx
mov dword [0x5272e8], eax
test eax, eax
je 0x51d754
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0051c522
pop ecx
mov dword [0x5272e4], eax
mov eax, dword [0x5272e4]
cmp eax, ebx
je 0x51d7ac
cmp dword [0x5272e8], ebx
je 0x51d7ac
push eax
call fcn.0051c59d
push dword [0x5272e8]
mov esi, eax
call fcn.0051c59d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x51d7ac
test edi, edi
je 0x51d7ac
call esi
test eax, eax
je 0x51d7a3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x51d7a3
test byte [ebp - 0xc], 1
jne 0x51d7ac
or dword [ebp + 0x10], 0x200000
jmp 0x51d7e5
mov eax, dword [0x5272dc]
cmp eax, ebx
je 0x51d7e5
push eax
call fcn.0051c59d
pop ecx
test eax, eax
je 0x51d7e5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x51d7e5
mov eax, dword [0x5272e0]
cmp eax, ebx
je 0x51d7e5
push eax
call fcn.0051c59d
pop ecx
test eax, eax
je 0x51d7e5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5272d8]
call fcn.0051c59d
pop ecx
test eax, eax
je 0x51d805
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x51d807
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x51f50e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5257a8]
jne 0x51f518
repz ret
jmp fcn.00520c35
Function at 0x401010
Capabilities:
Create thread
Read file on windows
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x10
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov esi, eax
push 0x402138
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], esi
push str.segment_1.bin
push eax
call edi
add esp, 0x10
test eax, eax
jne 0x40118b
push 0x402138
lea eax, [ebp - 0x10]
push str.segment_2.bin
push eax
call edi
add esp, 0xc
test eax, eax
jne 0x40118b
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push 2
push eax
push dword [ebp - 0xc]
call ebx
push dword [ebp - 0xc]
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
call edi
push 0
push 0
push dword [ebp - 0xc]
mov dword [esi + 8], eax
call ebx
mov eax, dword [esi + 8]
add esp, 0x1c
add eax, 0x400
push 4
push 0x3000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push dword [ebp - 0xc]
mov dword [esi], eax
push dword [esi + 8]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push 1
push eax
call esi
push 2
push 0
push dword [ebp - 0x10]
call ebx
push dword [ebp - 0x10]
call edi
mov edi, dword [ebp - 0x14]
push 0
push 0
push dword [ebp - 0x10]
mov dword [edi + 0xc], eax
call ebx
push dword [edi + 0xc]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push dword [ebp - 0x10]
mov dword [edi + 4], eax
push dword [edi + 0xc]
push 1
push eax
call esi
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x40
push dword [ebp - 0xc]
call esi
push dword [ebp - 0x10]
call esi
push dword [edi + 0xc]
mov eax, dword [edi]
push dword [edi + 4]
add eax, dword [edi + 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x14
lea eax, [ebp - 8]
push eax
mov eax, dword [edi + 0xc]
add eax, dword [edi + 8]
push 0x20
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ebx
test edi, edi
je 0x4011a0
push 0
push 0
push dword [edi]
push section..text
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push dword [edi + 4]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call esi
push edi
call esi
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004011b5
mov esp, ebp
pop ebp
ret
push str.Failed_to_open_files
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004011b5
mov esp, ebp
pop ebp
ret
Function at 0x4019bb
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4019fa
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4019fa
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4019fa
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4019fa
cmp dword [ecx + 0x74], 0xe
jbe 0x4019fa
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x411d62
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x417678], 0
push ebx
push esi
mov esi, 0x417680
jne 0x411d8e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x417698], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x417678], 1
push dword [0x417698]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x411e2b
push 0x14
push 8
push dword [0x417008]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x411e55
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x41767c]
test eax, eax
je 0x411dd0
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x41767c], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x411e5a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x417698]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x417008]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x411e55
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x17be1235
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x5cf71886
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x402a00
Capabilities:
Create pipe
Create process on windows
Get thread local storage value
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x140c
call fcn.0040b2a0
mov eax, dword [0x4555f4]
mov ecx, dword [0x455084]
push ebx
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x402b23
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov esi, dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x4555f4], 0x959
jne 0x402b0c
push 0
lea eax, [ebp - 0x408]
push eax
push 0
push 0
push 0
push 0
call edi
push 0
push 0
call ebx
push 0
lea ecx, [ebp - 0xc08]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x1408]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
lea eax, [ebp - 0x808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [ebp - 4]
push ecx
call fcn.00402750
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x402a3e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403da0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4460d8]
jne 0x403daa
repz ret
jmp fcn.004065fe

Function at 0x406224
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404d94
and dword [ebp - 4], 0
cmp dword [0x44c2c4], 0
mov ebx, eax
jne 0x4062d5
push 0x401978
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406386
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40196c
push edi
call esi
test eax, eax
je 0x406386
push eax
call fcn.00404d22
mov dword [esp], 0x40195c
push edi
mov dword [0x44c2c4], eax
call esi
push eax
call fcn.00404d22
mov dword [esp], 0x401948
push edi
mov dword [0x44c2c8], eax
call esi
push eax
call fcn.00404d22
mov dword [esp], 0x40192c
push edi
mov dword [0x44c2cc], eax
call esi
push eax
call fcn.00404d22
pop ecx
mov dword [0x44c2d4], eax
test eax, eax
je 0x4062d5
push 0x401914
push edi
call esi
push eax
call fcn.00404d22
pop ecx
mov dword [0x44c2d0], eax
mov eax, dword [0x44c2d0]
cmp eax, ebx
je 0x40632d
cmp dword [0x44c2d4], ebx
je 0x40632d
push eax
call fcn.00404d9d
push dword [0x44c2d4]
mov esi, eax
call fcn.00404d9d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40632d
test edi, edi
je 0x40632d
call esi
test eax, eax
je 0x406324
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406324
test byte [ebp - 0xc], 1
jne 0x40632d
or dword [ebp + 0x10], 0x200000
jmp 0x406366
mov eax, dword [0x44c2c8]
cmp eax, ebx
je 0x406366
push eax
call fcn.00404d9d
pop ecx
test eax, eax
je 0x406366
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406366
mov eax, dword [0x44c2cc]
cmp eax, ebx
je 0x406366
push eax
call fcn.00404d9d
pop ecx
test eax, eax
je 0x406366
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44c2c4]
call fcn.00404d9d
pop ecx
test eax, eax
je 0x406386
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406388
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e4c6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1044
call fcn.0041ab60
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp word [esi], bx
je 0x40e6c4
push esi
call fcn.0041a81b
pop ecx
cmp eax, 0x7f6
jae 0x40e6c4
push edi
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.0041a890
movzx ecx, word [esi]
add esp, 0xc
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], 0x1c0
cmp cx, 0x22
jne 0x40e521
lea eax, [esi + 2]
mov dword [ebp - 0x34], eax
jmp 0x40e524
mov dword [ebp - 0x34], esi
xor eax, eax
cmp cx, bx
je 0x40e57a
mov ecx, esi
cmp word [ecx], 0x22
jne 0x40e54c
jmp 0x40e53c
cmp word [esi + eax*2], 0x22
je 0x40e545
inc eax
cmp word [esi + eax*2], bx
jne 0x40e535
jmp 0x40e54c
push 0x20
pop ecx
mov word [esi + eax*2], cx
cmp word [esi + eax*2], 0x20
je 0x40e566
cmp word [esi + eax*2 + 2], 0x2f
je 0x40e566
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0x40e52d
jmp 0x40e57a
lea eax, [esi + eax*2]
cmp word [eax], 0x20
jne 0x40e574
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x40e586
cmp word [eax], bx
jne 0x40e59b
cmp byte [ebp + 0xc], bl
jne 0x40e59b
cmp word [0x44287a], bx
je 0x40e59b
mov dword [ebp - 0x30], 0x44287a
push dword [ebp - 0x34]
mov dword [ebp - 0x28], 1
call fcn.0040a7bc
mov edi, eax
cmp edi, ebx
je 0x40e5c6
push str..inf
push edi
call fcn.00411ecb
test eax, eax
jne 0x40e5c6
mov dword [ebp - 0x38], str.Install
push dword [ebp - 0x34]
call fcn.004092db
test al, al
je 0x40e5ef
push 0x800
lea eax, [ebp - 0x1044]
push eax
push dword [ebp - 0x34]
call fcn.0040aa1d
lea eax, [ebp - 0x1044]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40e6c3
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 1], bl
cmp byte [0x441870], bl
jne 0x40e61f
cmp byte [ebp + 0xc], bl
jne 0x40e61f
cmp byte [0x44185d], bl
je 0x40e67f
cmp dword [ebp + 8], ebx
je 0x40e63b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40e63b
push ebx
push dword [ebp + 8]
call esi
mov byte [ebp - 1], 1
push 0x7d0
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0xc]
call fcn.0040d8b1
cmp byte [0x44185d], bl
je 0x40e67f
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x40e67f
mov eax, dword [ebp - 8]
add eax, 0x3e8
cmp eax, dword [0x441860]
jbe 0x40e67f
mov dword [0x441860], eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x40e69b
push 0x42a904
push edi
call fcn.00411ecb
test eax, eax
je 0x40e6b2
cmp byte [0x441870], bl
je 0x40e6b2
cmp byte [ebp + 0xc], bl
jne 0x40e6b2
mov dword [0x441864], 0x1b58
cmp byte [ebp - 1], bl
je 0x40e6c3
cmp byte [ebp + 0xc], bl
je 0x40e6c3
push 1
push dword [ebp + 8]
call esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10001150
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x10001195
sub eax, 1
jne 0x1000119a
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 0x10002110
push 0
push 0
mov dword [0x10033d40], eax
mov dword [0x10033d4c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10033d48], eax
mov eax, 1
pop ebp
ret 0xc
call fcn.10002230
mov eax, 1
pop ebp
ret 0xc

Function at 0x10001e80
Capabilities:
Check if file exists
Delete file
Move file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020d7b
mov eax, dword fs:[0]
push eax
sub esp, 0x634
mov eax, dword [0x1003206c]
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 [0x10033d54]
mov ecx, eax
mov edx, dword [ebp + 8]
inc eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [0x10033d54], eax
cmp ecx, 0x2710
jb 0x10002039
push ebx
push edi
push esi
push edx
mov edx, str.DoFolderErrorCheck:_base_
mov ecx, 0x10032f78
call fcn.10004480
mov ecx, eax
call fcn.100026c0
mov edx, str.__current_
mov ecx, eax
call fcn.10004480
mov ecx, eax
call fcn.10002860
mov edx, str.__previous_
mov ecx, eax
call fcn.10004480
mov ecx, eax
call fcn.10002860
mov edx, str.__count_
mov ecx, eax
call fcn.10004480
mov ecx, eax
call fcn.10002860
push eax
call fcn.10004730
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10009530
add esp, 0x10
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x10033d40]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10009530
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
add esp, 0xc
push str.fse.db
push eax
lea eax, [ebp - 0x420]
push eax
call esi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10002039
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10002031
push 0x208
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.10009530
add esp, 0xc
lea ecx, [ebp - 0x640]
push str.fse.db
call fcn.100023a0
push ecx
lea ecx, [ebp - 0x640]
mov dword [ebp - 4], 0
call fcn.100022d0
lea ecx, [ebp - 0x640]
call fcn.100022c0
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call esi
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x640]
call fcn.10002340
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
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.10007a7a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10002060
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, str.Parent_process_has_exited.
mov ecx, 0x10032f78
call fcn.10004480
push eax
call fcn.10004730
add esp, 4
call fcn.10002230
push 0
push str.EVERYTHING_TASKBAR_NOTIFICATION__EE811387_43FC_413F_AD87_82BF2FF42409_
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x100020fc
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
push ecx
push 0xbb8
push 1
push 0
push 0x191
push 0x400
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x100020fc
cmp dword [ebp - 4], 0
je 0x100020fc
push 0
push str.EVERYTHING_TASKBAR_NOTIFICATION__EE811387_43FC_413F_AD87_82BF2FF42409_
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x100020f6
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
push ecx
push 0xbb8
push 1
push 0
push 4
push 0x400
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov esp, ebp
pop ebp
ret 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x10017236
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100170b5
Function at 0x40da20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [esp], 1
call dword [0x410314]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_fflush]
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x40ef20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 8]
mov dword [esp + 8], eax
lea eax, [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x10]
mov dword [esp], eax
mov dword [esp + 0xc], 0
call sub.msvcrt.dll___getmainargs
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll___set_app_type
mov eax, dword [ebp - 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.0040efe0
mov dword [esp], eax
call sub.msvcrt.dll_exit
nop
nop
nop
nop
push ebp
mov ebp, esp
call sub.msvcrt.dll___iob_func
mov edx, dword [ebp + 8]
pop ebp
shl edx, 5
add eax, edx
ret