Function at 0x44d050
Capabilities:
Get file attributes

Disassembly:
sub esp, 0x34
push ebp
push esi
push edi
mov edi, dword [esp + 0x4c]
lea eax, [edi*8]
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
xor ebp, ebp
push ebp
push eax
call fcn.00526520
mov ecx, dword [esp + 0x60]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, 0x800
je 0x44d0cc
mov ecx, dword [esp + 0x44]
push ebp
lea edx, [esp + 0x18]
push edx
push ebp
push ebp
push 2
lea eax, [esp + 0x60]
push eax
push 0x9c040
push ecx
mov dword [esp + 0x6c], ebp
call esi
test eax, eax
jne 0x44d0cc
push ebp
push 0x550910
push str.Error_in_setting_compression_state_of_BCLDRE.BIN_file
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x34
ret
push ebx
push 0x2000
push ebp
push 0x5f60b8
call fcn.00526520
mov ebx, dword [esp + 0x60]
mov edx, dword [ebx + 0x360]
add esp, 0xc
push ebp
lea eax, [esp + 0x1c]
push eax
push 0x4020
push 0x5f2098
push 8
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x60]
push 0x90073
push edx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
call esi
mov dword [esp + 0x20], eax
cmp eax, ebp
je 0x44d3fe
mov ecx, dword [0x5f2098]
cmp ecx, edi
jbe 0x44d14b
push ebp
push 0x550910
push str.Error:_too_big_defragmentation_of_BCLDRE.BIN_file
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x34
ret
mov edx, dword [0x5f20a0]
mov esi, dword [0x5f20a4]
xor edi, edi
cmp ecx, ebp
jbe 0x44d244
mov eax, 0x5f20b0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov edi, edi
mov ebx, dword [eax]
mov ebp, dword [eax - 8]
mov ecx, dword [eax - 4]
sub ebp, edx
mov dword [esp + 0x2c], ebx
mov ebx, dword [eax + 4]
sbb ecx, esi
mov dword [esp + 0x30], ebx
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edx
test ecx, ecx
jb 0x44d228
ja 0x44d1b0
test ebp, ebp
jbe 0x44d228
lea esp, [esp]
xor esi, esi
cmp dword [esp + 0x50], esi
jbe 0x44d210
add ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x50]
adc edx, dword [esp + 0x30]
push esi
push eax
push edx
push ebx
call fcn.005269a0
lea ecx, [ecx]
mov ecx, dword [esp + 0x54]
mov ecx, dword [ecx + 0x2a08]
xor ebx, ebx
xor ebp, ebp
add ecx, esi
adc ebx, ebp
add ecx, eax
adc ebx, edx
mov dword [edi*8 + 0x5f60b8], ecx
mov dword [edi*8 + 0x5f60bc], ebx
inc esi
inc edi
cmp esi, dword [esp + 0x50]
jb 0x44d1d0
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
add ebx, 1
adc edx, 0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edx
cmp edx, ecx
jb 0x44d1b0
ja 0x44d228
cmp ebx, ebp
jb 0x44d1b0
mov edx, dword [eax - 8]
mov esi, dword [eax - 4]
add eax, 0x10
sub dword [esp + 0x14], 1
mov dword [esp + 0x10], eax
jne 0x44d170
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x54]
push eax
xor esi, esi
push ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x5c], esi
call fcn.0044ca10
mov ecx, dword [ebx + 0x35c]
mov edi, ecx
shr edi, 9
xor edx, edx
mov eax, 0x400
div edi
add esp, 0xc
test eax, eax
jbe 0x44d317
jmp 0x44d290
mov eax, dword [esi*8 + 0x5f60b8]
mov edx, dword [esi*8 + 0x5f60bc]
mov edi, eax
or edi, edx
je 0x44d317
lea edi, [esi*8 + 0x5f90b8]
push edi
lea ebp, [esp + 0x14]
push ebp
lea ebp, [esp + 0x2c]
push ebp
push ecx
push edx
push eax
lea edx, [ebx + 2]
push edx
call fcn.0044c9e0
add esp, 0x1c
test eax, eax
je 0x44d3dd
mov eax, dword [ebx + 0x35c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
push eax
imul eax, esi
push ecx
mov ecx, dword [edi]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [edi + 4]
push eax
push ecx
push edx
call fcn.0044cae0
add esp, 0x1c
test eax, eax
je 0x44d317
mov ecx, dword [ebx + 0x35c]
mov edi, ecx
shr edi, 9
xor edx, edx
mov eax, 0x400
div edi
inc esi
cmp esi, eax
jb 0x44d290
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0044cac0
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x50]
push edx
xor ebx, ebx
push ebx
push edi
xor ebp, ebp
mov dword [esp + 0x60], 0xffffffff
call fcn.00526520
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x35c]
shr ecx, 9
xor edx, edx
mov eax, 0x400
div ecx
add esp, 0x10
xor esi, esi
test eax, eax
jbe 0x44d467
add edi, 0xfffffffe
jmp 0x44d370
mov eax, dword [esi*8 + 0x5f90b8]
mov ecx, dword [esi*8 + 0x5f90bc]
mov edx, eax
or edx, ecx
je 0x44d444
add ebp, 1
adc ebx, 0
cmp eax, ebp
jne 0x44d396
cmp ecx, ebx
je 0x44d408
inc dword [esp + 0x50]
add edi, 8
mov word [edi - 6], ax
mov eax, dword [esi*8 + 0x5f90b8]
mov edx, dword [esi*8 + 0x5f90bc]
mov cl, 0x10
call fcn.00526c40
mov word [edi - 4], ax
mov eax, dword [esi*8 + 0x5f90b8]
mov edx, dword [esi*8 + 0x5f90bc]
mov cl, 0x20
call fcn.00526c40
mov ecx, 1
mov word [edi - 2], ax
mov word [edi], cx
jmp 0x44d40b
mov eax, dword [esp + 0x50]
push eax
call fcn.0044cac0
add esp, 4
push 0
push 0x54ffac
push str.Error:_cannot_set_logical_to_physical_sectors_correspondence_for_BCLDRE.BIN_file
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x34
ret
inc word [edi]
mov edx, dword [esp + 0x54]
mov ecx, dword [edx + 0x35c]
shr ecx, 9
xor edx, edx
mov eax, 0x400
div ecx
mov ebp, dword [esi*8 + 0x5f90b8]
mov ebx, dword [esi*8 + 0x5f90bc]
inc esi
cmp esi, eax
jb 0x44d370
mov eax, dword [esp + 0x20]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x34
ret
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
inc eax
xor edx, edx
mov word [ecx + eax*8], dx
mov word [ecx + eax*8 + 2], dx
mov word [ecx + eax*8 + 4], dx
mov edx, 0xffff
mov word [ecx + eax*8 + 6], dx
mov eax, dword [esp + 0x20]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x34
ret