Function at 0x1004bc80
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
mov edi, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x18], edi
call esi
push 1
mov dword [ebx], eax
call esi
push 0x100af9cc
push str.Shell_TrayWnd
mov dword [edi], eax
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x1004bce6
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
cmp eax, 0xc8
jge 0x1004bcde
sub dword [edi], eax
jmp 0x1004bce6
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc]
add dword [ebx], eax
push 0
call fcn.1006f3c9
push eax
call fcn.1006da61
add esp, 8
call fcn.1006da40
mov ecx, dword [ebx]
mov edi, eax
shr ecx, 2
xor edx, edx
div ecx
mov ecx, dword [ebp - 0x18]
mov eax, edi
mov esi, edx
xor edx, edx
mov ecx, dword [ecx]
shr ecx, 2
div ecx
mov ecx, dword [ebx]
mov eax, ecx
sub eax, esi
cmp eax, 0x3c0
jbe 0x1004bd3d
mov dword [ebx], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
sub dword [eax], edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 8
lea eax, [ecx - 0x11]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx], eax
xor ecx, ebp
pop ebx
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 8

Function at 0x1004be30
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ebp + 8]
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1004be82
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov dword [ebp - 0xc], ebx
cmp ebx, 0xffffffff
jne 0x1004be89
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1004bf2e
call fcn.1006f880
mov esi, esp
lea eax, [ebp - 0xc]
push 0
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xa
xor ebx, ebx
mov word [ebp - 8], ax
xor edi, edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push esi
call fcn.10073425
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1004bf2c
lea ebx, [ebx]
mov ecx, edi
sub ecx, 2
je 0x1004bede
cmp edi, 3
je 0x1004bf2c
jmp 0x1004bf13
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x30]
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
mov esi, eax
test esi, esi
je 0x1004bf13
push dword [ebp + 0xc]
push esi
call fcn.1006e7fb
test eax, eax
mov eax, 1
push esi
cmovne ebx, eax
call fcn.1006da71
add esp, 0xc
lea eax, [ebp - 0x14]
inc edi
push eax
lea eax, [ebp - 8]
push eax
push 0
call fcn.10073425
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1004bed0
mov eax, ebx
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 8