Function at 0x45e300
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4cac18
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x500770]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x500770]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c]
mov ebx, ecx
mov edi, dword [ebx + 0xe4]
add ebx, 0xe0
cmp edi, dword [ebx + 8]
mov esi, edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
jbe 0x45e358
call fcn.004a79fe
mov dword [esp + 0x24], edi
lea esp, [esp]
mov ebp, dword [ebx + 8]
cmp dword [ebx + 4], ebp
jbe 0x45e36d
call fcn.004a79fe
cmp ebx, ebx
je 0x45e376
call fcn.004a79fe
cmp edi, ebp
je 0x45e40d
cmp edi, dword [ebx + 8]
jb 0x45e388
call fcn.004a79fe
mov ebp, dword [edi]
mov eax, esi
lea ecx, [ebp + 4]
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x45e392
sub eax, edi
sar eax, 1
mov edi, eax
mov eax, dword [ecx + 0x14]
push esi
call fcn.004484f0
test eax, eax
je 0x45e3cd
mov ecx, dword [esp + 0x24]
cmp ecx, dword [ebx + 8]
jb 0x45e3be
call fcn.004a79fe
add dword [esp + 0x24], 4
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
jmp 0x45e360
mov edx, dword [ebp]
mov esi, dword [esp + 0x18]
mov eax, dword [edx + 0xc]
push esi
mov ecx, ebp
call eax
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45e3e1
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [ebp + 0x20]
call fcn.00406b80
mov dword [ebp + 0x40], 0
mov byte [ebp + 0x3c], 0
lea eax, [ebp + 4]
jmp 0x45e559
mov esi, dword [esp + 0x18]
xor ebp, ebp
mov eax, esi
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebp
mov word [esp + 0x2c], bp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x45e430
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x30]
call fcn.00406b80
mov dword [esp + 0x54], ebp
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x45e45d
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x74
call fcn.00488fa5
mov edi, eax
add esp, 4
cmp edi, ebp
je 0x45e49d
mov dword [edi + 0x18], ebp
mov eax, 7
mov dword [edi + 0x1c], eax
mov word [edi + 8], bp
mov dword [edi + 0x38], eax
mov dword [edi + 0x34], ebp
mov word [edi + 0x24], bp
lea esi, [edi + 0x44]
mov dword [edi], vtable.CImage_UI.0
call fcn.00477560
jmp 0x45e49f
xor edi, edi
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], edi
jae 0x45e4b2
lea eax, [esp + 0x2c]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov edx, dword [esp + 0x1c]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x45e4c5
sub eax, esi
sar eax, 1
push eax
lea esi, [edi + 4]
push edx
call fcn.00406b80
push 0xffffffffffffffff
push ebp
lea ecx, [edi + 0x20]
lea eax, [esp + 0x30]
mov byte [edi + 0x3c], 0
call fcn.00406430
mov dword [edi + 0x40], ebp
mov eax, dword [ebx + 4]
cmp eax, ebp
jne 0x45e4ff
xor edx, edx
jmp 0x45e507
mov edx, dword [ebx + 8]
sub edx, eax
sar edx, 2
cmp eax, ebp
je 0x45e524
mov ecx, dword [ebx + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x45e524
mov eax, dword [ebx + 8]
mov dword [eax], edi
add eax, 4
mov dword [ebx + 8], eax
jmp 0x45e543
mov edi, dword [ebx + 8]
cmp eax, edi
jbe 0x45e530
call fcn.004a79fe
push edi
push ebx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
mov eax, ebx
call fcn.0045f590
cmp dword [esp + 0x40], 8
jb 0x45e557
mov eax, dword [esp + 0x2c]
push eax
call fcn.00488fd0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004a74b2
add esp, 0x44
ret 4