joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48bcb0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x290
mov eax, dword [0x528c24]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0048d9d0
push 0x80
lea ebx, [esp + 0x20]
mov ecx, edi
call fcn.0048ab90
lea eax, [esp + 0x1a0]
mov edx, edi
mov ecx, eax
add esp, 0x10
mov esi, 0x104
sub edx, ecx
lea esp, [esp]
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x48bd1b
mov cl, byte [edx + eax]
test cl, cl
je 0x48bd1b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x48bd00
jmp 0x48bd1f
test esi, esi
jne 0x48bd20
dec eax
lea edx, [esp + 0x10]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x198]
push eax
call fcn.0048aad0
push 0xff
lea ecx, [esp + 0x95]
push 0
push ecx
mov dword [esp + 0x18], 1
mov byte [esp + 0x9c], 0
call fcn.0048d9d0
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x50b0a0
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], pe_nt_image_headers32
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x48bdfb
mov ecx, edi
lea eax, [esp + 0x90]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x48bdc3
test dl, dl
je 0x48bdbf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x48bdc3
add eax, 2
add ecx, 2
test dl, dl
jne 0x48bda3
xor eax, eax
jmp 0x48bdc8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x48bdfb
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48bdd6
sub eax, edx
push eax
lea edx, [esp + 0x94]
push edx
push 1
push str.mid_old
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [esp + 0x190]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48be05
sub eax, edx
push eax
lea eax, [esp + 0x194]
push eax
push 1
push 0x50b0a0
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ecx, dword [esp + 0x294]
pop esi
pop ebx
xor ecx, esp
call fcn.0048d9be
add esp, 0x290
ret

Function at 0x48d9be
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x528c24]
jne 0x48d9c8
repz ret
jmp fcn.0049dda9
Function at 0x4b87f0
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.0049a4f8
and dword [ebp - 4], 0
cmp dword [0x52cffc], 0
mov ebx, eax
jne 0x4b88a1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4b8952
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4b8952
push eax
call fcn.0049a486
mov dword [esp], 0x50d9c8
push edi
mov dword [0x52cffc], eax
call esi
push eax
call fcn.0049a486
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x52d000], eax
call esi
push eax
call fcn.0049a486
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x52d004], eax
call esi
push eax
call fcn.0049a486
pop ecx
mov dword [0x52d00c], eax
test eax, eax
je 0x4b88a1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0049a486
pop ecx
mov dword [0x52d008], eax
mov eax, dword [0x52d008]
cmp eax, ebx
je 0x4b88f9
cmp dword [0x52d00c], ebx
je 0x4b88f9
push eax
call fcn.0049a501
push dword [0x52d00c]
mov esi, eax
call fcn.0049a501
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4b88f9
test edi, edi
je 0x4b88f9
call esi
test eax, eax
je 0x4b88f0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4b88f0
test byte [ebp - 0xc], 1
jne 0x4b88f9
or dword [ebp + 0x10], 0x200000
jmp 0x4b8932
mov eax, dword [0x52d000]
cmp eax, ebx
je 0x4b8932
push eax
call fcn.0049a501
pop ecx
test eax, eax
je 0x4b8932
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4b8932
mov eax, dword [0x52d004]
cmp eax, ebx
je 0x4b8932
push eax
call fcn.0049a501
pop ecx
test eax, eax
je 0x4b8932
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x52cffc]
call fcn.0049a501
pop ecx
test eax, eax
je 0x4b8952
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4b8954
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4c1140
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1c
push 1
push eax
lea ecx, [esp + 8]
push ecx
call fcn.004d4000
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x4c1162
mov eax, dword [eax + 4]
jmp 0x4c1165
add eax, 4
mov edx, dword [esp + 0x24]
push ebx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
cmp dword [esp + 0x1c], 8
jb 0x4c118b
mov eax, dword [esp + 8]
push eax
call fcn.0048d108
add esp, 4
mov al, bl
pop ebx
add esp, 0x1c
ret
Function at 0x4c11a0
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1c
push 1
push eax
lea ecx, [esp + 8]
push ecx
call fcn.004d4000
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x4c11c2
mov eax, dword [eax + 4]
jmp 0x4c11c5
add eax, 4
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [esp + 0x1c], 8
mov esi, eax
jb 0x4c11e3
mov edx, dword [esp + 8]
push edx
call fcn.0048d108
add esp, 4
cmp esi, 0xffffffff
jne 0x4c11ef
xor al, al
pop esi
add esp, 0x1c
ret
mov eax, dword [esp + 0x28]
mov dword [eax], esi
mov al, 1
pop esi
add esp, 0x1c
ret

Function at 0x4c1400
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1c
push 1
push eax
lea ecx, [esp + 8]
push ecx
call fcn.004d4000
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x4c1422
mov eax, dword [eax + 4]
jmp 0x4c1425
add eax, 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [esp + 0x1c], 8
mov ebx, eax
jb 0x4c1443
mov edx, dword [esp + 8]
push edx
call fcn.0048d108
add esp, 4
cmp ebx, 0xffffffff
jne 0x4c144f
xor eax, eax
pop ebx
add esp, 0x1c
ret
test bl, 0x10
mov eax, 0
sete al
pop ebx
lea eax, [eax + eax - 1]
add esp, 0x1c
ret

Function at 0x4c1470
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1c
push 1
push eax
lea ecx, [esp + 8]
push ecx
call fcn.004d4000
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x4c1492
mov eax, dword [eax + 4]
jmp 0x4c1495
add eax, 4
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
cmp dword [esp + 0x1c], 8
jb 0x4c14b8
mov edx, dword [esp + 8]
push edx
call fcn.0048d108
add esp, 4
mov al, bl
pop ebx
add esp, 0x1c
ret
Function at 0x4c1650
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x4f88e6
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x528c24]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x528c24]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov eax, dword [esp + 0xec]
xor edi, edi
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call fcn.004c1080
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0xe8], edi
call fcn.004c1630
mov eax, dword [esp + 0x30]
mov ebp, 8
mov byte [esp + 0xe4], 1
cmp dword [esp + 0x44], ebp
jae 0x4c16e6
lea eax, [esp + 0x30]
mov ebx, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
push ecx
push eax
call ebx
test eax, eax
jne 0x4c17a8
push 2
push 0xffffffffffffffff
push 0x50da24
lea ecx, [esp + 0x38]
call fcn.0041c4e0
mov esi, eax
cmp esi, 0xffffffff
jne 0x4c172a
push eax
push edi
lea ecx, [esp + 0x34]
call fcn.0041ad00
push 0xffffffffffffffff
inc esi
push esi
lea ecx, [esp + 0x34]
call fcn.0041ad00
push 0x5c
push 1
lea ecx, [esp + 0x34]
call fcn.00447e90
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], ebp
jae 0x4c1752
lea eax, [esp + 0x30]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
call ebx
test eax, eax
jne 0x4c17a8
cmp dword [esp + 0x44], ebp
jb 0x4c177b
mov eax, dword [esp + 0x30]
push eax
call fcn.0048d108
add esp, 4
xor ecx, ecx
mov word [esp + 0x30], cx
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], edi
mov dword [esp + 0xe4], 0xffffffff
call fcn.004d3650
xor eax, eax
xor edx, edx
jmp 0x4c17ee
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x44], ebp
jb 0x4c17c3
mov edx, dword [esp + 0x30]
push edx
call fcn.0048d108
add esp, 4
xor eax, eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], edi
mov word [esp + 0x30], ax
mov dword [esp + 0xe4], 0xffffffff
call fcn.004d3650
mov eax, esi
mov edx, ebx
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.0048d9be
add esp, 0xd4
ret
Function at 0x4c1820
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4f892b
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x528c24]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
mov eax, dword [0x528c24]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc8]
push eax
lea ecx, [esp + 0x28]
call fcn.004c1080
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0xc4], 0
call fcn.004c1630
cmp dword [eax + 0x18], 8
jb 0x4c188d
mov eax, dword [eax + 4]
jmp 0x4c1890
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
sete bl
cmp dword [esp + 0x20], 8
jb 0x4c18b1
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0048d108
add esp, 4
xor edx, edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], dx
mov dword [esp + 0xc0], 0xffffffff
call fcn.004d3650
mov al, bl
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.0048d9be
add esp, 0xbc
ret

Function at 0x4c1c30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4f8a18
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x528c24]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
push 0
call ebp
mov esi, eax
test esi, esi
jne 0x4c1c7f
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00487baa
add esp, 4
mov edi, eax
push edi
push esi
mov bl, 1
call ebp
test eax, eax
jne 0x4c1ca8
xor bl, bl
jmp 0x4c1ce0
push edi
lea ecx, [esp + 0x18]
call fcn.00436550
mov ecx, dword [esp + 0x40]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x44], 0
call fcn.0041b190
cmp dword [esp + 0x2c], 8
jb 0x4c1ce0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0048d108
add esp, 4
push edi
call fcn.0048ee52
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x4c24a0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4f8b18
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x528c24]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c]
push 0
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.004d4000
mov esi, eax
mov edx, dword [esp + 0x64]
push 0
push edx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x68], 0
call fcn.004d4000
mov edi, 8
add esp, 0x18
cmp dword [esi + 0x18], edi
jb 0x4c2504
mov esi, dword [esi + 4]
jmp 0x4c2507
add esi, 4
cmp dword [eax + 0x18], edi
jb 0x4c2511
mov eax, dword [eax + 4]
jmp 0x4c2514
add eax, 4
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
sete bl
cmp dword [esp + 0x28], edi
jb 0x4c2534
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0048d108
add esp, 4
xor edx, edx
mov esi, 7
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 0
mov word [esp + 0x14], dx
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x44], edi
jb 0x4c2567
mov eax, dword [esp + 0x30]
push eax
call fcn.0048d108
add esp, 4
xor ecx, ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], 0
mov word [esp + 0x30], cx
test bl, bl
je 0x4c25a8
cmp byte [esp + 0x60], cl
je 0x4c2593
mov edx, dword [esp + 0x58]
push edx
push 0xda
call fcn.004c1d80
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x44
ret
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x44
ret

Function at 0x4c9e60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f8eab
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x528c24]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x528c24]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esp + 0x40]
mov esi, ecx
mov dword [esi], vtable.ZipArchiveLib::CDirEnumerator.0
xor eax, eax
mov dword [esi + 0x28], 7
mov dword [esi + 0x24], 0
mov dword [esp + 0xc], esi
mov word [esi + 0x14], ax
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], eax
call fcn.00436550
cmp dword [esp + 0x24], 0
jne 0x4c9ed2
mov dword [esi + 4], 0x4feecc
jmp 0x4c9ed5
mov dword [esi + 4], edi
cmp dword [esp + 0x28], 8
mov cl, byte [esp + 0x44]
mov byte [esi + 0xc], cl
jb 0x4c9ef0
mov edx, dword [esp + 0x14]
push edx
call fcn.0048d108
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0048d9be
add esp, 0x30
ret 8
Function at 0x4cb0d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f9068
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x528c24]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
mov ecx, edi
mov dword [esi + 0x1c], edi
call fcn.004ca2d0
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0041b190
cmp dword [esp + 0x24], 8
mov dword [esp + 0x30], 0xffffffff
jb 0x4cb13a
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0048d108
add esp, 4
xor edx, edx
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], dx
cmp dword [esi + 0x14], edx
je 0x4cb169
cmp dword [edi + 0xe8], edx
jne 0x4cb169
lea ecx, [edi + 0x130]
call fcn.004d33a0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 4

Function at 0x4cb180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f9098
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x528c24]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [esi + 0x6c]
not al
and al, 1
jne 0x4cb220
cmp dword [esi + 0xe8], 0
jne 0x4cb220
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4cb215
push eax
lea ecx, [esp + 0x10]
call fcn.00436550
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x14]
add esi, 0xf4
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0041b190
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00435d50
push esi
call fcn.004c1040
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 4
lea ecx, [esi + 0xf4]
call fcn.004362e0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 4
Function at 0x4d18b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f9bba
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x528c24]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea eax, [esp + 0xb]
push eax
lea edx, [esp + 0xf]
lea ecx, [esi + 8]
push edx
mov dword [esi], vtable.CZipArchive.0
call fcn.004c84a0
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], 0
call fcn.004dfab0
lea ecx, [esi + 0xc0]
mov byte [esp + 0x18], 1
call fcn.004da0f0
xor eax, eax
mov dword [esi + 0x10c], 7
mov dword [esi + 0x108], 0
mov word [esi + 0xf8], ax
xor ecx, ecx
mov dword [esi + 0x128], 7
mov dword [esi + 0x124], eax
mov word [esi + 0x114], cx
lea ecx, [esi + 0x130]
mov byte [esp + 0x18], 4
call fcn.004d3380
lea ecx, [esi + 0x14c]
mov byte [esp + 0x18], 5
call fcn.004d3380
lea edx, [esp + 0xb]
push edx
lea eax, [esp + 0xf]
lea ecx, [esi + 0x15c]
push eax
mov byte [esp + 0x20], 6
call fcn.004c8530
mov ecx, esi
mov byte [esp + 0x18], 7
call fcn.004c2ba0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x4d40c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f9fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x528c24]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x528c24]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
mov edi, ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4d4167
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x400
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov edx, dword [esp + 0xc]
push edx
lea ecx, [esp + 0x14]
call fcn.00436550
mov eax, dword [esp + 0xc]
push eax
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004c14c0
cmp dword [esp + 0x28], 8
jb 0x4d418a
mov edx, dword [esp + 0x14]
push edx
call fcn.0048d108
add esp, 4
jmp 0x4d418a
call fcn.0049853a
cmp dword [eax], 0
jne 0x4d4178
mov eax, 0xc8
jmp 0x4d417f
call fcn.0049853a
mov eax, dword [eax]
push 1
push eax
push esi
mov ecx, edi
call fcn.004d4270
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0048d9be
add esp, 0x30
ret 4

Function at 0x4d5940
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
xor edi, edi
mov ebp, ecx
cmp dword [esp + 0x10], edi
jbe 0x4d5981
push ebx
mov ebx, dword [esp + 0x10]
push esi
movzx eax, byte [edi + ebx]
mov esi, dword [ebp + 0xc]
and esi, 0xfffd
push eax
mov ecx, ebp
or esi, 2
call fcn.004e4f70
mov ecx, esi
xor ecx, 1
imul ecx, esi
sar ecx, 8
xor byte [edi + ebx], cl
inc edi
cmp edi, dword [esp + 0x18]
jb 0x4d5952
pop esi
pop ebx
pop edi
pop ebp
ret 8
Function at 0x4d59f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
xor esi, esi
mov ebx, ecx
test ebp, ebp
jbe 0x4d5a2f
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
and eax, 0xfffd
or eax, 2
mov ecx, eax
xor ecx, 1
imul ecx, eax
sar ecx, 8
xor byte [esi + edi], cl
movzx eax, byte [esi + edi]
push eax
mov ecx, ebx
call fcn.004e4f70
inc esi
cmp esi, ebp
jb 0x4d5a04
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x4d8480
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4fa5f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x528c24]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
lea ebx, [esi + 0x44]
mov ecx, ebx
call fcn.004e5610
cmp dword [esi + 0x74], 0
movzx eax, word [esi + 0xa]
mov dword [esp + 0x18], eax
lea eax, [esi + 0x70]
je 0x4d84ca
cmp dword [eax + 8], 0
ja 0x4d84d2
push eax
mov ecx, esi
call fcn.004d7800
cmp dword [esi + 0x84], 0
lea eax, [esi + 0x80]
je 0x4d84e7
cmp dword [eax + 8], 0
ja 0x4d84ef
push eax
mov ecx, esi
call fcn.004d6b70
mov eax, dword [esi + 0x88]
cmp eax, 0xffff
jg 0x4d8518
cmp dword [esi + 0x78], 0xffff
jg 0x4d8518
mov ecx, ebx
call fcn.004e55c0
cmp eax, 0xffff
setle al
test al, al
jne 0x4d8524
push 0
push 0xd3
call fcn.004c1d80
mov edi, dword [esi + 0x78]
mov ebp, dword [esi + 0x88]
mov ecx, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ebp
call fcn.004e55c0
movzx ebx, ax
movzx ecx, bp
movzx eax, bx
movzx ebp, di
mov dword [esp + 0x20], ecx
add ecx, ebp
mov dword [esp + 0x24], eax
lea eax, [ecx + eax + 0x2e]
push 0
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], eax
call fcn.004d3530
mov edx, dword [0x52a308]
mov edi, dword [esp + 0x30]
mov dword [edi], edx
movsx ax, byte [esi + 0x90]
movzx cx, byte [esi + 4]
mov dx, word [esp + 0x18]
shl ax, 8
or ax, cx
movzx eax, ax
mov word [edi + 4], ax
movzx eax, word [esi + 6]
mov word [edi + 6], ax
movzx eax, word [esi + 8]
mov word [edi + 8], ax
mov word [edi + 0xa], dx
movzx eax, word [esi + 0xc]
mov word [edi + 0xc], ax
movzx eax, word [esi + 0xe]
mov word [edi + 0xe], ax
cmp byte [esi + 0x63], 0
mov dword [esp + 0x40], 0
je 0x4d85c8
xor eax, eax
jmp 0x4d85cb
mov eax, dword [esi + 0x10]
mov cx, word [esp + 0x14]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov ax, word [esp + 0x1c]
mov word [edi + 0x1c], ax
mov word [edi + 0x1e], bx
mov word [edi + 0x20], cx
movzx eax, word [esi + 0x1c]
mov word [edi + 0x22], ax
movzx eax, word [esi + 0x1e]
mov word [edi + 0x24], ax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x26], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x2a], eax
mov eax, dword [esi + 0x74]
push ebp
push eax
lea edx, [edi + 0x2e]
push edx
call fcn.0048fa10
add esp, 0xc
test bx, bx
je 0x4d862f
lea eax, [edi + ebp + 0x2e]
push eax
lea ecx, [esi + 0x44]
call fcn.004e5570
cmp word [esp + 0x14], 0
je 0x4d8656
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x84]
mov edx, dword [esp + 0x24]
push ecx
push eax
add ebp, edx
lea eax, [edi + ebp + 0x2e]
push eax
call fcn.0048fa10
add esp, 0xc
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
push 1
push ebx
push edi
call fcn.004e19f0
lea ecx, [esi + 0x44]
call fcn.004e5610
mov ecx, esi
call fcn.004d7380
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 0xffffffff
call fcn.004d3560
mov eax, ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
Function at 0x4d9200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fa79b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x528c24]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004d8390
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
xor ebp, ebp
mov dword [esp + 0x14], ebp
test eax, 0xfffffffc
jle 0x4d92f1
push 0x10
call fcn.0048f9a3
mov edi, eax
add esp, 4
mov dword [esp + 0x30], edi
xor eax, eax
mov dword [esp + 0x28], eax
cmp edi, eax
je 0x4d9275
push ebp
mov ecx, ebx
call fcn.004d7b40
mov eax, dword [eax]
push eax
mov ecx, edi
call fcn.004d6470
mov edx, dword [esi + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x30], eax
test edx, edx
jne 0x4d928c
xor ecx, ecx
jmp 0x4d9294
mov ecx, dword [esi + 0x14]
sub ecx, edx
sar ecx, 2
mov edi, dword [esi + 0x10]
mov ebp, edi
sub ebp, edx
sar ebp, 2
cmp ebp, ecx
jae 0x4d92ac
mov dword [edi], eax
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x4d92ca
cmp edx, edi
jbe 0x4d92b5
call fcn.0048d2af
mov eax, dword [esi]
lea ecx, [esp + 0x30]
push ecx
push edi
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.004d7c20
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
test eax, 0xfffffffc
je 0x4d9309
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov ebp, dword [esp + 0x14]
inc ebp
sar ecx, 2
cmp ebp, ecx
mov dword [esp + 0x14], ebp
jl 0x4d9249
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
push 0
push 0xdf
call fcn.004c1d80
int3

Function at 0x4d96b0
Capabilities:
Read file via mapping

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4d96c1
xor al, al
pop esi
ret 4
push 0x50ea60
push 0
push 0
push 4
push 0
call fcn.004e2a50
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi], eax
test eax, eax
je 0x4d96bb
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
xor ecx, ecx
test eax, eax
mov dword [esi + 4], eax
setne cl
mov al, cl
pop esi
ret 4