joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49cca0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor esi, esi
xor ebx, ebx
xor byte [esi + ecx], bl
mov eax, 0xaaaaaaab
mul ebx
shr edx, 1
lea ebx, [edx + ebx + 3]
inc esi
and ebx, 0xffffff
cmp esi, 0x480
jb 0x49cca6
pop esi
pop ebx
ret

Function at 0x49cdb0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov edi, dword [esp + 0x18]
push ebp
lea eax, [esp + 0x14]
push eax
xor ebx, ebx
push edi
mov esi, ecx
mov dword [esp + 0x1c], ebx
call fcn.0049ccd0
test eax, eax
je 0x49cddf
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 8
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
call fcn.0049ccd0
push ebp
lea edx, [esp + 0x14]
push edx
push edi
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.0049ccd0
mov dword [esi + 0x18], eax
push ebp
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.0049ccd0
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
mov dword [esi + 0x1c], eax
call fcn.0049ccd0
push ebp
lea edx, [esp + 0x14]
push edx
push edi
mov ecx, esi
mov dword [esi + 0x20], eax
call fcn.0049ccd0
mov dword [esi + 0x24], eax
push ebp
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.0049ccd0
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
push 0x100
lea edx, [esi + 0x2c]
push edx
mov ecx, esi
mov dword [esi + 0x28], eax
call fcn.0049cd30
push ebp
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.0049ccd0
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
push 0x100
lea edx, [esi + 0x130]
push edx
mov ecx, esi
mov dword [esi + 0x12c], eax
call fcn.0049cd30
push ebp
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.0049ccd0
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
push 0x100
lea edx, [esi + 0x234]
mov dword [esi + 0x230], eax
push edx
mov ecx, esi
call fcn.0049cd30
push ebp
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.0049ccd0
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
mov dword [esi + 0x334], eax
call fcn.0049ccd0
push ebp
lea edx, [esp + 0x14]
push edx
push edi
mov ecx, esi
mov dword [esi + 0x338], eax
call fcn.0049ccd0
push ebp
mov dword [esi + 0x33c], eax
lea eax, [esp + 0x14]
push eax
push edi
push 0x20
lea ecx, [esi + 0x340]
push ecx
mov ecx, esi
call fcn.0049cd30
push ebp
lea edx, [esp + 0x14]
push edx
push edi
push 0x100
lea eax, [esi + 0x380]
push eax
mov ecx, esi
call fcn.0049cd30
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, ebx
jbe 0x49cf38
nop
xor bl, byte [eax + edi]
inc eax
cmp eax, ecx
jb 0x49cf30
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
call fcn.0049ccd0
movzx edx, bl
pop edi
xor ecx, ecx
cmp edx, eax
pop esi
sete cl
pop ebp
mov al, cl
pop ebx
pop ecx
ret 8
Function at 0x49db60
Capabilities:
Write file on windows

Disassembly:
mov eax, 0xa804
call fcn.004e6a80
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0xa800], eax
mov ecx, dword [esp + 0xa80c]
lea eax, [esp + 0xa810]
push eax
push ecx
lea edx, [esp + 8]
push 0x1800
push edx
call fcn.004eb6c9
xor eax, eax
mov word [esp + 0x300e], ax
mov eax, dword [esp + 0xa818]
add esp, 0x10
sub eax, 0
je 0x49dc19
sub eax, 1
je 0x49dbf7
sub eax, 1
jne 0x49dc5d
push 0x1800
lea ecx, [esp + 0x3004]
push ecx
lea edx, [esp + 8]
push edx
call fcn.0046c560
lea eax, [esp + 0x3000]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49dbe0
push esi
sub eax, edx
push eax
push 1
lea eax, [esp + 0x300c]
push eax
jmp 0x49dc55
lea eax, [esp]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49dc00
sub eax, edx
push esi
sar eax, 1
push eax
push 2
lea ecx, [esp + 0xc]
jmp 0x49dc54
push 0x6000
lea edx, [esp + 0x4804]
push edx
lea eax, [esp + 8]
push eax
call fcn.0046c670
lea eax, [esp + 0x4800]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49dc40
push esi
sub eax, edx
push eax
push 1
lea ecx, [esp + 0x480c]
push ecx
call fcn.004eaff9
add esp, 0x10
mov ecx, dword [esp + 0xa800]
xor ecx, esp
call fcn.004e6a64
add esp, 0xa804
ret
Function at 0x49dc80
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4324
call fcn.004e6a80
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x4320], eax
push esi
push edi
call fcn.00453750
mov esi, eax
test edi, edi
jne 0x49dcbd
xor al, al
pop esi
mov ecx, dword [esp + 0x4320]
xor ecx, esp
call fcn.004e6a64
add esp, 0x4324
ret
push 0xc8
push 0x501ac8
lea eax, [esp + 0xc]
push eax
push 0x501ac8
push esi
push 0x80000000
call fcn.0049bea0
cmp word [esp + 4], 0
je 0x49dca5
push 0xc8
push str._shellprintcommand
lea ecx, [esp + 0xc]
push ecx
call fcn.00469570
push 0x800
push 0x501ac8
lea edx, [esp + 0x32c]
push edx
push 0x501ac8
lea eax, [esp + 0x14]
push eax
push 0x80000000
call fcn.0049bea0
cmp word [esp + 0x324], 0
jne 0x49ddd1
push esi
lea ecx, [esp + 0x198]
push str.SoftwareClasses_s
push ecx
mov edx, 0xc8
call fcn.00497580
add esp, 0xc
push 0xc8
push 0x501ac8
lea edx, [esp + 0xc]
push edx
push 0x501ac8
lea eax, [esp + 0x1a4]
push eax
push 0x80000002
call fcn.0049bea0
cmp word [esp + 4], 0
je 0x49dca5
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x198]
push str.SoftwareClasses_s_shellprintcommand
push edx
mov edx, 0xc8
call fcn.00497580
add esp, 0xc
push 0x800
push 0x501ac8
lea eax, [esp + 0x32c]
push eax
push 0x501ac8
lea ecx, [esp + 0x1a4]
push ecx
push 0x80000002
call fcn.0049bea0
cmp word [esp + 0x324], 0
je 0x49dca5
push 0x1000
lea edx, [esp + 0x2328]
push edx
lea eax, [esp + 0x32c]
push eax
call dword [0x501324]
lea ecx, [esp + 0x2324]
push 0x506590
push ecx
call fcn.004ea895
add esp, 8
test eax, eax
je 0x49dca5
push ebx
lea edx, [esp + 0x2328]
xor bl, bl
cmp eax, edx
jbe 0x49de20
cmp word [eax - 2], 0x22
jne 0x49de20
mov bl, 1
push 0x1000
push edi
lea edx, [esp + 0x2330]
xor ecx, ecx
push edx
mov word [eax], cx
call fcn.00469570
test bl, bl
pop ebx
je 0x49de54
push 0x1000
push 0x503b30
lea eax, [esp + 0x232c]
push eax
call fcn.00469570
push 0x800
lea ecx, [esp + 0x1328]
push ecx
lea edx, [esp + 0x232c]
push edx
call fcn.00469700
push 8
push 0
push eax
lea eax, [esp + 0x1330]
push eax
push str.open
push 0
call dword [0x501424]
mov ecx, 0x20
cmp ecx, eax
mov ecx, dword [esp + 0x4324]
sbb eax, eax
pop esi
xor ecx, esp
neg eax
call fcn.004e6a64
add esp, 0x4324
ret
Function at 0x4a0190
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x20
push ebx
push esi
push 0x5048bc
push eax
mov esi, ecx
call fcn.004b4350
mov ebx, eax
test ebx, ebx
sete al
mov byte [esi + 0x3028], al
test al, al
jne 0x4a037f
push ebx
push 1
lea ecx, [esp + 0x18]
push 0x16
push ecx
call fcn.004eb427
add esp, 0x10
cmp word [esp + 0x10], 0
jne 0x4a0376
cmp word [esp + 0x12], 1
jne 0x4a0376
push ebp
push edi
push 0
push 0
push ebx
call fcn.004eb4ce
movzx edx, word [esp + 0x28]
dec edx
shl edx, 4
add edx, 0x16
push edx
call fcn.004e7106
mov esi, eax
movzx eax, word [esp + 0x2c]
dec eax
lea ecx, [eax*8]
sub ecx, eax
lea edx, [ecx + ecx + 0x14]
push edx
call fcn.004e7106
mov edi, eax
movzx eax, word [esp + 0x30]
dec eax
push ebx
shl eax, 4
push 1
add eax, 0x16
push eax
push esi
mov dword [esp + 0x38], edi
call fcn.004eb427
mov ecx, dword [esi]
mov dword [edi], ecx
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov ecx, dword [esi + 0xc]
mov dword [edi + 0xc], ecx
mov edx, dword [esi + 0x10]
xor eax, eax
add esp, 0x24
mov dword [edi + 0x10], edx
mov dword [esp + 0x38], 0
cmp ax, word [esp + 0x1c]
jae 0x4a031b
lea eax, [edi + 0x12]
lea ebp, [esi + 0xe]
mov dword [esp + 0x10], eax
jmp 0x4a0284
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax - 0xc], ecx
mov edx, dword [ebp - 4]
mov dword [eax - 8], edx
mov ecx, dword [ebp]
mov dword [eax - 4], ecx
mov ecx, dword [esp + 0x38]
inc ecx
mov word [eax], cx
mov edi, dword [ebp]
push edi
call fcn.004e7106
mov esi, eax
add esp, 4
test esi, esi
je 0x4a0361
mov edx, dword [ebp + 4]
push 0
push edx
push ebx
call fcn.004eb4ce
push ebx
push 1
push edi
push esi
call fcn.004eb427
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
add esp, 0x1c
push edi
push esi
inc eax
push 0x400
movzx eax, ax
push eax
push 3
push ecx
call dword [0x5011f8]
push esi
mov edi, eax
call fcn.004e68b2
add esp, 4
test edi, edi
je 0x4a0361
mov eax, dword [esp + 0x38]
movzx edx, word [esp + 0x1c]
add dword [esp + 0x10], 0xe
inc eax
add ebp, 0x10
cmp eax, edx
mov dword [esp + 0x38], eax
jl 0x4a0280
mov edi, dword [esp + 0x14]
push ebx
call fcn.004eae1b
movzx eax, word [esp + 0x20]
dec eax
add esp, 4
lea ecx, [eax*8]
sub ecx, eax
movzx eax, word [esp + 0x3c]
lea edx, [ecx + ecx + 0x14]
mov ecx, dword [esp + 0x34]
push edx
push edi
push 0x400
push eax
push 0xe
push ecx
call dword [0x5011f8]
pop edi
neg eax
pop ebp
sbb eax, eax
pop esi
neg eax
pop ebx
add esp, 0x20
ret 0xc
push ebx
call fcn.004eae1b
add esp, 4
pop edi
pop ebp
pop esi
xor al, al
pop ebx
add esp, 0x20
ret 0xc
push ebx
call fcn.004eae1b
add esp, 4
pop esi
xor al, al
pop ebx
add esp, 0x20
ret 0xc
Function at 0x4a0390
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x5048bc
push eax
mov edi, ecx
call fcn.004b4350
mov esi, eax
test esi, esi
sete al
mov byte [edi + 0x3028], al
test al, al
jne 0x4a048d
push esi
call fcn.004eb9be
add esp, 4
cmp eax, 0x42
jne 0x4a0484
push esi
call fcn.004eb9be
add esp, 4
cmp eax, 0x4d
jne 0x4a0484
push 0
push 2
push esi
call fcn.004eb4ce
push esi
push 1
lea ecx, [esp + 0x24]
push 4
push ecx
call fcn.004eb427
mov eax, dword [esp + 0x2c]
sub eax, 0xe
push eax
mov dword [esp + 0x30], eax
call fcn.004e7106
mov edi, eax
add esp, 0x20
test edi, edi
je 0x4a0484
push 0
push 0xe
push esi
call fcn.004eb4ce
mov edx, dword [esp + 0x1c]
push esi
push edx
push 1
push edi
call fcn.004eb427
add esp, 0x1c
cmp eax, dword [esp + 0x10]
je 0x4a0446
push edi
call fcn.004e68b2
push esi
call fcn.004eae1b
add esp, 8
pop edi
xor al, al
pop esi
ret 0xc
push esi
call fcn.004eae1b
mov eax, dword [esp + 0x14]
movzx ecx, word [esp + 0x18]
mov edx, dword [esp + 0x10]
add esp, 4
push eax
push edi
push 0x400
push ecx
push 2
push edx
call dword [0x5011f8]
push edi
mov esi, eax
call fcn.004e68b2
add esp, 4
xor eax, eax
test esi, esi
pop edi
setne al
pop esi
ret 0xc
push esi
call fcn.004eae1b
add esp, 4
pop edi
xor al, al
pop esi
ret 0xc

Function at 0x4a0500
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x404
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x408]
push esi
push edi
push 0x5048bc
push eax
mov edi, ecx
call fcn.004b4350
mov esi, eax
test esi, esi
sete al
mov byte [edi + 0x3028], al
test al, al
je 0x4a053f
mov al, 1
jmp 0x4a0589
push esi
push 0x400
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004eb427
push esi
mov edi, eax
call fcn.004eae1b
lea ecx, [edi - 4]
add esp, 0x14
xor eax, eax
test ecx, ecx
jle 0x4a0587
mov dl, 0x55
cmp byte [esp + eax + 8], dl
jne 0x4a0582
cmp byte [esp + eax + 9], 0x50
jne 0x4a0582
cmp byte [esp + eax + 0xa], 0x58
jne 0x4a0582
cmp byte [esp + eax + 0xb], 0x30
je 0x4a053b
inc eax
cmp eax, ecx
jl 0x4a0567
xor al, al
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.004e6a64
add esp, 0x404
ret 4

Function at 0x4a05b0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x2004
call fcn.004e6a80
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x2000], eax
mov eax, dword [esp + 0x2008]
push ebx
push esi
push edi
mov edi, dword [esp + 0x2018]
push 0x5048bc
push eax
mov ebx, ecx
call fcn.004b4350
mov esi, eax
test esi, esi
sete al
mov byte [ebx + 0x3028], al
test al, al
je 0x4a05fb
xor al, al
jmp 0x4a0646
push esi
push 0x2000
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004eb427
add esp, 0x10
test eax, eax
je 0x4a063b
push edi
push eax
lea ecx, [esp + 0x14]
push 1
push ecx
call fcn.004eaff9
push esi
push 0x2000
lea edx, [esp + 0x24]
push 1
push edx
call fcn.004eb427
add esp, 0x20
test eax, eax
jne 0x4a0614
push esi
call fcn.004eae1b
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x200c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e6a64
add esp, 0x2004
ret 8
Function at 0x4a0660
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x200c
call fcn.004e6a80
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x2008], eax
mov eax, dword [esp + 0x2010]
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x201c]
push 0x5048bc
push eax
mov dword [esp + 0x14], ecx
call fcn.004b4350
mov ebp, eax
test ebp, ebp
sete al
mov byte [esi + 0x3028], al
test al, al
je 0x4a06b1
xor eax, eax
jmp 0x4a07fa
push ebx
push edi
push ebp
push 0x2000
lea edx, [esp + 0x20]
push 1
push edx
mov dword [esp + 0x20], 0
call fcn.004eb427
mov ebx, eax
add esp, 0x10
cmp ebx, 0x28
jbe 0x4a07ba
jmp 0x4a06e0
lea eax, [ebx - 0x28]
xor edi, edi
test eax, eax
jbe 0x4a0785
lea esi, [esp + 0x1c]
cmp byte [esp + edi + 0x18], 0x2a
jne 0x4a071b
cmp byte [esp + edi + 0x19], 0x2a
jne 0x4a071b
push 0xc
lea eax, [esp + edi + 0x1e]
push str.messages
push eax
call fcn.004e936f
add esp, 0xc
test eax, eax
je 0x4a07c7
mov eax, 0x2a
cmp word [esi - 4], ax
jne 0x4a0749
cmp word [esi - 2], ax
jne 0x4a0749
push 0xc
push 0x503318
push esi
call fcn.004ea5a5
add esp, 0xc
test eax, eax
je 0x4a07c7
mov eax, 0x2a
mov ecx, 0xfeff
cmp word [esi - 4], cx
jne 0x4a0776
cmp word [esi - 2], ax
jne 0x4a0776
cmp word [esi], ax
jne 0x4a0776
push 0xc
lea edx, [esi + 2]
push 0x503318
push edx
call fcn.004ea5a5
add esp, 0xc
test eax, eax
je 0x4a07c7
inc edi
lea eax, [ebx - 0x28]
add esi, 2
cmp edi, eax
jb 0x4a06f1
mov eax, dword [esp + 0x10]
lea ebx, [eax + ebx - 0x28]
push 0
push ebx
push ebp
mov dword [esp + 0x1c], ebx
call fcn.004eb4ce
push ebp
push 0x2000
lea ecx, [esp + 0x2c]
push 1
push ecx
call fcn.004eb427
mov ebx, eax
add esp, 0x1c
cmp ebx, 0x28
ja 0x4a06e0
push ebp
call fcn.004eae1b
add esp, 4
xor eax, eax
jmp 0x4a07f8
mov edx, dword [esp + 0x10]
push 0
add edi, edx
push edi
push ebp
call fcn.004eb4ce
mov eax, dword [esp + 0x2034]
mov ecx, dword [esp + 0x20]
push ebp
push eax
push 1
push ecx
call fcn.004eb427
push ebp
mov esi, eax
call fcn.004eae1b
add esp, 0x20
mov eax, esi
pop edi
pop ebx
mov ecx, dword [esp + 0x2010]
pop esi
pop ebp
xor ecx, esp
call fcn.004e6a64
add esp, 0x200c
ret 0xc
Function at 0x4a0820
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x2004
call fcn.004e6a80
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x2000], eax
mov eax, dword [esp + 0x2008]
push esi
push edi
push 0x506a6c
push eax
mov esi, ecx
call fcn.004b4350
mov edi, eax
test edi, edi
sete al
mov byte [esi + 0x3028], al
test al, al
je 0x4a0866
xor al, al
jmp 0x4a0921
push ebx
push ebp
push edi
push 0x2000
lea eax, [esp + 0x18]
push 1
push eax
xor ebx, ebx
call fcn.004eb427
mov ebp, eax
add esp, 0x10
cmp ebp, 0x20
jbe 0x4a08e7
lea eax, [ebp - 0x20]
xor esi, esi
test eax, eax
jle 0x4a08be
nop
cmp byte [esp + esi + 0x10], 0x61
jne 0x4a08b6
cmp byte [esp + esi + 0x11], 0x73
jne 0x4a08b6
push 0x14
lea ecx, [esp + esi + 0x16]
push str.Invoker_
push ecx
call fcn.004e936f
add esp, 0xc
test eax, eax
je 0x4a08f4
inc esi
lea eax, [ebp - 0x20]
cmp esi, eax
jl 0x4a0890
push 0
lea ebx, [ebx + ebp - 0x20]
push ebx
push edi
call fcn.004eb4ce
push edi
push 0x2000
lea edx, [esp + 0x24]
push 1
push edx
call fcn.004eb427
mov ebp, eax
add esp, 0x1c
cmp ebp, 0x20
ja 0x4a0886
push edi
call fcn.004eae1b
add esp, 4
xor al, al
jmp 0x4a091f
push 0
add esi, ebx
push esi
push edi
call fcn.004eb4ce
push edi
push 0x15
push 1
push str.requireAdministrator_
call fcn.004eaff9
cmp eax, 0x15
push edi
sete bl
call fcn.004eae1b
add esp, 0x20
mov al, bl
pop ebp
pop ebx
mov ecx, dword [esp + 0x2008]
pop edi
pop esi
xor ecx, esp
call fcn.004e6a64
add esp, 0x2004
ret 4
Function at 0x4a4030
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebp
push eax
push ecx
call dword [0x50164c]
mov ebp, eax
push ebp
call dword [0x5016b8]
test eax, eax
jle 0x4a4097
push esi
push edi
lea edi, [eax + 1]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e687d
mov esi, eax
add esp, 4
test esi, esi
je 0x4a4095
push edi
push esi
push ebp
call dword [0x501690]
mov eax, dword [esp + 0x18]
push 0
push 0
push eax
push esi
call fcn.004a3ea0
push esi
call fcn.004e7a24
add esp, 4
pop edi
pop esi
pop ebp
ret 0x14

Function at 0x4a58a0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x30
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
mov edi, ecx
cmp ebp, 0xa9
jne 0x4a58f9
push 1
push str.Settings
call fcn.00481610
test eax, eax
je 0x4a58ee
mov eax, dword [0x53f484]
mov ecx, dword [0x531154]
lea esi, [edi + 0x1088]
push esi
push 0x4a54d0
push eax
push str.ORGTHEMES
push ecx
call dword [0x501630]
mov dword [esi], 0
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x30
ret 4
cmp ebp, 0xaa
jne 0x4a592a
push 1
push 0x501ac8
push 0
push 0x4f9
call fcn.00463430
push eax
push 0
push 0
call dword [0x501424]
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x30
ret 4
mov eax, dword [0x53f484]
test eax, eax
jne 0x4a5937
xor esi, esi
jmp 0x4a5960
push eax
call dword [0x501514]
test eax, eax
jne 0x4a5946
xor esi, esi
jmp 0x4a5960
mov esi, dword [0x501518]
push 4
push eax
call esi
test eax, eax
jne 0x4a5959
xor esi, esi
jmp 0x4a5960
push 5
push eax
call esi
mov esi, eax
cmp ebp, 0xab
jne 0x4a5979
mov dword [edi + 0x80], 0xffffffff
push 0x501ac8
jmp 0x4a59db
lea edx, [ebp - 0x3e8]
cmp edx, 0x7f
ja 0x4a5a21
push 0x30
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004e7970
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0
push ebp
push esi
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x20], 0x20
call dword [0x5016a8]
test eax, eax
je 0x4a5a21
mov eax, dword [esp + 0x2c]
cmp eax, dword [edi + 0x74]
jae 0x4a5a21
mov dword [edi + 0x80], eax
imul eax, eax, 0x1304
add eax, dword [edi + 0x70]
push eax
call fcn.00453550
push eax
push str.ActivePath
push str.InterfaceThemes
call fcn.0049c470
mov eax, dword [edi + 0x1084]
push ebx
mov ebx, dword [0x5014f0]
cmp eax, 0xffffffff
je 0x4a5a02
push 0
push eax
push esi
call ebx
push 8
push ebp
push esi
call ebx
mov ecx, edi
mov dword [edi + 0x1084], ebp
call fcn.004a4b40
pop ebx
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x30
ret 4
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x30
ret 4
Function at 0x4a79c0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x70
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x4a79db
push eax
call dword [0x501660]
mov dword [esi + 4], 0
push 1
push str.ViewSmall
push str.GeneralToolbar
call fcn.0049c510
test eax, eax
je 0x4a7b93
mov eax, dword [0x531150]
mov ecx, dword [0x53f484]
push ebx
push ebp
push edi
push 0
push eax
push 0xd
push ecx
push 0
push 0
push 0
push 0
push 0x56000944
push 0
push str.ToolbarWindow32
push 0
call dword [0x501664]
mov ebp, dword [0x5016a4]
push 0
push 0x14
push 0x41e
push eax
mov dword [esi + 4], eax
call ebp
call fcn.004b5030
mov ebx, 0x10
mov byte [esp + 0x13], al
mov dword [esp + 0x14], ebx
test al, al
je 0x4a7a62
push ebx
call fcn.004b4f80
push 0x10
mov ebx, eax
call fcn.004b4f80
mov dword [esp + 0x14], eax
movzx edi, word [esp + 0x14]
mov eax, dword [esi + 4]
movzx edx, bx
shl edi, 0x10
or edi, edx
push edi
push 0
push 0x41f
push eax
call ebp
mov ecx, dword [esi + 4]
push edi
push 0
push 0x420
push ecx
call ebp
push 0
push 0xf
push str.FolderUp.bmp
mov ecx, 0x54e748
call fcn.004a53b0
mov edi, eax
test edi, edi
jne 0x4a7aa7
mov edi, dword [esi + 0x18]
cmp byte [esp + 0x13], 0
je 0x4a7ac7
mov edx, dword [esp + 0x14]
push edx
push ebx
push edi
call fcn.004b50a0
mov edi, eax
push edi
mov ecx, 0x54e748
call fcn.004a4d90
mov ecx, dword [esi + 4]
lea eax, [esp + 0x18]
push eax
push 1
push 0x413
push ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], edi
call ebp
mov edx, dword [esi + 4]
push 0x5185e0
push 1
push 0x444
push edx
call ebp
lea eax, [esp + 0x30]
push eax
push 2
mov ecx, esi
call fcn.004a6c90
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], 0x38
mov dword [esp + 0x34], 0x173
test eax, eax
jne 0x4a7b22
mov eax, 1
mov ecx, dword [esi + 4]
mov edi, dword [0x501498]
or eax, 4
push 0x12
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x68], 2
mov dword [esp + 0x58], 0
call edi
push 0xf
mov dword [esp + 0x40], eax
call edi
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x40], eax
jne 0x4a7b65
mov dword [esp + 0x5c], 0x28
mov eax, dword [0x549cb0]
lea edx, [esp + 0x20]
push edx
push eax
call dword [0x501688]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x30]
push edx
push 0xffffffffffffffff
push 0x40a
push eax
mov dword [esp + 0x68], ecx
call ebp
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x70
ret
Function at 0x4aa220
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push esi
push edi
lea edx, [esp + 0xc]
mov edi, ecx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x48]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
call eax
mov esi, eax
test esi, esi
jl 0x4aa2b6
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4aa2ae
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push 0x50b088
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
jl 0x4aa29e
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push eax
call edx
mov esi, eax
test esi, esi
jl 0x4aa292
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov esi, eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
test esi, esi
jl 0x4aa2b6
test eax, eax
jne 0x4aa312
cmp dword [edi + 8], 0
je 0x4aa312
cmp dword [edi + 0x20], 0
jne 0x4aa312
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x4aa312
push ebx
push eax
mov ecx, edi
call fcn.004a9d10
mov ebx, eax
test ebx, ebx
je 0x4aa311
mov eax, dword [edi + 4]
push 0x204
push 0
push 0
push 0
push 0
push 1
push eax
call dword [0x50168c]
mov ecx, dword [edi + 8]
push 5
push ecx
call dword [0x50161c]
mov edx, dword [edi + 8]
push ebx
push edx
call dword [0x501694]
push ebx
call fcn.004e68b2
add esp, 4
pop ebx
xor eax, eax
test esi, esi
pop edi
setge al
pop esi
add esp, 8
ret 8