joyce8/EMBER2024-capa huggingface dataset:
Function at 0x524270
Capabilities:
Write file on windows

Disassembly:
push dword [esp + 4]
push dword [0x7311b4]
call fcn.00541e01
test eax, eax
je case.0x52429e.3
mov ecx, dword [esp + 8]
add ecx, 0xfffffffe
cmp ecx, 0x17
ja case.0x52429e.3
movzx ecx, byte [ecx + 0x5243a8]
jmp dword [ecx*4 + 0x524390]
cmp dword [eax + 4], 0
je 0x5242bb
push 2
push 0x600fb8
push eax
call fcn.00524f10
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 2
push 0x600fb8
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x5242ea
push 3
push 0x600db0
push eax
call fcn.00524f10
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 3
push 0x600db0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x524319
push 2
push 0x600fbc
push eax
call fcn.00524f10
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 2
push 0x600fbc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x524348
push 4
push 0x600fc0
push eax
call fcn.00524f10
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 4
push 0x600fc0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x524377
push 4
push 0x600fc8
push eax
call fcn.00524f10
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 4
push 0x600fc8
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

Function at 0x5243c0
Capabilities:
Write file on windows

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
mov dword [esp], 0
test edx, edx
je 0x5244c8
cmp word [edx], 0
je 0x5244c8
mov ecx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
test ecx, ecx
jne 0x5243ee
mov ecx, dword [esi + 0x18]
push edi
cmp ecx, 0x19
jne 0x52444d
cmp dword [esi + 4], 0
mov ecx, edx
lea edi, [ecx + 2]
je 0x524420
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x524400
sub ecx, edi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push esi
call fcn.00524f10
pop edi
pop esi
pop ecx
ret 0xc
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x524420
sub ecx, edi
lea eax, [esp + 8]
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
push edx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
xor eax, eax
cmp ecx, 2
lea ecx, [esp + 0x14]
setne al
push ecx
dec eax
and eax, 0xfde9
push edx
push eax
call fcn.00525020
mov edi, eax
test edi, edi
je 0x524443
cmp dword [esi + 4], 0
je 0x52449b
push dword [esp + 0x14]
push edi
push esi
call fcn.00524f10
push edi
push 0
push dword [0x72a674]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x1c]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
push 0
push dword [0x72a674]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
xor eax, eax
pop ecx
ret 0xc

Function at 0x5244d0
Capabilities:
Write file on windows

Disassembly:
push dword [esp + 4]
push dword [0x7311b4]
call fcn.00541e01
test eax, eax
je 0x5244ec
mov dword [esp + 4], eax
jmp fcn.005243c0
xor eax, eax
ret 0xc
Function at 0x5245a0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
mov dword [esp + 4], 0
test esi, esi
je 0x524605
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x5245fd
push dword [esp + 0x10]
push dword [0x7311b4]
call fcn.00541e01
test eax, eax
je 0x5245f3
cmp dword [eax + 4], 0
je 0x5245e2
push edi
push esi
push eax
call fcn.00524f10
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea ecx, [esp + 0xc]
push ecx
push edi
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
pop edi
xor eax, eax
pop esi
pop ecx
ret 0xc
xor eax, eax
pop esi
pop ecx
ret 0xc

Function at 0x524810
Capabilities:
Read file on windows

Disassembly:
push ecx
push dword [esp + 8]
mov byte [esp + 7], 0
push dword [0x7311b4]
call fcn.00541e01
test eax, eax
je 0x52485b
cmp dword [eax + 4], 0
je 0x524845
push 1
lea ecx, [esp + 7]
push ecx
push eax
call fcn.00524940
movsx eax, byte [esp + 3]
pop ecx
ret 4
push 0
lea ecx, [esp + 0xc]
push ecx
push 1
lea ecx, [esp + 0xf]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
movsx eax, byte [esp + 3]
pop ecx
ret 4

Function at 0x524870
Capabilities:
Read file on windows

Disassembly:
push ecx
push dword [esp + 8]
mov dword [esp + 4], 0
push dword [0x7311b4]
call fcn.00541e01
test eax, eax
je 0x5248bc
cmp dword [eax + 4], 0
je 0x5248a6
push 4
lea ecx, [esp + 4]
push ecx
push eax
call fcn.00524940
mov eax, dword [esp]
pop ecx
ret 4
push 0
lea ecx, [esp + 0xc]
push ecx
push 4
lea ecx, [esp + 0xc]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp]
pop ecx
ret 4
Function at 0x524a60
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push 0x1000
push 0
push dword [0x72a674]
mov dword [esp + 0x14], 0x1000
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x524be4
mov cl, byte [esp + 3]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
mov esi, edx
mov edi, edi
cmp ebp, 0xffffffff
je 0x524aae
test ebp, ebp
je 0x524b50
dec ebp
cmp dword [ebx + 4], 0
je 0x524ac7
push 1
lea eax, [esp + 0x17]
push eax
push ebx
call fcn.00524940
mov dword [esp + 0x14], eax
jmp 0x524ae1
push 0
lea eax, [esp + 0x18]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x13]
cmp eax, 1
jne 0x524b50
test cl, cl
je 0x524af5
mov byte [esi], cl
inc esi
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x18]
mov edi, esi
mov edx, dword [esp + 0x20]
dec eax
sub edi, edx
cmp edi, eax
jle 0x524b30
mov eax, dword [esp + 0x18]
add eax, 0x1000
push eax
push edx
push 8
push dword [0x72a674]
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov cl, byte [esp + 0x13]
mov edx, eax
mov dword [esp + 0x20], edx
lea esi, [edi + edx]
test cl, cl
je 0x524b50
cmp dword [esp + 0x2c], 0
jne 0x524aa0
cmp cl, 0xd
je 0x524b57
cmp cl, 0xa
jne 0x524aa0
dec esi
jmp 0x524bc7
cmp dword [esp + 0x2c], 0
jne 0x524bc7
cmp cl, 0xa
jne 0x524b5f
dec esi
jmp 0x524bc7
cmp cl, 0xd
jne 0x524bc7
dec esi
cmp dword [ebx + 4], 0
je 0x524b7e
push 1
lea eax, [esp + 0x17]
push eax
push ebx
call fcn.00524940
mov dword [esp + 0x14], eax
jmp 0x524b94
push 0
lea eax, [esp + 0x18]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [esp + 0x13], 0xa
je 0x524bc7
cmp dword [ebx + 4], 0
je 0x524ba6
inc dword [ebx + 0xc]
jmp 0x524bc7
push 1
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 0xffffffff
push eax
push 0xffffffffffffffff
push dword [ebx]
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x34]
mov ecx, esi
sub ecx, dword [esp + 0x20]
pop edi
mov dword [eax], ecx
mov eax, dword [esp + 0x1c]
mov byte [esi], 0
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10
xor eax, eax
add esp, 0x14
ret 0x10
Function at 0x524bf0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
push 0x1000
push 0
push dword [0x72a674]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
mov dword [esp + 8], ecx
test ecx, ecx
je 0x524d9d
mov ax, word [esp]
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], 0x1000
mov dword [esp + 0x1c], 0x7ff
cmp ebp, 0xffffffff
je 0x524c44
test ebp, ebp
je 0x524cfd
dec ebp
cmp dword [ebx + 4], 0
je 0x524c5d
push 2
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.00524940
mov dword [esp + 0x14], eax
jmp 0x524c77
push 0
lea eax, [esp + 0x18]
push eax
push 2
lea eax, [esp + 0x1c]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
cmp eax, 2
mov ax, word [esp + 0x10]
jne 0x524cfd
test ax, ax
je 0x524c91
mov word [edi], ax
add edi, 2
mov ax, word [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov esi, edi
mov edx, dword [esp + 0x1c]
sub esi, ecx
sar esi, 1
cmp esi, edx
jle 0x524cd8
mov eax, dword [esp + 0x20]
add edx, 0x800
add eax, 0x1000
mov dword [esp + 0x1c], edx
push eax
push ecx
push 8
push dword [0x72a674]
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ecx, eax
mov ax, word [esp + 0x10]
mov dword [esp + 0x18], ecx
lea edi, [ecx + esi*2]
test ax, ax
je 0x524cfd
cmp dword [esp + 0x30], 0
jne 0x524c36
cmp ax, 0xd
je 0x524d04
cmp ax, 0xa
jne 0x524c36
sub edi, 2
jmp 0x524d7c
cmp dword [esp + 0x30], 0
jne 0x524d7c
cmp ax, 0xa
jne 0x524d0f
sub edi, 2
jmp 0x524d7c
cmp ax, 0xd
jne 0x524d7c
sub edi, 2
cmp dword [ebx + 4], 0
je 0x524d31
push 2
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.00524940
mov dword [esp + 0x14], eax
jmp 0x524d47
push 0
lea eax, [esp + 0x18]
push eax
push 2
lea eax, [esp + 0x1c]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp word [esp + 0x10], 0xa
je 0x524d7c
cmp dword [ebx + 4], 0
je 0x524d5b
add dword [ebx + 0xc], 2
jmp 0x524d7c
push 1
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 0xfffffffe
push eax
push 0xfffffffffffffffe
push dword [ebx]
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x38]
mov ecx, edi
sub ecx, dword [esp + 0x18]
sar ecx, 1
mov dword [eax], ecx
xor eax, eax
mov word [edi], ax
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
xor eax, eax
add esp, 0x18
ret 0x10
Function at 0x524db0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push 0x1000
push 0
push dword [0x72a674]
mov dword [esp + 0x10], 0x1000
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x524f00
mov eax, dword [esp + 0x1c]
mov cl, byte [esp + 3]
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, edx
cmp edi, 0xffffffff
je 0x524dfc
test edi, edi
je 0x524e6d
dec edi
push esi
push ebp
call fcn.00525090
mov dword [esp + 0x20], eax
test eax, eax
jne 0x524e0f
xor cl, cl
jmp 0x524e11
mov cl, byte [esi]
mov edx, dword [esp + 0x1c]
add esi, eax
mov eax, dword [esp + 0x14]
mov ebx, esi
sub ebx, edx
mov byte [esp + 0x13], cl
add eax, 0xfffffffb
cmp ebx, eax
jle 0x524e54
mov eax, dword [esp + 0x14]
add eax, 0x1000
push eax
push edx
push 8
push dword [0x72a674]
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov cl, byte [esp + 0x13]
mov edx, eax
mov dword [esp + 0x1c], edx
lea esi, [ebx + edx]
mov eax, dword [esp + 0x2c]
test cl, cl
je 0x524e6d
test eax, eax
jne 0x524df2
cmp cl, 0xd
je 0x524e71
cmp cl, 0xa
jne 0x524df2
dec esi
jmp 0x524ee3
test eax, eax
jne 0x524ee3
cmp cl, 0xa
jne 0x524e79
dec esi
jmp 0x524ee3
cmp cl, 0xd
jne 0x524ee3
dec esi
cmp dword [ebp + 4], 0
je 0x524e98
push 1
lea eax, [esp + 0x17]
push eax
push ebp
call fcn.00524940
mov dword [esp + 0x20], eax
jmp 0x524eaf
push 0
lea eax, [esp + 0x24]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [esp + 0x13], 0xa
je 0x524ee3
cmp dword [ebp + 4], 0
je 0x524ec1
inc dword [ebp + 0xc]
jmp 0x524ee3
push 1
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0xffffffff
push eax
push 0xffffffffffffffff
push dword [ebp]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x34]
mov ecx, esi
sub ecx, dword [esp + 0x1c]
pop edi
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
mov byte [esi], 0
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10
xor eax, eax
add esp, 0x14
ret 0x10
Function at 0x528764
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x7311c4]
call fcn.00541e01
mov ebx, eax
test ebx, ebx
je 0x5287c8
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x52878d
push dword [esp + 0xc]
push ebx
call eax
jmp 0x5287c8
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push dword [esp + 0x14]
mov edi, eax
push edi
call fcn.00542650
mov esi, eax
lea ecx, [edi + 1]
push ecx
xor eax, eax
push esi
mov word [esi], ax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call sub.MSVCRT.dll_wcslen
pop ecx
sub edi, eax
push edi
call fcn.00542730
pop edi
pop esi
pop ebx
ret 8

Function at 0x529919
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push 0
push 0
push 0x1304
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x52998b
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
cmp ebx, 0xffffffff
jne 0x529942
mov ebx, eax
push dword [ebp]
call fcn.005290e5
push ebx
push dword [ebp]
mov edi, eax
call fcn.005290bc
add esp, 0xc
mov esi, eax
push 0
push ebx
push 0x130c
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
push dword [ebp]
call fcn.005299ab
pop ecx
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x52a8d5
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push dword [0x7311d4]
call fcn.005417c1
xor ebx, ebx
mov ebp, eax
cmp dword [0x72c1e8], ebx
jne 0x52a969
mov esi, 0xa4
push esi
push ebx
push 0x72c1f0
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x72c1f4], esi
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [0x72c1f0], 0xa
mov dword [0x72c1f8], 0x52a46a
push 0x7f89
push ebx
mov dword [0x72c268], 0x531b46
mov dword [0x72c26c], 0x531b20
mov dword [0x72c1fc], 0x52a489
mov dword [0x72c280], 0x52a4a9
call esi
mov dword [0x72c1e8], eax
test eax, eax
jne 0x52a969
push 0x7f00
push ebx
call esi
mov dword [0x72c1e8], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00535df8
push ebx
push dword [0x72a678]
push 0xffffffffffffffff
push dword [ebp]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push 0x40000000
push dword [esp + 0x48]
push str.STATIC
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x52aa35
push edi
push dword [esp + 0x14]
push dword [0x7311c4]
call fcn.00541e40
mov edi, eax
push 8
or dword [edi + 0x10], 0xffffffff
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
push 0
mov dword [edi + 0x14], eax
push dword [0x72a674]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov esi, eax
push 0x72c1f0
push ebx
push edi
push dword [esp + 0x20]
mov dword [esi], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xc], ecx
mov byte [esi + 0x10], 0
mov dword [edi + 0x1c], esi
call fcn.00531a5d
push 0x52a58f
push 0xfffffffffffffffc
push dword [edi]
mov ebx, eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0x20
Function at 0x530096
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
push ebx
push ebp
push esi
push edi
push dword [0x7311d4]
call fcn.005417c1
cmp dword [0x72c780], 0
mov edi, eax
mov esi, 0x50010000
jne 0x5301fe
mov ebx, 0xa4
push ebx
push 0
push 0x72c788
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x72c788], 0x1b
mov dword [0x72c78c], ebx
mov dword [0x72c790], 0x52fa10
mov dword [0x72c794], 0x52fd4b
mov dword [0x72c7ac], 0x52f78d
mov dword [0x72c7bc], 0x52fd41
mov dword [0x72c7b4], 0x52fcec
mov dword [0x72c7b0], 0x530390
mov dword [0x72c79c], 0x530877
mov dword [0x72c798], 0x52ff92
mov dword [0x72c7a0], 0x52ffdc
mov dword [0x72c7a4], 0x5308a8
mov dword [0x72c7c8], 0x52ff09
mov dword [0x72c7cc], 0x530830
mov dword [0x72c7c0], 0x52fe78
mov dword [0x72c7c4], 0x5306dd
mov dword [0x72c800], 0x53052a
mov dword [0x72c804], 0x52fd90
mov dword [0x72c808], 0x53057d
mov dword [0x72c80c], 0x52fe1c
mov dword [0x72c810], 0x5305ef
mov dword [0x72c814], 0x52fe56
mov dword [0x72c7f8], 0x52fdeb
mov dword [0x72c828], 0x530611
call fcn.0053188f
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x5301f4
cmp dword [esp + 0x24], 2
jne 0x5301f4
cmp dword [esp + 0x18], 6
jb 0x5301f4
mov eax, dword [0x72bb88]
mov dword [0x72c784], eax
mov dword [0x72c780], 1
test byte [esp + 0x140], 2
jne 0x53020d
mov esi, 0x50010002
test byte [esp + 0x140], 1
jne 0x53021a
or esi, 5
test byte [esp + 0x140], 0x20
je 0x530227
or esi, 0x20
push 0x1f4
push 0
push dword [0x72a674]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x13c]
push eax
call fcn.00535df8
test ebp, ebp
je 0x530360
push 0
push dword [0x72a678]
push 0xffffffffffffffff
push dword [edi]
push dword [esp + 0x14c]
push dword [esp + 0x14c]
push dword [esp + 0x14c]
push dword [esp + 0x14c]
push esi
push 0
push str.SysTreeView32
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x530364
push dword [esp + 0x12c]
push dword [0x7311c4]
call fcn.00541e40
push 0x5308f1
push 0xfffffffffffffffc
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
push 4
push 0x112c
push ebx
mov dword [0x72c82c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x72c788
push ebx
push edi
push dword [esp + 0x138]
mov dword [edi + 0x14], ebp
mov dword [edi + 0x18], 0x19
call fcn.00531a5d
mov ebx, eax
mov eax, 0x100
test dword [esp + 0x140], eax
je 0x530364
or esi, eax
push esi
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test dword [esp + 0x140], 0x10000
je 0x530364
push edi
call fcn.0052fc28
pop ecx
push 0
push 2
push 0x1108
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x530350
push eax
push dword [edi]
call fcn.00532b76
push edi
push str.PB_3State
push dword [edi]
call dword [sym.imp.USER32.dll_SetPropW]
jmp 0x530364
mov ebx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x118
ret 0x18
Function at 0x53156b
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push dword [0x7311d4]
call fcn.005417c1
xor ebp, ebp
mov esi, eax
cmp dword [0x72c8e0], ebp
jne 0x531647
xor ebx, ebx
inc ebx
mov dword [0x72c8e0], ebx
call fcn.0053188f
mov edi, 0xa4
push edi
push ebp
push 0x72c8e8
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x72c8e8], 0x13
lea eax, [esp + 0x10]
mov dword [0x72c8ec], edi
mov dword [0x72c8f8], 0x5314b6
mov dword [0x72c8fc], 0x5317e1
push eax
mov dword [0x72c950], 0x531491
mov dword [0x72c954], 0x53172c
mov dword [0x72c8f4], 0x53146c
mov dword [0x72c978], 0x5314d1
mov dword [0x72c98c], ebx
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x531647
cmp dword [esp + 0x20], ebx
je 0x53162f
cmp dword [esp + 0x20], 2
jne 0x531647
cmp dword [esp + 0x14], 5
jae 0x531637
mov dword [0x72c98c], ebp
jmp 0x531647
jne 0x531647
mov eax, dword [esp + 0x18]
neg eax
sbb eax, eax
and dword [0x72c98c], eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
call fcn.00535df8
mov eax, dword [esp + 0x140]
push ebp
push dword [0x72a678]
or eax, 0x50010000
push 0xffffffffffffffff
push dword [esi]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push eax
push ebp
push str.BUTTON
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x53171d
push dword [esp + 0x128]
push dword [0x7311c4]
call fcn.00541e40
mov edi, dword [esp + 0x13c]
mov esi, eax
mov dword [esi + 0x10], edi
test edi, edi
je 0x5316ec
push edi
call fcn.0053b9a8
test eax, eax
je 0x5316ec
push ebp
push ebp
push edi
call fcn.0053b51d
mov dword [esi + 0x18], eax
jmp 0x5316ef
mov dword [esi + 0x18], ebp
push 0x5311bb
push 0xfffffffffffffffc
push ebx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], ebp
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x72c8e8
push ebx
push esi
push dword [esp + 0x134]
mov dword [0x72c8e4], eax
call fcn.00531a5d
mov ebx, eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x114
ret 0x1c
Function at 0x532e8b
Capabilities:
Check os version

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x114
xor ebx, ebx
mov esi, 0xc8
and dword [esp + 0x10], ebx
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x533001
mov eax, dword [esp + 0x24]
dec eax
je 0x532fe4
dec eax
jne 0x533001
lea eax, [esp + 0x128]
xor ebp, ebp
push eax
call fcn.00532e44
pop ecx
test eax, eax
je 0x532f42
mov ebx, dword [esp + 0x12c]
mov edi, dword [esp + 0x130]
mov eax, dword [esp + 0x134]
cmp byte [esp + 0x242], 1
jne 0x532f05
xor ebp, ebp
inc ebp
sub ebx, 3
je 0x532fe0
dec ebx
je 0x532fdc
dec ebx
je 0x532fbb
dec ebx
je 0x532f75
sub ebx, 4
jne 0x533001
test edi, edi
jne 0x533001
cmp eax, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x533001
lea eax, [esp + 0x244]
mov dword [esp + 0x244], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x532f05
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp byte [esp + 0x35e], 1
jmp 0x532f00
sub edi, 0
je 0x532fad
dec edi
je 0x532f9f
dec edi
je 0x532f91
dec edi
jne 0x533001
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x69
jmp 0x533001
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x5f
jmp 0x533001
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x55
jmp 0x533001
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x4b
jmp 0x533001
sub edi, 0
je 0x532fd8
dec edi
je 0x532fd4
dec edi
jne 0x533001
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x41
jmp 0x533001
push 0x3c
jmp 0x533000
push 0x32
jmp 0x533000
push 0x14
jmp 0x533000
push 5
jmp 0x533000
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x532ffe
cmp eax, 0xa
je 0x532ffa
cmp eax, 0x5a
jne 0x533001
push 0x28
jmp 0x533000
push 0x1e
jmp 0x533000
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret

Function at 0x533a56
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
push dword [esp + 0xc]
xor esi, esi
push dword [0x7311c8]
call fcn.00541e01
mov edi, eax
test edi, edi
je 0x533a79
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
push dword [esp + 0x10]
push esi
call fcn.00542650
test esi, esi
je 0x533a96
lea ecx, [esi + 1]
push ecx
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x533a9b
xor ecx, ecx
mov word [eax], cx
pop edi
pop esi
ret 8