joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100043a0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 4]
add eax, 0xfffe0000
push esi
mov esi, dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp eax, 3
ja case.default.0x100043b5
jmp dword [eax*4 + 0x10004414]
push str.MANTLE_UNKNOWN:
call esi
push dword [esp + 0xc]
call esi
push 0x10018114
call esi
pop esi
ret
push str.MANTLE_ERROR:
call esi
push dword [esp + 0xc]
call esi
push 0x10018114
call esi
pop esi
ret
push str.MANTLE_WARN:
call esi
push dword [esp + 0xc]
call esi
push 0x10018114
call esi
pop esi
ret
push str.MANTLE_PERF_WARN:
call esi
push dword [esp + 0xc]
call esi
push 0x10018114
call esi
pop esi
ret
Function at 0x1000a04c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x1000a08b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000a08b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000a08b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000a08b
cmp dword [ecx + 0x74], 0xe
jbe 0x1000a08b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1000cfb2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x1000cfc1
pop dword [ebp - 0x28]
mov eax, 0x285e8f04
add eax, 0xe7a240bd
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x6aaf45b3
sub dword [ebp - 0x38], 0x1c5d0068
mov dword [ebp - 0x34], 0x1323cfd2
sub dword [ebp - 0x34], 0xe0f0838d
mov dword [ebp - 0x30], 0x804269b2
add dword [ebp - 0x30], 0xcc09da7c
mov dword [ebp - 0x2c], 0x4e87f314
sub dword [ebp - 0x2c], 0x4e87f314
lea eax, [ebp - 0x38]
push eax
mov eax, 0x6c7241c7
sub eax, 0x5c70d1a7
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x625a85d1
add dword [ebp - 0x38], 0x1217e385
mov dword [ebp - 0x34], 0x2823cc98
add dword [ebp - 0x34], 0x194894dd
mov dword [ebp - 0x30], 0x46274074
sub dword [ebp - 0x30], 0xe2b7d408
mov dword [ebp - 0x2c], 0x272c90a8
sub dword [ebp - 0x2c], 0x272c90a8
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x39f3b
push 0
call eax
mov ecx, 0x1bdd7713
add ecx, 0xe422ce7d
xor esi, esi
add esi, eax
mov edi, 0x10024600
add edi, dword [ebp - 0x28]
mov ebx, 0xb96412c5
mov edx, dword [edi]
mov dword [ebp - 0xc], 0x1e496a80
xor edx, ebx
sub dword [ebp - 8], 0x3d4cbd08
mov dword [esi], edx
mov dword [ebp - 0x10], 0xc99ce701
add esi, 0x3726b1cf
add esi, 0xc8d94e35
add edi, 0xe15ccc27
sub edi, 0xe15ccc23
loop 0x1000d0d4
add eax, 0xea369087
add eax, 0x15ca788c
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xb7cd257a
sub ecx, 0xa7cd257a
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x10001de4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x10001df3
pop dword [ebp - 0x18]
mov eax, 0x10001df3
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x4b3bd88e
add dword [ebp - 0x28], 0x3166cbd
mov dword [ebp - 0x24], 0xe9b9c96a
add dword [ebp - 0x24], 0x487982db
mov dword [ebp - 0x20], 0x5fcc82a5
sub dword [ebp - 0x20], 0x13803e77
mov dword [ebp - 0x1c], 0xa6866932
sub dword [ebp - 0x1c], 0xa6866932
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xe6d5a812
sub dword [ebp - 0x28], 0x72633ebc
mov dword [ebp - 0x24], 0x420bbe95
sub dword [ebp - 0x24], 0x9f5d20
mov dword [ebp - 0x20], 0x24d6195
sub dword [ebp - 0x20], 0x9eddf529
mov dword [ebp - 0x1c], 0xfc1801f8
sub dword [ebp - 0x1c], 0xfc1801f8
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x341ec
push 0
call eax
mov ecx, 0x98881961
sub ecx, 0x9887dad4
mov edx, eax
mov ebx, 0x10006400
add ebx, dword [ebp - 0x18]
mov edi, 0x71254e9c
add edi, 0x768c6bb8
mov esi, dword [ebx]
add esi, edi
add dword [ebp - 0x10], edi
mov dword [edx], esi
xor dword [ebp - 0x14], eax
add edx, 0x3984db81
sub edx, 0x3984db7d
add ebx, 4
loop 0x10001f00
add eax, 0xed07
mov ebx, eax
add eax, 0x8f4d19a
add eax, 0xf70b2e6b
mov ecx, 0x10000000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x481420], ecx
inc edx
cmp edx, 0x100
jb 0x401002
cmp edx, 0x800
jae 0x4010d9
lea esp, [esp]
mov eax, dword [edx*4 + 0x481020]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x481420]
inc edx
mov dword [edx*4 + 0x48141c], eax
cmp edx, 0x800
jb 0x4010b0
mov dword [0x4802a0], 0x403ef0
call fcn.004040c0
test eax, eax
jne 0x4010f6
mov dword [0x4802a0], 0x403fa0
ret

Function at 0x403ab0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [edi]
mov ebx, eax
test esi, esi
jne 0x403ac1
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_ReadFile]
mov dword [edi], 0
mov edi, edi
mov eax, 0x400000
cmp esi, 0x400000
ja 0x403adf
mov eax, esi
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
mov eax, dword [edx]
push ebx
push eax
mov dword [esp + 0x20], 0
call ebp
mov ecx, dword [esp + 0xc]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x403b16
test ecx, ecx
je 0x403b0f
test esi, esi
ja 0x403ad0
pop ebp
pop esi
xor eax, eax
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0x403b30
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
test esi, esi
je 0x403b92
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
mov dword [edi], 0
lea esp, [esp]
mov eax, 0x400000
cmp esi, 0x400000
ja 0x403b5f
mov eax, esi
mov edx, dword [ebp]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov ecx, dword [esp + 0x1c]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x403b97
test ecx, ecx
je 0x403b90
test esi, esi
ja 0x403b50
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop ebp
pop ebx
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.DLL_GetLastError]
Function at 0x4041a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
mov eax, dword [0x47dad4]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x94]
push ebp
push esi
push edi
push ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
xor ebp, ebp
push ecx
lea esi, [esp + 0x28]
mov edi, edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebp
call fcn.00406b10
add esp, 8
cmp eax, ebp
jne 0x404315
mov edx, dword [esp + 0xac]
mov eax, 1
mov dword [esp + 0x34], edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x70], eax
lea ebx, [ebx]
mov eax, 0x40000
mov dword [esp + 0x14], ebp
mov dword [esp + 0xc], eax
cmp dword [esp + 0xa8], ebp
ja 0x40424c
jb 0x404241
cmp dword [esp + 0xa4], eax
jae 0x40424c
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push ebx
call eax
mov esi, eax
add esp, 0xc
cmp esi, ebp
jne 0x404301
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x44]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0xb0]
push 1
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x34]
call fcn.004067e0
mov esi, eax
mov eax, dword [esp + 0x24]
sub dword [esp + 0x20], eax
add esp, 0x14
sub dword [esp + 0xa4], eax
sbb dword [esp + 0xa8], ebp
cmp esi, ebp
jne 0x404301
mov ecx, dword [esp + 0x48]
cmp dword [esp + 0x44], ecx
je 0x4042df
cmp eax, ebp
jne 0x4042c9
cmp edi, dword [esp + 0x44]
je 0x4042df
push eax
mov eax, dword [ebx + 4]
push ebx
call eax
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x404220
jmp 0x404301
cmp ecx, dword [esp + 0xac]
jne 0x4042fc
cmp dword [esp + 0xc], ebp
jne 0x4042fc
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x404301
cmp eax, 4
je 0x404301
mov esi, 1
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 4]
push ecx
push eax
call edx
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0044a6c9
add esp, 0x90
ret
Function at 0x404330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xb0
mov eax, dword [0x47dad4]
xor eax, esp
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb4]
push ebx
push ebp
mov ebp, dword [esp + 0xc8]
push esi
push edi
xor ebx, ebx
mov edi, 1
mov esi, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
cmp dword [eax + 0x14], edi
je 0x404377
mov eax, edi
jmp 0x4044cd
mov eax, dword [eax + 0x10]
movzx ecx, byte [eax]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00404bc0
add esp, 4
cmp eax, ebx
jne 0x4044cd
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x78], edi
lea esp, [esp]
mov eax, 0x40000
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
cmp dword [esp + 0xcc], ebx
ja 0x40440c
jb 0x404401
cmp dword [esp + 0xc8], eax
jae 0x40440c
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push ebp
call eax
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x4044b9
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x4c]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0xd8]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edx
lea esi, [esp + 0x38]
call fcn.00404d70
mov esi, eax
mov eax, dword [esp + 0x28]
sub dword [esp + 0x24], eax
add esp, 0x10
sub dword [esp + 0xc8], eax
sbb dword [esp + 0xcc], ebx
cmp esi, ebx
jne 0x4044b9
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x4c], ecx
je 0x40449e
cmp eax, ebx
jne 0x404488
cmp edi, dword [esp + 0x4c]
je 0x40449e
push eax
mov eax, dword [ebp + 4]
push ebp
call eax
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4043e0
jmp 0x4044b9
cmp ecx, dword [esp + 0xd4]
jne 0x4044b4
cmp dword [esp + 0x14], ebx
jne 0x4044b4
cmp dword [esp + 0x20], 1
je 0x4044b9
mov esi, 1
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 4]
push ecx
push eax
call edx
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044a6c9
add esp, 0xb0
ret
Function at 0x405060
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 8
push ebp
push esi
mov esi, dword [ecx]
xor ebp, ebp
and esi, 7
cmp eax, 5
jae 0x40507d
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
mov edx, dword [esp + 0x14]
push ebx
lea ebx, [edx + eax - 4]
push edi
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], ebx
lea edi, [edx + ebp]
cmp edi, ebx
jae 0x4050ad
lea ebx, [ebx]
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x4050ad
inc edi
cmp edi, ebx
jb 0x4050a0
mov ebp, edi
sub ebp, edx
mov eax, ebp
sub eax, dword [esp + 0x10]
cmp edi, ebx
jae 0x4051b5
cmp eax, 3
jbe 0x4050e0
xor esi, esi
mov al, byte [edi + 4]
mov dword [esp + 0x10], ebp
test al, al
je 0x40511b
cmp al, 0xff
je 0x40511b
and esi, 3
add esi, esi
or esi, 1
inc ebp
jmp 0x405093
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x4050c6
movzx ecx, byte [esi + 0x4702b4]
mov eax, edi
sub eax, ecx
cmp byte [esi + 0x4702ac], 0
mov al, byte [eax + 4]
je 0x405109
test al, al
je 0x405109
cmp al, 0xff
jne 0x4050c6
and esi, 3
add esi, esi
mov dword [esp + 0x10], ebp
or esi, 1
inc ebp
jmp 0x405093
movzx ecx, byte [edi + 3]
movzx edx, al
movzx eax, byte [edi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, eax
shl edx, 8
or edx, ecx
lea esp, [esp]
sub edx, ebp
sub edx, 5
mov eax, edx
test esi, esi
je 0x405187
movzx edx, byte [esi + 0x4702b4]
add edx, edx
add edx, edx
add edx, edx
mov ecx, 0x18
sub ecx, edx
mov ebx, eax
shr ebx, cl
test bl, bl
je 0x40516c
cmp bl, 0xff
jne 0x405183
mov ebx, dword [esp + 0x14]
mov ecx, 0x20
sub ecx, edx
mov edx, 1
shl edx, cl
dec edx
xor edx, eax
jmp 0x405140
mov ebx, dword [esp + 0x14]
mov edx, eax
shr edx, 0x18
and dl, 1
dec dl
not dl
mov byte [edi + 4], dl
mov edx, eax
shr edx, 8
mov ecx, eax
shr ecx, 0x10
mov byte [edi + 2], dl
mov edx, dword [esp + 0x1c]
mov byte [edi + 3], cl
mov byte [edi + 1], al
add ebp, 5
jmp 0x405093
pop edi
pop ebx
cmp eax, 3
jbe 0x4051cc
mov eax, dword [esp + 0x18]
xor esi, esi
mov dword [eax], esi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
lea ecx, [eax - 1]
mov eax, dword [esp + 0x18]
shl esi, cl
and esi, 7
mov dword [eax], esi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret

Function at 0x40af6a
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
xor eax, eax
lea ecx, [esp + 4]
push ecx
push eax
push esi
push 0x40abcd
push eax
push eax
mov dword [esi], vtable.Installer.0
mov dword [esi + 8], eax
mov byte [esi + 0xc], al
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 4], eax
mov eax, esi
pop esi
pop ecx
ret
Function at 0x40dc5e
Capabilities:
Get common file path

Disassembly:
push 0x44
mov eax, 0x45f186
call fcn.0044a741
xor ebx, ebx
push 0x104
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call fcn.00407059
push ebx
push 0x23
push dword [ebp - 0x34]
mov dword [ebp - 4], ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40dcdf
push dword [ebp - 0x34]
lea eax, [ebp - 0x50]
push eax
call fcn.0041bc26
push str..exe
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.00408aee
add esp, 0x14
push ebx
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00407efb
lea eax, [ebp - 0x2c]
push eax
call fcn.0041aec8
pop ecx
push ebx
lea ecx, [ebp - 0x2c]
push 1
test al, al
je 0x40dcef
call fcn.00407efb
mov bl, 1
lea ecx, [ebp - 0x34]
call fcn.00406ffd
mov al, bl
call fcn.0044a7c4
ret
call fcn.00407efb
jmp 0x40dcdf
Function at 0x41661d
Capabilities:
Create process on windows

Disassembly:
mov al, byte [ecx + 0x39]
push esi
test al, 4
je 0x416648
mov dl, al
shr dl, 3
not dl
shl dl, 3
xor dl, al
push 1
and dl, 8
push 0
push dword [ecx + 4]
xor dl, al
mov byte [ecx + 0x39], dl
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x416669
lea esi, [ecx + 0x58]
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
test eax, eax
jle 0x416669
push 3
xor eax, eax
push eax
push eax
push esi
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
ret 0xc
Function at 0x418a93
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x20], 0
je 0x418aae
push 2
push dword [esi + 0x84]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov byte [esi + 0x20], 0
pop esi
ret

Function at 0x418c71
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 8
mov eax, 0x461c42
call fcn.0044a6d8
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.0041aac2
pop ecx
pop ecx
push 0x467920
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
cmp edi, ebx
jne 0x418cbf
lea ecx, [ebp - 0x14]
call fcn.00406ffd
xor al, al
call fcn.0044a7b0
ret 4
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push edi
push ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, ebx
jne 0x418ce5
lea ecx, [ebp - 0x14]
call fcn.00406ffd
mov al, bl
jmp 0x418cb7
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
cmp eax, ebx
mov dword [esi + 0x10], eax
setne bl
jmp 0x418cd9

Function at 0x41992e
Capabilities:
Create thread

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
xor eax, eax
push eax
mov esi, ecx
push esi
push 0x418e83
push eax
push eax
mov byte [esi + 0x20], 1
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 0x84], eax
pop esi
pop ecx
ret

Function at 0x4199ef
Capabilities:
Write file on windows

Disassembly:
push 0xc
mov eax, 0x460f11
call fcn.0044a6d8
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.0041aac2
mov esi, dword [sym.imp.KERNEL32.DLL_WriteFile]
pop ecx
pop ecx
push ebx
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 0x14]
add eax, eax
push eax
push dword [ebp - 0x18]
push dword [edi + 4]
call esi
push ebx
lea eax, [ebp + 8]
push eax
push 2
lea eax, [ebp - 0x10]
push eax
push dword [edi + 4]
mov dword [ebp - 0x10], 0x1234
call esi
lea ecx, [ebp - 0x18]
call fcn.00406ffd
call fcn.0044a7b0
ret 4
Function at 0x419b07
Capabilities:
Create pipe

Disassembly:
push 0x24
mov eax, 0x460f54
call fcn.0044a6d8
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
cmp dword [esi + 4], 0xffffffff
mov edi, dword [sym.imp.KERNEL32.DLL_CreateNamedPipeW]
mov dword [ebp - 4], ebx
jne 0x419ba9
push str..pipemediaget_admin_proxy_pipe_in
lea ecx, [ebp - 0x30]
call fcn.004088e0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.0041aac2
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.00407efb
push ebx
push ebx
push ebx
push ebx
push 0xff
push ebx
push 2
push dword [ebp - 0x14]
call edi
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x419ba9
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0041d10b
pop ecx
pop ecx
mov byte [ebp - 4], 2
call fcn.0041a351
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00407efb
lea ecx, [ebp - 0x14]
call fcn.00406ffd
xor al, al
call fcn.0044a7b0
ret
cmp dword [esi + 8], 0xffffffff
jne 0x419c2b
push str..pipemediaget_admin_proxy_pipe_out
lea ecx, [ebp - 0x30]
call fcn.004088e0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.0041aac2
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.00407efb
push ebx
push ebx
push ebx
push ebx
push 0xff
push ebx
push 1
push dword [ebp - 0x14]
call edi
mov dword [esi + 8], eax
cmp eax, 0xffffffff
jne 0x419c2b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0041d10b
pop ecx
pop ecx
mov byte [ebp - 4], 4
call fcn.0041a351
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00407efb
lea ecx, [ebp - 0x14]
call fcn.00406ffd
mov al, bl
jmp 0x419ba3
mov bl, 1
jmp 0x419c1c
Function at 0x41a176
Capabilities:
Connect pipe
Create process on windows
Create thread

Disassembly:
push 0x64
mov eax, 0x461063
call fcn.0044a741
mov ebx, dword [ebp + 8]
mov esi, ecx
cmp byte [esi], 0
je 0x41a1a3
push str.AdministrativeProxy_is_already_running
lea ecx, [esi + 0x10]
call fcn.0040877d
mov al, 1
call fcn.0044a7c4
ret 4
cmp byte [esi + 0xc], 0
je 0x41a1ad
xor al, al
jmp 0x41a19b
call fcn.00419b07
test al, al
jne 0x41a1c5
push str.unable_to_listen_on_mediaget_admin_proxy_pipes
lea ecx, [esi + 0x10]
call fcn.0040877d
jmp 0x41a1a9
xor edi, edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
lea eax, [ebp - 0x34]
push eax
push ebx
mov dword [ebp - 4], edi
call fcn.0041aac2
pop ecx
pop ecx
or ebx, 0xffffffff
push ebx
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
push edi
push edi
push edi
push dword [ebp - 0x34]
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jge 0x41a24f
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041d1fd
push eax
lea eax, [ebp - 0x70]
push str.ShellExecute_for_mediaget_admin_proxy_failed__
push eax
mov byte [ebp - 4], 1
call fcn.00408aa3
add esp, 0x14
push ebx
push edi
push eax
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 2
call fcn.00408577
push edi
push 1
lea ecx, [ebp - 0x70]
call fcn.00407efb
push edi
push 1
lea ecx, [ebp - 0x54]
call fcn.00407efb
lea ecx, [ebp - 0x34]
mov byte [esi + 0xc], 1
call fcn.00406ffd
jmp 0x41a1a9
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.DLL_ConnectNamedPipe]
test eax, eax
jne 0x41a2b9
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0041d10b
push eax
lea eax, [ebp - 0x54]
push str.ConnectNamedPipe_for_mediaget_admin_proxy_failed__
push eax
mov byte [ebp - 4], 3
call fcn.00408aa3
add esp, 0x14
push ebx
push edi
push eax
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 4
call fcn.00408577
push edi
push 1
lea ecx, [ebp - 0x54]
call fcn.00407efb
push edi
push 1
lea ecx, [ebp - 0x70]
call fcn.00407efb
xor bl, bl
lea ecx, [ebp - 0x34]
call fcn.00406ffd
mov al, bl
jmp 0x41a19b
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
push eax
mov dword [esi + 0x48], eax
call dword [sym.imp.KERNEL32.DLL_ResetEvent]
lea eax, [ebp - 0x38]
push eax
push edi
push esi
push 0x419c2f
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00419cee
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x54]
push str.got_adminStatus_from_mediaget_admin_proxy__
push eax
mov byte [ebp - 4], 5
call fcn.00408aa3
add esp, 0xc
push ebx
push edi
push eax
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 6
call fcn.00408577
push edi
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.00407efb
push str.STATUS:ADMIN
lea ecx, [ebp - 0x2c]
call fcn.00407c18
mov ebx, eax
neg ebx
sbb bl, bl
push edi
inc bl
push 1
lea ecx, [ebp - 0x2c]
mov byte [esi], bl
call fcn.00407efb
jmp 0x41a2aa