joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d040
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x274
push ebx
push esi
mov esi, eax
xor ebx, ebx
cmp dword [esi + 0x1b4], ebx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x40d109
cmp dword [esi + 0x1bc], ebx
je 0x40d0d5
push 0x15c
lea eax, [esp + 0x128]
push ebx
push eax
mov dword [esp + 0x12c], ebx
call fcn.0043acc0
push 0x104
lea eax, [esp + 0x29]
push ebx
push eax
mov byte [esp + 0x30], bl
call fcn.0043acc0
add esp, 0x18
push 0x104
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
push 0x4001
push 0x160
lea eax, [esp + 0x128]
push eax
push ebx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov dword [esi + 0x1a8], eax
push eax
jmp 0x40d0fa
push 1
push 1
push 0x19
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 1
push eax
mov dword [esi + 0x1a8], eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetImageCount]
push dword [esi + 0x1a8]
push 1
push 0x1003
push dword [esi + 0x1a0]
call edi
cmp dword [esi + 0x1b8], ebx
je 0x40d144
push 1
push 1
push 0x19
push 0x20
push 0x20
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 1
push eax
mov dword [esi + 0x1ac], eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetImageCount]
push dword [esi + 0x1ac]
push ebx
push 0x1003
push dword [esi + 0x1a0]
call edi
push 1
push 1
push 0x19
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push ebx
mov dword [esi + 0x1a4], eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push 0x1000
push 0x10
push 0x10
push ebx
push 0x85
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
push ebx
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push 0x1000
push 0x10
push 0x10
push ebx
push 0x86
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
push ebx
push dword [esi + 0x1a4]
mov dword [esp + 0x18], eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetImageCount]
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [esp + 0x10]
mov dword [esp + 0x1c], eax
push dword [esi + 0x1a4]
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esi + 0x1a4]
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x1a4]
mov esi, dword [esi + 0x1a0]
push eax
push ebx
push 0x1208
push esi
call fcn.0040463b
pop ecx
push eax
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e337
Capabilities:
Delete file
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
push 0x44ffc8
lea edi, [ebp - 0x104]
call fcn.00406f94
mov eax, dword [esi + 0x398]
pop ecx
push 1
push 1
push 2
mov ecx, edi
push ecx
push esi
call fcn.0040e256
test eax, eax
pop edi
je 0x40e3ae
push dword [esi + 0x108]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40e38b
lea eax, [ebp - 0x104]
push eax
call fcn.00406d06
pop ecx
jmp 0x40e391
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
je 0x40e3a1
push dword [esi + 0x108]
call fcn.00406bce
pop ecx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
leave
ret

Function at 0x40e424
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [esi + 0x398]
lea eax, [ebp - 4]
push eax
push edi
call fcn.0040b96e
test eax, eax
je 0x40e45d
mov eax, dword [ebp - 4]
push 5
push 0
push 0
call fcn.00403e1e
push eax
push str.open
push dword [esi + 0x108]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, edi
call fcn.0040b254
pop edi
leave
ret

Function at 0x40e60f
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
mov esi, eax
push edi
lea ebx, [esi + 0x568]
push 0x44f33c
or eax, 0xffffffff
mov edi, ebx
call fcn.00408140
mov edi, dword [esi + 0x398]
push esi
call fcn.0040e2bf
mov eax, ebx
call fcn.00408134
push dword [esi + 0x108]
mov ebx, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40e69f
call dword [sym.imp.USER32.dll_EmptyClipboard]
test ebx, ebx
je 0x40e696
push ebx
call fcn.0043ae20
pop ecx
lea edi, [eax + 1]
push edi
push 0x2000
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40e696
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push edi
push ebx
push eax
call fcn.0043aeb0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
pop esi
pop ebx
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
ret
Function at 0x40eb3a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x368
cmp dword [eax + 0x3a0], 1
je 0x40ecaa
lea ecx, [ebp - 4]
push ecx
push dword [eax + 0x398]
call fcn.0040b96e
test eax, eax
je 0x40ecaa
push ebx
lea eax, [ebp - 0x368]
call fcn.00401db0
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x368], eax
mov eax, ebx
call fcn.00403e1e
mov dword [ebp - 0x134], eax
mov eax, dword [ebx + 0x18]
mov ecx, 0x457884
call fcn.004080cf
test eax, eax
jne 0x40eba5
mov eax, 0x44f33c
push esi
push edi
push 0x104
push eax
lea edi, [ebp - 0x364]
call fcn.00406f13
lea esi, [ebx + 0x2c]
lea edi, [ebp - 0x118]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebx + 0x6c]
mov dword [ebp - 0x138], eax
lea eax, [ebx + 0x3c]
push 0x1f
push eax
lea edi, [ebp - 0x1df]
call fcn.00406f13
push 0x104
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
call fcn.0043acc0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x398]
add esp, 0x1c
lea ecx, [ebp - 0x10c]
push ecx
lea ecx, [eax + 0x574c]
push ecx
lea ecx, [eax + 0x1f4]
lea eax, [ebp - 0x368]
call fcn.004025d9
test eax, eax
je 0x40eca7
mov eax, dword [ebx + 0x1c]
mov ecx, 0x4578a4
call fcn.004080cf
test eax, eax
jne 0x40ec4f
mov eax, 0x44f33c
push str.image_webp
push eax
call fcn.0043b675
pop ecx
test eax, eax
pop ecx
lea eax, [ebp - 0x10c]
push eax
jne 0x40ec75
lea eax, [esi + 0x3b0]
push eax
call fcn.00409e01
jmp 0x40ec80
lea edi, [esi + 0x3b0]
call fcn.00409ef8
mov eax, dword [esi + 0x398]
mov edi, 0x574c
add eax, edi
push eax
call fcn.004070e1
test eax, eax
pop ecx
je 0x40eca7
mov eax, dword [esi + 0x398]
add eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40f8da
Capabilities:
Delete file
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4118
call fcn.0044b790
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor ebx, ebx
push 0x104
lea eax, [ebp - 0x117]
push ebx
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov byte [ebp - 0x118], bl
call fcn.0043acc0
push str.gzip
push dword [ebp + 0x14]
call fcn.0043b675
add esp, 0x14
test eax, eax
jne 0x40f93b
push 0x4500f0
lea edi, [ebp - 0x118]
mov dword [ebp - 0xc], 1
call fcn.00406f94
pop ecx
mov esi, edi
push dword [ebp + 0xc]
call fcn.00406b58
mov edi, eax
cmp edi, 0xffffffff
pop ecx
mov dword [ebp - 8], edi
je 0x40fa15
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
cmp eax, 4
jbe 0x40fa0c
lea eax, [ebp + 0xc]
push eax
push edi
mov dword [ebp + 0xc], ebx
call fcn.00410c49
test eax, eax
je 0x40fa0c
push esi
call fcn.00406b71
cmp eax, 0xffffffff
pop ecx
mov dword [ebp - 4], eax
je 0x40fa0c
mov esi, dword [ebp + 8]
add esi, 0x14
mov ebx, 0x10000
push ebx
mov eax, esi
call fcn.00408854
mov edi, dword [ebp + 0xc]
shr edi, 0x10
mov dword [ebp + 0x14], 0
je 0x40f9d5
mov eax, dword [ebp + 0x14]
push ebx
push dword [esi]
shl eax, 0x10
push eax
push dword [ebp - 8]
call fcn.0040794c
push ebx
push dword [esi]
push dword [ebp - 4]
call fcn.0040792d
add esp, 0x1c
inc dword [ebp + 0x14]
cmp dword [ebp + 0x14], edi
jb 0x40f9ad
movzx ebx, word [ebp + 0xc]
test ebx, ebx
jbe 0x40f9fa
push ebx
push dword [esi]
shl edi, 0x10
push edi
push dword [ebp - 8]
call fcn.0040794c
push ebx
push dword [esi]
push dword [ebp - 4]
call fcn.0040792d
add esp, 0x1c
push dword [ebp - 4]
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor ebx, ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0xc], ebx
je 0x40fa8c
push dword [ebp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
call ebx
lea eax, [ebp - 0x118]
push eax
call fcn.00436293
mov esi, eax
test esi, esi
pop ecx
je 0x40fa83
push 0x44f4b4
push dword [ebp + 0x10]
call fcn.0043adfe
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x40fa7c
jmp 0x40fa64
je 0x40fa75
push edi
push eax
lea eax, [ebp - 0x4118]
push 1
push eax
call fcn.0043d0a3
add esp, 0x10
lea eax, [ebp - 0x4118]
mov ecx, esi
call fcn.004364dc
test eax, eax
jge 0x40fa4f
push edi
call fcn.0043b3df
pop ecx
mov eax, esi
call fcn.00436728
lea eax, [ebp - 0x118]
push eax
call ebx
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x410c49
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
cmp esi, 4
jbe 0x410d11
and dword [ebp - 4], 0
push ebx
push 4
lea eax, [ebp - 4]
push eax
lea ebx, [esi - 4]
push ebx
push dword [ebp + 8]
call fcn.0040794c
mov ecx, dword [ebp - 4]
add esp, 0x10
call fcn.0040f6d3
cmp eax, ebx
mov dword [ebp - 4], eax
jbe 0x410cff
push 4
lea eax, [ebp - 4]
push eax
lea eax, [esi - 5]
push eax
push dword [ebp + 8]
call fcn.0040794c
mov ecx, dword [ebp - 4]
add esp, 0x10
call fcn.0040f6d3
cmp eax, ebx
mov dword [ebp - 4], eax
jbe 0x410cff
push edi
xor eax, eax
mov byte [ebp - 0x14], 0
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x10
lea eax, [ebp - 0x14]
push eax
add esi, 0xfffffff0
push esi
push dword [ebp + 8]
call fcn.0040794c
add esp, 0x10
push 9
pop esi
pop edi
lea eax, [ebp + esi - 0x13]
cmp byte [eax - 1], 0xd
jne 0x410cfc
cmp byte [eax], 0xa
jne 0x410cfc
cmp byte [eax + 1], 0
jne 0x410cfc
mov ecx, dword [eax + 2]
call fcn.0040f6d3
mov dword [ebp - 4], eax
dec esi
jns 0x410cdc
mov eax, dword [ebp - 4]
cmp eax, ebx
pop ebx
jae 0x410d11
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x410d13
xor eax, eax
pop esi
leave
ret 8

Function at 0x410d18
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0xc]
call fcn.00406b58
mov edi, eax
cmp edi, 0xffffffff
pop ecx
mov dword [ebp - 4], edi
je 0x410da6
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
cmp esi, 4
mov dword [ebp - 8], esi
jbe 0x410d9d
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
push edi
call fcn.00410c49
test eax, eax
je 0x410d9d
sub esi, dword [ebp + 8]
lea edi, [ebx + 0x28]
sub esi, 4
lea eax, [esi + 2]
push eax
mov eax, edi
call fcn.00408854
push esi
push dword [edi]
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.0040794c
mov eax, dword [edi]
add esp, 0x10
push dword [ebp - 8]
mov byte [esi + eax], 0
mov eax, dword [edi]
push esi
push dword [ebp + 0xc]
mov byte [eax + esi + 1], 0
mov edi, dword [edi]
push ebx
call fcn.00410bb0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x410e44
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0xc]
xor esi, esi
push ebx
mov dword [ebx + 0x24], esi
mov dword [ebp + 8], esi
mov dword [ebx + 0x20], esi
call fcn.0040f6f7
test eax, eax
je 0x410fac
push 0x11f
lea eax, [ebp - 0x137]
push esi
push eax
mov byte [ebp - 0x138], 0
call fcn.0043acc0
add esp, 0xc
push esi
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
push 0x120
lea eax, [ebp - 0x138]
push eax
push esi
push dword [ebx + 0x10]
call fcn.0040794c
movzx eax, byte [ebp - 0x135]
add esp, 0x10
cmp byte [ebp - 0x135], 8
mov dword [ebx + 0x20], eax
jae 0x410ee1
cmp byte [ebp - 0x24], 0
jne 0x410ee1
cmp byte [ebp - 0x23], 0
jne 0x410ee1
cmp byte [ebp - 0x22], 0
jne 0x410ee1
cmp byte [ebp - 0x21], 0
jne 0x410ee1
mov dword [ebp + 8], 1
push dword [ebp + 0xc]
mov eax, ebx
call fcn.0040f77c
mov esi, dword [ebp + 8]
neg esi
sbb esi, esi
push 0
and esi, 0xeec
push 0
add esi, 0x114
push esi
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
and dword [ebp - 4], 0
sub edi, esi
shr edi, 4
test edi, edi
mov dword [ebp - 0x18], edi
jle 0x410f90
call fcn.00412467
cmp dword [0x45b670], 0
jne 0x410f90
and dword [ebp - 0x14], 0
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x10]
xor esi, esi
call fcn.00407905
add esp, 0xc
test eax, eax
je 0x410f90
cmp dword [ebp - 0x14], esi
je 0x410f85
cmp dword [ebp + 8], esi
jne 0x410f78
mov ecx, dword [ebp - 8]
call fcn.0040f6d3
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
call fcn.0040f6d3
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
call fcn.0040f6d3
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.0041002a
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x18]
jl 0x410f1c
mov eax, ebx
call fcn.0040f82c
mov eax, dword [ebx + 0x10]
cmp eax, 0xffffffff
je 0x410fa6
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
or dword [ebx + 0x10], 0xffffffff
jmp 0x41102a
mov edi, 0x104
push edi
lea eax, [ebp - 0x11f]
push esi
push eax
mov byte [ebp - 0x120], 0
call fcn.0043acc0
add esp, 0xc
push dword [ebp + 0xc]
call fcn.0043ae20
mov esi, eax
mov dword [esp], str.entries
call fcn.0043ae20
lea eax, [esi + eax + 1]
cmp eax, edi
pop ecx
jae 0x410fff
push str.entries
push dword [ebp + 0xc]
lea eax, [ebp - 0x120]
call fcn.0040725a
pop ecx
pop ecx
jmp 0x411006
mov byte [ebp - 0x120], 0
lea eax, [ebp - 0x120]
push eax
call fcn.004070e1
test eax, eax
pop ecx
je 0x411020
lea eax, [ebp - 0x120]
push eax
jmp 0x411023
push dword [ebp + 0xc]
mov eax, ebx
call fcn.00410dad
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4121ef
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x378
push ebx
mov ebx, dword [ebp + 8]
push esi
add ebx, 0x28
push edi
mov esi, ebx
call fcn.0041244e
xor edi, edi
push edi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
push 0x124
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x370]
push edi
push eax
call fcn.0043acc0
add esp, 0xc
lea eax, [ebp - 0x374]
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x374], 0x128
call sub.KERNEL32.DLL_Process32First
jmp 0x4123a9
mov eax, dword [ebp - 0x36c]
mov ecx, dword [ebp - 0x35c]
push eax
push edi
push 0x410
mov byte [ebp - 0x140], 0
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x38], ecx
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
cmp eax, edi
mov dword [ebp - 8], eax
je 0x41235b
mov esi, 0x104
push esi
lea eax, [ebp - 0x24b]
push edi
push eax
mov byte [ebp - 0x24c], 0
call fcn.0043acc0
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.004123d0
cmp byte [ebp - 0x24c], 0
je 0x4122d5
cmp byte [ebp - 0x24c], 0x3f
jne 0x412324
cmp dword [0x45b940], edi
mov dword [ebp - 0x10], esi
jne 0x41230a
push str.kernel32.dll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
cmp eax, edi
je 0x41230a
push str.QueryFullProcessImageNameA
push eax
mov dword [0x45b940], 1
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x45b944], eax
mov eax, dword [0x45b944]
cmp eax, edi
je 0x412324
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x24c]
push ecx
push edi
push dword [ebp - 8]
call eax
lea esi, [ebp - 0x24c]
lea edi, [ebp - 0x140]
call fcn.00411e69
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 8]
call fcn.00412199
add esp, 0x14
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor edi, edi
mov esi, dword [ebx + 0xc]
cmp esi, edi
jl 0x4123a9
cmp esi, 0xffffffff
mov eax, dword [ebx + 8]
jne 0x412373
push dword [ebx]
call fcn.0043d5a3
jmp 0x412386
push eax
push 0x130
lea eax, [ebx + 4]
mov edx, esi
mov edi, ebx
call fcn.00406f43
pop ecx
lea eax, [esi + 1]
cmp dword [ebx + 0xc], eax
pop ecx
jge 0x412392
mov dword [ebx + 0xc], eax
mov edi, esi
imul edi, edi, 0x130
add edi, dword [ebx]
push 0x4c
pop ecx
lea esi, [ebp - 0x144]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
lea eax, [ebp - 0x374]
push eax
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x412248
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4123f8
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [esi], 0
jne 0x41244d
push edi
push str.psapi.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.GetModuleBaseNameA
push eax
mov dword [esi], eax
call edi
push str.EnumProcessModules
push dword [esi]
mov dword [esi + 4], eax
call edi
push str.GetModuleFileNameExA
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.EnumProcesses
push dword [esi]
mov dword [esi + 0x10], eax
call edi
push str.GetModuleInformation
push dword [esi]
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0xc], eax
pop edi
ret
Function at 0x4128de
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10000
call fcn.0044b790
cmp dword [ebp + 8], 0
je 0x412942
test esi, esi
je 0x412930
push 0x22
push esi
call fcn.0043dadc
test eax, eax
pop ecx
pop ecx
je 0x412930
push esi
push str.__s_
lea eax, [ebp - 0x10000]
push 0xfffe
push eax
mov byte [ebp - 0x10000], 0
call fcn.0043a806
add esp, 0x10
push dword [ebp + 0x1c]
lea eax, [ebp - 0x10000]
push eax
jmp 0x412934
push dword [ebp + 0x1c]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringA]
leave
ret
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
leave
ret

Function at 0x41295a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.0044b790
xor eax, eax
cmp dword [ebp + 8], eax
push esi
mov byte [ebp - 0x2004], al
je 0x4129b5
push 0x2000
push eax
lea eax, [ebp - 0x2003]
push eax
call fcn.0043acc0
lea eax, [ebp - 0x2004]
push eax
push dword [edi]
push dword [ebp + 0x14]
call fcn.004079c0
add esp, 0x18
push dword [ebp + 0x18]
lea eax, [ebp - 0x2004]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringA]
mov esi, eax
jmp 0x412a02
mov esi, 0x2000
push esi
push eax
lea eax, [ebp - 0x2003]
push eax
call fcn.0043acc0
add esp, 0xc
push dword [ebp + 0x18]
lea eax, [ebp - 0x2004]
push esi
push eax
push 0x44f33c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
push dword [ebp + 0x14]
xor ecx, ecx
cmp ecx, eax
lea eax, [ebp - 0x2004]
sbb esi, esi
push edi
push eax
neg esi
call fcn.00407a40
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x412a07
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push dword [ebp + 0x18]
je 0x412a25
push dword [esi]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00412892
add esp, 0x10
pop ebp
ret
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntA]
mov dword [esi], eax
pop ebp
ret
Function at 0x412ea2
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
mov esi, eax
call fcn.00412df5
xor ebx, ebx
cmp dword [0x45b674], ebx
je 0x412ee7
call fcn.00407225
cmp dword [eax + 0x10], 1
jne 0x412ed8
cmp esi, 0x19
je 0x412ee7
cmp esi, 0x17
je 0x412ee7
cmp esi, 0x16
je 0x412ee7
push ebx
push esi
push edi
push ebx
call dword [0x45b674]
jmp 0x412f7d
push 0x103
lea eax, [ebp - 0x127]
push ebx
push eax
mov byte [ebp - 0x128], bl
call fcn.0043acc0
add esp, 0xc
cmp esi, 0x19
je 0x412f11
cmp esi, 0x17
je 0x412f11
cmp esi, 0x16
jne 0x412f21
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push CreateStatusWindowA
jmp 0x412f2f
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call fcn.00412a38
add esp, 0xc
cmp eax, ebx
jne 0x412f67
lea ecx, [ebp - 0x24]
mov eax, esi
call fcn.00412e24
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
mov eax, 0x104
lea esi, [ebp - 0x128]
call fcn.00412a52
pop ecx
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x128]
push eax
push edi
call fcn.0043a8c0
xor eax, eax
cmp byte [edi], bl
pop ecx
pop ecx
setne al
pop esi
pop ebx
leave
ret
Function at 0x413435
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push esi
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x20], esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, esi
mov dword [ebp - 4], eax
jbe 0x4135c7
push ebx
mov eax, edi
call fcn.0040a24c
push dword [ebp - 4]
call fcn.0043d534
pop ecx
mov ebx, eax
push ebx
push dword [ebp - 4]
push esi
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x44f88c
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4134b8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x30]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov ecx, dword [eax + 0x14]
mov dword [edi + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [edi + 8], ecx
mov ecx, dword [eax + 0x24]
mov dword [edi + 0x10], ecx
mov eax, dword [eax + 0x28]
mov dword [edi + 0x14], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x413507
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push str._4.4X_4.4X
lea eax, [ebp - 0x18]
push 0x14
push eax
call fcn.0043a806
add esp, 0x14
push 0x44f33c
lea eax, [ebp - 0x18]
push eax
push ebx
lea esi, [ebp - 0x124]
call fcn.004133a5
test eax, eax
jne 0x413517
lea eax, [ebp - 0x18]
push str.040904E4
push eax
call fcn.0043a8c0
pop ecx
pop ecx
push 0x45070c
lea eax, [ebp - 0x18]
push eax
lea esi, [edi + 0x18]
push ebx
call fcn.004133a5
push 0x450718
lea eax, [ebp - 0x18]
push eax
lea esi, [edi + 0x118]
push ebx
call fcn.004133a5
push 0x450728
lea eax, [ebp - 0x18]
push eax
lea esi, [edi + 0x218]
push ebx
call fcn.004133a5
push 0x450734
lea eax, [ebp - 0x18]
push eax
lea esi, [edi + 0x318]
push ebx
call fcn.004133a5
push 0x450744
lea eax, [ebp - 0x18]
push eax
lea esi, [edi + 0x418]
push ebx
call fcn.004133a5
push 0x450750
lea eax, [ebp - 0x18]
push eax
lea esi, [edi + 0x518]
push ebx
call fcn.004133a5
push 0x450760
lea eax, [ebp - 0x18]
push eax
lea esi, [edi + 0x618]
push ebx
call fcn.004133a5
push str.OriginalFileName
lea eax, [ebp - 0x18]
push eax
lea esi, [edi + 0x718]
push ebx
call fcn.004133a5
xor esi, esi
push ebx
inc esi
call fcn.0043d59e
pop ecx
pop ebx
mov eax, esi
pop esi
leave
ret 4

Function at 0x4213a3
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x4213e5
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
sub edx, ecx
push edi
mov eax, dword [edx + ecx]
mov edi, eax
and edi, 0xff00
add edi, 0xff
xor edi, eax
and eax, 0xff00ff00
and edi, 0xff00ff
sub eax, 0xffff01
xor edi, eax
mov dword [ecx], edi
add ecx, 4
dec esi
jne 0x4213b7
pop edi
pop esi
ret