Function at 0x44cbc0
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x3c
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, 0x800
je 0x44cc1f
mov eax, dword [esp + 0x44]
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 2
lea edx, [esp + 0x20]
push edx
push 0x9c040
push eax
mov dword [esp + 0x2c], 0
call esi
test eax, eax
jne 0x44cc1f
push eax
push 0x550910
push str.Error_in_setting_compression_state_of_BCLDR.BIN_file
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop esi
add esp, 0x3c
ret
push ebp
push edi
push 0x2000
xor edi, edi
push edi
push 0x5f60b8
call fcn.00526520
mov ebp, dword [esp + 0x60]
mov ecx, dword [ebp + 0x360]
add esp, 0xc
push edi
lea edx, [esp + 0x1c]
push edx
push 0x4020
push 0x5f2098
push 8
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x64]
push 0x90073
push ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
call esi
mov dword [esp + 0x1c], eax
cmp eax, edi
je 0x44cc94
mov ecx, dword [0x5f2098]
cmp ecx, 0x10
jbe 0x44cc9d
push edi
push 0x550910
push str.Error:_too_big_defragmentation_of_BCLDR_file
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop ebp
xor eax, eax
pop esi
add esp, 0x3c
ret
mov edx, dword [0x5f20a0]
mov esi, dword [0x5f20a4]
push ebx
cmp ecx, edi
jbe 0x44cd99
mov eax, 0x5f20b0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
nop
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 0x44cd7d
ja 0x44cd00
test ebp, ebp
jbe 0x44cd7d
lea ecx, [ecx]
xor esi, esi
cmp dword [esp + 0x10], esi
jbe 0x44cd65
add ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
adc edx, dword [esp + 0x30]
push esi
push eax
push edx
push ebx
call fcn.005269a0
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x58]
mov ebx, dword [ebx + 0x2a08]
xor edx, edx
xor ebp, ebp
mov ecx, esi
add ecx, ebx
adc edx, ebp
add ecx, eax
adc edx, dword [esp + 0x48]
mov dword [edi*8 + 0x5f60b8], ecx
mov dword [edi*8 + 0x5f60bc], edx
inc esi
inc edi
cmp esi, dword [esp + 0x10]
jb 0x44cd21
mov eax, dword [esp + 0x14]
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 0x44cd00
ja 0x44cd7d
cmp ebx, ebp
jb 0x44cd00
mov edx, dword [eax - 8]
mov esi, dword [eax - 4]
add eax, 0x10
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], eax
jne 0x44ccc0
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
xor ebx, ebx
push edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
call fcn.0044ca10
mov ecx, dword [ebp + 0x35c]
mov esi, ecx
shr esi, 9
xor edx, edx
mov eax, 0xc0
div esi
add esp, 0xc
test eax, eax
jbe 0x44ced4
mov esi, dword [esp + 0x54]
add esi, 0x18e
mov eax, dword [ebx*8 + 0x5f60b8]
mov edx, dword [ebx*8 + 0x5f60bc]
mov edi, eax
or edi, edx
je 0x44ced4
lea edi, [ebx*8 + 0x5f90b8]
push edi
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x2c]
push edx
push ecx
mov ecx, dword [ebx*8 + 0x5f60bc]
push ecx
push eax
lea eax, [ebp + 2]
push eax
call fcn.0044c9e0
add esp, 0x1c
test eax, eax
je 0x44cfa1
mov eax, dword [ebp + 0x35c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push eax
imul eax, ebx
push ecx
mov ecx, dword [edi]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [edi + 4]
push eax
push ecx
push edx
call fcn.0044cae0
add esp, 0x1c
test eax, eax
je 0x44ced4
cmp ebx, 4
jae 0x44ceb4
cmp dword [ebp + 0x3b0c], 0
jne 0x44ce93
cmp dword [ebp + 0x3b10], 0
jne 0x44ce93
mov eax, dword [esp + 0x14]
push 0
push 0x10
push esi
push eax
call fcn.0044b6b0
add esp, 0x10
test eax, eax
je 0x44ceb4
mov ecx, dword [edi]
mov dword [esi - 8], ecx
mov edx, dword [edi + 4]
mov dword [esi - 4], edx
jmp 0x44ceb4
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x26]
mov dword [esi], ecx
mov edx, dword [edi]
mov dword [esi - 8], edx
mov eax, dword [edi + 4]
mov dword [esi - 4], eax
mov ecx, dword [ebp + 0x35c]
mov edi, ecx
shr edi, 9
xor edx, edx
mov eax, 0xc0
div edi
inc ebx
add esi, 0x18
cmp ebx, eax
jb 0x44cde0
mov edx, dword [esp + 0x10]
push edx
call fcn.0044cac0
mov edi, dword [esp + 0x58]
push 0x80
xor ebp, ebp
lea eax, [edi + 0x86]
push ebp
push eax
xor ebx, ebx
mov dword [esp + 0x20], 0xffffffff
call fcn.00526520
mov ecx, dword [esp + 0x68]
mov ecx, dword [ecx + 0x35c]
shr ecx, 9
xor edx, edx
mov eax, 0xc0
div ecx
add esp, 0x10
xor esi, esi
test eax, eax
jbe 0x44d038
add edi, 0x84
lea esp, [esp]
mov eax, dword [esi*8 + 0x5f90b8]
mov ecx, dword [esi*8 + 0x5f90bc]
mov edx, eax
or edx, ecx
je 0x44d008
add ebx, 1
adc ebp, 0
cmp eax, ebx
jne 0x44cf5a
cmp ecx, ebp
je 0x44cfcc
inc dword [esp + 0x10]
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 0x44cfcf
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0044cac0
add esp, 4
push 0
push 0x550910
push str.Error:_cannot_set_logical_to_physical_sectors_correspondence_for_BCLDR_file
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
pop edi
pop ebp
xor eax, eax
pop esi
add esp, 0x3c
ret
inc word [edi]
mov edx, dword [esp + 0x58]
mov ecx, dword [edx + 0x35c]
shr ecx, 9
xor edx, edx
mov eax, 0xc0
div ecx
mov ebx, dword [esi*8 + 0x5f90b8]
mov ebp, dword [esi*8 + 0x5f90bc]
inc esi
cmp esi, eax
jb 0x44cf30
mov eax, dword [esp + 0x20]
pop ebx
pop edi
pop ebp
pop esi
add esp, 0x3c
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
inc eax
xor edx, edx
mov word [ecx + eax*8 + 0x86], dx
mov word [ecx + eax*8 + 0x88], dx
mov word [ecx + eax*8 + 0x8a], dx
mov edx, 0xffff
mov word [ecx + eax*8 + 0x8c], dx
mov eax, dword [esp + 0x20]
pop ebx
pop edi
pop ebp
pop esi
add esp, 0x3c
ret