joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ebee
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov eax, 0x4e1d63
call fcn.004aef44
sub esp, 0x120
and dword [ebp - 0x28], 0
push ebx
push esi
push edi
push 0x523a30
lea ecx, [ebp - 0x10]
call fcn.004c5f18
push 1
lea ecx, [ebp - 0x1c]
pop ebx
mov dword [ebp - 4], ebx
call fcn.00413311
mov eax, dword [0x51f03c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push ebx
push eax
push ecx
mov esi, str.NONE
mov ecx, esp
mov dword [ebp - 0x20], esp
push esi
mov byte [ebp - 4], 3
call fcn.004c5f18
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.InstallerLocation
call fcn.004c5f18
push ecx
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.SoftwareMicrosoftWindowsCurrentVersionInstaller
call fcn.004c5f18
push 3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.004139e5
test eax, eax
mov edi, 0x510870
je 0x46ece5
push esi
push dword [ebp - 0x18]
call fcn.004af56e
pop ecx
test eax, eax
pop ecx
je 0x46ece5
mov eax, dword [ebp - 0x18]
cmp dword [eax - 8], 0
je 0x46ece5
push edi
lea ecx, [ebp - 0x18]
call fcn.004c2c4d
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
call fcn.004c5c1f
push 0x513208
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.004c6286
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x46ecd9
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x10]
push eax
call fcn.004c5fe3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004c5eaa
mov eax, dword [ebp - 0x10]
mov esi, 0x104
cmp dword [eax - 8], 0
jne 0x46ed82
push str.msi.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
mov dword [ebp - 0x20], eax
je 0x46ed82
lea ecx, [ebp - 0x12c]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jbe 0x46ed79
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x14]
push eax
call fcn.004c5f18
push 0x5c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.004c2892
cmp eax, 0xffffffff
je 0x46ed6d
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.004c281a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.004c5fe3
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.004c5eaa
push edi
lea ecx, [ebp - 0x10]
call fcn.004c2c4d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004c5eaa
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
jne 0x46edb1
lea eax, [ebp - 0x12c]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x10]
push eax
call fcn.004c6033
push edi
lea ecx, [ebp - 0x10]
call fcn.004c2c4d
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004c5c1f
mov dword [ebp - 0x28], ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004c5eaa
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00413336
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x471b31
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4e24df
call fcn.004aef44
sub esp, 0x10
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x18], ebx
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp - 4], 2
call fcn.004c5c1f
push 0x510870
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.004c2c4d
mov eax, dword [0x51f03c]
mov dword [ebp - 0x10], eax
push ebx
mov edi, str._s_s__d
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push dword [ebp + 0xc]
push edi
push eax
call fcn.004c2c3a
mov esi, dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
add esp, 0x14
push dword [ebp - 0x10]
call esi
cmp eax, 0xffffffff
je 0x471bb9
inc ebx
lea eax, [ebp - 0x10]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
push eax
call fcn.004c2c3a
add esp, 0x14
push dword [ebp - 0x10]
jmp 0x471b98
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
call fcn.004c5fe3
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004c5c1f
call fcn.0040ca76
pop ecx
lea eax, [ebp - 0x14]
mov ecx, dword [ebp + 8]
push eax
call fcn.004c5c1f
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004c5eaa
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004c5eaa
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.004c5eaa
and byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
Function at 0x4744ff
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4e2ad8
call fcn.004aef44
push ecx
push ecx
mov eax, dword [0x51f03c]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [0x523ba4]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax + 0x114], ebx
je 0x4745d2
add eax, 0x118
lea ecx, [ebp - 0x10]
push eax
call fcn.004c5fe3
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004c5c1f
lea eax, [ebp - 0x14]
push eax
call fcn.0047fcf1
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004c5fe3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004c5eaa
mov eax, dword [0x523ba4]
push ebx
mov eax, dword [eax + 0x118]
push eax
call fcn.004b0b55
pop ecx
cmp eax, 0xffffffff
pop ecx
jne 0x4745d2
mov eax, dword [0x523ba4]
lea ecx, [ebp - 0x10]
add eax, 0x10
push eax
call fcn.004c5fe3
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.004c2ca0
mov eax, dword [0x523ba4]
add eax, 0x118
push eax
lea eax, [ebp - 0x14]
push 0x510870
push eax
call fcn.004c61b3
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004c62c2
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004c5eaa
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x474602
call fcn.004d373b
mov eax, dword [eax + 8]
push ebx
push dword [ebp - 0x10]
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconA]
cmp eax, ebx
mov dword [esi + 0xbc], eax
je 0x474602
cmp eax, 1
jne 0x474619
call fcn.004d373b
mov eax, dword [eax + 8]
push 0x73
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esi + 0xbc], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x479fb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4e33ef
call fcn.004aef44
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
push 0x523a30
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x28], edi
call fcn.004c5f18
push 1
lea ecx, [ebp - 0x1c]
pop ebx
mov dword [ebp - 0x24], edi
push str._DATFILE
mov dword [ebp - 4], ebx
call fcn.004c5f18
push 0x514880
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004c6286
push edi
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004c5c1f
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.0047a22e
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp dword [eax - 8], edi
je 0x47a0fd
mov ecx, dword [0x51f03c]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax - 8]
mov byte [ebp - 4], 4
cmp edx, dword [ecx - 8]
jle 0x47a0f1
mov eax, edx
sub eax, dword [ecx - 8]
lea ecx, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004c279e
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004c5fe3
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004c5eaa
push dword [ebp - 0x14]
call esi
cmp eax, 0xffffffff
je 0x47a08a
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
call fcn.004c5fe3
mov dword [ebp - 0x24], ebx
jmp 0x47a0f1
mov eax, dword [0x51f03c]
mov dword [ebp - 0x10], eax
mov eax, dword [0x523ba4]
lea ecx, [ebp - 0x10]
add eax, 0xc
mov byte [ebp - 4], 6
push eax
call fcn.004c5fe3
mov edi, 0x510870
lea ecx, [ebp - 0x10]
push edi
call fcn.004c2c4d
push edi
lea ecx, [ebp - 0x10]
call fcn.004c6286
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
call fcn.004c62c2
push dword [ebp - 0x10]
call esi
cmp eax, 0xffffffff
je 0x47a0e3
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x18]
push eax
call fcn.004c5fe3
mov dword [ebp - 0x24], ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004c5eaa
xor edi, edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004c5eaa
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.004c5eaa
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004c5eaa
cmp dword [ebp - 0x24], edi
jne 0x47a19d
mov eax, dword [0x51f03c]
mov dword [ebp - 0x10], eax
mov eax, dword [0x523ba4]
lea ecx, [ebp - 0x10]
add eax, 8
mov byte [ebp - 4], 7
push eax
call fcn.004c5fe3
push 0x2e
lea ecx, [ebp - 0x10]
call fcn.004c2892
cmp eax, 0xffffffff
je 0x47a192
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
call fcn.004c281a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.004c5fe3
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.004c5eaa
push str..dat
lea ecx, [ebp - 0x10]
call fcn.004c6286
push dword [ebp - 0x10]
call esi
cmp eax, 0xffffffff
je 0x47a192
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x18]
push eax
call fcn.004c5fe3
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.004c5eaa
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.004c5c1f
mov dword [ebp - 0x28], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x47a400
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4e348b
call fcn.004aef44
sub esp, 0x10
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x18], ebx
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp - 4], 2
call fcn.004c5c1f
push 0x510870
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.004c2c4d
mov eax, dword [0x51f03c]
mov dword [ebp - 0x10], eax
push ebx
mov edi, str._s_s__d
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push dword [ebp + 0xc]
push edi
push eax
call fcn.004c2c3a
mov esi, dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
add esp, 0x14
push dword [ebp - 0x10]
call esi
cmp eax, 0xffffffff
je 0x47a488
inc ebx
lea eax, [ebp - 0x10]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
push eax
call fcn.004c2c3a
add esp, 0x14
push dword [ebp - 0x10]
jmp 0x47a467
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
call fcn.004c5fe3
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004c5c1f
call fcn.0040ca76
pop ecx
lea eax, [ebp - 0x14]
mov ecx, dword [ebp + 8]
push eax
call fcn.004c5c1f
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004c5eaa
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004c5eaa
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.004c5eaa
and byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
Function at 0x47a801
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x4e357c
call fcn.004aef44
sub esp, 0x30
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x28]
call fcn.004c55f5
xor esi, esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.004c5162
mov eax, dword [0x51f03c]
mov dword [ebp - 0x2c], eax
or dword [ebp - 0x30], 0xffffffff
mov ebx, vtable.CFileException.0
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], esi
call fcn.004c6033
mov eax, dword [0x51f03c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea esi, [edi + 8]
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.004c6033
push 0x5c
mov ecx, esi
call fcn.004c2892
cmp eax, 0xffffffff
je 0x47a8a8
push eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.004c281a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.004c5fe3
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.004c5eaa
push 0x510870
lea ecx, [ebp - 0x10]
call fcn.004c2c4d
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
call fcn.004c5c1f
mov ecx, edi
call fcn.0047a963
test eax, eax
je 0x47a8cd
mov eax, dword [esi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004c5c1f
call fcn.0040ca76
cmp dword [ebp + 0xc], 0
mov esi, dword [esi]
pop ecx
lea eax, [ebp - 0x3c]
push eax
je 0x47a8f5
push 0x1002
jmp 0x47a8fa
push 0x3002
push esi
lea ecx, [ebp - 0x28]
call fcn.004c5707
mov esi, eax
test esi, esi
jne 0x47a90e
and dword [edi + 0xc], eax
jmp 0x47a91d
lea ecx, [ebp - 0x28]
call fcn.004c5922
mov dword [edi + 0xc], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004c5eaa
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004c5eaa
mov dword [ebp - 0x3c], ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.004c5eaa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004c564a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8

Function at 0x47a963
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x47a97c
test al, 1
je 0x47a97c
push 1
pop esi
lea ecx, [esp + 8]
call fcn.004c5eaa
mov eax, esi
pop esi
ret 4
Function at 0x47b6f9
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4e3778
call fcn.004aef44
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [0x51f03c]
and dword [ebp - 4], 0
lea edi, [esi + 4]
mov dword [edi], eax
lea ecx, [esi + 0x14]
push 0xa
mov byte [ebp - 4], 1
call fcn.004c3e94
mov eax, dword [0x51f03c]
lea ebx, [esi + 0x30]
mov dword [ebx], eax
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 3
call fcn.0047a98b
push str.New_Package
mov ecx, edi
mov byte [ebp - 4], 4
mov dword [esi], vtable.CSUFPackage.0
call fcn.004c6033
push 1
xor edi, edi
pop eax
lea ecx, [esi + 0x40]
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea eax, [esi + 0x14]
mov dword [esi + 0x10], edi
push eax
call fcn.0047a9bf
mov dword [esi + 0x38], edi
push 0x523a30
mov ecx, ebx
mov dword [esi + 0x3c], edi
call fcn.004c6033
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x480c4d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4e3d95
call fcn.004aef44
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [esi + 8]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x480c7c
lea edi, [esi + 4]
mov ecx, edi
call fcn.004c3f7e
cmp eax, ebx
je 0x480c77
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
cmp dword [esi + 8], ebx
jne 0x480c63
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x480c91
xor esi, esi
jmp 0x480d49
lea ecx, [ebp - 0x38]
call fcn.0041d1e8
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x51ae38
mov byte [ebp - 4], 1
call fcn.004c5f18
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov byte [ebp - 4], 2
call fcn.004c5c1f
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.0041d254
cmp eax, ebx
jne 0x480d3a
cmp dword [ebp - 0x28], ebx
jne 0x480cdb
xor esi, esi
jmp 0x480d3d
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x480d3a
mov eax, ebx
mov ebx, dword [ebx]
mov esi, dword [eax + 8]
test esi, esi
je 0x480cde
push 0xc
call fcn.004c512e
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
mov byte [ebp - 4], 3
je 0x480d0b
mov ecx, eax
call fcn.004808b3
mov edi, eax
jmp 0x480d0d
xor edi, edi
lea eax, [esi + 0x2a]
mov byte [ebp - 4], 1
push eax
lea eax, [edi + 4]
push 0x511890
push eax
call fcn.004c2c3a
mov eax, dword [esi + 0x14]
add esp, 0xc
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x10]
push edi
lea ecx, [eax + 4]
call fcn.004c4661
jmp 0x480cde
push 1
pop esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0041d21b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x488da0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x488dc0
mov edx, dword [esp + 8]
push 1
mov dword [ecx + 0x44], edx
mov eax, dword [eax + 0x58]
add eax, 4
push eax
call fcn.004b4a04
mov ecx, dword [eax + 0x10]
push eax
call dword [ecx + 0x28]
add esp, 4
push 1
call fcn.004b1b84
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x489090
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [ebx]
mov ebp, ebx
push edi
mov ecx, dword [esi + 0x1c]
sub ebp, ecx
cmp eax, 6
je 0x4890b6
push ebx
push esi
call fcn.004893a0
add esp, 8
mov ebx, eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x24]
add eax, 0x18
cmp eax, ecx
jne 0x4890cc
push esi
call fcn.00489210
add esp, 4
mov eax, dword [ebx + 8]
mov cl, byte [eax + 6]
test cl, cl
jne 0x489188
mov edi, dword [eax + 0xc]
mov al, byte [edi + 0x46]
test al, al
je 0x4890f7
xor ecx, ecx
add ebx, 0x10
mov cl, byte [edi + 0x45]
push ebx
push ecx
push esi
call fcn.00489260
add esp, 0xc
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 8]
xor eax, eax
sub edx, ecx
mov al, byte [edi + 0x47]
mov ecx, eax
shl ecx, 4
cmp edx, ecx
jg 0x489117
push eax
push esi
call fcn.00488f90
add esp, 8
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x1c]
add eax, 0x18
lea ecx, [edx + ebp + 0x10]
mov dword [esi + 0x14], eax
mov dword [eax], ecx
mov edx, dword [esi + 0x14]
mov ecx, dword [edx]
xor edx, edx
mov dword [esi + 0xc], ecx
mov dl, byte [edi + 0x47]
shl edx, 4
add edx, ecx
mov dword [eax + 4], edx
mov ecx, dword [edi + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 4]
mov dword [eax + 0x14], 0
mov dword [eax + 8], 8
mov edx, dword [esi + 8]
cmp edx, ecx
jae 0x48917b
mov edx, 0x10
mov ecx, dword [esi + 8]
mov dword [ecx], 0
mov ebx, dword [esi + 8]
add ebx, edx
mov dword [esi + 8], ebx
mov edi, dword [eax + 4]
mov ecx, ebx
cmp ecx, edi
jb 0x489161
mov edx, dword [eax + 4]
pop edi
mov dword [esi + 8], edx
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 8]
sub eax, edx
cmp eax, 0x140
jg 0x4891a2
push 0x14
push esi
call fcn.00488f90
add esp, 8
mov edi, dword [esi + 0x14]
mov ecx, dword [esi + 0x1c]
add edi, 0x18
mov eax, edi
lea edx, [ecx + ebp + 0x10]
mov dword [esi + 0x14], edi
mov dword [eax], edx
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
mov ecx, dword [esi + 8]
add ecx, 0x140
mov dword [esi + 0xc], edx
mov dword [eax + 4], ecx
mov ecx, 1
mov dword [eax + 8], ecx
mov al, byte [esi + 0x30]
test cl, al
je 0x4891e6
push 0xffffffffffffffff
push 0
push esi
call fcn.00488fc0
add esp, 0xc
mov edx, dword [esi + 0xc]
push esi
mov eax, dword [edx - 8]
call dword [eax + 0xc]
add esp, 4
shl eax, 4
mov ecx, eax
mov eax, dword [esi + 8]
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret
Function at 0x489cb0
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov eax, dword [esi + 0x1c]
push eax
push esi
call fcn.0048cb20
mov edi, dword [esp + 0x14]
push esi
push edi
call fcn.00488af0
push esi
push edi
call fcn.00488ad0
add esp, 0x18
pop edi
pop esi
ret
mov eax, dword [esp + 8]
xor ecx, ecx
mov cl, byte [eax + 4]
add ecx, 0xfffffffc
cmp ecx, 6
ja case.default.0x489cc1
jmp dword [ecx*4 + 0x489d30]
mov dword [esp + 8], eax
jmp 0x48cbd0
mov dword [esp + 8], eax
jmp 0x48cc70
mov edx, dword [esp + 4]
push 0
push 0x20
push eax
push edx
call fcn.0048dd50
add esp, 0x10
ret
mov dword [esp + 8], eax
jmp 0x48d110
mov dword [esp + 8], eax
jmp 0x488aa0
mov edx, dword [eax + 0xc]
push 0
add edx, 0x11
push edx
push eax
mov eax, dword [esp + 0x10]
push eax
call fcn.0048dd50
add esp, 0x10
ret
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 4]
add ecx, 0x10
push 0
push ecx
push eax
push edx
call fcn.0048dd50
add esp, 0x10
ret
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0xc]
shl eax, 2
push 0
push eax
push ecx
push edi
call fcn.0048dd50
mov edx, dword [esi + 0x34]
mov eax, dword [esi + 0x10]
shl edx, 2
push 0
push edx
push eax
push edi
call fcn.0048dd50
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 8]
shl ecx, 4
push 0
push ecx
push edx
push edi
call fcn.0048dd50
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x14]
shl eax, 2
push 0
push eax
push ecx
push edi
call fcn.0048dd50
mov eax, dword [esi + 0x38]
add esp, 0x40
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x18]
shl edx, 2
push 0
push edx
push eax
push edi
call fcn.0048dd50
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x1c]
shl ecx, 2
push 0
push ecx
push edx
push edi
call fcn.0048dd50
push 0
push 0x48
push esi
push edi
call fcn.0048dd50
add esp, 0x30
pop edi
pop esi
ret
mov ecx, dword [esp + 8]
mov al, byte [ecx + 6]
test al, al
je 0x48cc96
xor eax, eax
push 0
mov al, byte [ecx + 7]
inc eax
shl eax, 4
push eax
push ecx
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0048dd50
add esp, 0x10
ret
xor eax, eax
push 0
mov al, byte [ecx + 7]
lea eax, [eax*4 + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0048dd50
add esp, 0x10
ret
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
mov cl, byte [esi + 7]
test cl, cl
je 0x48d13e
mov eax, 1
push 0
shl eax, cl
mov ecx, dword [esi + 0x10]
lea eax, [eax + eax*4]
shl eax, 3
push eax
push ecx
push edi
call fcn.0048dd50
add esp, 0x10
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0xc]
shl edx, 4
push 0
push edx
push eax
push edi
call fcn.0048dd50
push 0
push 0x20
push esi
push edi
call fcn.0048dd50
add esp, 0x20
pop edi
pop esi
ret
Function at 0x48a280
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov al, byte [edi + 6]
test al, al
je 0x48a2cd
mov al, byte [edi + 7]
xor ebp, ebp
test al, al
jbe 0x48a33f
mov ebx, dword [esp + 0x14]
lea esi, [edi + 0x18]
cmp dword [esi - 8], 4
jl 0x48a2bb
mov eax, dword [esi]
test byte [eax + 5], 0x11
jne 0x48a2bb
push eax
push ebx
call fcn.00489f30
add esp, 8
xor eax, eax
inc ebp
mov al, byte [edi + 7]
add esi, 0x10
cmp ebp, eax
jl 0x48a2a3
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [edi + 0x18]
test byte [eax + 5], 0x11
jne 0x48a2e4
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00489f30
add esp, 8
mov eax, dword [edi + 0xc]
test byte [eax + 5], 0x11
jne 0x48a2fb
mov edx, dword [esp + 0x14]
push eax
push edx
call fcn.00489f30
add esp, 8
mov al, byte [edi + 7]
xor ebx, ebx
test al, al
jbe 0x48a33f
lea ebp, [edi + 0x20]
mov esi, dword [ebp]
mov al, byte [esi + 5]
test al, al
jne 0x48a332
cmp dword [esi + 0x10], 4
jl 0x48a32e
mov eax, dword [esi + 0x18]
test byte [eax + 5], 0x11
jne 0x48a32e
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.00489f30
add esp, 8
mov byte [esi + 5], 1
xor ecx, ecx
inc ebx
mov cl, byte [edi + 7]
add ebp, 4
cmp ebx, ecx
jl 0x48a307
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x48c8d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov eax, ebp
push esi
shr eax, 5
inc eax
push edi
cmp ebp, eax
mov edx, ebp
mov esi, ebp
jb 0x48c906
xor ecx, ecx
mov edi, edx
mov cl, byte [ebx + esi - 1]
sub esi, eax
shl edi, 5
add ecx, edi
mov edi, edx
shr edi, 2
add ecx, edi
xor edx, ecx
cmp esi, eax
jae 0x48c8ea
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
dec ecx
and ecx, edx
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x48c938
cmp dword [eax + 0xc], ebp
jne 0x48c932
mov esi, ebx
mov ecx, ebp
lea edi, [eax + 0x10]
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x48c948
mov ebx, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
jne 0x48c91c
mov ecx, dword [esp + 0x14]
push edx
push ebp
push ebx
push ecx
call fcn.0048c950
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret