Function at 0x44c67a
Capabilities:
Get file attributes
Get file size

Disassembly:
push 0xa38
mov eax, 0x571b43
call fcn.0054861f
mov ebx, ecx
mov esi, dword [ebp + 8]
xor edi, edi
cmp dword [ebx + 0x28], edi
je 0x44c69c
xor eax, eax
jmp 0x44c8f5
test esi, esi
jne 0x44c6a5
call fcn.00406e42
lea eax, [ebx + 0x8c]
push eax
call fcn.0041a562
push esi
lea ecx, [ebp - 0xa2c]
call fcn.00404100
push edi
push 0x5b52b0
lea ecx, [ebp - 0xa2c]
mov dword [ebp - 4], edi
call fcn.004032c0
cmp eax, 0xffffffff
jne 0x44c7b7
push edi
push 0x5874c0
lea ecx, [ebp - 0xa2c]
call fcn.004032c0
cmp eax, 0xffffffff
jne 0x44c7b7
push edi
push 0x580c3c
lea ecx, [ebp - 0xa2c]
call fcn.004032c0
cmp eax, 0xffffffff
jne 0x44c7b7
push 0x104
lea eax, [ebp - 0xa28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x44c7b7
push edi
push edi
push edi
push edi
mov edi, 0x100
lea eax, [ebp - 0x820]
push edi
push eax
push 3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xa28]
push eax
call fcn.0055988d
push edi
lea eax, [ebp - 0x420]
push eax
push edi
lea eax, [ebp - 0x620]
xor edi, edi
push eax
push edi
push edi
push edi
push edi
push esi
call fcn.0055988d
add esp, 0x48
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.00559ed8
lea eax, [ebp - 0x220]
push eax
call fcn.0054df5b
add esp, 0x1c
lea ecx, [ebp - 0xa2c]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00403f20
cmp dword [ebp + 0xc], 0
jbe 0x44c801
push edi
push edi
push 3
push edi
push 1
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44c801
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, dword [ebp + 0xc]
jbe 0x44c801
mov ecx, dword [ebp - 0xa2c]
lea ecx, [ecx - 0x10]
call fcn.00404220
jmp 0x44c695
mov esi, dword [ebx + 0x34]
mov edi, dword [ebp - 0xa2c]
call fcn.00413820
neg esi
sbb esi, esi
xor ecx, ecx
mov eax, dword [eax + 8]
and esi, 0x1000
add esi, 0x2010
push esi
push ecx
push ecx
push ecx
push edi
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
lea esi, [ebx + 0x8c]
mov dword [esi], eax
test eax, eax
je 0x44c7ee
lea ecx, [ebp - 0xa44]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
jne 0x44c85d
push dword [esi]
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [esi], 0
jmp 0x44c7ee
xor edi, edi
lea eax, [ebp - 0xa2c]
inc edi
lea ecx, [ebx + 0x98]
push eax
mov dword [ebx + 0x18], edi
call fcn.00403790
push dword [ebp - 0xa2c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x44c888
mov dword [ebx + 0x24], edi
mov cx, word [ebp - 0xa32]
movzx eax, cx
mov dword [ebx + 8], eax
add eax, 0xfffffff7
cmp eax, 0x16
ja 0x44c8b0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push esi
call fcn.0044cc50
mov cx, word [ebp - 0xa32]
cmp cx, 0x20
jb 0x44c8c0
push dword [ebx + 0x3c]
push dword [esi]
call fcn.0044d7df
mov ecx, ebx
call fcn.0044e577
lea esi, [ebx + 0x90]
push esi
call fcn.0041a562
and dword [esi], 0
lea esi, [ebx + 0x94]
push esi
call fcn.0041a562
mov ecx, dword [ebp - 0xa2c]
and dword [esi], 0
add ecx, 0xfffffff0
call fcn.00404220
mov eax, edi
call fcn.005485c9
ret 8