joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49a630
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544b20
mov eax, dword fs:[0]
push eax
sub esp, 0xce8
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
cmp ecx, dword [edi + 0x1208]
jne 0x49a6eb
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
push ecx
push dword [eax + 0xc]
lea ecx, [edi + 0x1204]
call fcn.00498710
test eax, eax
jne 0x49a6ba
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x49a833
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00407600
jmp 0x49a833
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0xcf4], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x49a7b1
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00407600
jmp 0x49a7b1
cmp ecx, dword [edi + 0x15a0]
jne 0x49a77f
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
push ecx
push dword [eax + 0xc]
lea ecx, [edi + 0x159c]
call fcn.00498690
test eax, eax
jne 0x49a733
lea ecx, [ebp - 0x40]
call fcn.00494ec0
jmp 0x49a833
cmp dword [ebp - 0x30], 3
jne 0x49a762
push dword [ebp - 0x34]
mov ecx, 0x5943bc
push dword [ebp - 0x38]
call fcn.004a3410
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xcf4], edx
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00494ec0
jmp 0x49a7b1
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x40]
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0xcf4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00494ec0
jmp 0x49a7b1
cmp ecx, dword [edi + 0x1934]
jne 0x49a833
lea ecx, [ebp - 0x38]
push ecx
push dword [eax + 0xc]
lea ecx, [edi + 0x1930]
call fcn.00498620
test eax, eax
je 0x49a833
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0xcf4], eax
lea eax, [ebp - 0xcf0]
mov ecx, 0x594154
push eax
push 0
push 4
call fcn.004c2260
push 0
push 4
lea ecx, [edi + 0x1cf8]
call fcn.0042dbf0
cmp dword [ebp - 0xcd8], 8
mov ecx, 0x40
mov eax, 0x20
cmove eax, ecx
lea ecx, [edi + 0x1cf8]
push eax
call fcn.0042dbb0
push dword [ebp - 0xcf4]
lea ecx, [edi + 0x1cf8]
push ebx
call fcn.0042de90
push dword [ebp - 0xcf4]
lea ecx, [edi + 0x1cf8]
push ebx
push dword [ebp - 0xcec]
push dword [ebp - 0xcf0]
call fcn.0042df70
push 5
push dword [edi + 0x1cfc]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49b1a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x1e8]
jne 0x49b1bd
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49b1db
push 0
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_ShowWindow]
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x201
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 4]
mov dword [ebp - 8], 0xffffffff
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.00509680
test eax, eax
je 0x49b230
test byte [ebp - 4], 1
je 0x49b230
push dword [ebp - 8]
mov ecx, esi
call fcn.004953a0
lea eax, [ebp - 4]
mov dword [ebp - 8], 0xffffffff
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], 0xffffffff
push eax
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.00498e40
cmp eax, 4
jl 0x49b2ac
mov eax, dword [esi + 4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
push eax
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 0x1c], 0xfffffa84
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x24]
push ecx
push dword [ebp - 0x20]
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49ccc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
push 0x3ec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0x100], 0
je 0x49ccfa
push dword [esi + 0x100]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x49ccfa
mov dword [esi + 0x100], 0
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x1e8]
jne 0x49cd24
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49cd42
push 0
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 4]
mov dword [ebp - 8], 0xffffffff
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], 0xffffffff
push eax
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.00498e40
test eax, eax
je 0x49cda6
push edi
mov edi, dword [ebp - 8]
mov ecx, esi
push edi
call fcn.00418db0
mov ecx, esi
test eax, eax
jne 0x49cd8f
push dword [ebp + 8]
push dword [ebp - 4]
push edi
call fcn.0049ebe0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 4]
push eax
push edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], eax
call fcn.00498110
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x49cdb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
push 0x3ec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0x100], 0
je 0x49cdea
push dword [esi + 0x100]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x49cdea
mov dword [esi + 0x100], 0
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x1e8]
jne 0x49ce14
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49ce32
push 0
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 4]
mov dword [ebp - 8], 0xffffffff
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], 0xffffffff
push eax
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.00498e40
test eax, eax
je 0x49ce96
push edi
mov edi, dword [ebp - 8]
mov ecx, esi
push edi
call fcn.00418db0
mov ecx, esi
test eax, eax
jne 0x49ce7f
push dword [ebp + 8]
push dword [ebp - 4]
push edi
call fcn.0049edf0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 4]
push eax
push edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], eax
call fcn.00498370
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49d020
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540808
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x58a710]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, 0x300
cmp ax, word [ebp + 8]
jne 0x49d14f
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x49d06a
push 0x80004005
call fcn.004049a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x200
or eax, ecx
mov dword [ebp - 4], 0
jge 0x49d0a0
push 0x200
lea ecx, [ebp + 8]
call fcn.004053d0
mov esi, dword [ebp + 8]
push 0x200
push esi
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp dword [edi + 0x11d8], 0
lea ecx, [edi + 0xe84]
jbe 0x49d134
mov eax, dword [ecx + 0x350]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
cmp eax, 0xffffffff
je 0x49d134
lea edx, [ebp + 0x10]
push edx
push eax
call fcn.004985d0
mov eax, dword [ebp + 0x10]
and eax, 0xffff0000
cmp eax, 0x30000
jg 0x49d121
je 0x49d113
cmp eax, 0x10000
je 0x49d105
cmp eax, 0x20000
jne 0x49d134
push esi
lea ecx, [edi + 0x1204]
call fcn.0049f130
jmp 0x49d134
push esi
lea ecx, [edi + 0xaf4]
call fcn.0049f130
jmp 0x49d134
push esi
lea ecx, [edi + 0x159c]
call fcn.0049f130
jmp 0x49d134
cmp eax, 0x40000
jne 0x49d134
push esi
lea ecx, [edi + 0x1930]
call fcn.0049f130
or eax, 0xffffffff
add esi, 0xfffffff0
mov dword [ebp - 4], eax
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x49d14f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x49dad0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x49dcf1
mov ebx, dword [ebp + 0xc]
cmp ebx, 1
jne 0x49db0b
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call fcn.00499be0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x18
mov esi, dword [ebp + 0x10]
cmp ebx, 2
jne 0x49db44
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x1c], 1
push eax
push dword [ebp + 0x14]
push esi
push 2
call fcn.0049a1b0
cmp dword [ebp + 0x1c], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x49dccd
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x18
cmp ebx, 5
jne 0x49db68
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call fcn.0049d300
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
mov dword [ecx], eax
lea eax, [ebx - 4]
pop ebx
pop ebp
ret 0x18
cmp ebx, 0x18
jne 0x49dba6
cmp dword [ebp + 0x10], 0
jne 0x49db91
push dword [edi + 0x1cfc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x49db91
push 0
push dword [edi + 0x1cfc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [eax], 0
mov eax, 1
pop ebp
ret 0x18
cmp ebx, 0x4e
jne 0x49dc03
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 8]
cmp ecx, 0xfffffa81
jne 0x49dbd7
lea ecx, [ebp + 0x1c]
push ecx
push eax
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004993f0
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
mov dword [ecx], eax
lea eax, [ebx - 0x4d]
pop ebx
pop ebp
ret 0x18
cmp ecx, 0xfffffa84
jne 0x49dcd5
lea ecx, [ebp + 0x1c]
push ecx
push eax
push dword [ebp + 0x10]
mov ecx, edi
call fcn.0049a630
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, 1
pop ebp
ret 0x18
cmp ebx, 0x111
jne 0x49dcd2
mov eax, 0x3f7
cmp ax, si
jne 0x49dc3f
lea eax, [ebp + 0x1c]
shr esi, 0x10
push eax
push dword [ebp + 0x14]
push 0x3f7
push esi
call fcn.0049d020
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, 1
pop ebp
ret 0x18
mov eax, 0x3f8
cmp ax, si
jne 0x49dc6f
lea eax, [ebp + 0x1c]
shr esi, 0x10
push eax
push dword [ebp + 0x14]
push 0x3f8
push esi
call fcn.0049d170
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, 1
pop ebp
ret 0x18
mov eax, 0x3f9
cmp ax, si
jne 0x49dc9f
lea eax, [ebp + 0x1c]
shr esi, 0x10
push eax
push dword [ebp + 0x14]
push 0x3f9
push esi
call fcn.0049cf40
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, 1
pop ebp
ret 0x18
lea eax, [esi - 0x82a]
cmp ax, 9
ja 0x49dcd2
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x14]
push esi
shr esi, 0x10
push esi
call fcn.004999e0
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, 1
pop ebp
ret 0x18
mov eax, dword [ebp + 0x14]
jmp 0x49dcd8
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
push 0
push ecx
push eax
push esi
push ebx
push dword [ebp + 8]
lea ecx, [edi + 0x3c]
call fcn.0041e030
test eax, eax
jne 0x49daff
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x18
Function at 0x49f0d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0xa8], edx
mov dword [ecx + 0xac], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], edx
pop ebp
jmp fcn.00498110

Function at 0x49f100
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0xa8], edx
mov dword [ecx + 0xac], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], edx
pop ebp
jmp fcn.00498370
Function at 0x4a9520
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x4a9533
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 0
push 0
push esi
call fcn.00525475
push esi
push dword [ebp + 0x10]
call fcn.004a9760
mov edi, eax
push 0
lea ecx, [edi + 4]
push ecx
push esi
call fcn.00525475
push esi
call fcn.00525a87
mov dl, al
add esp, 0x24
cmp dl, 1
jne 0x4a95a0
push esi
push 1
lea eax, [ebp + 0x14]
push 3
push eax
call fcn.0052508a
movzx edi, byte [ebp + 0x16]
movzx eax, byte [ebp + 0x15]
shl edi, 8
or edi, eax
movzx eax, byte [ebp + 0x14]
shl edi, 8
or edi, eax
push 0
push edi
push esi
call fcn.00525475
push esi
call fcn.00525a87
add esp, 0x20
mov dl, al
sub edi, 4
push ebx
cmp dl, 2
jne 0x4a9615
push esi
lea eax, [edi + 8]
push 1
mov dword [ebp - 4], eax
lea eax, [ebp + 0x14]
push 3
push eax
call fcn.0052508a
movzx ecx, byte [ebp + 0x16]
movzx eax, byte [ebp + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x14]
shl ecx, 8
push 0
or ecx, eax
push ecx
push esi
call fcn.00525475
push esi
call fcn.00525a87
mov edi, dword [ebp + 8]
mov dl, al
add esp, 0x20
test dl, dl
je 0x4a9610
nop dword [eax + eax]
mov ecx, edi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a95f5
sub ecx, ebx
push esi
mov byte [ecx + edi], dl
call fcn.00525a87
mov dl, al
add esp, 4
test dl, dl
jne 0x4a95f0
push dword [ebp - 4]
jmp 0x4a9662
mov edi, dword [ebp + 8]
mov ecx, edi
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a9620
sub ecx, ebx
push esi
mov byte [ecx + edi], dl
call fcn.00525a87
mov dl, al
add esp, 4
test dl, dl
je 0x4a9660
nop dword [eax + eax]
mov ecx, edi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a9645
sub ecx, ebx
push esi
mov byte [ecx + edi], dl
call fcn.00525a87
mov dl, al
add esp, 4
test dl, dl
jne 0x4a9640
push 0
push esi
mov esi, dword [ebp + 0xc]
push esi
call fcn.004a96a0
add esp, 0xc
push edi
call fcn.004a9480
add esp, 4
pop ebx
test eax, eax
je 0x4a9680
mov byte [edi], 0
push esi
call fcn.004a9480
add esp, 4
pop edi
test eax, eax
je 0x4a9691
mov byte [esi], 0
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a96a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test eax, eax
je 0x4a96bc
push 0
push eax
push esi
call fcn.00525475
add esp, 0xc
push esi
call fcn.00525a87
mov edi, dword [ebp + 8]
mov bl, al
add esp, 4
lea ecx, [ebx - 1]
cmp cl, 1
ja 0x4a9704
push esi
push 1
lea eax, [ebp + 0x10]
push 3
push eax
call fcn.0052508a
movzx ecx, byte [ebp + 0x12]
movzx eax, byte [ebp + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x10]
shl ecx, 8
push 0
or ecx, eax
push ecx
push esi
call fcn.00525475
add esp, 0x1c
jmp 0x4a971c
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a9710
sub ecx, edx
mov byte [ecx + edi], bl
test bl, bl
je 0x4a9750
push esi
call fcn.00525a87
mov dl, al
add esp, 4
test dl, dl
je 0x4a9750
nop
mov ecx, edi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a9735
sub ecx, ebx
push esi
mov byte [ecx + edi], dl
call fcn.00525a87
mov dl, al
add esp, 4
test dl, dl
jne 0x4a9730
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret

Function at 0x4a9760
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push edi
push 1
push 8
push eax
mov dword [ebp - 0x18], edi
call fcn.0052508a
movzx esi, byte [ebp - 0x11]
add esp, 0x10
movzx eax, byte [ebp - 0x12]
movzx ebx, byte [ebp - 0xd]
shl esi, 8
or esi, eax
shl ebx, 8
movzx eax, byte [ebp - 0x13]
shl esi, 8
or esi, eax
movzx eax, byte [ebp - 0x14]
shl esi, 8
or esi, eax
movzx eax, byte [ebp - 0xe]
or ebx, eax
movzx eax, byte [ebp - 0xf]
shl ebx, 8
or ebx, eax
movzx eax, byte [ebp - 0x10]
shl ebx, 8
or ebx, eax
mov eax, ebx
sub eax, esi
cmp eax, 7
mov eax, dword [ebp + 8]
je 0x4a98bd
nop dword [eax + eax]
mov eax, 0x24924925
mov ecx, ebx
mul ebx
mov eax, 0x24924925
sub ecx, edx
shr ecx, 1
add ecx, edx
mul esi
mov eax, esi
shr ecx, 2
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 2
sub ecx, eax
test cl, 1
je 0x4a980c
inc ecx
shr ecx, 1
push 0
lea edi, [ecx*8]
sub edi, ecx
add edi, esi
push edi
push dword [ebp - 0x18]
call fcn.00525475
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
push 1
push 7
push eax
call fcn.0052508a
movzx ecx, byte [ebp - 9]
add esp, 0x1c
movzx eax, byte [ebp - 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 0xc]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 8]
cmp ecx, eax
je 0x4a9875
jae 0x4a9863
mov esi, edi
jmp 0x4a9865
mov ebx, edi
mov eax, ebx
sub eax, esi
cmp eax, 7
jne 0x4a97e0
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
cmp ecx, eax
jbe 0x4a9896
push 0
push esi
push edi
call fcn.00525475
push edi
push 1
lea eax, [ebp - 0xc]
push 7
push eax
call fcn.0052508a
add esp, 0x1c
movzx eax, byte [ebp - 6]
movzx ecx, byte [ebp - 7]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 8]
shl eax, 8
or eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005193a0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x18]
jmp 0x4a9878
Function at 0x4a9f20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
cmp eax, 0xf
jge 0x4a9f63
lea eax, [esi + 0x80]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret 4
movups xmm0, xmmword [ebx]
push edi
push 0xfffffffffffffff0
push dword [esi + 4]
lea edi, [esi + 0x80]
movups xmmword [edi], xmm0
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 2
je 0x4a9f8f
add dword [esi + 0x84], 3
add dword [esi + 0x88], 0xfffffffd
jmp 0x4a9fa3
inc dword [esi + 0x84]
add dword [esi + 0x8c], 0xfffffffe
add dword [esi + 0x88], 0xfffffffe
mov ecx, dword [esi + 0x8c]
mov eax, dword [esi + 0x84]
add ecx, 0xfffffff1
push dword [esi + 0x4c]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x84], eax
add eax, 0xf
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0x88]
sub eax, 0xf
mov dword [edi], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4aa08f
mov eax, dword [esi + 4]
push 0x30
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.0051d400
push 0x90
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc8], 0x94
push 0
push eax
call fcn.0051d400
add esp, 0x18
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4aa034
cmp dword [ebp - 0xc4], 6
jae 0x4aa03b
mov eax, 0x2c
jmp 0x4aa040
mov eax, 0x30
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0xfffffff0
test edi, edi
je 0x4aa065
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x24], xmm0
mov eax, dword [0x594b00]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x406
push dword [esi + 0x4c]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx + 8], eax
xor ecx, ebp
pop ebx
call fcn.005193a0
mov esp, ebp
pop ebp
ret 4
Function at 0x4aa7e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5454c8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x3c], ebx
mov edi, dword [ebp + 8]
test edi, edi
je 0x4aa954
lea ecx, [ebp - 0x38]
call fcn.004a9bb0
mov dword [ebp - 0x38], vtable.CTabViewTabItem.0
push 0xffffffffffffffff
push 0x10
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
mov dword [ebp - 0x14], edi
call fcn.004aa980
cmp dword [ebp + 0xc], 1
mov esi, eax
jne 0x4aa8ff
test esi, esi
jns 0x4aa903
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x4aa8ea
inc eax
push eax
mov dword [ebp - 0x40], eax
call fcn.00519bec
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4aa8e7
push dword [ebp - 0x40]
push ebx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp dword [ebp + 0x10], 0
je 0x4aa8d0
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x7f
push edi
call esi
test eax, eax
jne 0x4aa8c3
push 0xffffffffffffffde
push edi
call dword [sym.imp.USER32.dll_GetClassLongA]
test eax, eax
jne 0x4aa8c3
push eax
push 1
push 0x7f
push edi
call esi
test eax, eax
jne 0x4aa8c3
push 0xfffffffffffffff2
push edi
call dword [sym.imp.USER32.dll_GetClassLongA]
test eax, eax
je 0x4aa8d0
mov ecx, dword [ebp - 0x3c]
push eax
push ebx
push edi
call fcn.004a9ee0
jmp 0x4aa8dc
mov ecx, dword [ebp - 0x3c]
push 0xffffffffffffffff
push ebx
push edi
call fcn.004a9de0
push ebx
mov esi, eax
call fcn.005199a4
add esp, 4
mov ebx, dword [ebp - 0x3c]
test esi, esi
jns 0x4aa903
push 0xffffffffffffffff
push str.Untitled
push edi
mov ecx, ebx
call fcn.004a9de0
mov esi, eax
test esi, esi
js 0x4aa90d
push 1
push esi
mov ecx, ebx
call fcn.004ab9e0
mov edx, dword [ebp - 0x1c]
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov dword [ebp - 0x38], vtable.CCustomTabItem.0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4aa938
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4aa950
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
jmp 0x4aa957
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret 0xc