joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d2a70
Capabilities:
Create process on windows
Query environment variable

Disassembly:
mov eax, 0x4324
call fcn.0052f720
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0x4320], eax
push esi
push edi
mov edi, dword [esp + 0x4330]
push edi
call fcn.004a1db0
mov esi, eax
test esi, esi
je 0x4d2c89
push 0xc8
push 0x557718
lea eax, [esp + 0x10]
push eax
push 0x557718
push esi
push SysReAllocString
call fcn.004cf620
cmp word [esp + 8], 0
je 0x4d2c89
push 0xc8
push str._shellprintcommand
lea eax, [esp + 0x10]
push eax
call fcn.004bd030
push 0x800
push 0x557718
lea eax, [esp + 0x330]
push eax
push 0x557718
lea eax, [esp + 0x18]
push eax
push SysReAllocString
call fcn.004cf620
cmp word [esp + 0x328], 0
jne 0x4d2bb9
push esi
push str.SoftwareClasses_s
lea eax, [esp + 0x1a0]
push 0xc8
push eax
call fcn.00404ce0
add esp, 0x10
lea eax, [esp + 8]
push 0xc8
push 0x557718
push eax
push 0x557718
lea eax, [esp + 0x1a8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004cf620
cmp word [esp + 8], 0
je 0x4d2c89
lea eax, [esp + 8]
push eax
push str.SoftwareClasses_s_shellprintcommand
lea eax, [esp + 0x1a0]
push 0xc8
push eax
call fcn.00404ce0
add esp, 0x10
lea eax, [esp + 0x328]
push 0x800
push 0x557718
push eax
push 0x557718
lea eax, [esp + 0x1a8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004cf620
cmp word [esp + 0x328], 0
je 0x4d2c89
push 0x1000
lea eax, [esp + 0x232c]
push eax
lea eax, [esp + 0x330]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x4d2c89
cmp eax, 0x1000
jae 0x4d2c89
lea eax, [esp + 0x2328]
push 0x5681a4
push eax
call fcn.00531fcb
add esp, 8
test eax, eax
je 0x4d2c89
lea ecx, [esp + 0x2328]
cmp eax, ecx
jbe 0x4d2c35
cmp word [eax - 2], 0x22
jne 0x4d2c35
xor ecx, ecx
push 0x1000
mov word [eax], cx
lea eax, [esp + 0x232c]
push edi
push eax
call fcn.004bd030
mov edi, 0x567cac
jmp 0x4d2c3a
xor ecx, ecx
mov word [eax], cx
push 0x1000
lea eax, [esp + 0x232c]
push edi
push eax
call fcn.004bd030
push 0x800
lea eax, [esp + 0x132c]
push eax
lea eax, [esp + 0x2330]
push eax
call fcn.004bc800
push 8
push 0
push eax
lea eax, [esp + 0x1334]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta al
jmp 0x4d2c8b
xor al, al
mov ecx, dword [esp + 0x4328]
pop edi
pop esi
xor ecx, esp
call fcn.0052f708
add esp, 0x4324
ret 4
Function at 0x4d4c70
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x2004
call fcn.0052f720
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0x2000], eax
mov eax, dword [esp + 0x2008]
push ebx
mov ebx, dword [esp + 0x2010]
push esi
push edi
push 0x55a9fc
push eax
mov esi, ecx
call fcn.004fd330
mov edi, eax
test edi, edi
sete cl
mov byte [esi + 0x3044], cl
test edi, edi
jne 0x4d4cbb
xor al, al
jmp 0x4d4d06
push edi
push 0x2000
lea eax, [esp + 0x14]
push 1
push eax
call fcn.0053bd85
add esp, 0x10
test eax, eax
je 0x4d4cfb
push ebx
push eax
lea eax, [esp + 0x14]
push 1
push eax
call fcn.00538b43
push edi
push 0x2000
lea eax, [esp + 0x24]
push 1
push eax
call fcn.0053bd85
add esp, 0x20
test eax, eax
jne 0x4d4cd4
push edi
call fcn.005386bd
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x200c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0052f708
add esp, 0x2004
ret 8

Function at 0x4d4d20
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x2008
call fcn.0052f720
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0x2004], eax
mov eax, dword [esp + 0x200c]
push ebp
push esi
push 0x568614
push eax
mov esi, ecx
call fcn.004fd330
mov ebp, eax
test ebp, ebp
sete cl
mov byte [esi + 0x3044], cl
test ebp, ebp
jne 0x4d4d66
xor al, al
jmp 0x4d4e0c
push ebx
push edi
push ebp
xor eax, eax
push 0x2000
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.0053bd85
mov ebx, eax
add esp, 0x10
cmp ebx, 0x20
jbe 0x4d4dff
lea ebx, [ebx]
lea edi, [ebx - 0x20]
xor esi, esi
test edi, edi
jle 0x4d4dcd
lea esp, [esp]
cmp byte [esp + esi + 0x14], 0x61
jne 0x4d4dc8
cmp byte [esp + esi + 0x15], 0x73
jne 0x4d4dc8
push 0x14
lea eax, [esp + 0x1a]
add eax, esi
push str.Invoker_
push eax
call fcn.00538520
add esp, 0xc
test eax, eax
je 0x4d4e25
inc esi
cmp esi, edi
jl 0x4d4da0
mov eax, dword [esp + 0x10]
add eax, 0xffffffe0
add eax, ebx
push 0
push eax
push ebp
mov dword [esp + 0x1c], eax
call fcn.0053c19b
push ebp
push 0x2000
lea eax, [esp + 0x28]
push 1
push eax
call fcn.0053bd85
mov ebx, eax
add esp, 0x1c
cmp ebx, 0x20
ja 0x4d4d90
push ebp
call fcn.005386bd
add esp, 4
xor al, al
pop edi
pop ebx
mov ecx, dword [esp + 0x200c]
pop esi
pop ebp
xor ecx, esp
call fcn.0052f708
add esp, 0x2008
ret 4
mov eax, dword [esp + 0x10]
push 0
add eax, esi
push eax
push ebp
call fcn.0053c19b
push ebp
push 0x15
push 1
push str.requireAdministrator_
call fcn.00538b43
cmp eax, 0x15
push ebp
sete bl
call fcn.005386bd
add esp, 0x20
mov al, bl
jmp 0x4d4e0a
Function at 0x4d53e0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x200c
call fcn.0052f720
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0x2008], eax
mov eax, dword [esp + 0x2010]
push edi
push 0x55a9fc
push eax
call fcn.00491f50
mov edi, eax
mov dword [esp + 8], edi
test edi, edi
jne 0x4d542f
xor al, al
pop edi
mov ecx, dword [esp + 0x2008]
xor ecx, esp
call fcn.0052f708
add esp, 0x200c
ret 4
push ebp
xor ebp, ebp
push ebx
mov dword [esp + 0xc], ebp
push esi
jmp 0x4d5440
push edi
push 0x2000
lea eax, [esp + 0x20]
push 1
push eax
call fcn.0053bd85
mov ebx, eax
add esp, 0x10
cmp ebx, 0x20
jle 0x4d54b6
lea edi, [ebx - 0x20]
xor esi, esi
test edi, edi
jle 0x4d5490
cmp byte [esp + esi + 0x18], 0x72
jne 0x4d548b
cmp byte [esp + esi + 0x19], 0x65
jne 0x4d548b
push 0x14
lea eax, [esp + esi + 0x1e]
push str.quireAdministrator_
push eax
call fcn.00538520
add esp, 0xc
test eax, eax
je 0x4d54dc
inc esi
cmp esi, edi
jl 0x4d5465
mov edi, dword [esp + 0x14]
add ebp, 0xffffffe0
push 0
add ebp, ebx
push ebp
push edi
call fcn.0053c19b
mov esi, dword [esp + 0x1c]
add esp, 0xc
inc esi
mov dword [esp + 0x10], esi
cmp esi, 0x100
jb 0x4d5440
push edi
call fcn.005386bd
add esp, 4
xor al, al
mov ecx, dword [esp + 0x2018]
pop esi
pop ebx
pop ebp
pop edi
xor ecx, esp
call fcn.0052f708
add esp, 0x200c
ret 4
push dword [esp + 0x14]
call fcn.005386bd
add esp, 4
mov al, 1
jmp 0x4d54c1
Function at 0x4d5930
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x2010
call fcn.0052f720
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0x200c], eax
mov eax, dword [esp + 0x2014]
push ebx
push esi
push 0x55a9fc
mov esi, ecx
mov ecx, dword [esp + 0x2024]
push eax
mov dword [esp + 0x18], ecx
call fcn.004fd330
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
sete cl
mov byte [esi + 0x3044], cl
test ebx, ebx
je 0x4d5ac2
push ebp
push edi
push ebx
push 0x2000
lea eax, [esp + 0x24]
xor esi, esi
push 1
push eax
mov dword [esp + 0x20], esi
call fcn.0053bd85
add esp, 0x10
mov ebp, eax
cmp ebp, 0x28
jbe 0x4d5ab5
lea ebx, [ebp - 0x28]
xor edi, edi
mov eax, 0xfeff
test ebx, ebx
je 0x4d5a50
lea esi, [esp + 0x20]
cmp byte [esi - 4], 0x2a
jne 0x4d59ec
cmp byte [esi - 3], 0x2a
jne 0x4d59ec
push 0xc
lea eax, [esi - 2]
push 0x5676f0
push eax
call fcn.00538520
add esp, 0xc
test eax, eax
je 0x4d5a80
mov eax, 0xfeff
cmp word [esi - 4], 0x2a
jne 0x4d5a13
cmp word [esi - 2], 0x2a
jne 0x4d5a13
push 0xc
push str.messages
push esi
call fcn.00538b7d
add esp, 0xc
test eax, eax
je 0x4d5a80
mov eax, 0xfeff
cmp word [esi - 4], ax
jne 0x4d5a42
cmp word [esi - 2], 0x2a
jne 0x4d5a42
cmp word [esi], 0x2a
jne 0x4d5a42
push 0xc
lea eax, [esi + 2]
push str.messages
push eax
call fcn.00538b7d
add esp, 0xc
test eax, eax
je 0x4d5a80
mov eax, 0xfeff
inc edi
inc esi
cmp edi, ebx
jb 0x4d59c0
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
add ebp, 0xffffffd8
add esi, ebp
push 0
push esi
push ebx
mov dword [esp + 0x1c], esi
call fcn.0053c19b
push ebx
push 0x2000
lea eax, [esp + 0x30]
push 1
push eax
call fcn.0053bd85
add esp, 0x1c
jmp 0x4d599f
mov eax, dword [esp + 0x10]
add eax, edi
mov edi, dword [esp + 0x14]
push 0
push eax
push edi
call fcn.0053c19b
push edi
push dword [esp + 0x203c]
push 1
push dword [esp + 0x30]
call fcn.0053bd85
push edi
mov esi, eax
call fcn.005386bd
add esp, 0x20
mov eax, esi
jmp 0x4d5ac0
push ebx
call fcn.005386bd
add esp, 4
xor eax, eax
pop edi
pop ebp
mov ecx, dword [esp + 0x2014]
pop esi
pop ebx
xor ecx, esp
call fcn.0052f708
add esp, 0x2010
ret 0xc

Function at 0x4d7e50
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x130
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0x12c], eax
cmp dword [0x58a020], 0
push esi
mov esi, dword [esp + 0x140]
push edi
mov edi, dword [esp + 0x148]
jne 0x4d7eae
push 0x64
lea eax, [esp + 0x70]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [esp + 0x6c]
mov word [0x5dfdec], ax
xor eax, eax
mov word [0x5dfdee], ax
mov dword [0x58a020], 0x5dfdec
push 0x32
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x148]
push dword [esp + 0x148]
call fcn.004bce60
push edi
push esi
xor eax, eax
push 0x58a010
mov word [esi], ax
lea eax, [esp + 0x14]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ecx, dword [esp + 0x134]
xor eax, eax
mov word [esi + edi*2 - 2], ax
pop edi
pop esi
xor ecx, esp
call fcn.0052f708
add esp, 0x130
ret 0x10
Function at 0x4d7f10
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x15c
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0x158], eax
mov ecx, dword [esp + 0x168]
mov eax, dword [esp + 0x170]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x16c]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x174]
xor ebx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], 0x5e7
mov dword [esp + 0x1c], 0x5e8
mov dword [esp + 0x20], 0x5e9
mov dword [esp + 0x24], 0x5ea
mov dword [esp + 0x14], eax
test edi, edi
jne 0x4d7f7c
cmp esi, 0x400
jb 0x4d7fa5
mov eax, 1
cmp eax, 5
jae 0x4d7fa5
mov ebx, esi
inc ebp
shrd esi, edi, 0xa
and ebx, 0x3ff
inc eax
shr edi, 0xa
test edi, edi
ja 0x4d7f81
jb 0x4d7fa5
cmp esi, 0x400
jae 0x4d7f81
cmp dword [0x58a020], 0
jne 0x4d7fe5
push 0x64
lea eax, [esp + 0xa4]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [esp + 0xa0]
mov word [0x5dfdec], ax
xor eax, eax
mov word [0x5dfdee], ax
mov dword [0x58a020], 0x5dfdec
push 0x32
lea eax, [esp + 0x40]
push eax
push edi
push esi
call fcn.004bce60
push dword [esp + 0x17c]
mov eax, dword [esp + 0x14]
xor ecx, ecx
push eax
push 0x58a010
mov word [eax], cx
lea eax, [esp + 0x48]
push eax
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov eax, dword [esp + 0x17c]
xor edx, edx
mov ecx, dword [esp + 0x10]
mov word [ecx + eax*2 - 2], dx
test edi, edi
ja 0x4d80da
jb 0x4d803f
cmp esi, 0x64
jae 0x4d80da
test ebx, ebx
je 0x4d80da
imul eax, ebx, 0x3e8
shr eax, 0xa
test edi, edi
ja 0x4d805f
jb 0x4d805b
cmp esi, 0xa
jae 0x4d805f
mov bl, 1
jmp 0x4d8061
xor bl, bl
movzx ecx, bl
neg ecx
sbb ecx, ecx
xor edx, edx
and ecx, 0xffffffa6
add ecx, 0x64
div ecx
mov edi, eax
test edi, edi
je 0x4d80e0
test bl, bl
je 0x4d8086
mov esi, 0x55a968
cmp edi, 0xa
jb 0x4d808b
mov esi, 0x557718
push 0x64
lea eax, [esp + 0xa4]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx eax, word [esp + 0xa0]
push edi
push esi
push eax
push str._c_s_u
lea eax, [esp + 0x38]
push 0xa
push eax
call fcn.00404ce0
mov ebx, dword [esp + 0x194]
lea eax, [esp + 0x40]
mov esi, dword [esp + 0x28]
add esp, 0x18
push ebx
push eax
push esi
call fcn.004bd030
jmp 0x4d80eb
mov ebx, eax
mov esi, ecx
jmp 0x4d80eb
mov ebx, dword [esp + 0x17c]
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x180], 0
jne 0x4d80f9
test ebp, ebp
je 0x4d8116
push ebx
push 0x55ab80
push esi
call fcn.004bd030
push ebx
push dword [esp + ebp*4 + 0x18]
call fcn.004b68d0
push eax
push esi
call fcn.004bd030
mov ecx, dword [esp + 0x168]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0052f708
add esp, 0x15c
ret 0x14
Function at 0x4d84b0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x2c
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0x28], eax
push ebp
mov ebp, dword [esp + 0x34]
push esi
push ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
je 0x4d8687
lea ecx, [esi*2 + 2]
push edi
push ecx
call fcn.00538da8
mov edi, eax
add esp, 4
test edi, edi
je 0x4d8686
lea ecx, [esi + 1]
xor eax, eax
push ecx
push edi
push ebp
mov word [edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, edi
lea ecx, [esi + 2]
lea ebx, [ebx]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4d8510
push ebx
lea eax, [esp + 0x28]
sub esi, ecx
push eax
push ebp
sar esi, 1
call dword [sym.imp.USER32.dll_GetClientRect]
push ebp
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
mov ebx, eax
push ebp
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push esi
push edi
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x30]
jl 0x4d8669
push edi
call fcn.004a2d90
mov edx, eax
cmp edx, edi
je 0x4d85b5
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d8580
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push edi
call fcn.00531230
mov esi, edi
add esp, 0xc
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4d85a6
sub esi, ecx
sar esi, 1
lea eax, [esp + 0x18]
mov ebp, esi
push eax
push esi
push edi
push ebx
shr ebp, 1
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
lea eax, [ebp + 2]
mov dword [esp + 0x10], eax
cmp eax, esi
jae 0x4d865d
lea ebx, [edi + eax*2]
mov esi, 0x2026
mov edi, edi
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d85e5
mov ecx, dword [esp + 0x18]
sub eax, edx
sar eax, 1
cmp ecx, dword [esp + 0x30]
jl 0x4d8659
cmp ebp, 1
jb 0x4d8659
cmp eax, 1
jb 0x4d8659
lea eax, [eax*2 + 2]
mov word [ebx - 6], si
push eax
lea eax, [ebx - 4]
push ebx
push eax
call fcn.00531230
mov esi, edi
add esp, 0xc
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4d8626
dec dword [esp + 0x10]
lea eax, [esp + 0x18]
sub esi, ecx
dec ebp
push eax
sar esi, 1
sub ebx, 2
push esi
push edi
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp dword [esp + 0x10], esi
mov esi, 0x2026
jb 0x4d85e0
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
push edi
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [esp + 0x24]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push ebp
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
call fcn.00537b6f
add esp, 4
pop ebx
pop edi
mov ecx, dword [esp + 0x30]
pop esi
pop ebp
xor ecx, esp
call fcn.0052f708
add esp, 0x2c
ret 4
Function at 0x4d87e0
Capabilities:
Get graphical window text

Disassembly:
push edi
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4d8844
push ebx
lea ebx, [eax + 1]
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
push esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0052f903
mov esi, eax
add esp, 4
test esi, esi
je 0x4d8842
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
push 0
push dword [esp + 0x20]
push esi
call fcn.004d8950
push esi
call fcn.0052f90c
add esp, 4
pop esi
pop ebx
pop edi
ret 0x14

Function at 0x4da930
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x30
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, ecx
cmp esi, 0x10d
jne 0x4da986
push 1
push str.Settings
call fcn.004fc580
test eax, eax
je 0x4da97c
lea esi, [edi + 0x108c]
push esi
push 0x4da510
push dword [0x5923dc]
push str.ORGTHEMES
push dword [0x5d2758]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov dword [esi], 0
pop edi
mov al, 1
pop esi
add esp, 0x30
ret 4
cmp esi, 0x10e
jne 0x4da9b6
push 1
push 0x557718
push 0
push 0x4fe
call fcn.004b68d0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
mov al, 1
pop esi
add esp, 0x30
ret 4
mov eax, dword [0x5923dc]
push ebx
test eax, eax
jne 0x4da9c4
xor ebx, ebx
jmp 0x4da9ef
push eax
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
jne 0x4da9d3
xor ebx, ebx
jmp 0x4da9ef
push 4
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
test eax, eax
jne 0x4da9e4
xor ebx, ebx
jmp 0x4da9ef
push 6
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov ebx, eax
cmp esi, 0x10f
jne 0x4daa0b
mov dword [edi + 0x80], 0xffffffff
push 0x557718
jmp 0x4daaac
lea eax, [esi - 0x41a]
cmp eax, 0x7f
ja 0x4daaf2
lea eax, [esp + 0xc]
mov dword [esp + 0x14], 0
push eax
push 0
push esi
push ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x20], 0x20
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x4daaf2
mov eax, dword [esp + 0x2c]
cmp eax, dword [edi + 0x74]
jae 0x4daaf2
mov dword [edi + 0x80], eax
imul eax, eax, 0x1304
add eax, dword [edi + 0x70]
push eax
call fcn.004a2d90
push eax
push str.ActivePath
push str.InterfaceThemes
call fcn.004d0300
mov eax, dword [edi + 0x1088]
cmp eax, 0xffffffff
je 0x4daad0
push 0
push eax
push ebx
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 8
push esi
push ebx
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov ecx, edi
mov dword [edi + 0x1088], esi
call fcn.004d8e10
pop ebx
pop edi
mov al, 1
pop esi
add esp, 0x30
ret 4
pop ebx
pop edi
xor al, al
pop esi
add esp, 0x30
ret 4
Function at 0x4dca60
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x80
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0x7c], eax
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x4dca89
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 4], 0
push 1
push str.ViewSmall
push str.GeneralToolbar
call fcn.004cf550
test eax, eax
je 0x4dcc75
push ebx
push ebp
push 0
push dword [0x5d275c]
push 0xd
push dword [0x5923dc]
push 0
push 0
push 0
push 0
push 0x56000944
push 0
push str.ToolbarWindow32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push 0x14
push 0x41e
push eax
mov dword [edi + 4], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, 0x10
mov ebp, ebx
call fcn.004fd800
test al, al
je 0x4dcb03
push ebx
call fcn.004fd8a0
push ebp
mov ebx, eax
call fcn.004fd8a0
mov ebp, eax
push esi
movzx esi, bp
movzx ecx, bx
shl esi, 0x10
or esi, ecx
push esi
push 0
push 0x41f
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 0
push 0x420
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xc]
pop esi
test eax, eax
je 0x4dcb40
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0
push 0x85
push 0x84
push 0x83
push str.FolderUp.png
push 1
call fcn.004d9dc0
mov dword [edi + 0xc], eax
cmp byte [0x5d2808], 0
je 0x4dcb6f
push eax
call fcn.004fcbd0
call fcn.004fdb60
test al, al
jne 0x4dcb9c
push dword [edi + 0xc]
mov ecx, 0x5c7968
call fcn.004d8da0
push ebp
push ebx
push dword [edi + 0xc]
call fcn.004fe000
push 0xf
push 0xffffffffffffffff
push eax
mov dword [edi + 0xc], eax
call fcn.004fde20
mov eax, dword [edi + 0xc]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push 1
push 0x413
push dword [edi + 4]
mov dword [esp + 0x1c], 0
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x58a528
push 1
push 0x444
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push 2
call fcn.004dbb30
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 0x38
mov dword [esp + 0x18], 0x173
pop ebp
pop ebx
test eax, eax
jne 0x4dcc02
mov eax, 1
or eax, 4
mov dword [esp + 0x40], 2
mov dword [esp + 0x14], eax
mov eax, dword [edi + 4]
push 0x12
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
call dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetSysColor]
cmp dword [esp + 0x38], 0
mov dword [esp + 0x1c], eax
jne 0x4dcc47
mov dword [esp + 0x38], 0x2a
lea eax, [esp + 0x70]
push eax
push dword [0x5c53d4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x34], eax
lea eax, [esp + 0xc]
push eax
push 0xffffffffffffffff
push 0x40a
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x80]
pop edi
xor ecx, esp
call fcn.0052f708
add esp, 0x80
ret
Function at 0x4dffb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5527b0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x58bb30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp eax, ebx
je 0x4e0140
add eax, 0x54
nop
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov ecx, dword [eax - 0x54]
mov dword [esi], ecx
mov ecx, dword [eax - 0x50]
mov dword [esi + 4], ecx
mov ecx, dword [eax - 0x4c]
mov dword [esi + 8], ecx
mov ecx, dword [eax - 0x48]
mov dword [esi + 0xc], ecx
mov ecx, dword [eax - 0x44]
mov dword [esi + 0x10], ecx
mov ecx, dword [eax - 0x40]
mov dword [esi + 0x14], ecx
xor ecx, ecx
mov dword [ebp - 0x10], esi
mov dword [eax - 0x44], 0
mov dword [eax - 0x40], 7
mov word [eax - 0x54], cx
mov byte [ebp - 4], 1
mov ecx, dword [eax - 0x3c]
mov edx, dword [eax - 0x38]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
mov ecx, dword [eax - 0x34]
mov edx, dword [eax - 0x30]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
mov ecx, dword [eax - 0x2c]
mov edx, dword [eax - 0x28]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edx
mov ecx, dword [eax - 0x24]
mov dword [esi + 0x30], ecx
mov ecx, dword [eax - 0x20]
mov dword [esi + 0x34], ecx
mov ecx, dword [eax - 0x1c]
mov dword [esi + 0x38], ecx
mov ecx, dword [eax - 0x18]
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov ecx, dword [eax - 0x14]
mov dword [esi + 0x40], ecx
mov ecx, dword [eax - 0x10]
mov dword [esi + 0x44], ecx
mov ecx, dword [eax - 0xc]
mov dword [esi + 0x48], ecx
mov ecx, dword [eax - 8]
mov dword [esi + 0x4c], ecx
mov ecx, dword [eax - 4]
mov dword [esi + 0x50], ecx
mov ecx, dword [eax]
mov dword [esi + 0x54], ecx
mov dword [eax - 4], 0
mov dword [eax], 0xf
mov byte [eax - 0x14], 0
mov byte [ebp - 4], 2
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov dword [esi + 0x58], ecx
mov dword [esi + 0x5c], edx
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], edx
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], edx
mov ecx, dword [eax + 0x1c]
xor ecx, dword [esi + 0x70]
and ecx, 1
xor ecx, dword [esi + 0x70]
mov dword [esi + 0x70], ecx
mov edx, dword [eax + 0x1c]
xor edx, ecx
and edx, 2
xor edx, ecx
mov dword [esi + 0x70], edx
mov ecx, dword [eax + 0x1c]
xor ecx, edx
and ecx, 4
xor ecx, edx
mov dword [esi + 0x70], ecx
mov byte [ebp - 4], 0
lea eax, [eax + 0x78]
add esi, 0x78
lea ecx, [eax - 0x54]
mov dword [ebp - 0x18], esi
cmp ecx, ebx
jne 0x4e0000
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
push edi
push esi
push esi
call fcn.004df6e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10